mirror of
https://github.com/zeldaret/tmc
synced 2026-08-21 14:37:54 -04:00
136 lines
3.2 KiB
PHP
136 lines
3.2 KiB
PHP
@ Minish Woods Ezlo Cutscene NPC4E
|
|
SCRIPT_START script_Npc4EEzloCutscene
|
|
BeginBlock
|
|
Call sub_08054564
|
|
EndBlock
|
|
script_0801248A:
|
|
CheckPlayerInRegion 0x0208, 0x02c8, 0x4020
|
|
JumpIfNot script_0801248A
|
|
StopBgm
|
|
_0807E864
|
|
Call sub_0807F9A4
|
|
Call sub_0807DF28
|
|
StartPlayerScript script_PlayerAtFirstLookAtEzlo
|
|
MessageFromTargetPos 0x1101, 0x0007
|
|
WaitUntilTextboxCloses
|
|
CameraTargetPlayer
|
|
_0807E778 0x0004
|
|
_0807E80C 0x00000000
|
|
WaitForFadeFinish
|
|
_0807E858 0x0000
|
|
Call sub_080791BC
|
|
LoadRoomEntityList gUnk_080F4D70
|
|
Call DeleteAllEnemies
|
|
SetEntityPositionRelative 0x0388, 0x0168
|
|
Call sub_0807F844
|
|
_0807E778 0x0004
|
|
_0807E800 0x00000000
|
|
WaitForFadeFinish
|
|
PlayBgm BGM_EZLO_THEME
|
|
SetSyncFlag 0x00000010
|
|
WaitForSyncFlagAndClear 0x00000020
|
|
WaitForSyncFlagAndClear 0x00000100
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000040
|
|
WaitForSyncFlagAndClear 0x00000080
|
|
WaitForSyncFlagAndClear 0x00000100
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
StopBgm
|
|
_0807E778 0x0004
|
|
_0807E80C 0x00000000
|
|
WaitForFadeFinish
|
|
MoveEntityToPlayer
|
|
Call sub_0807F844
|
|
CameraTargetPlayer
|
|
SetFadeMask 0xffffffff
|
|
_0807E778 0x0004
|
|
_0807E800 0x00000000
|
|
WaitForFadeFinish
|
|
Call sub_0807DF50
|
|
_0807E878
|
|
PlayBGM
|
|
script_08012566:
|
|
CheckPlayerInRegion 0x03a0, 0x01a0, 0x1020
|
|
JumpIfNot script_08012566
|
|
_0807E864
|
|
Call sub_0807F9A4
|
|
Call sub_0807DF28
|
|
Call sub_0806DC7C
|
|
StopBgm
|
|
StartPlayerScript script_PlayerEzloBeingBullied
|
|
WaitForSyncFlagAndClear 0x00000001
|
|
SetEntityPositionRelative 0x0388, 0x0168
|
|
_0807F0B4 0x0001
|
|
CameraTargetEntity
|
|
Wait 0x005a
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
PlayBgm BGM_EZLO_THEME
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000040
|
|
WaitForSyncFlagAndClear 0x00000080
|
|
WaitForSyncFlagAndClear 0x00000100
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000010
|
|
WaitForSyncFlagAndClear 0x00000020
|
|
WaitForSyncFlagAndClear 0x00000100
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
StopBgm
|
|
PlayBgm BGM_FIGHT_THEME2
|
|
Call sub_0807DF50
|
|
_0807E878
|
|
SetSyncFlag 0x00000050
|
|
LoadRoomEntityList gUnk_080F51D0
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
_0807E864
|
|
Call sub_0807FA40
|
|
Call sub_0807DF28
|
|
PlaySound SFX_SECRET
|
|
StopBgm
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
StartPlayerScript script_PlayerDefeatedOctoroks
|
|
WaitForSyncFlagAndClear 0x00000001
|
|
_0807E8E4_0
|
|
PlayBgm BGM_EZLO_THEME
|
|
Wait 0x001e
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
StopBgm
|
|
Wait 0x003c
|
|
PlayBGM
|
|
Call sub_0806DCA0
|
|
_0807F0B4 0x0004
|
|
CameraTargetPlayer
|
|
Call sub_0807DF50
|
|
_0807E878
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
SetSyncFlag 0x00000004
|
|
WaitForSyncFlagAndClear 0x00000008
|
|
StopBgm
|
|
Wait 0x003c
|
|
PlayBGM
|
|
Call sub_08054570
|
|
SetGlobalFlag 0x0014
|
|
CallWithArg sub_0807F6F8, 0x00000008
|
|
Call sub_0807DF50
|
|
_0807E878
|
|
DoPostScriptAction 0x0006
|
|
SCRIPT_END
|