mirror of https://github.com/zeldaret/tmc.git
48 lines
1.2 KiB
PHP
48 lines
1.2 KiB
PHP
@ DHC NPC4E At Zelda after defeating V2
|
|
SCRIPT_START script_Npc4EAfterDefeatingV2
|
|
BeginBlock
|
|
EndBlock
|
|
script_0800DB7C:
|
|
CallWithArg sub_0807F6B4, 0x000000a0
|
|
JumpIf script_0800DB7C
|
|
SetPlayerIdle
|
|
Call WaitForPlayerNormal
|
|
Call sub_0807DF28
|
|
_0807F0B4 0x0001
|
|
SetEntityPositionRelative 0x0078, 0x0078
|
|
CameraTargetEntity
|
|
Call WaitForCameraTouchRoomBorder
|
|
EzloMessage 0x1648
|
|
WaitUntilTextboxCloses
|
|
Call sub_0804D7EC
|
|
SetSyncFlag 0x00000001
|
|
WaitForSyncFlagAndClear 0x00000002
|
|
Call sub_0807DF50
|
|
EnablePlayerControl
|
|
script_0800DBCA:
|
|
CheckRoomFlag 0x0000
|
|
JumpIfNot script_0800DBCA
|
|
SetPlayerIdle
|
|
Call WaitForPlayerNormal
|
|
Call sub_0807DF28
|
|
Call sub_0804D810
|
|
Call CreatePlayerExclamationMark
|
|
Wait 0x003c
|
|
StartPlayerScript script_PlayerRescuedZelda
|
|
WaitForSyncFlagAndClear 0x00000004
|
|
SetSyncFlag 0x00000001
|
|
WaitForSyncFlagAndClear 0x00000002
|
|
SetSyncFlag 0x00000001
|
|
StartPlayerScript script_PlayerAfterDefeatingV2
|
|
WaitForSyncFlagAndClear 0x00000006
|
|
MessageFromTargetPos 0x1643, 0x0002
|
|
WaitUntilTextboxCloses
|
|
EzloMessage 0x1645
|
|
WaitUntilTextboxCloses
|
|
Call CreatePlayerExclamationMark
|
|
SetSyncFlag 0x00000001
|
|
StopBgm
|
|
Call sub_08094F98
|
|
CallWithArg CreateManager36, 0x00000001
|
|
_0807F0C8 0xffff, 0x0000
|