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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
EventScript_1A77C9:: @ 81A77C9
msgbox Text_OnlySkilledTrainersAllowedThrough
playse SE_BOO
msgbox Text_CantLetYouPass
release
end
EventScript_1A77DE:: @ 81A77DE
message Text_OnlyPassWithBadgeDontHaveYet
waitmessage
playse SE_BOO
waitbuttonpress
closemessage
waitse
release
end
EventScript_1A77EC:: @ 81A77EC
message Text_OhThatsBadgeGoRightAhead
waitmessage
playfanfare MUS_FANFA1
waitfanfare
waitbuttonpress
release
end
EventScript_1A77F9:: @ 81A77F9
msgbox Text_OnlyPassWithBadgeOhGoAhead
release
end
EventScript_1A7803:: @ 81A7803
compare VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1
goto_if_ge EventScript_1A77EC
switch VAR_TEMP_1
case 1, EventScript_1A78D5
case 2, EventScript_1A78E4
case 3, EventScript_1A78F3
case 4, EventScript_1A7902
case 5, EventScript_1A7911
case 6, EventScript_1A7920
case 7, EventScript_1A792F
case 8, EventScript_1A793E
end
EventScript_1A786C:: @ 81A786C
compare VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1
goto_if_ge EventScript_1A77F9
switch VAR_TEMP_1
case 1, EventScript_1A78D5
case 2, EventScript_1A78E4
case 3, EventScript_1A78F3
case 4, EventScript_1A7902
case 5, EventScript_1A7911
case 6, EventScript_1A7920
case 7, EventScript_1A792F
case 8, EventScript_1A793E
end
EventScript_1A78D5:: @ 81A78D5
goto_if_set FLAG_BADGE01_GET, EventScript_1A794D
goto EventScript_1A77C9
end
EventScript_1A78E4:: @ 81A78E4
goto_if_set FLAG_BADGE02_GET, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A78F3:: @ 81A78F3
goto_if_set FLAG_BADGE03_GET, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A7902:: @ 81A7902
goto_if_set FLAG_BADGE04_GET, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A7911:: @ 81A7911
goto_if_set FLAG_BADGE05_GET, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A7920:: @ 81A7920
goto_if_set FLAG_BADGE06_GET, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A792F:: @ 81A792F
goto_if_set FLAG_BADGE07_GET, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A793E:: @ 81A793E
goto_if_set FLAG_BADGE08_GET, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A794D:: @ 81A794D
message Text_OhThatsBadgeGoRightAhead
waitmessage
playfanfare MUS_FANFA1
waitfanfare
waitbuttonpress
copyvar VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1
release
end
EventScript_1A795F:: @ 81A795F
msgbox Text_OnlyPassWithBadgeOhGoAhead
copyvar VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1
release
end
EventScript_1A796E:: @ 81A796E
textcolor 0
applymovement VAR_0x8009, Movement_WalkInPlaceFastestLeft
waitmovement 0
switch VAR_TEMP_1
case 1, EventScript_1A79D8
case 2, EventScript_1A79E7
case 3, EventScript_1A79F6
case 4, EventScript_1A7A05
case 5, EventScript_1A7A14
case 6, EventScript_1A7A23
case 7, EventScript_1A7A32
case 8, EventScript_1A7A41
end
EventScript_1A79D8:: @ 81A79D8
goto_if_set FLAG_BADGE01_GET, EventScript_1A7A96
goto EventScript_1A7A50
end
EventScript_1A79E7:: @ 81A79E7
goto_if_set FLAG_BADGE02_GET, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A79F6:: @ 81A79F6
goto_if_set FLAG_BADGE03_GET, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A05:: @ 81A7A05
goto_if_set FLAG_BADGE04_GET, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A14:: @ 81A7A14
goto_if_set FLAG_BADGE05_GET, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A23:: @ 81A7A23
goto_if_set FLAG_BADGE06_GET, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A32:: @ 81A7A32
goto_if_set FLAG_BADGE07_GET, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A41:: @ 81A7A41
goto_if_set FLAG_BADGE08_GET, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A50:: @ 81A7A50
msgbox Text_OnlySkilledTrainersAllowedThrough
playse SE_BOO
msgbox Text_CantLetYouPass
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Movement_1A7AB7
applymovement VAR_0x8009, Movement_WalkInPlaceFastestDown
waitmovement 0
releaseall
end
EventScript_1A7A77:: @ 81A7A77
message Text_OnlyPassWithBadgeDontHaveYet
waitmessage
playse SE_BOO
waitbuttonpress
closemessage
waitse
applymovement OBJ_EVENT_ID_PLAYER, Movement_1A7AB7
applymovement VAR_0x8009, Movement_WalkInPlaceFastestDown
waitmovement 0
releaseall
end
EventScript_1A7A96:: @ 81A7A96
message Text_OhThatsBadgeGoRightAhead
waitmessage
playfanfare MUS_FANFA1
waitfanfare
waitbuttonpress
copyvar VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1
releaseall
end
EventScript_1A7AA8:: @ 81A7AA8
msgbox Text_OnlyPassWithBadgeOhGoAhead
copyvar VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1
releaseall
end
Movement_1A7AB7:: @ 81A7AB7
walk_down
step_end
|