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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
|
Route101_MapScripts:: @ 814E924
map_script 3, Route101_MapScript1_14E92F
map_script 2, Route101_MapScript2_14E935
.byte 0
Route101_MapScript1_14E92F:: @ 814E92F
call Route101_EventScript_1A02F4
end
Route101_MapScript2_14E935:: @ 814E935
map_script_2 VAR_ROUTE101_STATE, 0, Route101_EventScript_14E93F
.2byte 0
Route101_EventScript_14E93F:: @ 814E93F
setflag FLAG_SPECIAL_FLAG_0
setvar VAR_ROUTE101_STATE, 1
end
Route101_EventScript_14E948:: @ 814E948
lockall
playbgm BGM_EVENT0, TRUE
msgbox Route101_Text_16D10E, 4
closemessage
setobjectxy 2, 0, 15
setobjectxy 4, 0, 16
applymovement 255, Route101_Movement_14EA2C
applymovement 2, Route101_Movement_14EA50
applymovement 4, Route101_Movement_14EA1F
waitmovement 0
applymovement 4, Route101_Movement_14EA00
applymovement 2, Route101_Movement_14EA31
waitmovement 0
applymovement 2, Route101_Movement_1A0843
waitmovement 0
applymovement 4, Route101_Movement_14EA27
applymovement 2, Route101_Movement_14EA58
waitmovement 0
msgbox Route101_Text_16D119, 4
closemessage
setvar VAR_ROUTE101_STATE, 2
releaseall
end
Route101_EventScript_14E9B8:: @ 814E9B8
lockall
msgbox Route101_Text_16D15E, 4
closemessage
applymovement 255, Route101_Movement_14E9FA
waitmovement 0
releaseall
end
Route101_EventScript_14E9CE:: @ 814E9CE
lockall
msgbox Route101_Text_16D15E, 4
closemessage
applymovement 255, Route101_Movement_14E9FC
waitmovement 0
releaseall
end
Route101_EventScript_14E9E4:: @ 814E9E4
lockall
msgbox Route101_Text_16D15E, 4
closemessage
applymovement 255, Route101_Movement_14E9FE
waitmovement 0
releaseall
end
Route101_Movement_14E9FA:: @ 814E9FA
step_up
step_end
Route101_Movement_14E9FC:: @ 814E9FC
step_right
step_end
Route101_Movement_14E9FE:: @ 814E9FE
step_down
step_end
Route101_Movement_14EA00:: @ 814EA00
step_16
step_16
step_16
step_18
step_18
step_18
step_15
step_15
step_17
step_17
step_17
step_16
step_16
step_18
step_18
step_18
step_15
step_15
step_17
step_17
step_17
step_16
step_16
step_18
step_18
step_18
step_15
step_15
step_17
step_17
step_end
Route101_Movement_14EA1F:: @ 814EA1F
step_16
step_18
step_18
step_18
step_18
step_16
step_end
@ 814EA26
step_end
Route101_Movement_14EA27:: @ 814EA27
step_23
step_23
step_23
step_23
step_end
Route101_Movement_14EA2C:: @ 814EA2C
step_16
step_16
step_16
step_16
step_end
Route101_Movement_14EA31:: @ 814EA31
step_16
step_16
step_18
step_18
step_18
step_15
step_15
step_17
step_17
step_17
step_16
step_16
step_18
step_18
step_18
step_15
step_15
step_17
step_17
step_17
step_16
step_16
step_18
step_18
step_18
step_15
step_15
step_17
step_17
step_17
step_end
Route101_Movement_14EA50:: @ 814EA50
step_18
step_18
step_18
step_18
step_16
step_16
step_end
@ 814EA57
step_end
Route101_Movement_14EA58:: @ 814EA58
step_24
step_24
step_24
step_24
step_end
@ 814EA5D
step_up
step_up
step_end
@ 814EA60
step_up
step_left
step_up
step_end
Route101_EventScript_14EA64:: @ 814EA64
msgbox Route101_Text_16D25E, 2
end
Route101_EventScript_14EA6D:: @ 814EA6D
msgbox Route101_Text_16D2CB, 2
end
Route101_EventScript_14EA76:: @ 814EA76
msgbox Route101_Text_16D349, 3
end
Route101_EventScript_14EA7F:: @ 814EA7F
lock
faceplayer
setflag FLAG_SYS_POKEMON_GET
setflag FLAG_RESCUED_BIRCH
fadescreen 1
removeobject 4
setobjectxy 255, 6, 13
applymovement 255, Route101_Movement_1A083F
waitmovement 0
special ScrSpecial_ChooseStarter
waitstate
applymovement 2, Route101_Movement_14EAD7
waitmovement 0
msgbox Route101_Text_16D191, 4
special ScrSpecial_HealPlayerParty
setflag FLAG_HIDE_BIRCH_BATTLE_POOCHYENA
clearflag FLAG_HIDE_BIRCH_IN_LAB
setflag FLAG_HIDE_BIRCH_STARTERS_BAG
setvar VAR_BIRCH_LAB_STATE, 2
setvar VAR_ROUTE101_STATE, 3
clearflag FLAG_SPECIAL_FLAG_0
warp MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB, 255, 6, 5
waitstate
release
end
Route101_Movement_14EAD7:: @ 814EAD7
step_right
step_end
|