summaryrefslogtreecommitdiff
path: root/data/scripts/cutscene/outro/script_MinishEzloGoodbye.inc
blob: 1b7d5df77f299d64b599de32b54c70355eee4419 (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
@ Outro MinishEzlo after fixing everything
SCRIPT_START script_MinishEzloGoodbye
	BeginBlock
	SetEntitySpeed 0x0080
	DoPostScriptAction 0x0007
	DoPostScriptAction 0x000b
	SetAnimationState 0x0004
	CallWithArg sub_0807F3D8, 0x00000000
	EndBlock
	WaitForSyncFlagAndClear 0x00000002
	DoPostScriptAction 0x0004
	Wait 0x001e
	SetAnimationState 0x0002
	CallWithArg sub_0807F3D8, 0x00000000
	Wait 0x0006
	SetAnimationState 0x0000
	CallWithArg sub_0807F3D8, 0x00000000
	SetSyncFlag 0x00000004
	WaitForSyncFlagAndClear 0x00000002
	SetAnimationState 0x0002
	CallWithArg sub_0807F3D8, 0x00000000
	Wait 0x0014
	SetAnimationState 0x0004
	CallWithArg sub_0807F3D8, 0x00000000
	SetSyncFlag 0x00000004
	WaitForSyncFlagAndClear 0x00000002
	SetAnimation 0x000c
	Call WaitForAnimDone
	Call sub_08094B94
	SetSyncFlag 0x00000004
	WaitForSyncFlagAndClear 0x00000002
	SetAnimation 0x000f
	Call WaitForAnimDone
	SetSyncFlag 0x00000004
	WaitForSyncFlagAndClear 0x00000002
	CallWithArg sub_080960C4, script_CutsceneMiscObjectEzloFinalMagic
	SetAnimation 0x0012
	Call WaitForAnimDone
	Wait 0x001e
	SetSyncFlag 0x00000020
	StopBgm
	Call CreateDeathFx
	Call sub_0806305C
	Call sub_080630A4
	_0807EF3C 0x0000, 0x0020
	Wait 0x001e
	SetSyncFlag 0x00000004
	WaitForSyncFlagAndClear 0x00000002
	SetEntitySpeed 0x0080
	MoveToOffset 0x0000, 0xfff0
	Wait 0x003c
	MoveToOffset 0x0000, 0xfff0
	SetSyncFlag 0x00000004
	WaitForSyncFlagAndClear 0x00000002
	MoveTo 0x0088, 0x0040
	SetSyncFlag 0x00000004
	DoPostScriptAction 0x0006
SCRIPT_END