tmc/data/scripts/cutscene/intro/script_ZeldaTalkToSmith.inc

42 lines
949 B
PHP

@ Intro Zelda at Smith 2
SCRIPT_START script_ZeldaTalkToSmith
BeginBlock
SetAnimationState 0x0002
SetEntitySpeed 0x0100
Call SetPriorityMessage
EndBlock
WaitForSyncFlagAndClear 0x00000004
DoPostScriptAction 0x0004
FacePlayer
WaitForSyncFlagAndClear 0x00000004
FacePlayer
WaitForSyncFlagAndClear 0x00000004
FacePlayer
FaceAwayFromPlayer
DoPostScriptAction 0x0001
MessageFromTargetPos 0x100a, 0x0000
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
SetSyncFlag 0x00000008
WaitForSyncFlagAndClear 0x00000004
FaceAwayFromPlayer
DoPostScriptAction 0x0001
FaceAwayFromPlayer
SetAnimationState 0x0002
MessageFromTargetPos 0x100d, 0x0000
WaitUntilTextboxCloses
DoPostScriptAction 0x0000
@ Leave room
_0807EDD4 0x0028, 0x0060
_0807EDD4 0x0000, 0x0060
Call sub_080536A8
Wait 0x001e
BeginBlock
SetGlobalFlag 0x0013
Call sub_0807DF50
Call ResetPlayerAnimationAndAction
EnablePlayerControl
EndBlock
SCRIPT_END
.2byte 0x0000