mirror of https://github.com/zeldaret/tmc.git
48 lines
1.3 KiB
PHP
48 lines
1.3 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 DisablePauseMenuAndPutAwayItems
|
|
SetScrollSpeed 1
|
|
SetEntityPositionRelative 0x0078, 0x0078
|
|
CameraTargetEntity
|
|
Call WaitForCameraTouchRoomBorder
|
|
EzloMessage TEXT_VAATI2, 0x48
|
|
WaitUntilTextboxCloses
|
|
Call sub_0804D7EC
|
|
SetSyncFlag 0x00000001
|
|
WaitForSyncFlagAndClear 0x00000002
|
|
Call EnablePauseMenu
|
|
EnablePlayerControl
|
|
script_0800DBCA:
|
|
CheckRoomFlag 0x0000
|
|
JumpIfNot script_0800DBCA
|
|
SetPlayerIdle
|
|
Call WaitForPlayerNormal
|
|
Call DisablePauseMenuAndPutAwayItems
|
|
Call sub_0804D810
|
|
Call CreatePlayerExclamationMark
|
|
Wait 0x003c
|
|
StartPlayerScript script_PlayerRescuedZelda
|
|
WaitForSyncFlagAndClear 0x00000004
|
|
SetSyncFlag 0x00000001
|
|
WaitForSyncFlagAndClear 0x00000002
|
|
SetSyncFlag 0x00000001
|
|
StartPlayerScript script_PlayerAfterDefeatingV2
|
|
WaitForSyncFlagAndClear 0x00000006
|
|
MessageFromTargetPos TEXT_VAATI2, 0x43, 0x0002
|
|
WaitUntilTextboxCloses
|
|
EzloMessage TEXT_VAATI2, 0x45
|
|
WaitUntilTextboxCloses
|
|
Call CreatePlayerExclamationMark
|
|
SetSyncFlag 0x00000001
|
|
StopBgm
|
|
Call sub_08094F98
|
|
CallWithArg CreateRepeatedSoundManager, 0x00000001
|
|
_0807F0C8 0xffff, 0x0000
|