This commit is contained in:
Paul 2001-08-17 19:36:03 +00:00
parent 5eb8efbefe
commit 3e12f0539d
6 changed files with 18 additions and 4 deletions

View file

@ -31,6 +31,11 @@
#include "system\vid.h"
#endif
#ifndef __GAME_CONVO_H__
#include "game\convo.h"
#endif
#ifndef __ANIM_GARY_HEADER__
#include <ACTOR_GARY_Anim.h>
#endif
@ -457,7 +462,7 @@ void CNpcGaryFriend::start()
m_garySpeech = true;
m_garyMeow = false;
m_garySB = true;
CSoundMediator::playSpeech( SPEECH_028 );
CConversation::trigger(SCRIPTS_TRIGGERSPEECH_028_DAT);
}
else
{

View file

@ -125,7 +125,7 @@ const sSpeechTable SpeechTable[]=
{SPEECH_025,STR__INGAME__FMA_C2_SB1},
{SPEECH_026,STR__INGAME__CH2__L1__KRUSTY1},
{SPEECH_027,STR__INGAME__CH2__L1__KRUSTY2},
{SPEECH_028,-1},
{SPEECH_028,STR__INGAME__TRIGGERSPEECH_028},
{SPEECH_029,-1}, // Another Meow
{SPEECH_030,STR__INGAME__CH2__L1__SBCELEBRATE},
{SPEECH_031,STR__INGAME__CH2__L2__PATRICK1},
@ -821,6 +821,7 @@ void CConversation::registerConversationLevelScripts(int level)
registerConversationScript(SCRIPTS_CH2L1_01_DAT);
registerConversationScript(SCRIPTS_CH2L1_02_DAT);
registerConversationScript(SCRIPTS_C2L1_CELEBRATE_DAT);
registerConversationScript(SCRIPTS_TRIGGERSPEECH_028_DAT); // gary
break;
}
@ -961,6 +962,7 @@ void CConversation::registerConversationLevelScripts(int level)
case 5:
{
registerConversationScript(SCRIPTS_TRIGGERSPEECH_159_DAT); // weight
registerConversationScript(SCRIPTS_TRIGGERSPEECH_028_DAT); // gary
break;
}