summaryrefslogtreecommitdiff
path: root/data/scripts/script_08010BB4.inc
blob: 9bd7cb7fa4e747de9d2684532ebd6c50382e387a (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
SCRIPT_START script_08010BB4
	BeginBlock 
	DoPostScriptAction 0x000a
	_0807EB44 0x0004
	_0807E930 0x0008
	Call sub_0806E440
	EndBlock 
script_08010BCA:
	CheckEntityInteractType 
	JumpIfNot script_08010BCA
	_0807E864 
	_0807EB74 
	DoPostScriptAction 0x0000
	Call sub_0806E418
	_0807EA94 
	_0807E878 
	_0807E930 0x0008
	Jump script_08010BCA
	.2byte 0x0000
SCRIPT_START script_08010BEC
	_0807E864 
	Call sub_0807F9A4
	Call sub_0807DF28
	StartPlayerScript script_08011074
	WaitForSomething2 0x00000400
	_0807F078 0x0034, 0x0002
	TextboxNoOverlapFollowPos 0x1036, 0x000c
	_0807EA94 
	_0807E5F8 0x00000010
	WaitForSomething2 0x00000020
	TextboxNoOverlapFollowPos 0x1037, 0x0002
	_0807EA94 
	_0807E5F8 0x00000010
	WaitForSomething2 0x00000020
	TextboxNoOverlapFollowPos 0x1038, 0x000c
	_0807EA94 
	StopBgm
	_0807E778 0x0004
	DoFade5 
	WaitFor_2 
	Call sub_08064180
	Call sub_08064180
	Call sub_08064180
	Call sub_08064180
	Call sub_08064180
	Call sub_08064180
	Call sub_08064180
	Call sub_08064180
	LoadRoomEntityList gUnk_080F06E0
	_0807E5F8 0x00000004
	WaitForSomething2 0x00000008
	StartPlayerScript script_08011098
	WaitForSomething2 0x00000400
	SetEntityPositionRelative 0x01f8, 0x0050
	_0807F0B4 0x0007
	CameraTargetEntity 
	Wait 0x000a
	_0807F0B4 0x0001
	_0807E778 0x0001
	DoFade4 
	_0807E5F8 0x0002a800
	WaitForSomething2 0x00055000
	SetEntityPositionRelative 0x01f8, 0x0078
	Wait 0x003c
	_0807E5F8 0x00800000
	WaitForSomething2 0x01000000
	_0807E5F8 0x0002a800
	WaitForSomething2 0x00055000
	_0807E8E4_1 
	_0807E5F8 0x00000004
	WaitForSomething2 0x00000008
	TextboxNoOverlapFollowPos 0x1039, 0x000c
	_0807EA94 
	PlayBgm BGM_CASTLE_TOURNAMENT
	_0807E8E4_2 
	_0807E5F8 0x00000004
	WaitForSomething2 0x00000008
	_0807E5F8 0x00000010
	_0807E5F8 0x00000040
	WaitForSomething2 0x00000020
	WaitForSomething2 0x00000080
	Wait 0x012c
	_0807E5F8 0x00000004
	WaitForSomething2 0x00000008
	TextboxNoOverlapFollowPos 0x103a, 0x000c
	_0807EA94 
	SetEntityPositionRelative 0x01f8, 0x01c0
	_0807F0B4 0x0004
	Wait 0x0078
	_0807E5F8 0x00280000
	WaitForSomething2 0x00500000
	_0807E5F8 0x00000100
	SetEntityPositionRelative 0x01f8, 0x0220
	SetEntitySpeed 0x0100
	_0807EDD4 0x01f8, 0x0098
	Wait 0x003c
	WaitForSomething2 0x00000200
	_0807E5F8 0x00280000
	StopBgm
	PlaySound SFX_9B
	_0807E5F8 0x00000100
	WaitForSomething2 0x00000200
	TextboxNoOverlapFollowPos 0x1043, 0x0000
	_0807EA94 
	PlayBgm BGM_VAATI_THEME
	_0807E5F8 0x00000100
	WaitForSomething2 0x00000200
	_0807E5F8 0x0002a800
	WaitForSomething2 0x00055000
	PlaySound SFX_1C7
	PlaySound SFX_BUTTON_DEPRESS
	_0807E5F8 0x00000100
	_0807E5F8 0x00002800
	CallWithArg sub_0807FB28, 0x00000003
	WaitForSomething2 0x00000200
	WaitForSomething2 0x00005000
	_0807E5F8 0x00028000
	WaitForSomething2 0x00050000
	TextboxNoOverlapFollowPos 0x1044, 0x0000
	_0807EA94 
	SetEntityPositionRelative 0x01f8, 0x0098
	StopBgm
	Wait 0x003c
	PlayBgm BGM_VAATI_REBORN
	_0807E5F8 0x00028000
	_0807E5F8 0x00000100
	WaitForSomething2 0x00000200
	WaitForSomething2 0x00050000
	CallWithArg sub_0807FB28, 0x00000003
	PlaySound SFX_BUTTON_DEPRESS
	_0807E5F8 0x00028000
	WaitForSomething2 0x00050000
	PlaySound SFX_125
	CallWithArg sub_0807FB28, 0x00000003
	_0807E5F8 0x08000000
	_0807E5F8 0x00800000
	WaitForSomething2 0x01000000
	CallWithArg sub_0805DDEC, 0x00000002
	_0807F0C8 0xffff, 0x0000