summaryrefslogtreecommitdiff
path: root/data/scripts/dhc/script_CutsceneOrchestratorBallAndChainSoldierRoom.inc
blob: 7de4148a703e01f3147d103edc287a567d8aca7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@ 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