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
|
Route114_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, Route114_OnTransition
map_script MAP_SCRIPT_ON_LOAD, Route114_OnLoad
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route114_OnFrame
.byte 0
Route114_OnTransition:
call_if_eq VAR_SHOULD_END_ABNORMAL_WEATHER, 1, AbnormalWeather_EventScript_HideMapNamePopup
call_if_eq VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_114_NORTH, AbnormalWeather_StartGroudonWeather
call_if_eq VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_114_SOUTH, AbnormalWeather_StartGroudonWeather
end
Route114_OnLoad:
call_if_eq VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_114_NORTH, AbnormalWeather_EventScript_PlaceTilesRoute114North
call_if_eq VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_114_SOUTH, AbnormalWeather_EventScript_PlaceTilesRoute114South
end
Route114_OnFrame:
map_script_2 VAR_SHOULD_END_ABNORMAL_WEATHER, 1, AbnormalWeather_EventScript_EndEventAndCleanup_1
.2byte 0
Route114_EventScript_Man::
lock
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_ROUTE_114_RECEIVED_BERRY, Route114_EventScript_ReceivedBerry
msgbox Route114_Text_LoveUsingBerryCrushShareBerry, MSGBOX_DEFAULT
random NUM_ROUTE_114_MAN_BERRIES
addvar VAR_RESULT, NUM_ROUTE_114_MAN_BERRIES_SKIPPED
addvar VAR_RESULT, FIRST_BERRY_INDEX
giveitem VAR_RESULT
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
setflag FLAG_DAILY_ROUTE_114_RECEIVED_BERRY
msgbox Route114_Text_TryBerryCrushWithFriends, MSGBOX_DEFAULT
release
end
Route114_EventScript_ReceivedBerry::
msgbox Route114_Text_FunToThinkAboutBerries, MSGBOX_DEFAULT
release
end
Route114_EventScript_RoarGentleman::
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM05, Route114_EventScript_ReceivedRoar
msgbox Route114_Text_AllMyMonDoesIsRoarTakeThis, MSGBOX_DEFAULT
giveitem ITEM_TM05
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM05
msgbox Route114_Text_ExplainRoar, MSGBOX_DEFAULT
release
end
Route114_EventScript_ReceivedRoar::
msgbox Route114_Text_ExplainRoar, MSGBOX_DEFAULT
release
end
Route114_EventScript_Poochyena::
lock
faceplayer
waitse
playmoncry SPECIES_POOCHYENA, CRY_MODE_ENCOUNTER
msgbox Route114_Text_Poochyena, MSGBOX_DEFAULT
waitmoncry
release
end
Route114_EventScript_MeteorFallsSign::
msgbox Route114_Text_MeteorFallsSign, MSGBOX_SIGN
end
Route114_EventScript_FossilManiacsHouseSign::
msgbox Route114_Text_FossilManiacsHouseSign, MSGBOX_SIGN
end
Route114_EventScript_LanettesHouseSign::
msgbox Route114_Text_LanettesHouse, MSGBOX_SIGN
end
Route114_EventScript_Lenny::
trainerbattle_single TRAINER_LENNY, Route114_Text_LennyIntro, Route114_Text_LennyDefeat
msgbox Route114_Text_LennyPostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Lucas::
trainerbattle_single TRAINER_LUCAS_1, Route114_Text_LucasIntro, Route114_Text_LucasDefeat
msgbox Route114_Text_LucasPostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Shane::
trainerbattle_single TRAINER_SHANE, Route114_Text_ShaneIntro, Route114_Text_ShaneDefeat
msgbox Route114_Text_ShanePostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Nancy::
trainerbattle_single TRAINER_NANCY, Route114_Text_NancyIntro, Route114_Text_NancyDefeat
msgbox Route114_Text_NancyPostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Steve::
trainerbattle_single TRAINER_STEVE_1, Route114_Text_SteveIntro, Route114_Text_SteveDefeat, Route114_EventScript_RegisterSteve
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, Route114_EventScript_RematchSteve
msgbox Route114_Text_StevePostBattle, MSGBOX_DEFAULT
release
end
Route114_EventScript_RegisterSteve::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route114_Text_SteveRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_STEVE_1
release
end
Route114_EventScript_RematchSteve::
trainerbattle_rematch TRAINER_STEVE_1, Route114_Text_SteveRematchIntro, Route114_Text_SteveRematchDefeat
msgbox Route114_Text_StevePostRematch, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Bernie::
trainerbattle_single TRAINER_BERNIE_1, Route114_Text_BernieIntro, Route114_Text_BernieDefeat, Route114_EventScript_RegisterBernie
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, Route114_EventScript_RematchBernie
msgbox Route114_Text_BerniePostBattle, MSGBOX_DEFAULT
release
end
Route114_EventScript_RegisterBernie::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route114_Text_BernieRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_BERNIE_1
release
end
Route114_EventScript_RematchBernie::
trainerbattle_rematch TRAINER_BERNIE_1, Route114_Text_BernieRematchIntro, Route114_Text_BernieRematchDefeat
msgbox Route114_Text_BerniePostRematch, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Claude::
trainerbattle_single TRAINER_CLAUDE, Route114_Text_ClaudeIntro, Route114_Text_ClaudeDefeat
msgbox Route114_Text_ClaudePostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Nolan::
trainerbattle_single TRAINER_NOLAN, Route114_Text_NolanIntro, Route114_Text_NolanDefeat
msgbox Route114_Text_NolanPostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Tyra::
trainerbattle_double TRAINER_TYRA_AND_IVY, Route114_Text_TyraIntro, Route114_Text_TyraDefeat, Route114_Text_TyraNotEnoughMons
msgbox Route114_Text_TyraPostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Ivy::
trainerbattle_double TRAINER_TYRA_AND_IVY, Route114_Text_IvyIntro, Route114_Text_IvyDefeat, Route114_Text_IvyNotEnoughMons
msgbox Route114_Text_IvyPostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Angelina::
trainerbattle_single TRAINER_ANGELINA, Route114_Text_AngelinaIntro, Route114_Text_AngelinaDefeat
msgbox Route114_Text_AngelinaPostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Charlotte::
trainerbattle_single TRAINER_CHARLOTTE, Route114_Text_CharlotteIntro, Route114_Text_CharlotteDefeat
msgbox Route114_Text_CharlottePostBattle, MSGBOX_AUTOCLOSE
end
Route114_EventScript_Kai::
trainerbattle_single TRAINER_KAI, Route114_Text_KaiIntro, Route114_Text_KaiDefeat
msgbox Route114_Text_KaiPostBattle, MSGBOX_AUTOCLOSE
end
Route114_Text_AllMyMonDoesIsRoarTakeThis:
.string "All my POKéMON does is ROAR…\n"
.string "No one dares to come near me…\p"
.string "Sigh… If you would, please take\n"
.string "this TM away…$"
Route114_Text_ExplainRoar:
.string "TM05 contains ROAR.\n"
.string "A ROAR sends POKéMON scurrying.$"
Route114_Text_Poochyena:
.string "Bow! Bowwow!$"
Route114_Text_MeteorFallsSign:
.string "METEOR FALLS\n"
.string "RUSTBORO CITY THROUGH HERE$"
Route114_Text_FossilManiacsHouseSign:
.string "FOSSIL MANIAC'S HOUSE\n"
.string "“Fossils gratefully accepted!”$"
Route114_Text_LanettesHouse:
.string "LANETTE'S HOUSE$"
|