summaryrefslogtreecommitdiff
path: root/data/scripts/cutscene/outro/script_ZeldaOutro.inc
blob: 8c4c8e9599f10494f7027398c19b74581693c3ed (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
59
60
61
@ Outro Zelda
SCRIPT_START script_ZeldaOutro
	BeginBlock
	SetEntitySpeed 0x0100
	DoPostScriptAction 0x0007
	DoPostScriptAction 0x000b
	SetAnimationState 0x0002
	DoPostScriptAction 0x0000
	EndBlock
	WaitForSyncFlagAndClear 0x00000004
	BeginBlock
	DoPostScriptAction 0x0004
	Call CreatePlayerExclamationMark
	EndBlock
	Wait 0x003c
	WalkEast 0x0010
	SetAnimationState 0x0002
	DoPostScriptAction 0x0000
	SetSyncFlag 0x00000080
	WaitForSyncFlagAndClear 0x00000004
	SetAnimationState 0x0000
	DoPostScriptAction 0x0000
	SetSyncFlag 0x00000080
	WaitForSyncFlagAndClear 0x00000004
	DoPostScriptAction 0x0004
	Wait 0x003c
	SetSyncFlag 0x00000080
	WaitForSyncFlagAndClear 0x00000004
	SetAnimationState 0x0004
	DoPostScriptAction 0x0000
	PlaySound SFX_SPARKLES
	CallWithArg sub_080960C4, script_CutsceneMiscObjectZeldaMagic
	SetSyncFlag 0x00000080
	WaitForSyncFlagAndClear 0x00000004
	PlaySound SFX_143
	SetSyncFlag 0x00001000
	SetSyncFlag 0x00000080
	WaitForSyncFlagAndClear 0x00000004
	Call sub_08066E68
	SetSyncFlag 0x00000080
	WaitForSyncFlagAndClear 0x00000004
	PlaySound SFX_SPARKLES
	CallWithArg sub_080960C4, script_EzloZeldaMagic
	Wait 0x0078
	PlaySound SFX_153
	CallWithArg sub_0807FADC, 0x00000003
	Wait 0x000f
	PlaySound SFX_153
	CallWithArg sub_0807FADC, 0x00000003
	Wait 0x000f
	PlaySound SFX_153
	CallWithArg sub_0807FADC, 0x00000003
	Wait 0x003c
	PlaySound SFX_153
	CallWithArg sub_0807FADC, 0x00000001
	PlaySound SFX_143
	SetSyncFlag 0x00000080
	WaitForSyncFlagAndClear 0x00000004
	DoPostScriptAction 0x0006
SCRIPT_END
	.2byte 0x0000