tmc/data/scripts/dhc/script_CutsceneOrchestrator...

59 lines
1.1 KiB
PHP

@ DHC CUTSCENE_ORCHESTRATOR Towards Vaati in room with Ball&Chain soldier
SCRIPT_START script_CutsceneOrchestratorBallAndChainSoldierRoom
BeginBlock
Call SetPriorityPlayerEvent
EndBlock
CheckLocalFlag 0x007c
JumpIf script_0800E4FA
script_0800E4B6:
.ifdef JP
CheckPlayerInRegion 0x0088, 0x0100, 0x0820
.else
.ifdef EU
CheckPlayerInRegion 0x0088, 0x0100, 0x0820
.else
CheckPlayerInRegion 0x0088, 0x00f8, 0x0820
.endif
.endif
JumpIfNot script_0800E4B6
BeginBlock
SetPlayerIdle
.ifdef JP
.ifndef DEMO_JP
Call SetPlayerEventPriority
.endif
.else
.ifdef EU
Call SetPlayerEventPriority
.endif
.endif
EndBlock
Call CreatePlayerExclamationMark
Wait 0x003c
MessageFromTarget TEXT_VAATI2, 0x0c
WaitUntilTextboxCloses
Wait 0x001e
MessageFromTarget TEXT_VAATI2, 0x0d
WaitUntilTextboxCloses
Wait 0x001e
EzloMessage TEXT_VAATI2, 0x0e
Wait 0x003c
WaitUntilTextboxCloses
BeginBlock
PlayBgm BGM_FIGHT_THEME2
SetLocalFlag 0x007c
.ifdef JP
.ifndef DEMO_JP
Call ResetPlayerEventPriority
.endif
.else
.ifdef EU
Call ResetPlayerEventPriority
.endif
.endif
script_0800E4FA:
EnablePlayerControl
DoPostScriptAction 0x0006
EndBlock
SCRIPT_END