mirror of https://github.com/zeldaret/tmc.git
48 lines
1.0 KiB
PHP
48 lines
1.0 KiB
PHP
@ DHC OBJECT_69 Vaati with Zelda
|
|
SCRIPT_START script_Object69VaatiWithZelda
|
|
BeginBlock
|
|
EndBlock
|
|
script_0800DA64:
|
|
CheckPlayerInRegion 0x0078, 0x0148, 0x4040
|
|
JumpIfNot script_0800DA64
|
|
SetPlayerIdle
|
|
Call WaitForPlayerNormal
|
|
Call sub_0807DF28
|
|
_0807E8E4_0
|
|
Call CreatePlayerExclamationMark
|
|
Wait 0x003c
|
|
_0807F0B4 0x0004
|
|
SetEntityPositionRelative 0x0078, 0x0080
|
|
CameraTargetEntity
|
|
Call WaitForCameraTouchRoomBorder
|
|
SetSyncFlag 0x00000001
|
|
WaitForSyncFlagAndClear 0x00000002
|
|
MessageFromTargetPos 0x162d, 0x0002
|
|
WaitUntilTextboxCloses
|
|
SetSyncFlag 0x00000001
|
|
Wait 0x001e
|
|
MessageFromTargetPos 0x162e, 0x0002
|
|
WaitUntilTextboxCloses
|
|
_0807E8E4_0
|
|
CallWithArg SetPlayerPos, 0x00780138
|
|
_0807F0B4 0x0004
|
|
CameraTargetPlayer
|
|
Call WaitForCameraTouchRoomBorder
|
|
SetRoomFlag 0x0000
|
|
Call CreatePlayerQuestionMark
|
|
Wait 0x001e
|
|
_0807E8E4_1
|
|
Wait 0x000a
|
|
_0807E8E4_3
|
|
Wait 0x000a
|
|
_0807E8E4_2
|
|
Call CreatePlayerExclamationMark
|
|
Wait 0x003c
|
|
SetRoomFlag 0x0001
|
|
SetLocalFlag 0x0077
|
|
Call sub_0807DF50
|
|
EnablePlayerControl
|
|
DoPostScriptAction 0x0006
|
|
SCRIPT_END
|
|
.2byte 0x0000
|