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
|
Route103_MapScripts:: @ 814EB81
map_script 3, Route103_MapScript1_14EB87
.byte 0
Route103_MapScript1_14EB87:: @ 814EB87
call Route103_EventScript_1A014E
call Route103_EventScript_1A02F4
end
Route103_EventScript_14EB92:: @ 814EB92
lockall
checkplayergender
compare RESULT, 0
goto_if_eq Route103_EventScript_14EBAB
compare RESULT, 1
goto_if_eq Route103_EventScript_14EC04
end
Route103_EventScript_14EBAB:: @ 814EBAB
msgbox Route103_Text_16D57A, 4
playbgm BGM_GIRL_SUP, TRUE
applymovement 2, Route103_Movement_1A0839
waitmovement 0
applymovement 2, Route103_Movement_1A0833
waitmovement 0
applymovement 2, Route103_Movement_1A0835
waitmovement 0
msgbox Route103_Text_16D5B6, 4
switch VAR_STARTER_MON
case 0, Route103_EventScript_14EC5D
case 1, Route103_EventScript_14EC6D
case 2, Route103_EventScript_14EC7D
end
Route103_EventScript_14EC04:: @ 814EC04
msgbox Route103_Text_16D762, 4
playbgm BGM_BOY_SUP, TRUE
applymovement 2, Route103_Movement_1A0839
waitmovement 0
applymovement 2, Route103_Movement_1A0833
waitmovement 0
applymovement 2, Route103_Movement_1A0835
waitmovement 0
msgbox Route103_Text_16D7A9, 4
switch VAR_STARTER_MON
case 0, Route103_EventScript_14EC8D
case 1, Route103_EventScript_14EC9D
case 2, Route103_EventScript_14ECAD
end
Route103_EventScript_14EC5D:: @ 814EC5D
trainerbattle 3, OPPONENT_MAY_4, 0, Route103_Text_16D65B
goto Route103_EventScript_14ECBD
end
Route103_EventScript_14EC6D:: @ 814EC6D
trainerbattle 3, OPPONENT_MAY_7, 0, Route103_Text_16D65B
goto Route103_EventScript_14ECBD
end
Route103_EventScript_14EC7D:: @ 814EC7D
trainerbattle 3, OPPONENT_MAY_1, 0, Route103_Text_16D65B
goto Route103_EventScript_14ECBD
end
Route103_EventScript_14EC8D:: @ 814EC8D
trainerbattle 3, OPPONENT_BRENDAN_4, 0, Route103_Text_16D836
goto Route103_EventScript_14ECCB
end
Route103_EventScript_14EC9D:: @ 814EC9D
trainerbattle 3, OPPONENT_BRENDAN_7, 0, Route103_Text_16D836
goto Route103_EventScript_14ECCB
end
Route103_EventScript_14ECAD:: @ 814ECAD
trainerbattle 3, OPPONENT_BRENDAN_1, 0, Route103_Text_16D836
goto Route103_EventScript_14ECCB
end
Route103_EventScript_14ECBD:: @ 814ECBD
msgbox Route103_Text_16D688, 4
goto Route103_EventScript_14ECD9
end
Route103_EventScript_14ECCB:: @ 814ECCB
msgbox Route103_Text_16D856, 4
goto Route103_EventScript_14ECD9
end
Route103_EventScript_14ECD9:: @ 814ECD9
closemessage
switch FACING
case 1, Route103_EventScript_14ED29
case 2, Route103_EventScript_14ED0C
case 3, Route103_EventScript_14ED29
case 4, Route103_EventScript_14ED29
end
Route103_EventScript_14ED0C:: @ 814ED0C
applymovement 2, Route103_Movement_14ED67
waitmovement 0
playse SE_DANSA
applymovement 2, Route103_Movement_14ED6B
waitmovement 0
goto Route103_EventScript_14ED46
end
Route103_EventScript_14ED29:: @ 814ED29
applymovement 2, Route103_Movement_14ED71
waitmovement 0
playse SE_DANSA
applymovement 2, Route103_Movement_14ED74
waitmovement 0
goto Route103_EventScript_14ED46
end
Route103_EventScript_14ED46:: @ 814ED46
removeobject 2
setvar VAR_ROUTE103_STATE, 1
setvar VAR_BIRCH_LAB_STATE, 4
clearflag FLAG_HIDE_RIVAL_BIRCH_LAB
setflag FLAG_DEFEATED_RIVAL_ROUTE103
setvar VAR_OLDALE_STATE, 1
clearflag FLAG_HIDE_RIVAL_OLDALE_TOWN
savebgm 0
fadedefaultbgm
releaseall
end
Route103_Movement_14ED67:: @ 814ED67
step_left
step_down
step_down
step_end
Route103_Movement_14ED6B:: @ 814ED6B
fast_step_down
step_14
step_down
step_down
step_down
step_end
Route103_Movement_14ED71:: @ 814ED71
step_down
step_down
step_end
Route103_Movement_14ED74:: @ 814ED74
fast_step_down
step_14
step_down
step_down
step_end
Route103_EventScript_14ED79:: @ 814ED79
msgbox Route103_Text_16D950, 2
end
Route103_EventScript_14ED82:: @ 814ED82
msgbox Route103_Text_16D996, 2
end
Route103_EventScript_14ED8B:: @ 814ED8B
msgbox Route103_Text_16D9FB, 3
end
Route103_EventScript_14ED94:: @ 814ED94
trainerbattle 0, OPPONENT_DAISY, 0, Route103_Text_1B7D55, Route103_Text_1B7D8B
msgbox Route103_Text_1B7DB2, 6
end
Route103_EventScript_14EDAB:: @ 814EDAB
trainerbattle 4, OPPONENT_AMY_AND_LIV_1, 0, Route103_Text_1B7DF7, Route103_Text_1B7E3B, Route103_Text_1B7EAC
specialvar RESULT, ShouldTryRematchBattle
compare RESULT, 1
goto_if_eq Route103_EventScript_14EDD6
msgbox Route103_Text_1B7E50, 6
end
Route103_EventScript_14EDD6:: @ 814EDD6
trainerbattle 7, OPPONENT_AMY_AND_LIV_1, 0, Route103_Text_1B7FE7, Route103_Text_1B802B, Route103_Text_1B80AF
msgbox Route103_Text_1B8053, 6
end
Route103_EventScript_14EDF1:: @ 814EDF1
trainerbattle 4, OPPONENT_AMY_AND_LIV_1, 0, Route103_Text_1B7EFB, Route103_Text_1B7F20, Route103_Text_1B7F8E
specialvar RESULT, ShouldTryRematchBattle
compare RESULT, 1
goto_if_eq Route103_EventScript_14EE1C
msgbox Route103_Text_1B7F40, 6
end
Route103_EventScript_14EE1C:: @ 814EE1C
trainerbattle 7, OPPONENT_AMY_AND_LIV_1, 0, Route103_Text_1B80FE, Route103_Text_1B8123, Route103_Text_1B81A1
msgbox Route103_Text_1B814D, 6
end
Route103_EventScript_14EE37:: @ 814EE37
trainerbattle 0, OPPONENT_ANDREW, 0, Route103_Text_1B81FA, Route103_Text_1B8258
msgbox Route103_Text_1B8281, 6
end
Route103_EventScript_14EE4E:: @ 814EE4E
trainerbattle 0, OPPONENT_MIGUEL_1, 0, Route103_Text_1B82A9, Route103_Text_1B82EC
specialvar RESULT, ShouldTryRematchBattle
compare RESULT, 1
goto_if_eq Route103_EventScript_14EE75
msgbox Route103_Text_1B830D, 6
end
Route103_EventScript_14EE75:: @ 814EE75
trainerbattle 5, OPPONENT_MIGUEL_1, 0, Route103_Text_1B8349, Route103_Text_1B838C
msgbox Route103_Text_1B83A4, 6
end
|