summaryrefslogtreecommitdiff
path: root/data/scripts/cutscene/originStory/script_MinishEzlo.inc
blob: 631bacb8b1d0aa031c3749f2753bc762816cb2e7 (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
@ Ezlo Cutscene MinishEzlo
SCRIPT_START script_MinishEzlo
	BeginBlock
	SetEntitySpeed 0x0080
	DoPostScriptAction 0x0007
	SetAnimationState 0x0000
	Call DeleteHitbox
	EndBlock
	CallWithArg sub_0806AF60, 0x00000000
	WaitForSyncFlagAndClear 0x00008000
	CallWithArg sub_0806AF60, 0x00000004
	MoveTo 0x0078, 0x00b8
	SetAnimationState 0x0000
	CallWithArg sub_0806AF60, 0x00000000
	SetSyncFlag 0x00010000
	WaitForSyncFlagAndClear 0x00008000
	DoPostScriptAction 0x000d
	SetAnimationState 0x0000
	CallWithArg sub_0806AF60, 0x00000004
	MoveTo 0x0078, 0x00c8
	SetSyncFlag 0x00010000
	WaitForSyncFlagAndClear 0x00008000
	SetAnimationState 0x0000
	CallWithArg sub_0806AF60, 0x00000000
	DoPostScriptAction 0x0010
	Wait 0x0028
	PlaySound SFX_125
	CallWithArg sub_0807FB28, 0x00000003
	Wait 0x000a
	PlaySound SFX_125
	CallWithArg sub_0807FB28, 0x00000003
	Wait 0x000a
	DoPostScriptAction 0x0010
	SetSyncFlag 0x00010000
	WaitForSyncFlagAndClear 0x00008000
	SetAnimation 0x000d
	Call WaitForAnimDone
	SetSyncFlag 0x00010000
	Wait 0x003c
	DoPostScriptAction 0x0005
	Wait 0x003c
script_080155E6:
	CheckRoomFlag 0x0001
	JumpIfNot script_080155E6
	DoPostScriptAction 0x0006
SCRIPT_END