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
|
.set LOCALID_DAYCARE_MAN, 3
Route117_MapScripts:: @ 81F397D
map_script MAP_SCRIPT_ON_TRANSITION, Route117_OnTransition
.byte 0
Route117_OnTransition: @ 81F3983
call Route117_EventScript_TryMoveDayCareMan
end
Route117_EventScript_TryMoveDayCareMan:: @ 81F3989
goto_if_unset FLAG_PENDING_DAYCARE_EGG, Route117_EventScript_StopMoveDayCareMan
setobjectxyperm LOCALID_DAYCARE_MAN, 47, 6
Route117_EventScript_StopMoveDayCareMan:: @ 81F3999
return
Route117_EventScript_Woman:: @ 81F399A
msgbox Route117_Text_ArentTheseFlowersPretty, MSGBOX_NPC
end
Route117_EventScript_LittleBoy:: @ 81F39A3
msgbox Route117_Text_AirIsTastyHere, MSGBOX_NPC
end
Route117_EventScript_Girl:: @ 81F39AC
msgbox Route117_Text_DayCarePokemonHadNewMove, MSGBOX_NPC
end
Route117_EventScript_RouteSignVerdanturf:: @ 81F39B5
msgbox Route117_Text_RouteSignVerdanturf, MSGBOX_SIGN
end
Route117_EventScript_RouteSignMauville:: @ 81F39BE
msgbox Route117_Text_RouteSignMauville, MSGBOX_SIGN
end
Route117_EventScript_DayCareSign:: @ 81F39C7
msgbox Route117_Text_DayCareSign, MSGBOX_SIGN
end
Route117_EventScript_Isaac:: @ 81F39D0
trainerbattle_single TRAINER_ISAAC_1, Route117_Text_IsaacIntro, Route117_Text_IsaacDefeat, Route117_EventScript_RegisterIsaac
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route117_EventScript_RematchIsaac
msgbox Route117_Text_IsaacPostBattle, MSGBOX_DEFAULT
release
end
Route117_EventScript_RegisterIsaac:: @ 81F39FC
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route117_Text_IsaacRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ISAAC_1
release
end
Route117_EventScript_RematchIsaac:: @ 81F3A1B
trainerbattle_rematch TRAINER_ISAAC_1, Route117_Text_IsaacRematchIntro, Route117_Text_IsaacRematchDefeat
msgbox Route117_Text_IsaacPostRematch, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Lydia:: @ 81F3A32
trainerbattle_single TRAINER_LYDIA_1, Route117_Text_LydiaIntro, Route117_Text_LydiaDefeat, Route117_EventScript_RegisterLydia
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route117_EventScript_RematchLydia
msgbox Route117_Text_LydiaPostBattle, MSGBOX_DEFAULT
release
end
Route117_EventScript_RegisterLydia:: @ 81F3A5E
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route117_Text_LydiaRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_LYDIA_1
release
end
Route117_EventScript_RematchLydia:: @ 81F3A7D
trainerbattle_rematch TRAINER_LYDIA_1, Route117_Text_LydiaRematchIntro, Route117_Text_LydiaRematchDefeat
msgbox Route117_Text_LydiaPostRematch, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Dylan:: @ 81F3A94
trainerbattle_single TRAINER_DYLAN_1, Route117_Text_DylanIntro, Route117_Text_DylanDefeat, Route117_EventScript_RegisterDylan
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route117_EventScript_RematchDylan
msgbox Route117_Text_DylanPostBattle, MSGBOX_DEFAULT
release
end
Route117_EventScript_RegisterDylan:: @ 81F3AC0
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route117_Text_DylanRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_DYLAN_1
release
end
Route117_EventScript_RematchDylan:: @ 81F3ADF
trainerbattle_rematch TRAINER_DYLAN_1, Route117_Text_DylanRematchIntro, Route117_Text_DylanRematchDefeat
msgbox Route117_Text_DylanPostRematch, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Maria:: @ 81F3AF6
trainerbattle_single TRAINER_MARIA_1, Route117_Text_MariaIntro, Route117_Text_MariaDefeat, Route117_EventScript_RegisterMaria
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route117_EventScript_RematchMaria
msgbox Route117_Text_MariaPostBattle, MSGBOX_DEFAULT
release
end
Route117_EventScript_RegisterMaria:: @ 81F3B22
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route117_Text_MariaRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_MARIA_1
release
end
Route117_EventScript_RematchMaria:: @ 81F3B41
trainerbattle_rematch TRAINER_MARIA_1, Route117_Text_MariaRematchIntro, Route117_Text_MariaRematchDefeat
msgbox Route117_Text_MariaPostRematch, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Derek:: @ 81F3B58
trainerbattle_single TRAINER_DEREK, Route117_Text_DerekIntro, Route117_Text_DerekDefeat
msgbox Route117_Text_DerekPostBattle, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Anna:: @ 81F3B6F
trainerbattle_double TRAINER_ANNA_AND_MEG_1, Route117_Text_AnnaIntro, Route117_Text_AnnaDefeat, Route117_Text_AnnaNotEnoughMons, Route117_EventScript_RegisterAnna
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route117_EventScript_RematchAnna
msgbox Route117_Text_AnnaPostBattle, MSGBOX_DEFAULT
release
end
Route117_EventScript_RegisterAnna:: @ 81F3B9F
msgbox Route117_Text_AnnaAndMegRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ANNA_AND_MEG_1
release
end
Route117_EventScript_RematchAnna:: @ 81F3BB8
trainerbattle_rematch_double TRAINER_ANNA_AND_MEG_1, Route117_Text_AnnaRematchIntro, Route117_Text_AnnaRematchDefeat, Route117_Text_AnnaRematchNotEnoughMons
msgbox Route117_Text_AnnaPostRematch, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Meg:: @ 81F3BD3
trainerbattle_double TRAINER_ANNA_AND_MEG_1, Route117_Text_MegIntro, Route117_Text_MegDefeat, Route117_Text_MegNotEnoughMons, Route117_EventScript_RegisterMeg
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route117_EventScript_RematchMeg
msgbox Route117_Text_MegPostBattle, MSGBOX_DEFAULT
release
end
Route117_EventScript_RegisterMeg:: @ 81F3C03
msgbox Route117_Text_AnnaAndMegRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ANNA_AND_MEG_1
release
end
Route117_EventScript_RematchMeg:: @ 81F3C1C
trainerbattle_rematch_double TRAINER_ANNA_AND_MEG_1, Route117_Text_MegRematchIntro, Route117_Text_MegRematchDefeat, Route117_Text_MegRematchNotEnoughMons
msgbox Route117_Text_MegPostRematch, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Melina:: @ 81F3C37
trainerbattle_single TRAINER_MELINA, Route117_Text_MelinaIntro, Route117_Text_MelinaDefeat
msgbox Route117_Text_MelinaPostBattle, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Brandi:: @ 81F3C4E
trainerbattle_single TRAINER_BRANDI, Route117_Text_BrandiIntro, Route117_Text_BrandiDefeat
msgbox Route117_Text_BrandiPostBattle, MSGBOX_AUTOCLOSE
end
Route117_EventScript_Aisha:: @ 81F3C65
trainerbattle_single TRAINER_AISHA, Route117_Text_AishaIntro, Route117_Text_AishaDefeat
msgbox Route117_Text_AishaPostBattle, MSGBOX_AUTOCLOSE
end
Route117_Text_DayCarePokemonHadNewMove: @ 81F3C7C
.string "I left my POKéMON at the DAY CARE.\p"
.string "When I got it back, it had a new move\n"
.string "that I didn't teach it.\l"
.string "I was really, really surprised.$"
Route117_Text_ArentTheseFlowersPretty: @ 81F3CFD
.string "What do you think?\n"
.string "Aren't these flowers pretty?\p"
.string "I planted them all!$"
Route117_Text_AirIsTastyHere: @ 81F3D41
.string "The air is tasty here!$"
Route117_Text_RouteSignVerdanturf: @ 81F3D58
.string "ROUTE 117\n"
.string "{LEFT_ARROW} VERDANTURF TOWN$"
Route117_Text_RouteSignMauville: @ 81F3D74
.string "ROUTE 117\n"
.string "{RIGHT_ARROW} MAUVILLE CITY$"
Route117_Text_DayCareSign: @ 81F3D8E
.string "POKéMON DAY CARE\n"
.string "“Let us raise your POKéMON.”$"
|