summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/macros.inc1
-rw-r--r--asm/macros/battle_frontier.inc35
-rw-r--r--asm/macros/event.inc3
-rw-r--r--data/event_scripts.s9
-rw-r--r--data/layouts/BattleFrontier_ExchangeServiceCorner/border.bin (renamed from data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/border.bin)bin8 -> 8 bytes
-rw-r--r--data/layouts/BattleFrontier_ExchangeServiceCorner/map.bin (renamed from data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/map.bin)0
-rw-r--r--data/layouts/layouts.json8
-rw-r--r--data/maps/BattleFrontier_BattleArenaBattleRoom/scripts.inc4
-rw-r--r--data/maps/BattleFrontier_BattleArenaLobby/scripts.inc2
-rw-r--r--data/maps/BattleFrontier_BattleDomeBattleRoom/scripts.inc4
-rw-r--r--data/maps/BattleFrontier_BattleDomeLobby/scripts.inc17
-rw-r--r--data/maps/BattleFrontier_BattleFactoryLobby/scripts.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePalaceBattleRoom/scripts.inc4
-rw-r--r--data/maps/BattleFrontier_BattlePalaceLobby/scripts.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePikeLobby/scripts.inc2
-rw-r--r--data/maps/BattleFrontier_BattlePointExchangeServiceCorner/scripts.inc764
-rw-r--r--data/maps/BattleFrontier_BattlePyramidEmptySquare/scripts.inc1
-rw-r--r--data/maps/BattleFrontier_BattlePyramidLobby/scripts.inc2
-rw-r--r--data/maps/BattleFrontier_BattleTowerBattleRoom/scripts.inc32
-rw-r--r--data/maps/BattleFrontier_BattleTowerBattleRoom2/scripts.inc40
-rw-r--r--data/maps/BattleFrontier_BattleTowerCorridor2/scripts.inc4
-rw-r--r--data/maps/BattleFrontier_BattleTowerLobby/map.json2
-rw-r--r--data/maps/BattleFrontier_BattleTowerLobby/scripts.inc92
-rw-r--r--data/maps/BattleFrontier_BattleTowerMultiBattleRoom/scripts.inc24
-rw-r--r--data/maps/BattleFrontier_ExchangeServiceCorner/map.json (renamed from data/maps/BattleFrontier_BattlePointExchangeServiceCorner/map.json)24
-rw-r--r--data/maps/BattleFrontier_ExchangeServiceCorner/scripts.inc765
-rw-r--r--data/maps/BattleFrontier_Lounge1/map.json6
-rw-r--r--data/maps/BattleFrontier_Lounge1/scripts.inc232
-rw-r--r--data/maps/BattleFrontier_Lounge2/map.json10
-rw-r--r--data/maps/BattleFrontier_Lounge2/scripts.inc161
-rw-r--r--data/maps/BattleFrontier_Lounge3/map.json10
-rw-r--r--data/maps/BattleFrontier_Lounge3/scripts.inc272
-rw-r--r--data/maps/BattleFrontier_Lounge4/map.json6
-rw-r--r--data/maps/BattleFrontier_Lounge4/scripts.inc18
-rw-r--r--data/maps/BattleFrontier_Lounge5/map.json6
-rw-r--r--data/maps/BattleFrontier_Lounge5/scripts.inc18
-rw-r--r--data/maps/BattleFrontier_Lounge6/map.json2
-rw-r--r--data/maps/BattleFrontier_Lounge6/scripts.inc36
-rw-r--r--data/maps/BattleFrontier_Lounge7/map.json8
-rw-r--r--data/maps/BattleFrontier_Lounge7/scripts.inc354
-rw-r--r--data/maps/BattleFrontier_Lounge8/map.json6
-rw-r--r--data/maps/BattleFrontier_Lounge8/scripts.inc18
-rw-r--r--data/maps/BattleFrontier_OutsideEast/map.json64
-rw-r--r--data/maps/BattleFrontier_OutsideEast/scripts.inc218
-rw-r--r--data/maps/BattleFrontier_OutsideWest/map.json52
-rw-r--r--data/maps/BattleFrontier_OutsideWest/scripts.inc309
-rw-r--r--data/maps/BattleFrontier_RankingHall/map.json30
-rw-r--r--data/maps/BattleFrontier_RankingHall/scripts.inc104
-rw-r--r--data/maps/BattleFrontier_ReceptionGate/map.json8
-rw-r--r--data/maps/BattleFrontier_ReceptionGate/scripts.inc317
-rw-r--r--data/maps/BattleFrontier_ScottsHouse/map.json2
-rw-r--r--data/maps/BattleFrontier_ScottsHouse/scripts.inc270
-rw-r--r--data/maps/FallarborTown_BattleTentBattleRoom/scripts.inc4
-rw-r--r--data/maps/FortreeCity_Gym/scripts.inc4
-rw-r--r--data/maps/LilycoveCity_Harbor/scripts.inc4
-rw-r--r--data/maps/LilycoveCity_PokemonTrainerFanClub/map.json2
-rw-r--r--data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc75
-rw-r--r--data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc6
-rw-r--r--data/maps/MagmaHideout_4F/scripts.inc5
-rw-r--r--data/maps/Route101/scripts.inc4
-rw-r--r--data/maps/Route104/map.json46
-rw-r--r--data/maps/Route104/scripts.inc529
-rw-r--r--data/maps/Route110/scripts.inc4
-rw-r--r--data/maps/Route110_TrickHouseEntrance/scripts.inc5
-rw-r--r--data/maps/Route111/map.json128
-rw-r--r--data/maps/Route111/scripts.inc518
-rw-r--r--data/maps/Route112/map.json24
-rw-r--r--data/maps/Route112/scripts.inc92
-rw-r--r--data/maps/Route113/map.json34
-rw-r--r--data/maps/Route113/scripts.inc144
-rw-r--r--data/maps/Route114/map.json38
-rw-r--r--data/maps/Route114/scripts.inc174
-rw-r--r--data/maps/Route115/map.json26
-rw-r--r--data/maps/Route115/scripts.inc128
-rw-r--r--data/maps/Route116/map.json42
-rw-r--r--data/maps/Route116/scripts.inc320
-rw-r--r--data/maps/Route117/map.json32
-rw-r--r--data/maps/Route117/scripts.inc189
-rw-r--r--data/maps/Route118/map.json32
-rw-r--r--data/maps/Route118/scripts.inc192
-rw-r--r--data/maps/Route119/map.json54
-rw-r--r--data/maps/Route119/scripts.inc410
-rw-r--r--data/maps/Route120/map.json32
-rw-r--r--data/maps/Route120/scripts.inc240
-rw-r--r--data/maps/Route121/map.json36
-rw-r--r--data/maps/Route121/scripts.inc144
-rw-r--r--data/maps/Route123/map.json40
-rw-r--r--data/maps/Route123/scripts.inc184
-rw-r--r--data/maps/Route124/map.json20
-rw-r--r--data/maps/Route124/scripts.inc102
-rw-r--r--data/maps/Route125/map.json18
-rw-r--r--data/maps/Route125/scripts.inc76
-rw-r--r--data/maps/Route126/map.json16
-rw-r--r--data/maps/Route126/scripts.inc62
-rw-r--r--data/maps/Route127/map.json16
-rw-r--r--data/maps/Route127/scripts.inc70
-rw-r--r--data/maps/Route128/map.json14
-rw-r--r--data/maps/Route128/scripts.inc152
-rw-r--r--data/maps/Route129/map.json10
-rw-r--r--data/maps/Route129/scripts.inc42
-rw-r--r--data/maps/Route130/map.json6
-rw-r--r--data/maps/Route130/scripts.inc28
-rw-r--r--data/maps/Route131/map.json16
-rw-r--r--data/maps/Route131/scripts.inc56
-rw-r--r--data/maps/Route132/map.json16
-rw-r--r--data/maps/Route132/scripts.inc48
-rw-r--r--data/maps/Route133/map.json14
-rw-r--r--data/maps/Route133/scripts.inc42
-rw-r--r--data/maps/Route134/map.json18
-rw-r--r--data/maps/Route134/scripts.inc58
-rw-r--r--data/maps/RustboroCity_DevonCorp_3F/scripts.inc2
-rw-r--r--data/maps/SSTidalCorridor/map.json32
-rw-r--r--data/maps/SSTidalCorridor/scripts.inc236
-rw-r--r--data/maps/SSTidalLowerDeck/map.json4
-rw-r--r--data/maps/SSTidalLowerDeck/scripts.inc24
-rw-r--r--data/maps/SSTidalRooms/map.json20
-rw-r--r--data/maps/SSTidalRooms/scripts.inc114
-rw-r--r--data/maps/SeafloorCavern_Room9/scripts.inc5
-rw-r--r--data/maps/SlateportCity_Harbor/scripts.inc2
-rw-r--r--data/maps/TrainerHill_1F/scripts.inc6
-rw-r--r--data/maps/TrainerHill_2F/scripts.inc6
-rw-r--r--data/maps/TrainerHill_3F/scripts.inc4
-rw-r--r--data/maps/TrainerHill_4F/scripts.inc4
-rw-r--r--data/maps/TrainerHill_Elevator/map.json2
-rw-r--r--data/maps/TrainerHill_Elevator/scripts.inc50
-rw-r--r--data/maps/TrainerHill_Entrance/map.json14
-rw-r--r--data/maps/TrainerHill_Entrance/scripts.inc296
-rw-r--r--data/maps/TrainerHill_Roof/map.json2
-rw-r--r--data/maps/TrainerHill_Roof/scripts.inc78
-rw-r--r--data/maps/UnionRoom/map.json18
-rw-r--r--data/maps/UnionRoom/scripts.inc24
-rw-r--r--data/maps/VerdanturfTown_BattleTentBattleRoom/scripts.inc4
-rw-r--r--data/maps/map_groups.json2
-rw-r--r--data/scripts/day_care.inc7
-rw-r--r--data/scripts/field_poison.inc2
-rw-r--r--data/scripts/gabby_and_ty.inc4
-rw-r--r--data/scripts/interview.inc274
-rw-r--r--data/scripts/lilycove_lady.inc2
-rw-r--r--data/scripts/pc_transfer.inc2
-rw-r--r--data/scripts/pkmn_center_nurse.inc4
-rw-r--r--data/scripts/players_house.inc2
-rw-r--r--data/scripts/roulette.inc8
-rw-r--r--data/scripts/secret_base.inc4
-rw-r--r--data/scripts/shared_secret_base.inc16
-rw-r--r--data/scripts/trainer_hill.inc53
-rw-r--r--data/scripts/tv.inc58
-rw-r--r--data/specials.inc12
-rw-r--r--data/text/berries.inc26
-rw-r--r--data/text/contest_link.inc22
-rw-r--r--data/text/contest_strings.inc392
-rw-r--r--data/text/trainers.inc1766
-rw-r--r--data/text/tv.inc84
-rw-r--r--include/battle_tower.h2
-rw-r--r--include/constants/battle_frontier.h41
-rw-r--r--include/constants/battle_setup.h2
-rw-r--r--include/constants/battle_tower.h21
-rw-r--r--include/constants/field_specials.h13
-rw-r--r--include/constants/flags.h10
-rw-r--r--include/constants/items.h16
-rwxr-xr-xinclude/constants/layouts.h2
-rwxr-xr-xinclude/constants/map_groups.h178
-rw-r--r--include/constants/metatile_labels.h4
-rw-r--r--include/constants/trainer_hill.h49
-rw-r--r--include/constants/vars.h6
-rw-r--r--include/event_scripts.h10
-rw-r--r--include/field_specials.h4
-rw-r--r--include/global.h22
-rw-r--r--include/strings.h234
-rw-r--r--include/trainer_hill.h19
-rw-r--r--src/battle_message.c9
-rw-r--r--src/battle_setup.c25
-rw-r--r--src/battle_tower.c45
-rw-r--r--src/contest.c67
-rw-r--r--src/data/battle_frontier/battle_frontier_exchange_corner.h60
-rw-r--r--src/data/battle_frontier/trainer_hill.h129
-rw-r--r--src/data/contest_text_tables.h765
-rwxr-xr-xsrc/ereader_helpers.c6
-rw-r--r--src/field_control_avatar.c21
-rw-r--r--src/field_special_scene.c67
-rw-r--r--src/field_specials.c209
-rw-r--r--src/fieldmap.c2
-rw-r--r--src/frontier_util.c68
-rw-r--r--src/overworld.c7
-rw-r--r--src/strings.c10
-rw-r--r--src/trainer_hill.c467
-rw-r--r--src/tv.c38
186 files changed, 7828 insertions, 7708 deletions
diff --git a/asm/macros.inc b/asm/macros.inc
index 7c35e059d..f6a143d7a 100644
--- a/asm/macros.inc
+++ b/asm/macros.inc
@@ -6,6 +6,7 @@
.include "asm/macros/ec.inc"
.include "asm/macros/map.inc"
.include "asm/macros/field_effect_script.inc"
+ .include "asm/macros/battle_frontier.inc"
.macro region_map_entry x, y, width, height, name
.byte \x
diff --git a/asm/macros/battle_frontier.inc b/asm/macros/battle_frontier.inc
new file mode 100644
index 000000000..8a5f369a3
--- /dev/null
+++ b/asm/macros/battle_frontier.inc
@@ -0,0 +1,35 @@
+@ To be populated with macros for the Battle Frontier CallFacilityFunction specials
+
+
+@ Frontier Util
+
+.macro frontier_setlvlmode lvlmode:req
+setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
+setvar VAR_0x8005, 1
+setvar VAR_0x8006, \lvlmode
+special CallFrontierUtilFunc
+.endm
+
+@ Battle Tower
+
+.macro battletower_getstreak
+setvar VAR_0x8004, BATTLE_TOWER_FUNC_1
+setvar VAR_0x8005, 1
+special CallBattleTowerFunc
+.endm
+
+@ Battle Dome
+
+@ Battle Palace
+
+@ Battle Arena
+
+@ Battle Factory
+
+@ Battle Pike
+
+@ Battle Pyramid
+
+@ Battle Tent
+
+@ Apprentice
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index af4ada031..9db57daf1 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -677,7 +677,7 @@
.elseif \type == TRAINER_BATTLE_SET_TRAINER_B
.4byte \pointer1 @ text
.4byte \pointer2 @ text
- .elseif \type == TRAINER_BATTLE_12
+ .elseif \type == TRAINER_BATTLE_HILL
.4byte \pointer1 @ text
.4byte \pointer2 @ text
.endif
@@ -1655,6 +1655,7 @@
MSGBOX_DEFAULT = 4
MSGBOX_YESNO = 5
MSGBOX_AUTOCLOSE = 6
+ MSGBOX_GETPOINTS = 9
YES = 1
NO = 0
diff --git a/data/event_scripts.s b/data/event_scripts.s
index 29483bf90..9f0e27ce6 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -1,10 +1,11 @@
#include "constants/global.h"
#include "constants/apprentice.h"
#include "constants/battle.h"
+#include "constants/battle_frontier.h"
#include "constants/battle_pike.h"
#include "constants/battle_pyramid.h"
-#include "constants/battle_frontier.h"
#include "constants/battle_setup.h"
+#include "constants/battle_tower.h"
#include "constants/berry.h"
#include "constants/cable_club.h"
#include "constants/coins.h"
@@ -89,7 +90,7 @@ gStdScripts:: @ 81DC2A0
.4byte Std_MsgboxAutoclose
.4byte Std_ObtainDecoration
.4byte Std_RegisteredInMatchCall
- .4byte Std_9
+ .4byte Std_MsgboxGetPoints
.4byte Std_10
gStdScripts_End:: @ 81DC2CC
@@ -508,7 +509,7 @@ gStdScripts_End:: @ 81DC2CC
.include "data/maps/BattleFrontier_BattlePikeRandomRoom3/scripts.inc"
.include "data/maps/BattleFrontier_RankingHall/scripts.inc"
.include "data/maps/BattleFrontier_Lounge1/scripts.inc"
- .include "data/maps/BattleFrontier_BattlePointExchangeServiceCorner/scripts.inc"
+ .include "data/maps/BattleFrontier_ExchangeServiceCorner/scripts.inc"
.include "data/maps/BattleFrontier_Lounge2/scripts.inc"
.include "data/maps/BattleFrontier_Lounge3/scripts.inc"
.include "data/maps/BattleFrontier_Lounge4/scripts.inc"
@@ -608,7 +609,7 @@ Std_MsgboxYesNo: @ 8271332
yesnobox 20, 8
return
-Std_9: @ 827133C
+Std_MsgboxGetPoints: @ 827133C
message 0x0
playfanfare MUS_ME_POINTGET
waitfanfare
diff --git a/data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/border.bin b/data/layouts/BattleFrontier_ExchangeServiceCorner/border.bin
index f496f458e..f496f458e 100644
--- a/data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/border.bin
+++ b/data/layouts/BattleFrontier_ExchangeServiceCorner/border.bin
Binary files differ
diff --git a/data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/map.bin b/data/layouts/BattleFrontier_ExchangeServiceCorner/map.bin
index 62d5761e0..62d5761e0 100644
--- a/data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/map.bin
+++ b/data/layouts/BattleFrontier_ExchangeServiceCorner/map.bin
diff --git a/data/layouts/layouts.json b/data/layouts/layouts.json
index 6e6f92117..bfa2aa811 100644
--- a/data/layouts/layouts.json
+++ b/data/layouts/layouts.json
@@ -3972,14 +3972,14 @@
"blockdata_filepath": "data/layouts/BattleFrontier_Lounge1/map.bin"
},
{
- "id": "LAYOUT_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER",
- "name": "BattleFrontier_BattlePointExchangeServiceCorner_Layout",
+ "id": "LAYOUT_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
+ "name": "BattleFrontier_ExchangeServiceCorner_Layout",
"width": 15,
"height": 11,
"primary_tileset": "gTileset_Building",
"secondary_tileset": "gTileset_BattleFrontier",
- "border_filepath": "data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/border.bin",
- "blockdata_filepath": "data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/map.bin"
+ "border_filepath": "data/layouts/BattleFrontier_ExchangeServiceCorner/border.bin",
+ "blockdata_filepath": "data/layouts/BattleFrontier_ExchangeServiceCorner/map.bin"
},
{
"id": "LAYOUT_BATTLE_FRONTIER_RECEPTION_GATE",
diff --git a/data/maps/BattleFrontier_BattleArenaBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattleArenaBattleRoom/scripts.inc
index f3f156a39..6eb7e515b 100644
--- a/data/maps/BattleFrontier_BattleArenaBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattleArenaBattleRoom/scripts.inc
@@ -55,8 +55,8 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2574DC:: @ 82574DC
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0
BattleFrontier_BattleArenaBattleRoom_EventScript_25752E:: @ 825752E
- setvar VAR_0x8004, 3
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
+ special CallBattleTowerFunc
addobject 7
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BEF
waitmovement 0
diff --git a/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc b/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc
index d5b79b684..34feceb39 100644
--- a/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc
+++ b/data/maps/BattleFrontier_BattleArenaLobby/scripts.inc
@@ -61,7 +61,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255CF8:: @ 8255CF8
msgbox BattleFrontier_BattleArenaLobby_Text_257353, MSGBOX_DEFAULT
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
- msgbox BattleFrontier_BattleArenaLobby_Text_241520, 9
+ msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattleArenaLobby_Text_256931
waitmessage
call BattleFrontier_BattleArenaLobby_EventScript_255D59
diff --git a/data/maps/BattleFrontier_BattleDomeBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattleDomeBattleRoom/scripts.inc
index 60bca60cd..1ee9c29dc 100644
--- a/data/maps/BattleFrontier_BattleDomeBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattleDomeBattleRoom/scripts.inc
@@ -78,9 +78,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82
applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C77B
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C789
waitmovement 0
- setvar VAR_0x8004, 7
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 0
- special sub_8161F74
+ special CallBattleTowerFunc
msgbox gStringVar4, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 5
diff --git a/data/maps/BattleFrontier_BattleDomeLobby/scripts.inc b/data/maps/BattleFrontier_BattleDomeLobby/scripts.inc
index 5699d268c..12940496d 100644
--- a/data/maps/BattleFrontier_BattleDomeLobby/scripts.inc
+++ b/data/maps/BattleFrontier_BattleDomeLobby/scripts.inc
@@ -73,7 +73,7 @@ BattleFrontier_BattleDomeLobby_EventScript_2498C9:: @ 82498C9
msgbox BattleFrontier_BattleDomeLobby_Text_24ADB1, MSGBOX_DEFAULT
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
- msgbox BattleFrontier_BattleDomeLobby_Text_241520, 9
+ msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattleDomeLobby_Text_24A5D6
waitmessage
special LoadPlayerParty
@@ -482,16 +482,17 @@ BattleFrontier_BattleDomeLobby_EventScript_249E10:: @ 8249E10
msgbox BattleFrontier_BattleDomeLobby_Text_24ACD3, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_249E19:: @ 8249E19
+@ A few OutsideWest event scripts are inserted here instead, two of which are unused
+BattleFrontier_OutsideWest_EventScript_Man3:: @ 8249E19
msgbox BattleFrontier_OutsideWest_Text_24AB06, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_249E22:: @ 8249E22
- msgbox BattleFrontier_OutsideWest_Text_24AB44, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_BattleDomeSign2:: @ 8249E22
+ msgbox BattleFrontier_OutsideWest_Text_BattleDomeSign2, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_249E2B:: @ 8249E2B
- msgbox BattleFrontier_OutsideWest_Text_24AB75, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_UnderConstructionSign:: @ 8249E2B
+ msgbox BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction, MSGBOX_NPC
end
BattleFrontier_BattleDomeLobby_EventScript_249E34:: @ 8249E34
@@ -699,11 +700,11 @@ BattleFrontier_OutsideWest_Text_24AB06: @ 824AB06
.string "The BATTLE FRONTIER…\n"
.string "I've long dreamed about a place like it.$"
-BattleFrontier_OutsideWest_Text_24AB44: @ 824AB44
+BattleFrontier_OutsideWest_Text_BattleDomeSign2: @ 824AB44
.string "The BATTLE DOME\n"
.string "Become the Unbeatable Superstar!$"
-BattleFrontier_OutsideWest_Text_24AB75: @ 824AB75
+BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction: @ 824AB75
.string "The ??????\n"
.string "Under Construction!$"
diff --git a/data/maps/BattleFrontier_BattleFactoryLobby/scripts.inc b/data/maps/BattleFrontier_BattleFactoryLobby/scripts.inc
index 7894dc558..cead1a1d7 100644
--- a/data/maps/BattleFrontier_BattleFactoryLobby/scripts.inc
+++ b/data/maps/BattleFrontier_BattleFactoryLobby/scripts.inc
@@ -69,7 +69,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2584C6:: @ 82584C6
msgbox BattleFrontier_BattleFactoryLobby_Text_2592BD, MSGBOX_DEFAULT
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
- msgbox BattleFrontier_BattleFactoryLobby_Text_241520, 9
+ msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattleFactoryLobby_Text_259323
waitmessage
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
diff --git a/data/maps/BattleFrontier_BattlePalaceBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattlePalaceBattleRoom/scripts.inc
index a85cac041..94c21a6d0 100644
--- a/data/maps/BattleFrontier_BattlePalaceBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattlePalaceBattleRoom/scripts.inc
@@ -54,8 +54,8 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5:: @ 824F8B5
waitmovement 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF:: @ 824F8BF
- setvar VAR_0x8004, 3
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
+ special CallBattleTowerFunc
addobject 2
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1
waitmovement 0
diff --git a/data/maps/BattleFrontier_BattlePalaceLobby/scripts.inc b/data/maps/BattleFrontier_BattlePalaceLobby/scripts.inc
index 10a6761cb..649b20f87 100644
--- a/data/maps/BattleFrontier_BattlePalaceLobby/scripts.inc
+++ b/data/maps/BattleFrontier_BattlePalaceLobby/scripts.inc
@@ -61,7 +61,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D840:: @ 824D840
msgbox BattleFrontier_BattlePalaceLobby_Text_24EEB9, MSGBOX_DEFAULT
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
- msgbox BattleFrontier_BattlePalaceLobby_Text_241520, 9
+ msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattlePalaceLobby_Text_24E4F7
waitmessage
call BattleFrontier_BattlePalaceLobby_EventScript_24D8A1
diff --git a/data/maps/BattleFrontier_BattlePikeLobby/scripts.inc b/data/maps/BattleFrontier_BattlePikeLobby/scripts.inc
index 23df44956..d145ba429 100644
--- a/data/maps/BattleFrontier_BattlePikeLobby/scripts.inc
+++ b/data/maps/BattleFrontier_BattlePikeLobby/scripts.inc
@@ -65,7 +65,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B78D:: @ 825B78D
msgbox BattleFrontier_BattlePikeLobby_Text_25C3D9, MSGBOX_DEFAULT
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
- msgbox BattleFrontier_BattlePikeLobby_Text_241520, 9
+ msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_DATA
diff --git a/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/scripts.inc b/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/scripts.inc
deleted file mode 100644
index 8fc97e74a..000000000
--- a/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/scripts.inc
+++ /dev/null
@@ -1,764 +0,0 @@
-BattleFrontier_BattlePointExchangeServiceCorner_MapScripts:: @ 825F070
- .byte 0
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071:: @ 825F071
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F7FA, MSGBOX_DEFAULT
- special ShowBattlePointsWindow
- return
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D:: @ 825F07D
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FF12, MSGBOX_DEFAULT
- special CloseBattlePointsWindow
- release
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A:: @ 825F08A
- specialvar VAR_TEMP_1, GetFrontierBattlePoints
- compare VAR_TEMP_1, VAR_0x8008
- goto_if_ge BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86, MSGBOX_DEFAULT
- compare VAR_TEMP_2, 0
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- compare VAR_TEMP_2, 1
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
- compare VAR_TEMP_2, 2
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9:: @ 825F0C9
- compare VAR_TEMP_2, 0
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
- compare VAR_TEMP_2, 1
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
- checkdecorspace VAR_0x8009
- compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D
- copyvar VAR_0x8004, VAR_0x8008
- special TakeFrontierBattlePoints
- givedecoration VAR_0x8009
- special UpdateBattlePointsWindow
- playse SE_REGI
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45, MSGBOX_DEFAULT
- compare VAR_TEMP_2, 0
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D:: @ 825F11D
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FEB9, MSGBOX_DEFAULT
- special CloseBattlePointsWindow
- release
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
- checkitemspace VAR_0x8009, 1
- compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166
- copyvar VAR_0x8004, VAR_0x8008
- special TakeFrontierBattlePoints
- giveitem VAR_0x8009, 1
- special UpdateBattlePointsWindow
- playse SE_REGI
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72, MSGBOX_DEFAULT
- compare VAR_TEMP_2, 2
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166:: @ 825F166
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FEE3, MSGBOX_DEFAULT
- special CloseBattlePointsWindow
- release
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F173:: @ 825F173
- lock
- faceplayer
- setvar VAR_TEMP_2, 0
- call BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185:: @ 825F185
- setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_1
- special ShowFrontierExchangeCornerItemIconWindow
- special ShowScrollableMultichoice
- waitstate
- special CloseFrontierExchangeCornerItemIconWindow
- switch VAR_RESULT
- case 0, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E
- case 1, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241
- case 2, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264
- case 3, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287
- case 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA
- case 5, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD
- case 6, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0
- case 7, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313
- case 8, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336
- case 9, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359
- case 10, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
- case MULTI_B_PRESSED, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 16
- setvar VAR_0x8009, DECOR_KISS_POSTER
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 32
- setvar VAR_0x8009, DECOR_KISS_CUSHION
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 32
- setvar VAR_0x8009, DECOR_SMOOCHUM_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 48
- setvar VAR_0x8009, DECOR_TOGEPI_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 48
- setvar VAR_0x8009, DECOR_MEOWTH_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 48
- setvar VAR_0x8009, DECOR_CLEFAIRY_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 48
- setvar VAR_0x8009, DECOR_DITTO_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 80
- setvar VAR_0x8009, DECOR_CYNDAQUIL_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 80
- setvar VAR_0x8009, DECOR_CHIKORITA_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
- setvar VAR_0x8008, 80
- setvar VAR_0x8009, DECOR_TOTODILE_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F37C:: @ 825F37C
- lock
- faceplayer
- setvar VAR_TEMP_2, 1
- call BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E:: @ 825F38E
- setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_2
- special ShowFrontierExchangeCornerItemIconWindow
- special ShowScrollableMultichoice
- waitstate
- special CloseFrontierExchangeCornerItemIconWindow
- switch VAR_RESULT
- case 0, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0
- case 1, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413
- case 2, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436
- case 3, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459
- case 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C
- case 5, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
- case MULTI_B_PRESSED, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
- setvar VAR_0x8008, 128
- setvar VAR_0x8009, DECOR_LAPRAS_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
- setvar VAR_0x8008, 128
- setvar VAR_0x8009, DECOR_SNORLAX_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
- setvar VAR_0x8008, 256
- setvar VAR_0x8009, DECOR_VENUSAUR_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
- setvar VAR_0x8008, 256
- setvar VAR_0x8009, DECOR_CHARIZARD_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
- setvar VAR_0x8008, 256
- setvar VAR_0x8009, DECOR_BLASTOISE_DOLL
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F49F:: @ 825F49F
- lock
- faceplayer
- setvar VAR_TEMP_2, 2
- call BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1:: @ 825F4B1
- setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_VITAMIN_VENDOR
- special ShowFrontierExchangeCornerItemIconWindow
- special ShowScrollableMultichoice
- waitstate
- special CloseFrontierExchangeCornerItemIconWindow
- switch VAR_RESULT
- case 0, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E
- case 1, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541
- case 2, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564
- case 3, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587
- case 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA
- case 5, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD
- case 6, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
- case MULTI_B_PRESSED, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- setvar VAR_0x8008, 1
- setvar VAR_0x8009, ITEM_PROTEIN
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- setvar VAR_0x8008, 1
- setvar VAR_0x8009, ITEM_CALCIUM
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- setvar VAR_0x8008, 1
- setvar VAR_0x8009, ITEM_IRON
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- setvar VAR_0x8008, 1
- setvar VAR_0x8009, ITEM_ZINC
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- setvar VAR_0x8008, 1
- setvar VAR_0x8009, ITEM_CARBOS
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
- setvar VAR_0x8008, 1
- setvar VAR_0x8009, ITEM_HP_UP
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5F0:: @ 825F5F0
- lock
- faceplayer
- setvar VAR_TEMP_2, 3
- call BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602:: @ 825F602
- setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_HOLD_ITEM_VENDOR
- special ShowFrontierExchangeCornerItemIconWindow
- special ShowScrollableMultichoice
- waitstate
- special CloseFrontierExchangeCornerItemIconWindow
- switch VAR_RESULT
- case 0, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690
- case 1, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3
- case 2, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6
- case 3, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9
- case 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C
- case 5, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F
- case 6, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762
- case 7, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785
- case 8, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8
- case 9, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
- case MULTI_B_PRESSED, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 48
- setvar VAR_0x8009, ITEM_LEFTOVERS
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 48
- setvar VAR_0x8009, ITEM_WHITE_HERB
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 48
- setvar VAR_0x8009, ITEM_QUICK_CLAW
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 48
- setvar VAR_0x8009, ITEM_MENTAL_HERB
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 64
- setvar VAR_0x8009, ITEM_BRIGHT_POWDER
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 64
- setvar VAR_0x8009, ITEM_CHOICE_BAND
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 64
- setvar VAR_0x8009, ITEM_KINGS_ROCK
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 64
- setvar VAR_0x8009, ITEM_FOCUS_BAND
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, MSGBOX_YESNO
- compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
- setvar VAR_0x8008, 64
- setvar VAR_0x8009, ITEM_SCOPE_LENS
- goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7CB:: @ 825F7CB
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_260099, MSGBOX_NPC
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7D4:: @ 825F7D4
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_26002E, MSGBOX_NPC
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7DD:: @ 825F7DD
- lock
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FFD0, MSGBOX_DEFAULT
- release
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7E8:: @ 825F7E8
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FF5D, MSGBOX_NPC
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7F1:: @ 825F7F1
- msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_26012D, MSGBOX_NPC
- end
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F7FA: @ 825F7FA
- .string "Hello, this is the EXCHANGE SERVICE\n"
- .string "CORNER.\p"
- .string "We exchange the Battle Points you\n"
- .string "have collected for lovely prizes.\p"
- .string "Please choose a prize from this list.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F890: @ 825F890
- .string "Please choose a prize from this list.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6: @ 825F8B6
- .string "You've chosen the KISS POSTER.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6: @ 825F8E6
- .string "You've chosen the KISS CUSHION.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917: @ 825F917
- .string "You've chosen the SMOOCHUM DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949: @ 825F949
- .string "You've chosen the TOGEPI DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979: @ 825F979
- .string "You've chosen the MEOWTH DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9: @ 825F9A9
- .string "You've chosen the CLEFAIRY DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB: @ 825F9DB
- .string "You've chosen the DITTO DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A: @ 825FA0A
- .string "You've chosen the CYNDAQUIL DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D: @ 825FA3D
- .string "You've chosen the CHIKORITA DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70: @ 825FA70
- .string "You've chosen the TOTODILE DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2: @ 825FAA2
- .string "You've chosen the LAPRAS DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2: @ 825FAD2
- .string "You've chosen the SNORLAX DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03: @ 825FB03
- .string "You've chosen the VENUSAUR DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35: @ 825FB35
- .string "You've chosen the CHARIZARD DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68: @ 825FB68
- .string "You've chosen the BLASTOISE DOLL.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B: @ 825FB9B
- .string "You've chosen the PROTEIN.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7: @ 825FBC7
- .string "You've chosen the CALCIUM.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3: @ 825FBF3
- .string "You've chosen the IRON.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C: @ 825FC1C
- .string "You've chosen the ZINC.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45: @ 825FC45
- .string "You've chosen the CARBOS.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70: @ 825FC70
- .string "You've chosen the HP UP.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A: @ 825FC9A
- .string "You've chosen the BRIGHTPOWDER.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB: @ 825FCCB
- .string "You've chosen the WHITE HERB.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA: @ 825FCFA
- .string "You've chosen the QUICK CLAW.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29: @ 825FD29
- .string "You've chosen the MENTAL HERB.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59: @ 825FD59
- .string "You've chosen the CHOICE BAND.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89: @ 825FD89
- .string "You've chosen the KING'S ROCK.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9: @ 825FDB9
- .string "You've chosen the FOCUS BAND.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8: @ 825FDE8
- .string "You've chosen the SCOPE LENS.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17: @ 825FE17
- .string "You've chosen the LEFTOVERS.\n"
- .string "Is that correct?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45: @ 825FE45
- .string "Thank you!\n"
- .string "We'll send it to your PC at home.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72: @ 825FE72
- .string "Here is your prize!$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86: @ 825FE86
- .string "I'm so sorry…\n"
- .string "You don't have enough Battle Points…$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FEB9: @ 825FEB9
- .string "I'm so sorry…\n"
- .string "Your PC appears to be full…$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FEE3: @ 825FEE3
- .string "I'm so sorry…\n"
- .string "You don't have space to hold it…$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FF12: @ 825FF12
- .string "Thank you very much.\p"
- .string "Please visit us when you have\n"
- .string "saved up Battle Points.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FF5D: @ 825FF5D
- .string "Oh, they're so nice!\n"
- .string "I wish I had them!\l"
- .string "Cute cushions!\l"
- .string "Big plush DOLLS!\l"
- .string "Little plush DOLLS!\l"
- .string "I wish I had them all!$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_25FFD0: @ 825FFD0
- .string "Leave it to your mommy!\p"
- .string "If it's anything you want, I'll go\n"
- .string "through anything to get it, honey!$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26002E: @ 826002E
- .string "If I can get hold of the items here,\n"
- .string "my POKéMON will get tougher.\p"
- .string "You bet they will!\n"
- .string "No question about it!$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_260099: @ 8260099
- .string "Hah?\n"
- .string "What are you gawking at?\p"
- .string "I don't like you staring at my plush\n"
- .string "doll like that.\p"
- .string "If you want it, go get one yourself!\n"
- .string "Isn't that right, SMOOCHUM?$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26012D: @ 826012D
- .string "Did you know?\p"
- .string "If you stretch your record at any of\n"
- .string "the BATTLE facilities, they start\l"
- .string "giving you more and more Battle Points.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2601AA:: @ 82601AA
- .string "A large poster with a SMOOCHUM print.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2601D0:: @ 82601D0
- .string "A SMOOCHUM cushion.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_260201:: @ 8260201
- .string "A SMOOCHUM DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26022F:: @ 826022F
- .string "A TOGEPI DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26025B:: @ 826025B
- .string "A MEOWTH DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_260287:: @ 8260287
- .string "A CLEFAIRY DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2602B5:: @ 82602B5
- .string "A DITTO DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2602E0:: @ 82602E0
- .string "A CYNDAQUIL DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26030F:: @ 826030F
- .string "A CHIKORITA DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26033E:: @ 826033E
- .string "A TOTODILE DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C:: @ 826036C
- .string "A large DOLL.\n"
- .string "Place it on a mat or a desk.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_260397:: @ 8260397
- .string "Raises the stat ATTACK of one\n"
- .string "POKéMON.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2603BE:: @ 82603BE
- .string "Raises the stat SP. ATK of one\n"
- .string "POKéMON.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2603E6:: @ 82603E6
- .string "Raises the stat DEFENSE of one\n"
- .string "POKéMON.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26040E:: @ 826040E
- .string "Raises the stat SP. DEF of one\n"
- .string "POKéMON.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_260436:: @ 8260436
- .string "Raises the stat SPEED of one\n"
- .string "POKéMON.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26045C:: @ 826045C
- .string "Raises the HP of one POKéMON.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26047A:: @ 826047A
- .string "A hold item that gradually restores\n"
- .string "HP in battle.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2604AC:: @ 82604AC
- .string "A hold item that restores any\n"
- .string "lowered stat.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2604D8:: @ 82604D8
- .string "A hold item that occasionally allows\n"
- .string "the first strike.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_26050F:: @ 826050F
- .string "A hold item that snaps POKéMON out\n"
- .string "of infatuation.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_260542:: @ 8260542
- .string "A hold item that casts a glare to\n"
- .string "reduce accuracy.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_260575:: @ 8260575
- .string "Raises a move's power, but permits\n"
- .string "only that move.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2605A8:: @ 82605A8
- .string "A hold item that may cause flinching\n"
- .string "when the foe is hit.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_2605E2:: @ 82605E2
- .string "A hold item that occasionally\n"
- .string "prevents fainting.$"
-
-BattleFrontier_BattlePointExchangeServiceCorner_Text_260613:: @ 8260613
- .string "A hold item that raises the\n"
- .string "critical-hit rate.$"
diff --git a/data/maps/BattleFrontier_BattlePyramidEmptySquare/scripts.inc b/data/maps/BattleFrontier_BattlePyramidEmptySquare/scripts.inc
index 98d7a22b0..1bcf1814a 100644
--- a/data/maps/BattleFrontier_BattlePyramidEmptySquare/scripts.inc
+++ b/data/maps/BattleFrontier_BattlePyramidEmptySquare/scripts.inc
@@ -152,6 +152,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45:: @ 8252C45
waitstate
end
+@ TRAINER_PHILLIP is used as a placeholder
BattlePyramid_TrainerBattle:: @ 8252C4F
trainerbattle TRAINER_BATTLE_PYRAMID, TRAINER_PHILLIP, 0, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SHOW_HINT_TEXT
diff --git a/data/maps/BattleFrontier_BattlePyramidLobby/scripts.inc b/data/maps/BattleFrontier_BattlePyramidLobby/scripts.inc
index 4ec807768..0b30d96e3 100644
--- a/data/maps/BattleFrontier_BattlePyramidLobby/scripts.inc
+++ b/data/maps/BattleFrontier_BattlePyramidLobby/scripts.inc
@@ -78,7 +78,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
msgbox BattleFrontier_BattlePyramidLobby_Text_252662, MSGBOX_DEFAULT
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
- msgbox BattleFrontier_BattlePyramidLobby_Text_241520, 9
+ msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattlePyramidLobby_Text_251A77
waitmessage
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_REWARD
diff --git a/data/maps/BattleFrontier_BattleTowerBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattleTowerBattleRoom/scripts.inc
index 958c92c09..f2971d3a1 100644
--- a/data/maps/BattleFrontier_BattleTowerBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattleTowerBattleRoom/scripts.inc
@@ -37,14 +37,14 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C:: @ 8241B6C
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3:: @ 8241BC3
- setvar VAR_0x8004, 3
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
+ special CallBattleTowerFunc
addobject 1
applymovement 1, BattleFrontier_BattleTowerBattleRoom_Movement_242182
waitmovement 0
- setvar VAR_0x8004, 7
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 0
- special sub_8161F74
+ special CallBattleTowerFunc
msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
@@ -57,17 +57,17 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_241C03:: @ 8241C03
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 3
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, 3
special sub_813BF7C
goto BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8
BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F:: @ 8241C2F
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
- setvar VAR_0x8004, 4
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_4
+ special CallBattleTowerFunc
switch VAR_RESULT
case 7, BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
applymovement 1, BattleFrontier_BattleTowerBattleRoom_Movement_242188
@@ -157,9 +157,9 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6:: @ 8241DF6
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 3
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, 3
special sub_813BF7C
goto BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8
@@ -167,9 +167,9 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6:: @ 8241DF6
BattleFrontier_BattleTowerBattleRoom_EventScript_241E22:: @ 8241E22
message BattleFrontier_BattleTowerBattleRoom_Text_242426
waitmessage
- setvar VAR_0x8004, 6
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 2
- special sub_8161F74
+ special CallBattleTowerFunc
playse SE_SAVE
waitse
fadescreen 1
@@ -376,8 +376,8 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
special CallFrontierUtilFunc
BattleFrontier_BattleTowerBattleRoom_EventScript_24215A:: @ 824215A
- setvar VAR_0x8004, 15
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_15
+ special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
@@ -506,8 +506,8 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2:: @ 82421F2
end
BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC:: @ 82421FC
- setvar VAR_0x8004, 13
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_13
+ special CallBattleTowerFunc
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 18, 6
waitstate
end
diff --git a/data/maps/BattleFrontier_BattleTowerBattleRoom2/scripts.inc b/data/maps/BattleFrontier_BattleTowerBattleRoom2/scripts.inc
index d5c990623..e280edbe7 100644
--- a/data/maps/BattleFrontier_BattleTowerBattleRoom2/scripts.inc
+++ b/data/maps/BattleFrontier_BattleTowerBattleRoom2/scripts.inc
@@ -12,8 +12,8 @@ BattleFrontier_BattleTowerBattleRoom2_MapScript1_248EF8: @ 8248EF8
end
BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F:: @ 8248F0F
- setvar VAR_0x8004, 14
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_14
+ special CallBattleTowerFunc
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29
@@ -63,8 +63,8 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F4D:: @ 8248F4D
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
- setvar VAR_0x8004, 3
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
+ special CallBattleTowerFunc
addobject 1
addobject 4
applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249528
@@ -72,17 +72,17 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 3
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249026
- setvar VAR_0x8004, 7
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 0
- special sub_8161F74
+ special CallBattleTowerFunc
delay 15
applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249545
waitmovement 0
msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage
- setvar VAR_0x8004, 7
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 1
- special sub_8161F74
+ special CallBattleTowerFunc
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_249545
waitmovement 0
msgbox gStringVar4, MSGBOX_DEFAULT
@@ -90,18 +90,18 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249069
BattleFrontier_BattleTowerBattleRoom2_EventScript_249026:: @ 8249026
- setvar VAR_0x8004, 7
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 0
- special sub_8161F74
+ special CallBattleTowerFunc
delay 15
applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249545
waitmovement 0
messageautoscroll 0x2021fc4
waitmessage
delay 48
- setvar VAR_0x8004, 7
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 1
- special sub_8161F74
+ special CallBattleTowerFunc
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_249545
waitmovement 0
messageautoscroll 0x2021fc4
@@ -118,17 +118,17 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E:: @ 824907E
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 3
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, 3
special sub_813BF7C
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8
BattleFrontier_BattleTowerBattleRoom2_EventScript_2490AA:: @ 82490AA
call BattleFrontier_BattleTowerBattleRoom2_EventScript_241EBA
- setvar VAR_0x8004, 4
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_4
+ special CallBattleTowerFunc
switch VAR_RESULT
case 7, BattleFrontier_BattleTowerBattleRoom2_EventScript_2492AF
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_249534
@@ -235,9 +235,9 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2492AF:: @ 82492AF
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 3
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, 3
special sub_813BF7C
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8
@@ -245,9 +245,9 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2492AF:: @ 82492AF
BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB:: @ 82492DB
message BattleFrontier_BattleTowerBattleRoom2_Text_242426
waitmessage
- setvar VAR_0x8004, 6
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 2
- special sub_8161F74
+ special CallBattleTowerFunc
playse SE_SAVE
waitse
fadescreen 1
diff --git a/data/maps/BattleFrontier_BattleTowerCorridor2/scripts.inc b/data/maps/BattleFrontier_BattleTowerCorridor2/scripts.inc
index 786f1fa3e..a53cac0c5 100644
--- a/data/maps/BattleFrontier_BattleTowerCorridor2/scripts.inc
+++ b/data/maps/BattleFrontier_BattleTowerCorridor2/scripts.inc
@@ -12,8 +12,8 @@ BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A
end
BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
- setvar VAR_0x8004, 14
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_14
+ special CallBattleTowerFunc
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B
diff --git a/data/maps/BattleFrontier_BattleTowerLobby/map.json b/data/maps/BattleFrontier_BattleTowerLobby/map.json
index 13bda5f22..32aa11636 100644
--- a/data/maps/BattleFrontier_BattleTowerLobby/map.json
+++ b/data/maps/BattleFrontier_BattleTowerLobby/map.json
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattleTowerLobby_EventScript_28CB96",
+ "script": "BattleFrontier_BattleTowerLobby_EventScript_Reporter",
"flag": "FLAG_HIDE_BATTLE_TOWER_REPORTER"
},
{
diff --git a/data/maps/BattleFrontier_BattleTowerLobby/scripts.inc b/data/maps/BattleFrontier_BattleTowerLobby/scripts.inc
index d64b82e92..791901b1f 100644
--- a/data/maps/BattleFrontier_BattleTowerLobby/scripts.inc
+++ b/data/maps/BattleFrontier_BattleTowerLobby/scripts.inc
@@ -10,7 +10,7 @@ BattleFrontier_BattleTowerLobby_MapScript1_23E690: @ 823E690
end
BattleFrontier_BattleTowerLobby_MapScript1_23E694: @ 823E694
- call BattleFrontier_BattleTowerLobby_EventScript_28CC84
+ call BattleFrontier_BattleTowerLobby_EventScript_ShowOrHideReporter
setvar VAR_0x8004, APPRENTICE_FUNC_10
special CallApprenticeFunction
compare VAR_0x8004, 0
@@ -56,14 +56,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23E710:: @ 823E710
faceplayer
msgbox BattleFrontier_BattleTowerLobby_Text_23F583, MSGBOX_DEFAULT
closemessage
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
- special sub_8161F74
- setvar VAR_0x8004, 2
+ special CallBattleTowerFunc
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
@@ -87,8 +87,8 @@ BattleFrontier_BattleTowerLobby_EventScript_23E778:: @ 823E778
msgbox BattleFrontier_BattleTowerLobby_Text_241486, MSGBOX_DEFAULT
BattleFrontier_BattleTowerLobby_EventScript_23E780:: @ 823E780
- setvar VAR_0x8004, 5
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_GIVE_RIBBONS
+ special CallBattleTowerFunc
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5
message BattleFrontier_BattleTowerLobby_Text_23F844
@@ -101,11 +101,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7A5:: @ 823E7A5
msgbox BattleFrontier_BattleTowerLobby_Text_2414D4, MSGBOX_DEFAULT
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
- msgbox BattleFrontier_BattleTowerLobby_Text_241520, 9
+ msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
call BattleFrontier_BattleTowerLobby_EventScript_23E84D
- setvar VAR_0x8004, 1
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_1
setvar VAR_0x8005, 1
- special sub_8161F74
+ special CallBattleTowerFunc
compare VAR_RESULT, 49
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E7E2
msgbox BattleFrontier_BattleTowerLobby_Text_23F79D, MSGBOX_DEFAULT
@@ -121,17 +121,17 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7F2:: @ 823E7F2
compare VAR_FRONTIER_BATTLE_MODE, 2
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E81E
goto_if_set FLAG_CHOSEN_MULTI_BATTLE_NPC_PARTNER, BattleFrontier_BattleTowerLobby_EventScript_23E81E
- setvar VAR_0x8004, 1
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_1
setvar VAR_0x8005, 1
- special sub_8161F74
+ special CallBattleTowerFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E830
BattleFrontier_BattleTowerLobby_EventScript_23E81E:: @ 823E81E
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
- special sub_8161F74
+ special CallBattleTowerFunc
BattleFrontier_BattleTowerLobby_EventScript_23E830:: @ 823E830
lock
@@ -152,9 +152,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23E84D:: @ 823E84D
special CallFrontierUtilFunc
special LoadPlayerParty
special HealPlayerParty
- setvar VAR_0x8004, 6
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 0
- special sub_8161F74
+ special CallBattleTowerFunc
playse SE_SAVE
waitse
call BattleFrontier_BattleTowerLobby_EventScript_23E8E0
@@ -218,9 +218,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23E8EE:: @ 823E8EE
waitmessage
message BattleFrontier_BattleTowerLobby_Text_23F754
waitmessage
- setvar VAR_0x8004, 6
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 1
- special sub_8161F74
+ special CallBattleTowerFunc
playse SE_SAVE
waitse
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
@@ -287,12 +287,12 @@ BattleFrontier_BattleTowerLobby_EventScript_23EA2A:: @ 823EA2A
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 0
- setvar VAR_0x8004, 0
- special sub_8161F74
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_0
+ special CallBattleTowerFunc
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
@@ -367,12 +367,12 @@ BattleFrontier_BattleTowerLobby_EventScript_23EB93:: @ 823EB93
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 0
- setvar VAR_0x8004, 0
- special sub_8161F74
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_0
+ special CallBattleTowerFunc
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
@@ -448,12 +448,12 @@ BattleFrontier_BattleTowerLobby_EventScript_23ECFF:: @ 823ECFF
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 0
- setvar VAR_0x8004, 0
- special sub_8161F74
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_0
+ special CallBattleTowerFunc
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
@@ -528,12 +528,12 @@ BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 0
- setvar VAR_0x8004, 0
- special sub_8161F74
- setvar VAR_0x8004, 2
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_0
+ special CallBattleTowerFunc
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
- special sub_8161F74
+ special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
@@ -541,9 +541,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
special LoadPlayerParty
closemessage
delay 2
- setvar VAR_0x8004, 6
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 0
- special sub_8161F74
+ special CallBattleTowerFunc
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
@@ -738,8 +738,8 @@ BattleFrontier_BattleTowerLobby_EventScript_23F0F3:: @ 823F0F3
setvar VAR_RESULT, 0
BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
- setvar VAR_0x8004, 12
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_12
+ special CallBattleTowerFunc
delay 1
compare VAR_RESULT, 6
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23F108
@@ -998,9 +998,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23F3AF:: @ 823F3AF
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
message BattleFrontier_BattleTowerLobby_Text_24144D
waitmessage
- setvar VAR_0x8004, 6
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 1
- special sub_8161F74
+ special CallBattleTowerFunc
special sub_80A08CC
waitstate
playse SE_SAVE
@@ -1061,9 +1061,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23F496:: @ 823F496
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
message BattleFrontier_BattleTowerLobby_Text_24144D
waitmessage
- setvar VAR_0x8004, 6
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 1
- special sub_8161F74
+ special CallBattleTowerFunc
special sub_80A08CC
waitstate
playse SE_SAVE
@@ -1529,13 +1529,7 @@ BattleFrontier_BattleTowerLobby_Text_2414D4: @ 82414D4
.string "In recognition of your infinite talent,\n"
.string "we award you these Battle Point(s).$"
-BattleFrontier_BattleArenaLobby_Text_241520: @ 8241520
-BattleFrontier_BattleDomeLobby_Text_241520: @ 8241520
-BattleFrontier_BattleFactoryLobby_Text_241520: @ 8241520
-BattleFrontier_BattlePalaceLobby_Text_241520: @ 8241520
-BattleFrontier_BattlePikeLobby_Text_241520: @ 8241520
-BattleFrontier_BattlePyramidLobby_Text_241520: @ 8241520
-BattleFrontier_BattleTowerLobby_Text_241520: @ 8241520
+BattleFrontier_Text_ObtainedXBattlePoints: @ 8241520
.string "{PLAYER} obtained {STR_VAR_1} Battle Point(s).$"
BattleFrontier_BattleTowerLobby_Text_241540: @ 8241540
diff --git a/data/maps/BattleFrontier_BattleTowerMultiBattleRoom/scripts.inc b/data/maps/BattleFrontier_BattleTowerMultiBattleRoom/scripts.inc
index c26a8098e..9da5e6a14 100644
--- a/data/maps/BattleFrontier_BattleTowerMultiBattleRoom/scripts.inc
+++ b/data/maps/BattleFrontier_BattleTowerMultiBattleRoom/scripts.inc
@@ -20,8 +20,8 @@ BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DB0: @ 8243DB0
clearflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_6
setflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_ALT_1
setflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_ALT_2
- setvar VAR_0x8004, 10
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_10
+ special CallBattleTowerFunc
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243DDA:: @ 8243DDA
@@ -166,27 +166,27 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F29:: @ 8243F29
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
goto_if_set FLAG_CHOSEN_MULTI_BATTLE_NPC_PARTNER, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
- setvar VAR_0x8004, 11
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 0
- special sub_8161F74
+ special CallBattleTowerFunc
waitmessage
waitbuttonpress
- setvar VAR_0x8004, 11
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 1
- special sub_8161F74
+ special CallBattleTowerFunc
waitmessage
waitbuttonpress
- setvar VAR_0x8004, 11
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 2
- special sub_8161F74
+ special CallBattleTowerFunc
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT
case 1, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
- setvar VAR_0x8004, 11
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 3
- special sub_8161F74
+ special CallBattleTowerFunc
waitmessage
waitbuttonpress
closemessage
@@ -202,9 +202,9 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3:: @ 8243FC3
- setvar VAR_0x8004, 11
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 4
- special sub_8161F74
+ special CallBattleTowerFunc
waitmessage
waitbuttonpress
release
diff --git a/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/map.json b/data/maps/BattleFrontier_ExchangeServiceCorner/map.json
index 4c7bcad2a..055b6e56e 100644
--- a/data/maps/BattleFrontier_BattlePointExchangeServiceCorner/map.json
+++ b/data/maps/BattleFrontier_ExchangeServiceCorner/map.json
@@ -1,7 +1,7 @@
{
- "id": "MAP_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER",
- "name": "BattleFrontier_BattlePointExchangeServiceCorner",
- "layout": "LAYOUT_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER",
+ "id": "MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
+ "name": "BattleFrontier_ExchangeServiceCorner",
+ "layout": "LAYOUT_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
"music": "MUS_B_TOWER",
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
"requires_flash": false,
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F173",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk1",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7E8",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_RichBoy",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7DD",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_PokefanF",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7D4",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_Sailor",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7CB",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_Man",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F37C",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F49F",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk",
"flag": "0"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5F0",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk",
"flag": "0"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7F1",
+ "script": "BattleFrontier_ExchangeServiceCorner_EventScript_Girl",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_ExchangeServiceCorner/scripts.inc b/data/maps/BattleFrontier_ExchangeServiceCorner/scripts.inc
new file mode 100644
index 000000000..b343b0c97
--- /dev/null
+++ b/data/maps/BattleFrontier_ExchangeServiceCorner/scripts.inc
@@ -0,0 +1,765 @@
+BattleFrontier_ExchangeServiceCorner_MapScripts:: @ 825F070
+ .byte 0
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome:: @ 825F071
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_WelcomePleaseChoosePrize, MSGBOX_DEFAULT
+ special ShowBattlePointsWindow
+ return
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye:: @ 825F07D
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ThankYouVisitWithPoints, MSGBOX_DEFAULT
+ special CloseBattlePointsWindow
+ release
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize:: @ 825F08A
+ specialvar VAR_TEMP_1, GetFrontierBattlePoints
+ compare VAR_TEMP_1, VAR_0x8008
+ goto_if_ge BattleFrontier_ExchangeServiceCorner_EventScript_TryGivePrize
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_DontHaveEnoughPoints, MSGBOX_DEFAULT
+ compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR2_CLERK
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
+ compare VAR_TEMP_2, EXCHANGE_CORNER_VITAMIN_CLERK
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_TryGivePrize:: @ 825F0C9
+ compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveDecor
+ compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR2_CLERK
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveDecor
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveItem
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveDecor:: @ 825F0E5
+ checkdecorspace VAR_0x8009
+ compare VAR_RESULT, FALSE
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_NoRoomForDecor
+ copyvar VAR_0x8004, VAR_0x8008
+ special TakeFrontierBattlePoints
+ givedecoration VAR_0x8009
+ special UpdateBattlePointsWindow
+ playse SE_REGI
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_WellSendItToPC, MSGBOX_DEFAULT
+ compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_NoRoomForDecor:: @ 825F11D
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_PCIsFull, MSGBOX_DEFAULT
+ special CloseBattlePointsWindow
+ release
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveItem:: @ 825F12A
+ checkitemspace VAR_0x8009, 1
+ compare VAR_RESULT, FALSE
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_BagFull
+ copyvar VAR_0x8004, VAR_0x8008
+ special TakeFrontierBattlePoints
+ giveitem VAR_0x8009, 1
+ special UpdateBattlePointsWindow
+ playse SE_REGI
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_HereIsYourPrize, MSGBOX_DEFAULT
+ compare VAR_TEMP_2, EXCHANGE_CORNER_VITAMIN_CLERK
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_BagFull:: @ 825F166
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_DontHaveSpaceToHoldIt, MSGBOX_DEFAULT
+ special CloseBattlePointsWindow
+ release
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk1:: @ 825F173
+ lock
+ faceplayer
+ setvar VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
+ call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1:: @ 825F185
+ setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_1
+ special ShowFrontierExchangeCornerItemIconWindow
+ special ShowScrollableMultichoice
+ waitstate
+ special CloseFrontierExchangeCornerItemIconWindow
+ switch VAR_RESULT
+ case 0, BattleFrontier_ExchangeServiceCorner_EventScript_KissPoster
+ case 1, BattleFrontier_ExchangeServiceCorner_EventScript_KissCushion
+ case 2, BattleFrontier_ExchangeServiceCorner_EventScript_SmoochumDoll
+ case 3, BattleFrontier_ExchangeServiceCorner_EventScript_TogepiDoll
+ case 4, BattleFrontier_ExchangeServiceCorner_EventScript_MeowthDoll
+ case 5, BattleFrontier_ExchangeServiceCorner_EventScript_ClefairyDoll
+ case 6, BattleFrontier_ExchangeServiceCorner_EventScript_DittoDoll
+ case 7, BattleFrontier_ExchangeServiceCorner_EventScript_CyndaquilDoll
+ case 8, BattleFrontier_ExchangeServiceCorner_EventScript_ChikoritaDoll
+ case 9, BattleFrontier_ExchangeServiceCorner_EventScript_TotodileDoll
+ case 10, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
+ case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_KissPoster:: @ 825F21E
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissPoster, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 16
+ setvar VAR_0x8009, DECOR_KISS_POSTER
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_KissCushion:: @ 825F241
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissCushion, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 32
+ setvar VAR_0x8009, DECOR_KISS_CUSHION
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_SmoochumDoll:: @ 825F264
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmSmoochumDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 32
+ setvar VAR_0x8009, DECOR_SMOOCHUM_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_TogepiDoll:: @ 825F287
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmTogepiDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 48
+ setvar VAR_0x8009, DECOR_TOGEPI_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_MeowthDoll:: @ 825F2AA
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmMeowthDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 48
+ setvar VAR_0x8009, DECOR_MEOWTH_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ClefairyDoll:: @ 825F2CD
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmClefairyDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 48
+ setvar VAR_0x8009, DECOR_CLEFAIRY_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_DittoDoll:: @ 825F2F0
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmDittoDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 48
+ setvar VAR_0x8009, DECOR_DITTO_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_CyndaquilDoll:: @ 825F313
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCyndaquilDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 80
+ setvar VAR_0x8009, DECOR_CYNDAQUIL_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ChikoritaDoll:: @ 825F336
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmChikoritaDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 80
+ setvar VAR_0x8009, DECOR_CHIKORITA_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_TotodileDoll:: @ 825F359
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmTotodileDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
+ setvar VAR_0x8008, 80
+ setvar VAR_0x8009, DECOR_TOTODILE_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2:: @ 825F37C
+ lock
+ faceplayer
+ setvar VAR_TEMP_2, EXCHANGE_CORNER_DECOR2_CLERK
+ call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2:: @ 825F38E
+ setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_2
+ special ShowFrontierExchangeCornerItemIconWindow
+ special ShowScrollableMultichoice
+ waitstate
+ special CloseFrontierExchangeCornerItemIconWindow
+ switch VAR_RESULT
+ case 0, BattleFrontier_ExchangeServiceCorner_EventScript_LaprasDoll
+ case 1, BattleFrontier_ExchangeServiceCorner_EventScript_SnorlaxDoll
+ case 2, BattleFrontier_ExchangeServiceCorner_EventScript_VenusaurDoll
+ case 3, BattleFrontier_ExchangeServiceCorner_EventScript_CharizardDoll
+ case 4, BattleFrontier_ExchangeServiceCorner_EventScript_BlastoiseDoll
+ case 5, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
+ case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_LaprasDoll:: @ 825F3F0
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmLaprasDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
+ setvar VAR_0x8008, 128
+ setvar VAR_0x8009, DECOR_LAPRAS_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_SnorlaxDoll:: @ 825F413
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmSnorlaxDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
+ setvar VAR_0x8008, 128
+ setvar VAR_0x8009, DECOR_SNORLAX_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_VenusaurDoll:: @ 825F436
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmVenusaurDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
+ setvar VAR_0x8008, 256
+ setvar VAR_0x8009, DECOR_VENUSAUR_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_CharizardDoll:: @ 825F459
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCharizardDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
+ setvar VAR_0x8008, 256
+ setvar VAR_0x8009, DECOR_CHARIZARD_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_BlastoiseDoll:: @ 825F47C
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmBlastoiseDoll, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
+ setvar VAR_0x8008, 256
+ setvar VAR_0x8009, DECOR_BLASTOISE_DOLL
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk:: @ 825F49F
+ lock
+ faceplayer
+ setvar VAR_TEMP_2, EXCHANGE_CORNER_VITAMIN_CLERK
+ call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin:: @ 825F4B1
+ setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_VITAMIN_VENDOR
+ special ShowFrontierExchangeCornerItemIconWindow
+ special ShowScrollableMultichoice
+ waitstate
+ special CloseFrontierExchangeCornerItemIconWindow
+ switch VAR_RESULT
+ case 0, BattleFrontier_ExchangeServiceCorner_EventScript_Protein
+ case 1, BattleFrontier_ExchangeServiceCorner_EventScript_Calcium
+ case 2, BattleFrontier_ExchangeServiceCorner_EventScript_Iron
+ case 3, BattleFrontier_ExchangeServiceCorner_EventScript_Zinc
+ case 4, BattleFrontier_ExchangeServiceCorner_EventScript_Carbos
+ case 5, BattleFrontier_ExchangeServiceCorner_EventScript_HPUp
+ case 6, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
+ case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Protein:: @ 825F51E
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmProtein, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ setvar VAR_0x8008, 1
+ setvar VAR_0x8009, ITEM_PROTEIN
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Calcium:: @ 825F541
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCalcium, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ setvar VAR_0x8008, 1
+ setvar VAR_0x8009, ITEM_CALCIUM
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Iron:: @ 825F564
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmIron, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ setvar VAR_0x8008, 1
+ setvar VAR_0x8009, ITEM_IRON
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Zinc:: @ 825F587
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmZinc, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ setvar VAR_0x8008, 1
+ setvar VAR_0x8009, ITEM_ZINC
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Carbos:: @ 825F5AA
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCarbos, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ setvar VAR_0x8008, 1
+ setvar VAR_0x8009, ITEM_CARBOS
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_HPUp:: @ 825F5CD
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmHPUp, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
+ setvar VAR_0x8008, 1
+ setvar VAR_0x8009, ITEM_HP_UP
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk:: @ 825F5F0
+ lock
+ faceplayer
+ setvar VAR_TEMP_2, EXCHANGE_CORNER_HOLD_ITEM_CLERK
+ call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem:: @ 825F602
+ setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_HOLD_ITEM_VENDOR
+ special ShowFrontierExchangeCornerItemIconWindow
+ special ShowScrollableMultichoice
+ waitstate
+ special CloseFrontierExchangeCornerItemIconWindow
+ switch VAR_RESULT
+ case 0, BattleFrontier_ExchangeServiceCorner_EventScript_Leftovers
+ case 1, BattleFrontier_ExchangeServiceCorner_EventScript_WhiteHerb
+ case 2, BattleFrontier_ExchangeServiceCorner_EventScript_QuickClaw
+ case 3, BattleFrontier_ExchangeServiceCorner_EventScript_MentalHerb
+ case 4, BattleFrontier_ExchangeServiceCorner_EventScript_Brightpowder
+ case 5, BattleFrontier_ExchangeServiceCorner_EventScript_ChoiceBand
+ case 6, BattleFrontier_ExchangeServiceCorner_EventScript_KingsRock
+ case 7, BattleFrontier_ExchangeServiceCorner_EventScript_FocusBand
+ case 8, BattleFrontier_ExchangeServiceCorner_EventScript_ScopeLens
+ case 9, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
+ case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Leftovers:: @ 825F690
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmLeftovers, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 48
+ setvar VAR_0x8009, ITEM_LEFTOVERS
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_WhiteHerb:: @ 825F6B3
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmWhiteHerb, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 48
+ setvar VAR_0x8009, ITEM_WHITE_HERB
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_QuickClaw:: @ 825F6D6
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmQuickClaw, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 48
+ setvar VAR_0x8009, ITEM_QUICK_CLAW
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_MentalHerb:: @ 825F6F9
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmMentalHerb, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 48
+ setvar VAR_0x8009, ITEM_MENTAL_HERB
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Brightpowder:: @ 825F71C
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmBrightpowder, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 64
+ setvar VAR_0x8009, ITEM_BRIGHT_POWDER
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ChoiceBand:: @ 825F73F
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmChoiceBand, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 64
+ setvar VAR_0x8009, ITEM_CHOICE_BAND
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_KingsRock:: @ 825F762
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKingsRock, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 64
+ setvar VAR_0x8009, ITEM_KINGS_ROCK
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_FocusBand:: @ 825F785
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmFocusBand, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 64
+ setvar VAR_0x8009, ITEM_FOCUS_BAND
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_ScopeLens:: @ 825F7A8
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmScopeLens, MSGBOX_YESNO
+ compare VAR_RESULT, NO
+ goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
+ setvar VAR_0x8008, 64
+ setvar VAR_0x8009, ITEM_SCOPE_LENS
+ goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Man:: @ 825F7CB
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_260099, MSGBOX_NPC
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Sailor:: @ 825F7D4
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_26002E, MSGBOX_NPC
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_PokefanF:: @ 825F7DD
+ lock
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_25FFD0, MSGBOX_DEFAULT
+ release
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_RichBoy:: @ 825F7E8
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_25FF5D, MSGBOX_NPC
+ end
+
+BattleFrontier_ExchangeServiceCorner_EventScript_Girl:: @ 825F7F1
+ msgbox BattleFrontier_ExchangeServiceCorner_Text_26012D, MSGBOX_NPC
+ end
+
+BattleFrontier_ExchangeServiceCorner_Text_WelcomePleaseChoosePrize: @ 825F7FA
+ .string "Hello, this is the EXCHANGE SERVICE\n"
+ .string "CORNER.\p"
+ .string "We exchange the Battle Points you\n"
+ .string "have collected for lovely prizes.\p"
+ .string "Please choose a prize from this list.$"
+
+@ Unused
+BattleFrontier_ExchangeServiceCorner_Text_PleaseChoosePrize: @ 825F890
+ .string "Please choose a prize from this list.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissPoster: @ 825F8B6
+ .string "You've chosen the KISS POSTER.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissCushion: @ 825F8E6
+ .string "You've chosen the KISS CUSHION.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmSmoochumDoll: @ 825F917
+ .string "You've chosen the SMOOCHUM DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmTogepiDoll: @ 825F949
+ .string "You've chosen the TOGEPI DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmMeowthDoll: @ 825F979
+ .string "You've chosen the MEOWTH DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmClefairyDoll: @ 825F9A9
+ .string "You've chosen the CLEFAIRY DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmDittoDoll: @ 825F9DB
+ .string "You've chosen the DITTO DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmCyndaquilDoll: @ 825FA0A
+ .string "You've chosen the CYNDAQUIL DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmChikoritaDoll: @ 825FA3D
+ .string "You've chosen the CHIKORITA DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmTotodileDoll: @ 825FA70
+ .string "You've chosen the TOTODILE DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmLaprasDoll: @ 825FAA2
+ .string "You've chosen the LAPRAS DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmSnorlaxDoll: @ 825FAD2
+ .string "You've chosen the SNORLAX DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmVenusaurDoll: @ 825FB03
+ .string "You've chosen the VENUSAUR DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmCharizardDoll: @ 825FB35
+ .string "You've chosen the CHARIZARD DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmBlastoiseDoll: @ 825FB68
+ .string "You've chosen the BLASTOISE DOLL.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmProtein: @ 825FB9B
+ .string "You've chosen the PROTEIN.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmCalcium: @ 825FBC7
+ .string "You've chosen the CALCIUM.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmIron: @ 825FBF3
+ .string "You've chosen the IRON.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmZinc: @ 825FC1C
+ .string "You've chosen the ZINC.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmCarbos: @ 825FC45
+ .string "You've chosen the CARBOS.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmHPUp: @ 825FC70
+ .string "You've chosen the HP UP.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmBrightpowder: @ 825FC9A
+ .string "You've chosen the BRIGHTPOWDER.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmWhiteHerb: @ 825FCCB
+ .string "You've chosen the WHITE HERB.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmQuickClaw: @ 825FCFA
+ .string "You've chosen the QUICK CLAW.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmMentalHerb: @ 825FD29
+ .string "You've chosen the MENTAL HERB.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmChoiceBand: @ 825FD59
+ .string "You've chosen the CHOICE BAND.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmKingsRock: @ 825FD89
+ .string "You've chosen the KING'S ROCK.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmFocusBand: @ 825FDB9
+ .string "You've chosen the FOCUS BAND.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmScopeLens: @ 825FDE8
+ .string "You've chosen the SCOPE LENS.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ConfirmLeftovers: @ 825FE17
+ .string "You've chosen the LEFTOVERS.\n"
+ .string "Is that correct?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_WellSendItToPC: @ 825FE45
+ .string "Thank you!\n"
+ .string "We'll send it to your PC at home.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_HereIsYourPrize: @ 825FE72
+ .string "Here is your prize!$"
+
+BattleFrontier_ExchangeServiceCorner_Text_DontHaveEnoughPoints: @ 825FE86
+ .string "I'm so sorry…\n"
+ .string "You don't have enough Battle Points…$"
+
+BattleFrontier_ExchangeServiceCorner_Text_PCIsFull: @ 825FEB9
+ .string "I'm so sorry…\n"
+ .string "Your PC appears to be full…$"
+
+BattleFrontier_ExchangeServiceCorner_Text_DontHaveSpaceToHoldIt: @ 825FEE3
+ .string "I'm so sorry…\n"
+ .string "You don't have space to hold it…$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ThankYouVisitWithPoints: @ 825FF12
+ .string "Thank you very much.\p"
+ .string "Please visit us when you have\n"
+ .string "saved up Battle Points.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_25FF5D: @ 825FF5D
+ .string "Oh, they're so nice!\n"
+ .string "I wish I had them!\l"
+ .string "Cute cushions!\l"
+ .string "Big plush DOLLS!\l"
+ .string "Little plush DOLLS!\l"
+ .string "I wish I had them all!$"
+
+BattleFrontier_ExchangeServiceCorner_Text_25FFD0: @ 825FFD0
+ .string "Leave it to your mommy!\p"
+ .string "If it's anything you want, I'll go\n"
+ .string "through anything to get it, honey!$"
+
+BattleFrontier_ExchangeServiceCorner_Text_26002E: @ 826002E
+ .string "If I can get hold of the items here,\n"
+ .string "my POKéMON will get tougher.\p"
+ .string "You bet they will!\n"
+ .string "No question about it!$"
+
+BattleFrontier_ExchangeServiceCorner_Text_260099: @ 8260099
+ .string "Hah?\n"
+ .string "What are you gawking at?\p"
+ .string "I don't like you staring at my plush\n"
+ .string "doll like that.\p"
+ .string "If you want it, go get one yourself!\n"
+ .string "Isn't that right, SMOOCHUM?$"
+
+BattleFrontier_ExchangeServiceCorner_Text_26012D: @ 826012D
+ .string "Did you know?\p"
+ .string "If you stretch your record at any of\n"
+ .string "the BATTLE facilities, they start\l"
+ .string "giving you more and more Battle Points.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_KissPosterDesc:: @ 82601AA
+ .string "A large poster with a SMOOCHUM print.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_KissCushionDesc:: @ 82601D0
+ .string "A SMOOCHUM cushion.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_SmoochumDollDesc:: @ 8260201
+ .string "A SMOOCHUM DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_TogepiDollDesc:: @ 826022F
+ .string "A TOGEPI DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_MeowthDollDesc:: @ 826025B
+ .string "A MEOWTH DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ClefairyDollDesc:: @ 8260287
+ .string "A CLEFAIRY DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_DittoDollDesc:: @ 82602B5
+ .string "A DITTO DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_CyndaquilDollDesc:: @ 82602E0
+ .string "A CYNDAQUIL DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ChikoritaDollDesc:: @ 826030F
+ .string "A CHIKORITA DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_TotodileDollDesc:: @ 826033E
+ .string "A TOTODILE DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_LargeDollDesc:: @ 826036C
+ .string "A large DOLL.\n"
+ .string "Place it on a mat or a desk.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ProteinDesc:: @ 8260397
+ .string "Raises the stat ATTACK of one\n"
+ .string "POKéMON.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_CalciumDesc:: @ 82603BE
+ .string "Raises the stat SP. ATK of one\n"
+ .string "POKéMON.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_IronDesc:: @ 82603E6
+ .string "Raises the stat DEFENSE of one\n"
+ .string "POKéMON.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ZincDesc:: @ 826040E
+ .string "Raises the stat SP. DEF of one\n"
+ .string "POKéMON.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_CarbosDesc:: @ 8260436
+ .string "Raises the stat SPEED of one\n"
+ .string "POKéMON.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_HPUpDesc:: @ 826045C
+ .string "Raises the HP of one POKéMON.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_LeftoversDesc:: @ 826047A
+ .string "A hold item that gradually restores\n"
+ .string "HP in battle.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_WhiteHerbDesc:: @ 82604AC
+ .string "A hold item that restores any\n"
+ .string "lowered stat.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_QuickClawDesc:: @ 82604D8
+ .string "A hold item that occasionally allows\n"
+ .string "the first strike.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_MentalHerbDesc:: @ 826050F
+ .string "A hold item that snaps POKéMON out\n"
+ .string "of infatuation.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_BrightpowderDesc:: @ 8260542
+ .string "A hold item that casts a glare to\n"
+ .string "reduce accuracy.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ChoiceBandDesc:: @ 8260575
+ .string "Raises a move's power, but permits\n"
+ .string "only that move.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_KingsRockDesc:: @ 82605A8
+ .string "A hold item that may cause flinching\n"
+ .string "when the foe is hit.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_FocusBandDesc:: @ 82605E2
+ .string "A hold item that occasionally\n"
+ .string "prevents fainting.$"
+
+BattleFrontier_ExchangeServiceCorner_Text_ScopeLensDesc:: @ 8260613
+ .string "A hold item that raises the\n"
+ .string "critical-hit rate.$"
diff --git a/data/maps/BattleFrontier_Lounge1/map.json b/data/maps/BattleFrontier_Lounge1/map.json
index 8d4870f4f..d63190776 100644
--- a/data/maps/BattleFrontier_Lounge1/map.json
+++ b/data/maps/BattleFrontier_Lounge1/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge1_EventScript_25E775",
+ "script": "BattleFrontier_Lounge1_EventScript_Breeder",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge1_EventScript_25E94D",
+ "script": "BattleFrontier_Lounge1_EventScript_Boy1",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge1_EventScript_25E956",
+ "script": "BattleFrontier_Lounge1_EventScript_Boy2",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_Lounge1/scripts.inc b/data/maps/BattleFrontier_Lounge1/scripts.inc
index ed9628e5e..0ded021b6 100644
--- a/data/maps/BattleFrontier_Lounge1/scripts.inc
+++ b/data/maps/BattleFrontier_Lounge1/scripts.inc
@@ -1,166 +1,173 @@
BattleFrontier_Lounge1_MapScripts:: @ 825E774
.byte 0
-BattleFrontier_Lounge1_EventScript_25E775:: @ 825E775
+@ NPC that rates pokemon based on their IVs
+BattleFrontier_Lounge1_EventScript_Breeder:: @ 825E775
lock
faceplayer
- call_if_unset FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_25E7AD
- call_if_set FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_25E7B6
+ call_if_unset FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_BreederIntro
+ call_if_set FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_AlreadyMetBreeder
setflag FLAG_MET_BATTLE_FRONTIER_BREEDER
- goto BattleFrontier_Lounge1_EventScript_25E792
+ goto BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder
end
-BattleFrontier_Lounge1_EventScript_25E792:: @ 825E792
+BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder:: @ 825E792
special ChoosePartyMon
waitstate
compare VAR_0x8004, 255
- goto_if_ne BattleFrontier_Lounge1_EventScript_25E7BF
+ goto_if_ne BattleFrontier_Lounge1_EventScript_ShowMonToBreeder
compare VAR_0x8004, 255
- goto_if_eq BattleFrontier_Lounge1_EventScript_25E943
+ goto_if_eq BattleFrontier_Lounge1_EventScript_CancelMonSelect
end
-BattleFrontier_Lounge1_EventScript_25E7AD:: @ 825E7AD
- msgbox BattleFrontier_Lounge1_Text_25E95F, MSGBOX_DEFAULT
+BattleFrontier_Lounge1_EventScript_BreederIntro:: @ 825E7AD
+ msgbox BattleFrontier_Lounge1_Text_PokemonBreederIntro, MSGBOX_DEFAULT
return
-BattleFrontier_Lounge1_EventScript_25E7B6:: @ 825E7B6
- msgbox BattleFrontier_Lounge1_Text_25EEF6, MSGBOX_DEFAULT
+BattleFrontier_Lounge1_EventScript_AlreadyMetBreeder:: @ 825E7B6
+ msgbox BattleFrontier_Lounge1_Text_LetsLookAtYourPokemon, MSGBOX_DEFAULT
return
-BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF
+@ BufferVarsForIVRater buffers the following values
+@ VAR_0x8005: Sum of the mons IVs
+@ VAR_0x8006: Stat id of highest IV stat
+@ VAR_0x8007: IV of the highest IV stat
+BattleFrontier_Lounge1_EventScript_ShowMonToBreeder:: @ 825E7BF
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, SPECIES_EGG
- goto_if_eq BattleFrontier_Lounge1_EventScript_25E7FF
+ goto_if_eq BattleFrontier_Lounge1_EventScript_ShowEggToBreeder
special BufferVarsForIVRater
- compare VAR_0x8005, 90
- goto_if_le BattleFrontier_Lounge1_EventScript_25E87F
- compare VAR_0x8005, 120
- goto_if_le BattleFrontier_Lounge1_EventScript_25E88D
- compare VAR_0x8005, 150
- goto_if_le BattleFrontier_Lounge1_EventScript_25E89B
- compare VAR_0x8005, 151
- goto_if_ge BattleFrontier_Lounge1_EventScript_25E8A9
+ compare VAR_0x8005, 90 @ Average of 15
+ goto_if_le BattleFrontier_Lounge1_EventScript_AverageTotalIVs
+ compare VAR_0x8005, 120 @ Average of 20
+ goto_if_le BattleFrontier_Lounge1_EventScript_AboveAverageTotalIVs
+ compare VAR_0x8005, 150 @ Average of 25
+ goto_if_le BattleFrontier_Lounge1_EventScript_HighTotalIVs
+ compare VAR_0x8005, 151 @ Average of > 25
+ goto_if_ge BattleFrontier_Lounge1_EventScript_VeryHighTotalIVs
end
-BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF
- msgbox BattleFrontier_Lounge1_Text_25EF5E, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E792
+BattleFrontier_Lounge1_EventScript_ShowEggToBreeder:: @ 825E7FF
+ msgbox BattleFrontier_Lounge1_Text_EvenICantTell, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder
end
-BattleFrontier_Lounge1_EventScript_25E80D:: @ 825E80D
- compare VAR_0x8006, 0
- goto_if_eq BattleFrontier_Lounge1_EventScript_25E8B7
- compare VAR_0x8006, 1
- goto_if_eq BattleFrontier_Lounge1_EventScript_25E8C5
- compare VAR_0x8006, 2
- goto_if_eq BattleFrontier_Lounge1_EventScript_25E8D3
- compare VAR_0x8006, 3
- goto_if_eq BattleFrontier_Lounge1_EventScript_25E8E1
- compare VAR_0x8006, 4
- goto_if_eq BattleFrontier_Lounge1_EventScript_25E8EF
- compare VAR_0x8006, 5
- goto_if_eq BattleFrontier_Lounge1_EventScript_25E8FD
+@ Comment on the highest IV stat
+BattleFrontier_Lounge1_EventScript_HighestIVStat:: @ 825E80D
+ compare VAR_0x8006, STAT_HP
+ goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVHP
+ compare VAR_0x8006, STAT_ATK
+ goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVAtk
+ compare VAR_0x8006, STAT_DEF
+ goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVDef
+ compare VAR_0x8006, STAT_SPEED
+ goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVSpeed
+ compare VAR_0x8006, STAT_SPATK
+ goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVSpAtk
+ compare VAR_0x8006, STAT_SPDEF
+ goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVSpDef
end
-BattleFrontier_Lounge1_EventScript_25E850:: @ 825E850
+@ Comment on the highest IV value
+BattleFrontier_Lounge1_EventScript_HighestIVValue:: @ 825E850
compare VAR_0x8007, 15
- goto_if_le BattleFrontier_Lounge1_EventScript_25E90B
+ goto_if_le BattleFrontier_Lounge1_EventScript_HighestIVLow
compare VAR_0x8007, 25
- goto_if_le BattleFrontier_Lounge1_EventScript_25E919
+ goto_if_le BattleFrontier_Lounge1_EventScript_HighestIVMid
compare VAR_0x8007, 30
- goto_if_le BattleFrontier_Lounge1_EventScript_25E927
+ goto_if_le BattleFrontier_Lounge1_EventScript_HighestIVHigh
compare VAR_0x8007, 31
- goto_if_ge BattleFrontier_Lounge1_EventScript_25E935
+ goto_if_ge BattleFrontier_Lounge1_EventScript_HighestIVMax
end
-BattleFrontier_Lounge1_EventScript_25E87D:: @ 825E87D
+BattleFrontier_Lounge1_EventScript_EndBreederComments:: @ 825E87D
release
end
-BattleFrontier_Lounge1_EventScript_25E87F:: @ 825E87F
- msgbox BattleFrontier_Lounge1_Text_25EA92, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E80D
+BattleFrontier_Lounge1_EventScript_AverageTotalIVs:: @ 825E87F
+ msgbox BattleFrontier_Lounge1_Text_AverageAbility, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVStat
end
-BattleFrontier_Lounge1_EventScript_25E88D:: @ 825E88D
- msgbox BattleFrontier_Lounge1_Text_25EAD9, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E80D
+BattleFrontier_Lounge1_EventScript_AboveAverageTotalIVs:: @ 825E88D
+ msgbox BattleFrontier_Lounge1_Text_BetterThanAverageAbility, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVStat
end
-BattleFrontier_Lounge1_EventScript_25E89B:: @ 825E89B
- msgbox BattleFrontier_Lounge1_Text_25EB2A, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E80D
+BattleFrontier_Lounge1_EventScript_HighTotalIVs:: @ 825E89B
+ msgbox BattleFrontier_Lounge1_Text_ImpressiveAbility, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVStat
end
-BattleFrontier_Lounge1_EventScript_25E8A9:: @ 825E8A9
- msgbox BattleFrontier_Lounge1_Text_25EB6F, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E80D
+BattleFrontier_Lounge1_EventScript_VeryHighTotalIVs:: @ 825E8A9
+ msgbox BattleFrontier_Lounge1_Text_OutstandingAbility, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVStat
end
-BattleFrontier_Lounge1_EventScript_25E8B7:: @ 825E8B7
- msgbox BattleFrontier_Lounge1_Text_25EBBB, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E850
+BattleFrontier_Lounge1_EventScript_HighestIVHP:: @ 825E8B7
+ msgbox BattleFrontier_Lounge1_Text_BestAspectHP, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
-BattleFrontier_Lounge1_EventScript_25E8C5:: @ 825E8C5
- msgbox BattleFrontier_Lounge1_Text_25EBF8, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E850
+BattleFrontier_Lounge1_EventScript_HighestIVAtk:: @ 825E8C5
+ msgbox BattleFrontier_Lounge1_Text_BestAspectAtk, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
-BattleFrontier_Lounge1_EventScript_25E8D3:: @ 825E8D3
- msgbox BattleFrontier_Lounge1_Text_25EC39, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E850
+BattleFrontier_Lounge1_EventScript_HighestIVDef:: @ 825E8D3
+ msgbox BattleFrontier_Lounge1_Text_BestAspectDef, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
-BattleFrontier_Lounge1_EventScript_25E8E1:: @ 825E8E1
- msgbox BattleFrontier_Lounge1_Text_25ED0E, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E850
+BattleFrontier_Lounge1_EventScript_HighestIVSpeed:: @ 825E8E1
+ msgbox BattleFrontier_Lounge1_Text_BestAspectSpeed, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
-BattleFrontier_Lounge1_EventScript_25E8EF:: @ 825E8EF
- msgbox BattleFrontier_Lounge1_Text_25EC7B, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E850
+BattleFrontier_Lounge1_EventScript_HighestIVSpAtk:: @ 825E8EF
+ msgbox BattleFrontier_Lounge1_Text_BestAspectSpAtk, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
-BattleFrontier_Lounge1_EventScript_25E8FD:: @ 825E8FD
- msgbox BattleFrontier_Lounge1_Text_25ECC4, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E850
+BattleFrontier_Lounge1_EventScript_HighestIVSpDef:: @ 825E8FD
+ msgbox BattleFrontier_Lounge1_Text_BestAspectSpDef, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
-BattleFrontier_Lounge1_EventScript_25E90B:: @ 825E90B
- msgbox BattleFrontier_Lounge1_Text_25ED4E, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E87D
+BattleFrontier_Lounge1_EventScript_HighestIVLow:: @ 825E90B
+ msgbox BattleFrontier_Lounge1_Text_StatRelativelyGood, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_EndBreederComments
end
-BattleFrontier_Lounge1_EventScript_25E919:: @ 825E919
- msgbox BattleFrontier_Lounge1_Text_25ED87, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E87D
+BattleFrontier_Lounge1_EventScript_HighestIVMid:: @ 825E919
+ msgbox BattleFrontier_Lounge1_Text_StatImpressive, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_EndBreederComments
end
-BattleFrontier_Lounge1_EventScript_25E927:: @ 825E927
- msgbox BattleFrontier_Lounge1_Text_25EDC1, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E87D
+BattleFrontier_Lounge1_EventScript_HighestIVHigh:: @ 825E927
+ msgbox BattleFrontier_Lounge1_Text_StatOutstanding, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_EndBreederComments
end
-BattleFrontier_Lounge1_EventScript_25E935:: @ 825E935
- msgbox BattleFrontier_Lounge1_Text_25EDF6, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge1_EventScript_25E87D
+BattleFrontier_Lounge1_EventScript_HighestIVMax:: @ 825E935
+ msgbox BattleFrontier_Lounge1_Text_StatFlawless, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge1_EventScript_EndBreederComments
end
-BattleFrontier_Lounge1_EventScript_25E943:: @ 825E943
- msgbox BattleFrontier_Lounge1_Text_25EE37, MSGBOX_DEFAULT
+BattleFrontier_Lounge1_EventScript_CancelMonSelect:: @ 825E943
+ msgbox BattleFrontier_Lounge1_Text_NoTimeForMyAdvice, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge1_EventScript_25E94D:: @ 825E94D
- msgbox BattleFrontier_Lounge1_Text_25EFDD, MSGBOX_NPC
+BattleFrontier_Lounge1_EventScript_Boy1:: @ 825E94D
+ msgbox BattleFrontier_Lounge1_Text_SaidMyMonIsOutstanding, MSGBOX_NPC
end
-BattleFrontier_Lounge1_EventScript_25E956:: @ 825E956
- msgbox BattleFrontier_Lounge1_Text_25F020, MSGBOX_NPC
+BattleFrontier_Lounge1_EventScript_Boy2:: @ 825E956
+ msgbox BattleFrontier_Lounge1_Text_DidntDoAnythingSpecialRaisingIt, MSGBOX_NPC
end
-BattleFrontier_Lounge1_Text_25E95F: @ 825E95F
+BattleFrontier_Lounge1_Text_PokemonBreederIntro: @ 825E95F
.string "For 70 years I have raised POKéMON!\n"
.string "I am the man they revere as\l"
.string "the legendary top POKéMON BREEDER!\p"
@@ -173,94 +180,95 @@ BattleFrontier_Lounge1_Text_25E95F: @ 825E95F
.string "Here!\n"
.string "Let's have a look at your POKéMON!$"
-BattleFrontier_Lounge1_Text_25EA92: @ 825EA92
+BattleFrontier_Lounge1_Text_AverageAbility: @ 825EA92
.string "…Hmm…\p"
.string "This one, overall, I would describe\n"
.string "as being of average ability.$"
-BattleFrontier_Lounge1_Text_25EAD9: @ 825EAD9
+BattleFrontier_Lounge1_Text_BetterThanAverageAbility: @ 825EAD9
.string "…Hmm…\p"
.string "This one, overall, I would describe as\n"
.string "having better-than-average ability.$"
-BattleFrontier_Lounge1_Text_25EB2A: @ 825EB2A
+BattleFrontier_Lounge1_Text_ImpressiveAbility: @ 825EB2A
.string "…Hmm…\p"
.string "This one, overall, I would say is\n"
.string "quite impressive in ability!$"
-BattleFrontier_Lounge1_Text_25EB6F: @ 825EB6F
+BattleFrontier_Lounge1_Text_OutstandingAbility: @ 825EB6F
.string "…Hmm…\p"
.string "This one, overall, I would say is\n"
.string "wonderfully outstanding in ability!$"
-BattleFrontier_Lounge1_Text_25EBBB: @ 825EBBB
+BattleFrontier_Lounge1_Text_BestAspectHP: @ 825EBBB
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its HP…$"
-BattleFrontier_Lounge1_Text_25EBF8: @ 825EBF8
+BattleFrontier_Lounge1_Text_BestAspectAtk: @ 825EBF8
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its ATTACK…$"
-BattleFrontier_Lounge1_Text_25EC39: @ 825EC39
+BattleFrontier_Lounge1_Text_BestAspectDef: @ 825EC39
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its DEFENSE…$"
-BattleFrontier_Lounge1_Text_25EC7B: @ 825EC7B
+BattleFrontier_Lounge1_Text_BestAspectSpAtk: @ 825EC7B
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its SPECIAL ATTACK…$"
-BattleFrontier_Lounge1_Text_25ECC4: @ 825ECC4
+BattleFrontier_Lounge1_Text_BestAspectSpDef: @ 825ECC4
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its SPECIAL DEFENSE…$"
-BattleFrontier_Lounge1_Text_25ED0E: @ 825ED0E
+BattleFrontier_Lounge1_Text_BestAspectSpeed: @ 825ED0E
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its SPEED…$"
-BattleFrontier_Lounge1_Text_25ED4E: @ 825ED4E
+BattleFrontier_Lounge1_Text_StatRelativelyGood: @ 825ED4E
.string "That stat is relatively good.\n"
.string "…Hm… That's how I call it.$"
-BattleFrontier_Lounge1_Text_25ED87: @ 825ED87
+BattleFrontier_Lounge1_Text_StatImpressive: @ 825ED87
.string "That stat is quite impressive.\n"
.string "…Hm… That's how I call it.$"
-BattleFrontier_Lounge1_Text_25EDC1: @ 825EDC1
+BattleFrontier_Lounge1_Text_StatOutstanding: @ 825EDC1
.string "That stat is outstanding!\n"
.string "…Hm… That's how I call it.$"
-BattleFrontier_Lounge1_Text_25EDF6: @ 825EDF6
+BattleFrontier_Lounge1_Text_StatFlawless: @ 825EDF6
.string "It's flawless! A thing of perfection!\n"
.string "…Hm… That's how I call it.$"
-BattleFrontier_Lounge1_Text_25EE37: @ 825EE37
+BattleFrontier_Lounge1_Text_NoTimeForMyAdvice: @ 825EE37
.string "What?\n"
.string "You have no time for my advice?\p"
.string "You should always be eager to learn\n"
.string "from the experiences of your elders!$"
-BattleFrontier_Lounge1_Text_25EEA6: @ 825EEA6
+@ Unused
+BattleFrontier_Lounge1_Text_HaveBusinessNeedsTending: @ 825EEA6
.string "Yes, what is it now?\p"
.string "I have business that needs tending!\n"
.string "Save it for next time!$"
-BattleFrontier_Lounge1_Text_25EEF6: @ 825EEF6
+BattleFrontier_Lounge1_Text_LetsLookAtYourPokemon: @ 825EEF6
.string "Ah, youngster! Do your POKéMON's\n"
.string "abilities intrigue you?\p"
.string "Here, here!\n"
.string "Let's have a look at your POKéMON!$"
-BattleFrontier_Lounge1_Text_25EF5E: @ 825EF5E
+BattleFrontier_Lounge1_Text_EvenICantTell: @ 825EF5E
.string "An expert I am, but even I can't tell\n"
.string "anything about an unhatched POKéMON!\p"
.string "Show me a POKéMON!\n"
.string "A POKéMON is what I need to see!$"
-BattleFrontier_Lounge1_Text_25EFDD: @ 825EFDD
+BattleFrontier_Lounge1_Text_SaidMyMonIsOutstanding: @ 825EFDD
.string "He said my POKéMON is outstanding!\n"
.string "I'm glad I raised it carefully!$"
-BattleFrontier_Lounge1_Text_25F020: @ 825F020
+BattleFrontier_Lounge1_Text_DidntDoAnythingSpecialRaisingIt: @ 825F020
.string "He said my POKéMON is outstanding!\n"
.string "But I didn't do anything special\l"
.string "raising it…$"
diff --git a/data/maps/BattleFrontier_Lounge2/map.json b/data/maps/BattleFrontier_Lounge2/map.json
index e2ace0b93..575f2898e 100644
--- a/data/maps/BattleFrontier_Lounge2/map.json
+++ b/data/maps/BattleFrontier_Lounge2/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge2_EventScript_260643",
+ "script": "BattleFrontier_Lounge2_EventScript_FrontierManiac",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge2_EventScript_26073C",
+ "script": "BattleFrontier_Lounge2_EventScript_Maniac1",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge2_EventScript_260747",
+ "script": "BattleFrontier_Lounge2_EventScript_Maniac2",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge2_EventScript_26075D",
+ "script": "BattleFrontier_Lounge2_EventScript_TriathleteF",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge2_EventScript_260752",
+ "script": "BattleFrontier_Lounge2_EventScript_Maniac3",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_Lounge2/scripts.inc b/data/maps/BattleFrontier_Lounge2/scripts.inc
index 02dd09a52..610a744b4 100644
--- a/data/maps/BattleFrontier_Lounge2/scripts.inc
+++ b/data/maps/BattleFrontier_Lounge2/scripts.inc
@@ -1,122 +1,128 @@
BattleFrontier_Lounge2_MapScripts:: @ 8260642
.byte 0
-BattleFrontier_Lounge2_EventScript_260643:: @ 8260643
+@ This NPC gives hints about a random facility or battle mode.
+@ For battle modes he gives generic advice
+@ For facilities, depending on how far the player has progressed he will say either
+@ The name of the Frontier Brain there
+@ The type and description of the 3 pokemon they use in their silver battle
+@ The type and description of the 3 pokemon they use in their gold battle
+BattleFrontier_Lounge2_EventScript_FrontierManiac:: @ 8260643
lock
faceplayer
- goto_if_set FLAG_MET_BATTLE_FRONTIER_MANIAC, BattleFrontier_Lounge2_EventScript_26065F
+ goto_if_set FLAG_MET_BATTLE_FRONTIER_MANIAC, BattleFrontier_Lounge2_EventScript_AlreadyMetManiac
setflag FLAG_MET_BATTLE_FRONTIER_MANIAC
- msgbox BattleFrontier_Lounge2_Text_260766, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge2_EventScript_26066D
+ msgbox BattleFrontier_Lounge2_Text_FrontierManiacIntro, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge2_EventScript_GiveAdvice
end
-BattleFrontier_Lounge2_EventScript_26065F:: @ 826065F
- msgbox BattleFrontier_Lounge2_Text_260857, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge2_EventScript_26066D
+BattleFrontier_Lounge2_EventScript_AlreadyMetManiac:: @ 826065F
+ msgbox BattleFrontier_Lounge2_Text_SwingByForTheLatestWord, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge2_EventScript_GiveAdvice
end
-BattleFrontier_Lounge2_EventScript_26066D:: @ 826066D
+BattleFrontier_Lounge2_EventScript_GiveAdvice:: @ 826066D
compare VAR_FRONTIER_MANIAC_FACILITY, 0
- call_if_eq BattleFrontier_Lounge2_EventScript_26070A
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferSingle
compare VAR_FRONTIER_MANIAC_FACILITY, 1
- call_if_eq BattleFrontier_Lounge2_EventScript_26070F
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferDouble
compare VAR_FRONTIER_MANIAC_FACILITY, 2
- call_if_eq BattleFrontier_Lounge2_EventScript_260714
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferMulti
compare VAR_FRONTIER_MANIAC_FACILITY, 3
- call_if_eq BattleFrontier_Lounge2_EventScript_260719
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferMultiLink
compare VAR_FRONTIER_MANIAC_FACILITY, 4
- call_if_eq BattleFrontier_Lounge2_EventScript_26071E
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattleDome
compare VAR_FRONTIER_MANIAC_FACILITY, 5
- call_if_eq BattleFrontier_Lounge2_EventScript_260723
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattleFactory
compare VAR_FRONTIER_MANIAC_FACILITY, 6
- call_if_eq BattleFrontier_Lounge2_EventScript_260728
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattlePalace
compare VAR_FRONTIER_MANIAC_FACILITY, 7
- call_if_eq BattleFrontier_Lounge2_EventScript_26072D
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattleArena
compare VAR_FRONTIER_MANIAC_FACILITY, 8
- call_if_eq BattleFrontier_Lounge2_EventScript_260732
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattlePike
compare VAR_FRONTIER_MANIAC_FACILITY, 9
- call_if_eq BattleFrontier_Lounge2_EventScript_260737
+ call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattlePyramid
compare VAR_FRONTIER_MANIAC_FACILITY, 3
- call_if_le BattleFrontier_Lounge2_EventScript_2606F8
+ call_if_le BattleFrontier_Lounge2_EventScript_BattleTowerNews
compare VAR_FRONTIER_MANIAC_FACILITY, 4
- call_if_ge BattleFrontier_Lounge2_EventScript_260701
+ call_if_ge BattleFrontier_Lounge2_EventScript_FacilityNews
special ShowFrontierManiacMessage
waitmessage
waitbuttonpress
release
end
-BattleFrontier_Lounge2_EventScript_2606F8:: @ 82606F8
- msgbox BattleFrontier_Lounge2_Text_260933, MSGBOX_DEFAULT
+BattleFrontier_Lounge2_EventScript_BattleTowerNews:: @ 82606F8
+ msgbox BattleFrontier_Lounge2_Text_BattleTowerIsHottest, MSGBOX_DEFAULT
return
-BattleFrontier_Lounge2_EventScript_260701:: @ 8260701
- msgbox BattleFrontier_Lounge2_Text_2608F2, MSGBOX_DEFAULT
+BattleFrontier_Lounge2_EventScript_FacilityNews:: @ 8260701
+ msgbox BattleFrontier_Lounge2_Text_FacilityIsHottest, MSGBOX_DEFAULT
return
-BattleFrontier_Lounge2_EventScript_26070A:: @ 826070A
+BattleFrontier_Lounge2_EventScript_BufferSingle:: @ 826070A
bufferstdstring 0, STDSTRING_SINGLE
return
-BattleFrontier_Lounge2_EventScript_26070F:: @ 826070F
+BattleFrontier_Lounge2_EventScript_BufferDouble:: @ 826070F
bufferstdstring 0, STDSTRING_DOUBLE
return
-BattleFrontier_Lounge2_EventScript_260714:: @ 8260714
+BattleFrontier_Lounge2_EventScript_BufferMulti:: @ 8260714
bufferstdstring 0, STDSTRING_MULTI
return
-BattleFrontier_Lounge2_EventScript_260719:: @ 8260719
+BattleFrontier_Lounge2_EventScript_BufferMultiLink:: @ 8260719
bufferstdstring 0, STDSTRING_MULTI_LINK
return
-BattleFrontier_Lounge2_EventScript_26071E:: @ 826071E
+BattleFrontier_Lounge2_EventScript_BufferBattleDome:: @ 826071E
bufferstdstring 0, STDSTRING_BATTLE_DOME
return
-BattleFrontier_Lounge2_EventScript_260723:: @ 8260723
+BattleFrontier_Lounge2_EventScript_BufferBattleFactory:: @ 8260723
bufferstdstring 0, STDSTRING_BATTLE_FACTORY
return
-BattleFrontier_Lounge2_EventScript_260728:: @ 8260728
+BattleFrontier_Lounge2_EventScript_BufferBattlePalace:: @ 8260728
bufferstdstring 0, STDSTRING_BATTLE_PALACE
return
-BattleFrontier_Lounge2_EventScript_26072D:: @ 826072D
+BattleFrontier_Lounge2_EventScript_BufferBattleArena:: @ 826072D
bufferstdstring 0, STDSTRING_BATTLE_ARENA
return
-BattleFrontier_Lounge2_EventScript_260732:: @ 8260732
+BattleFrontier_Lounge2_EventScript_BufferBattlePike:: @ 8260732
bufferstdstring 0, STDSTRING_BATTLE_PIKE
return
-BattleFrontier_Lounge2_EventScript_260737:: @ 8260737
+BattleFrontier_Lounge2_EventScript_BufferBattlePyramid:: @ 8260737
bufferstdstring 0, STDSTRING_BATTLE_PYRAMID
return
-BattleFrontier_Lounge2_EventScript_26073C:: @ 826073C
+BattleFrontier_Lounge2_EventScript_Maniac1:: @ 826073C
lock
- msgbox BattleFrontier_Lounge2_Text_261C9C, MSGBOX_DEFAULT
+ msgbox BattleFrontier_Lounge2_Text_NewsGatheringPower, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge2_EventScript_260747:: @ 8260747
+BattleFrontier_Lounge2_EventScript_Maniac2:: @ 8260747
lock
- msgbox BattleFrontier_Lounge2_Text_261CDC, MSGBOX_DEFAULT
+ msgbox BattleFrontier_Lounge2_Text_AmazingPowersOfObservation, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge2_EventScript_260752:: @ 8260752
+BattleFrontier_Lounge2_EventScript_Maniac3:: @ 8260752
lock
- msgbox BattleFrontier_Lounge2_Text_261D1D, MSGBOX_DEFAULT
+ msgbox BattleFrontier_Lounge2_Text_AmazingPowerOfPersuasion, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge2_EventScript_26075D:: @ 826075D
- msgbox BattleFrontier_Lounge2_Text_261D5C, MSGBOX_NPC
+BattleFrontier_Lounge2_EventScript_TriathleteF:: @ 826075D
+ msgbox BattleFrontier_Lounge2_Text_ThisPlaceIsScaringMe, MSGBOX_NPC
end
-BattleFrontier_Lounge2_Text_260766:: @ 8260766
+BattleFrontier_Lounge2_Text_FrontierManiacIntro:: @ 8260766
.string "Howdy! When it comes to news about\n"
.string "the BATTLE FRONTIER, I'm no. 1.\p"
.string "You can think of me as\n"
@@ -126,33 +132,34 @@ BattleFrontier_Lounge2_Text_260766:: @ 8260766
.string "I'll happily share the hottest news\n"
.string "I gathered about the BATTLE FRONTIER.$"
-BattleFrontier_Lounge2_Text_260857:: @ 8260857
+BattleFrontier_Lounge2_Text_SwingByForTheLatestWord:: @ 8260857
.string "Howdy! Did you swing by to grill me\n"
.string "about the latest word? Oh, all right!$"
-BattleFrontier_Lounge2_Text_2608A1:: @ 82608A1
+@ Unused
+BattleFrontier_Lounge2_Text_MyInformationsBeenUsefulRight:: @ 82608A1
.string "Well? Well? Well?\p"
.string "I'm sure my information's been\n"
.string "seriously useful to you, right?$"
-BattleFrontier_Lounge2_Text_2608F2:: @ 82608F2
+BattleFrontier_Lounge2_Text_FacilityIsHottest:: @ 82608F2
.string "Let's see now…\p"
.string "It sounds like the {STR_VAR_1}\n"
.string "is the hottest place going.$"
-BattleFrontier_Lounge2_Text_260933:: @ 8260933
+BattleFrontier_Lounge2_Text_BattleTowerIsHottest:: @ 8260933
.string "Let's see now…\p"
.string "It sounds like BATTLE TOWER\n"
.string "{STR_VAR_1} is the hottest.$"
-BattleFrontier_Lounge2_Text_260971:: @ 8260971
+BattleFrontier_Lounge2_Text_SalonMaidenIsThere:: @ 8260971
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this mysterious TRAINER called\n"
.string "the SALON MAIDEN that runs the place.$"
-BattleFrontier_Lounge2_Text_260A1E:: @ 8260A1E
+BattleFrontier_Lounge2_Text_SalonMaidenSilverMons:: @ 8260A1E
.string "Have you battled the SALON MAIDEN?\p"
.string "When she's measuring up her opponent,\n"
.string "she apparently uses these POKéMON:\p"
@@ -160,7 +167,7 @@ BattleFrontier_Lounge2_Text_260A1E:: @ 8260A1E
.string "a FIRE-type VOLCANO POKéMON,\l"
.string "and a NORMAL-type SLEEPING POKéMON.$"
-BattleFrontier_Lounge2_Text_260AE7:: @ 8260AE7
+BattleFrontier_Lounge2_Text_SalonMaidenGoldMons:: @ 8260AE7
.string "Have you battled the SALON MAIDEN\n"
.string "when she's serious?\p"
.string "When she's battling flat out,\n"
@@ -169,14 +176,14 @@ BattleFrontier_Lounge2_Text_260AE7:: @ 8260AE7
.string "an ELECTRIC-type THUNDER POKéMON,\l"
.string "and a NORMAL-type SLEEPING POKéMON.$"
-BattleFrontier_Lounge2_Text_260BC4:: @ 8260BC4
+BattleFrontier_Lounge2_Text_DomeAceIsThere:: @ 8260BC4
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this flamboyant TRAINER called\n"
.string "the DOME ACE that runs the place.$"
-BattleFrontier_Lounge2_Text_260C6D:: @ 8260C6D
+BattleFrontier_Lounge2_Text_DomeAceSilverMons:: @ 8260C6D
.string "Have you battled the DOME ACE?\p"
.string "When he's treating the opponent\n"
.string "lightly, he uses these three POKéMON:\p"
@@ -184,7 +191,7 @@ BattleFrontier_Lounge2_Text_260C6D:: @ 8260C6D
.string "a WATER & GROUND MUD FISH POKéMON,\l"
.string "and a FIRE & FLYING FLAME POKéMON.$"
-BattleFrontier_Lounge2_Text_260D3A:: @ 8260D3A
+BattleFrontier_Lounge2_Text_DomeAceGoldMons:: @ 8260D3A
.string "Have you battled the DOME ACE\n"
.string "when he's serious?\p"
.string "When he's demonstrating his strategy,\n"
@@ -194,14 +201,14 @@ BattleFrontier_Lounge2_Text_260D3A:: @ 8260D3A
.string "and a STEEL- & PSYCHIC-type IRON LEG\l"
.string "POKéMON.$"
-BattleFrontier_Lounge2_Text_260E1E:: @ 8260E1E
+BattleFrontier_Lounge2_Text_FactoryHeadIsThere:: @ 8260E1E
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this freaky TRAINER called\n"
.string "the FACTORY HEAD that runs the place.$"
-BattleFrontier_Lounge2_Text_260EC7:: @ 8260EC7
+BattleFrontier_Lounge2_Text_FactoryHeadSilverMons:: @ 8260EC7
.string "Have you battled the FACTORY HEAD\n"
.string "already?\p"
.string "Let me think… When he goes to battle,\n"
@@ -209,7 +216,7 @@ BattleFrontier_Lounge2_Text_260EC7:: @ 8260EC7
.string "He battles under pretty much the same\n"
.string "conditions as you.$"
-BattleFrontier_Lounge2_Text_260F74:: @ 8260F74
+BattleFrontier_Lounge2_Text_FactoryHeadGoldMons:: @ 8260F74
.string "Have you battled the FACTORY HEAD\n"
.string "when he's serious?\p"
.string "When he goes seriously to battle,\n"
@@ -217,14 +224,14 @@ BattleFrontier_Lounge2_Text_260F74:: @ 8260F74
.string "He battles under virtually the same\n"
.string "conditions as you.$"
-BattleFrontier_Lounge2_Text_261026:: @ 8261026
+BattleFrontier_Lounge2_Text_PikeQueenIsThere:: @ 8261026
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this scary TRAINER called\n"
.string "the PIKE QUEEN that runs the place.$"
-BattleFrontier_Lounge2_Text_2610CC:: @ 82610CC
+BattleFrontier_Lounge2_Text_PikeQueenSilverMons:: @ 82610CC
.string "Have you battled the PIKE QUEEN\n"
.string "before?\p"
.string "When she's in a good mood, they say\n"
@@ -233,7 +240,7 @@ BattleFrontier_Lounge2_Text_2610CC:: @ 82610CC
.string "a BUG & ROCK MOLD POKéMON,\l"
.string "and a WATER-type TENDER POKéMON.$"
-BattleFrontier_Lounge2_Text_261194:: @ 8261194
+BattleFrontier_Lounge2_Text_PikeQueenGoldMons:: @ 8261194
.string "Have you battled the PIKE QUEEN\n"
.string "when she's serious?\p"
.string "When she's seriously annoyed, they say\n"
@@ -243,14 +250,14 @@ BattleFrontier_Lounge2_Text_261194:: @ 8261194
.string "and a WATER- & FLYING-type ATROCIOUS\l"
.string "POKéMON.$"
-BattleFrontier_Lounge2_Text_261282:: @ 8261282
+BattleFrontier_Lounge2_Text_ArenaTycoonIsThere:: @ 8261282
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this cute TRAINER called\n"
.string "the ARENA TYCOON that runs the place.$"
-BattleFrontier_Lounge2_Text_261329:: @ 8261329
+BattleFrontier_Lounge2_Text_ArenaTycoonSilverMons:: @ 8261329
.string "Have you battled the ARENA TYCOON\n"
.string "before?\p"
.string "When she's assessing the foe's ability,\n"
@@ -259,7 +266,7 @@ BattleFrontier_Lounge2_Text_261329:: @ 8261329
.string "a DARK-type MOONLIGHT POKéMON,\l"
.string "and a BUG & GHOST SHED POKéMON.$"
-BattleFrontier_Lounge2_Text_261403:: @ 8261403
+BattleFrontier_Lounge2_Text_ArenaTycoonGoldMons:: @ 8261403
.string "Have you battled the ARENA TYCOON\n"
.string "when she's serious?\p"
.string "When she battles for keeps,\n"
@@ -269,14 +276,14 @@ BattleFrontier_Lounge2_Text_261403:: @ 8261403
.string "and a GRASS- & FIGHTING-type\l"
.string "MUSHROOM POKéMON.$"
-BattleFrontier_Lounge2_Text_2614E6:: @ 82614E6
+BattleFrontier_Lounge2_Text_PalaceMavenIsThere:: @ 82614E6
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this sinister TRAINER called\n"
.string "the PALACE MAVEN that runs the place.$"
-BattleFrontier_Lounge2_Text_261591:: @ 8261591
+BattleFrontier_Lounge2_Text_PalaceMavenSilverMons:: @ 8261591
.string "Have you battled the PALACE MAVEN\n"
.string "before?\p"
.string "When he's testing the opponent's\n"
@@ -285,7 +292,7 @@ BattleFrontier_Lounge2_Text_261591:: @ 8261591
.string "a NORMAL-type LAZY POKéMON, and a\l"
.string "WATER- & ICE-type TRANSPORT POKéMON.$"
-BattleFrontier_Lounge2_Text_26166F:: @ 826166F
+BattleFrontier_Lounge2_Text_PalaceMavenGoldMons:: @ 826166F
.string "Have you battled the PALACE MAVEN\n"
.string "when he's serious?\p"
.string "When he throws his entire might into\n"
@@ -294,14 +301,14 @@ BattleFrontier_Lounge2_Text_26166F:: @ 826166F
.string "a NORMAL-type LAZY POKéMON,\l"
.string "and a WATER-type AURORA POKéMON.$"
-BattleFrontier_Lounge2_Text_26174D:: @ 826174D
+BattleFrontier_Lounge2_Text_PyramidKingIsThere:: @ 826174D
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this fiery-hot TRAINER called\n"
.string "the PYRAMID KING that runs the place.$"
-BattleFrontier_Lounge2_Text_2617F9:: @ 82617F9
+BattleFrontier_Lounge2_Text_PyramidKingSilverMons:: @ 82617F9
.string "Have you battled the PYRAMID KING\n"
.string "before?\p"
.string "When he's checking the foe's power,\n"
@@ -310,7 +317,7 @@ BattleFrontier_Lounge2_Text_2617F9:: @ 82617F9
.string "an ICE-type ICEBERG POKéMON,\l"
.string "and a STEEL-type IRON POKéMON.$"
-BattleFrontier_Lounge2_Text_2618C4:: @ 82618C4
+BattleFrontier_Lounge2_Text_PyramidKingGoldMons:: @ 82618C4
.string "Have you battled the PYRAMID KING\n"
.string "when he's serious?\p"
.string "When he's pumped with hot power,\n"
@@ -320,7 +327,7 @@ BattleFrontier_Lounge2_Text_2618C4:: @ 82618C4
.string "and a FIRE- & FLYING-type FLAME\l"
.string "POKéMON.$"
-BattleFrontier_Lounge2_Text_2619AC:: @ 82619AC
+BattleFrontier_Lounge2_Text_DoubleBattleAdvice1:: @ 82619AC
.string "Sure, there are several places where\n"
.string "you can enter DOUBLE BATTLES.\p"
.string "But the DOUBLE BATTLE ROOMS of\n"
@@ -329,44 +336,44 @@ BattleFrontier_Lounge2_Text_2619AC:: @ 82619AC
.string "how DOUBLE BATTLES are played here\l"
.string "in the BATTLE FRONTIER.$"
-BattleFrontier_Lounge2_Text_261A91:: @ 8261A91
+BattleFrontier_Lounge2_Text_DoubleBattleAdvice2:: @ 8261A91
.string "Watch yourself in the battles here.\p"
.string "I hear there are TRAINERS that have\n"
.string "strategies they developed just for\l"
.string "DOUBLE BATTLES.$"
-BattleFrontier_Lounge2_Text_261B0C:: @ 8261B0C
+BattleFrontier_Lounge2_Text_DoubleBattleAdvice3:: @ 8261B0C
.string "Once you're confident and comfortable\n"
.string "with DOUBLE BATTLES here, you should\l"
.string "think about challenging other places\l"
.string "offering DOUBLE BATTLES.$"
-BattleFrontier_Lounge2_Text_261B95:: @ 8261B95
+BattleFrontier_Lounge2_Text_MultiBattleAdvice:: @ 8261B95
.string "All sorts of TRAINERS gather in\n"
.string "the BATTLE SALON.\p"
.string "Just think--you may run into your\n"
.string "friends or followers!\l"
.string "You should look carefully!$"
-BattleFrontier_Lounge2_Text_261C1A:: @ 8261C1A
+BattleFrontier_Lounge2_Text_LinkMultiBattleAdvice:: @ 8261C1A
.string "If you're with a friend, head for the\n"
.string "LINK MULTI BATTLE ROOM.\p"
.string "If you play with a strong friend,\n"
.string "you can expect to see tough foes!$"
-BattleFrontier_Lounge2_Text_261C9C:: @ 8261C9C
+BattleFrontier_Lounge2_Text_NewsGatheringPower:: @ 8261C9C
.string "What amazing news-gathering power!\n"
.string "My mentor's like none other!$"
-BattleFrontier_Lounge2_Text_261CDC:: @ 8261CDC
+BattleFrontier_Lounge2_Text_AmazingPowersOfObservation:: @ 8261CDC
.string "What amazing powers of observation!\n"
.string "My mentor's like none other!$"
-BattleFrontier_Lounge2_Text_261D1D:: @ 8261D1D
+BattleFrontier_Lounge2_Text_AmazingPowerOfPersuasion:: @ 8261D1D
.string "What amazing power of persuasion!\n"
.string "My mentor's like none other!$"
-BattleFrontier_Lounge2_Text_261D5C:: @ 8261D5C
+BattleFrontier_Lounge2_Text_ThisPlaceIsScaringMe:: @ 8261D5C
.string "…What is this place?\n"
.string "It's scaring me…$"
diff --git a/data/maps/BattleFrontier_Lounge3/map.json b/data/maps/BattleFrontier_Lounge3/map.json
index 5ff702a86..843fc6e10 100644
--- a/data/maps/BattleFrontier_Lounge3/map.json
+++ b/data/maps/BattleFrontier_Lounge3/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge3_EventScript_261D83",
+ "script": "BattleFrontier_Lounge3_EventScript_Gambler",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge3_EventScript_261FE1",
+ "script": "BattleFrontier_Lounge3_EventScript_FatMan",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge3_EventScript_261FC1",
+ "script": "BattleFrontier_Lounge3_EventScript_Woman",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge3_EventScript_261FD1",
+ "script": "BattleFrontier_Lounge3_EventScript_PokefanF",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge3_EventScript_261FB8",
+ "script": "BattleFrontier_Lounge3_EventScript_Man",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_Lounge3/scripts.inc b/data/maps/BattleFrontier_Lounge3/scripts.inc
index 892c6ef81..e892ad3ea 100644
--- a/data/maps/BattleFrontier_Lounge3/scripts.inc
+++ b/data/maps/BattleFrontier_Lounge3/scripts.inc
@@ -1,81 +1,85 @@
BattleFrontier_Lounge3_MapScripts:: @ 8261D82
.byte 0
-BattleFrontier_Lounge3_EventScript_261D83:: @ 8261D83
+ .set BET_AMOUNT_5, 5
+ .set BET_AMOUNT_10, 10
+ .set BET_AMOUNT_15, 15
+
+BattleFrontier_Lounge3_EventScript_Gambler:: @ 8261D83
lock
faceplayer
- goto_if_set FLAG_MET_BATTLE_FRONTIER_BETTOR, BattleFrontier_Lounge3_EventScript_261EF9
- call BattleFrontier_Lounge3_EventScript_261EA0
+ goto_if_set FLAG_MET_BATTLE_FRONTIER_GAMBLER, BattleFrontier_Lounge3_EventScript_AlreadyMetGambler
+ call BattleFrontier_Lounge3_EventScript_CountSilverSymbols
compare VAR_0x8004, 2
- goto_if_le BattleFrontier_Lounge3_EventScript_261EEB
- setflag FLAG_MET_BATTLE_FRONTIER_BETTOR
- msgbox BattleFrontier_Lounge3_Text_262061, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge3_EventScript_261DAF
+ goto_if_le BattleFrontier_Lounge3_EventScript_NotEnoughSilverSymbols
+ setflag FLAG_MET_BATTLE_FRONTIER_GAMBLER
+ msgbox BattleFrontier_Lounge3_Text_YouLookToughExplainGambling, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge3_EventScript_AskToEnterChallenge
end
-BattleFrontier_Lounge3_EventScript_261DAF:: @ 8261DAF
+BattleFrontier_Lounge3_EventScript_AskToEnterChallenge:: @ 8261DAF
special ShowFrontierGamblerLookingMessage
waitmessage
waitbuttonpress
- msgbox BattleFrontier_Lounge3_Text_262A60, MSGBOX_YESNO
+ msgbox BattleFrontier_Lounge3_Text_HowAboutEnteringEventForMe, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
- msgbox BattleFrontier_Lounge3_Text_262ABD, MSGBOX_YESNO
+ goto_if_eq BattleFrontier_Lounge3_EventScript_DeclineChallenge
+ msgbox BattleFrontier_Lounge3_Text_SpotMeSomeBattlePoints, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
- message BattleFrontier_Lounge3_Text_262B42
+ goto_if_eq BattleFrontier_Lounge3_EventScript_DeclineChallenge
+ message BattleFrontier_Lounge3_Text_HowMuchCanYouSpot
waitmessage
special ShowBattlePointsWindow
- goto BattleFrontier_Lounge3_EventScript_261DE9
+ goto BattleFrontier_Lounge3_EventScript_ChooseBetAmount
end
-BattleFrontier_Lounge3_EventScript_261DE9:: @ 8261DE9
+BattleFrontier_Lounge3_EventScript_ChooseBetAmount:: @ 8261DE9
multichoice 20, 4, MULTI_FRONTIER_GAMBLER_BET, 0
copyvar VAR_FRONTIER_GAMBLER_AMOUNT_BET, VAR_RESULT
switch VAR_RESULT
- case FRONTIER_GAMBLER_BET_5, BattleFrontier_Lounge3_EventScript_261E30
- case FRONTIER_GAMBLER_BET_10, BattleFrontier_Lounge3_EventScript_261E3B
- case FRONTIER_GAMBLER_BET_15, BattleFrontier_Lounge3_EventScript_261E46
- case FRONTIER_GAMBLER_BET_CANCEL, BattleFrontier_Lounge3_EventScript_261FAF
- case MULTI_B_PRESSED, BattleFrontier_Lounge3_EventScript_261FAF
+ case FRONTIER_GAMBLER_BET_5, BattleFrontier_Lounge3_EventScript_Bet5
+ case FRONTIER_GAMBLER_BET_10, BattleFrontier_Lounge3_EventScript_Bet10
+ case FRONTIER_GAMBLER_BET_15, BattleFrontier_Lounge3_EventScript_Bet15
+ case FRONTIER_GAMBLER_BET_CANCEL, BattleFrontier_Lounge3_EventScript_CancelBet
+ case MULTI_B_PRESSED, BattleFrontier_Lounge3_EventScript_CancelBet
end
-BattleFrontier_Lounge3_EventScript_261E30:: @ 8261E30
- setvar VAR_0x8008, 5
- goto BattleFrontier_Lounge3_EventScript_261E51
+BattleFrontier_Lounge3_EventScript_Bet5:: @ 8261E30
+ setvar VAR_0x8008, BET_AMOUNT_5
+ goto BattleFrontier_Lounge3_EventScript_TryPlaceBet
end
-BattleFrontier_Lounge3_EventScript_261E3B:: @ 8261E3B
- setvar VAR_0x8008, 10
- goto BattleFrontier_Lounge3_EventScript_261E51
+BattleFrontier_Lounge3_EventScript_Bet10:: @ 8261E3B
+ setvar VAR_0x8008, BET_AMOUNT_10
+ goto BattleFrontier_Lounge3_EventScript_TryPlaceBet
end
-BattleFrontier_Lounge3_EventScript_261E46:: @ 8261E46
- setvar VAR_0x8008, 15
- goto BattleFrontier_Lounge3_EventScript_261E51
+BattleFrontier_Lounge3_EventScript_Bet15:: @ 8261E46
+ setvar VAR_0x8008, BET_AMOUNT_15
+ goto BattleFrontier_Lounge3_EventScript_TryPlaceBet
end
-BattleFrontier_Lounge3_EventScript_261E51:: @ 8261E51
+BattleFrontier_Lounge3_EventScript_TryPlaceBet:: @ 8261E51
specialvar VAR_TEMP_1, GetFrontierBattlePoints
compare VAR_TEMP_1, VAR_0x8008
- goto_if_ge BattleFrontier_Lounge3_EventScript_261E75
- msgbox BattleFrontier_Lounge3_Text_262B6E, MSGBOX_DEFAULT
- message BattleFrontier_Lounge3_Text_262B42
+ goto_if_ge BattleFrontier_Lounge3_EventScript_PlaceBet
+ msgbox BattleFrontier_Lounge3_Text_YouDontHaveEnoughPoints, MSGBOX_DEFAULT
+ message BattleFrontier_Lounge3_Text_HowMuchCanYouSpot
waitmessage
- goto BattleFrontier_Lounge3_EventScript_261DE9
+ goto BattleFrontier_Lounge3_EventScript_ChooseBetAmount
end
-BattleFrontier_Lounge3_EventScript_261E75:: @ 8261E75
+BattleFrontier_Lounge3_EventScript_PlaceBet:: @ 8261E75
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
setvar VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_PLACED_BET
special UpdateBattlePointsWindow
playse SE_REGI
- msgbox BattleFrontier_Lounge3_Text_262BE0, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge3_EventScript_261E96
+ msgbox BattleFrontier_Lounge3_Text_ThanksOffYouGo, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge3_EventScript_FinishBet
end
-BattleFrontier_Lounge3_EventScript_261E96:: @ 8261E96
+BattleFrontier_Lounge3_EventScript_FinishBet:: @ 8261E96
special ShowFrontierGamblerGoMessage
waitmessage
waitbuttonpress
@@ -83,132 +87,132 @@ BattleFrontier_Lounge3_EventScript_261E96:: @ 8261E96
release
end
-BattleFrontier_Lounge3_EventScript_261EA0:: @ 8261EA0
+BattleFrontier_Lounge3_EventScript_CountSilverSymbols:: @ 8261EA0
setvar VAR_0x8004, 0
- call_if_set FLAG_SYS_TOWER_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
- call_if_set FLAG_SYS_DOME_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
- call_if_set FLAG_SYS_PALACE_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
- call_if_set FLAG_SYS_ARENA_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
- call_if_set FLAG_SYS_FACTORY_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
- call_if_set FLAG_SYS_PIKE_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
- call_if_set FLAG_SYS_PYRAMID_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
+ call_if_set FLAG_SYS_TOWER_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
+ call_if_set FLAG_SYS_DOME_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
+ call_if_set FLAG_SYS_PALACE_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
+ call_if_set FLAG_SYS_ARENA_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
+ call_if_set FLAG_SYS_FACTORY_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
+ call_if_set FLAG_SYS_PIKE_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
+ call_if_set FLAG_SYS_PYRAMID_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
return
-BattleFrontier_Lounge3_EventScript_261EE5:: @ 8261EE5
+BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount:: @ 8261EE5
addvar VAR_0x8004, 1
return
-BattleFrontier_Lounge3_EventScript_261EEB:: @ 8261EEB
- msgbox BattleFrontier_Lounge3_Text_261FFE, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge3_EventScript_261FF1
+BattleFrontier_Lounge3_EventScript_NotEnoughSilverSymbols:: @ 8261EEB
+ msgbox BattleFrontier_Lounge3_Text_CantYouSeeWereBusyHere, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
end
-BattleFrontier_Lounge3_EventScript_261EF9:: @ 8261EF9
- msgbox BattleFrontier_Lounge3_Text_26346B, MSGBOX_DEFAULT
+BattleFrontier_Lounge3_EventScript_AlreadyMetGambler:: @ 8261EF9
+ msgbox BattleFrontier_Lounge3_Text_Oh, MSGBOX_DEFAULT
compare VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_PLACED_BET
- goto_if_ge BattleFrontier_Lounge3_EventScript_261F12
- goto BattleFrontier_Lounge3_EventScript_261DAF
+ goto_if_ge BattleFrontier_Lounge3_EventScript_CheckBetResults
+ goto BattleFrontier_Lounge3_EventScript_AskToEnterChallenge
end
-BattleFrontier_Lounge3_EventScript_261F12:: @ 8261F12
+BattleFrontier_Lounge3_EventScript_CheckBetResults:: @ 8261F12
compare VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_PLACED_BET
- goto_if_eq BattleFrontier_Lounge3_EventScript_261F9E
+ goto_if_eq BattleFrontier_Lounge3_EventScript_ChallengeNotAttempted
compare VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_WON
- goto_if_eq BattleFrontier_Lounge3_EventScript_261F2E
- goto BattleFrontier_Lounge3_EventScript_261F71
+ goto_if_eq BattleFrontier_Lounge3_EventScript_WonChallenge
+ goto BattleFrontier_Lounge3_EventScript_LostChallenge
end
-BattleFrontier_Lounge3_EventScript_261F2E:: @ 8261F2E
- msgbox BattleFrontier_Lounge3_Text_263334, MSGBOX_DEFAULT
+BattleFrontier_Lounge3_EventScript_WonChallenge:: @ 8261F2E
+ msgbox BattleFrontier_Lounge3_Text_HelloChampHeresYourPoints, MSGBOX_DEFAULT
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, FRONTIER_GAMBLER_BET_5
- call_if_eq BattleFrontier_Lounge3_EventScript_261F80
+ call_if_eq BattleFrontier_Lounge3_EventScript_RewardBet5
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, FRONTIER_GAMBLER_BET_10
- call_if_eq BattleFrontier_Lounge3_EventScript_261F8A
+ call_if_eq BattleFrontier_Lounge3_EventScript_RewardBet10
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, FRONTIER_GAMBLER_BET_15
- call_if_eq BattleFrontier_Lounge3_EventScript_261F94
- msgbox BattleFrontier_Lounge3_Text_2633D4, 9
+ call_if_eq BattleFrontier_Lounge3_EventScript_RewardBet15
+ msgbox BattleFrontier_Lounge3_Text_ObtainedBattlePoints, MSGBOX_GETPOINTS
special GiveFrontierBattlePoints
- msgbox BattleFrontier_Lounge3_Text_2633F2, MSGBOX_DEFAULT
+ msgbox BattleFrontier_Lounge3_Text_ThinkOfMeForAnotherChallenge, MSGBOX_DEFAULT
setvar VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_WAITING
release
end
-BattleFrontier_Lounge3_EventScript_261F71:: @ 8261F71
- msgbox BattleFrontier_Lounge3_Text_263298, MSGBOX_DEFAULT
+BattleFrontier_Lounge3_EventScript_LostChallenge:: @ 8261F71
+ msgbox BattleFrontier_Lounge3_Text_NiceTryCantReturnPoints, MSGBOX_DEFAULT
setvar VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_WAITING
release
end
-BattleFrontier_Lounge3_EventScript_261F80:: @ 8261F80
- buffernumberstring 0, 10
- setvar VAR_0x8004, 10
+BattleFrontier_Lounge3_EventScript_RewardBet5:: @ 8261F80
+ buffernumberstring 0, (BET_AMOUNT_5 * 2)
+ setvar VAR_0x8004, (BET_AMOUNT_5 * 2)
return
-BattleFrontier_Lounge3_EventScript_261F8A:: @ 8261F8A
- buffernumberstring 0, 20
- setvar VAR_0x8004, 20
+BattleFrontier_Lounge3_EventScript_RewardBet10:: @ 8261F8A
+ buffernumberstring 0, (BET_AMOUNT_10 * 2)
+ setvar VAR_0x8004, (BET_AMOUNT_10 * 2)
return
-BattleFrontier_Lounge3_EventScript_261F94:: @ 8261F94
- buffernumberstring 0, 30
- setvar VAR_0x8004, 30
+BattleFrontier_Lounge3_EventScript_RewardBet15:: @ 8261F94
+ buffernumberstring 0, (BET_AMOUNT_15 * 2)
+ setvar VAR_0x8004, (BET_AMOUNT_15 * 2)
return
-BattleFrontier_Lounge3_EventScript_261F9E:: @ 8261F9E
+BattleFrontier_Lounge3_EventScript_ChallengeNotAttempted:: @ 8261F9E
special ShowFrontierGamblerGoMessage
waitmessage
waitbuttonpress
release
end
-BattleFrontier_Lounge3_EventScript_261FA5:: @ 8261FA5
- msgbox BattleFrontier_Lounge3_Text_26342D, MSGBOX_DEFAULT
+BattleFrontier_Lounge3_EventScript_DeclineChallenge:: @ 8261FA5
+ msgbox BattleFrontier_Lounge3_Text_NotInterested, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge3_EventScript_261FAF:: @ 8261FAF
+BattleFrontier_Lounge3_EventScript_CancelBet:: @ 8261FAF
special CloseBattlePointsWindow
- goto BattleFrontier_Lounge3_EventScript_261FA5
+ goto BattleFrontier_Lounge3_EventScript_DeclineChallenge
end
-BattleFrontier_Lounge3_EventScript_261FB8:: @ 8261FB8
- msgbox BattleFrontier_Lounge3_Text_263545, MSGBOX_NPC
+BattleFrontier_Lounge3_EventScript_Man:: @ 8261FB8
+ msgbox BattleFrontier_Lounge3_Text_ShouldBeTakingChallenges, MSGBOX_NPC
end
-BattleFrontier_Lounge3_EventScript_261FC1:: @ 8261FC1
+BattleFrontier_Lounge3_EventScript_Woman:: @ 8261FC1
lock
faceplayer
- msgbox BattleFrontier_Lounge3_Text_26346F, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge3_EventScript_261FF1
+ msgbox BattleFrontier_Lounge3_Text_BackedWrongTrainer, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
end
-BattleFrontier_Lounge3_EventScript_261FD1:: @ 8261FD1
+BattleFrontier_Lounge3_EventScript_PokefanF:: @ 8261FD1
lock
faceplayer
- msgbox BattleFrontier_Lounge3_Text_26351D, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge3_EventScript_261FF1
+ msgbox BattleFrontier_Lounge3_Text_KnowWinnerWhenISeeOne, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
end
-BattleFrontier_Lounge3_EventScript_261FE1:: @ 8261FE1
+BattleFrontier_Lounge3_EventScript_FatMan:: @ 8261FE1
lock
faceplayer
- msgbox BattleFrontier_Lounge3_Text_2634C9, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge3_EventScript_261FF1
+ msgbox BattleFrontier_Lounge3_Text_TrainerGoodButRattled, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
end
-BattleFrontier_Lounge3_EventScript_261FF1:: @ 8261FF1
+BattleFrontier_Lounge3_EventScript_FaceOriginalDirection:: @ 8261FF1
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
-BattleFrontier_Lounge3_Text_261FFE:: @ 8261FFE
+BattleFrontier_Lounge3_Text_CantYouSeeWereBusyHere:: @ 8261FFE
.string "…What's that you want?\p"
.string "Can't you see we're kind of busy here?\n"
.string "Can't your business wait till later?$"
-BattleFrontier_Lounge3_Text_262061:: @ 8262061
+BattleFrontier_Lounge3_Text_YouLookToughExplainGambling:: @ 8262061
.string "…Huh?\n"
.string "You look to me like a tough TRAINER.\p"
.string "Heheh…\n"
@@ -228,201 +232,201 @@ BattleFrontier_Lounge3_Text_262061:: @ 8262061
.string "Sounds simple, huh?\n"
.string "So, anyway…$"
-BattleFrontier_Lounge3_Text_262261:: @ 8262261
+BattleFrontier_Lounge3_Text_ChallengeBattleTowerSingle:: @ 8262261
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "TOWER's SINGLE BATTLE ROOMS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_26230D:: @ 826230D
+BattleFrontier_Lounge3_Text_ChallengeBattleTowerDouble:: @ 826230D
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "TOWER's DOUBLE BATTLE ROOMS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_2623B9:: @ 82623B9
+BattleFrontier_Lounge3_Text_ChallengeBattleTowerMulti:: @ 82623B9
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "TOWER's MULTI BATTLE ROOMS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_262464:: @ 8262464
+BattleFrontier_Lounge3_Text_ChallengeBattleDomeSingle:: @ 8262464
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "DOME's SINGLE BATTLE Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_26250E:: @ 826250E
+BattleFrontier_Lounge3_Text_ChallengeBattleDomeDouble:: @ 826250E
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "DOME's DOUBLE BATTLE Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_2625B8:: @ 82625B8
+BattleFrontier_Lounge3_Text_ChallengeBattleFactorySingle:: @ 82625B8
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "FACTORY's Battle Swap Single Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_26266A:: @ 826266A
+BattleFrontier_Lounge3_Text_ChallengeBattleFactoryDouble:: @ 826266A
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "FACTORY's Battle Swap Double Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_26271C:: @ 826271C
+BattleFrontier_Lounge3_Text_ChallengeBattlePalaceSingle:: @ 826271C
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "PALACE's SINGLE BATTLE HALLS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_2627C9:: @ 82627C9
+BattleFrontier_Lounge3_Text_ChallengeBattlePalaceDouble:: @ 82627C9
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "PALACE's DOUBLE BATTLE HALLS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_262876:: @ 8262876
+BattleFrontier_Lounge3_Text_ChallengeBattleArena:: @ 8262876
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "ARENA's Set KO Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_26291A:: @ 826291A
+BattleFrontier_Lounge3_Text_ChallengeBattlePike:: @ 826291A
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE PIKE's\l"
.string "Battle Choice.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_2629BC:: @ 82629BC
+BattleFrontier_Lounge3_Text_ChallengeBattlePyramid:: @ 82629BC
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "PYRAMID's Battle Quest.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
-BattleFrontier_Lounge3_Text_262A60:: @ 8262A60
+BattleFrontier_Lounge3_Text_HowAboutEnteringEventForMe:: @ 8262A60
.string "I'll see to it that you benefit, too.\n"
.string "So how about it?\l"
.string "How about entering that event for me?$"
-BattleFrontier_Lounge3_Text_262ABD:: @ 8262ABD
+BattleFrontier_Lounge3_Text_SpotMeSomeBattlePoints:: @ 8262ABD
.string "All right, that's perfect.\n"
.string "So, uh… How about spotting me some\l"
.string "of your Battle Points?\p"
.string "Trust me, I'll show you my gratitude\n"
.string "afterward.$"
-BattleFrontier_Lounge3_Text_262B42:: @ 8262B42
+BattleFrontier_Lounge3_Text_HowMuchCanYouSpot:: @ 8262B42
.string "Great, great!\n"
.string "So, how much can you spot me?$"
-BattleFrontier_Lounge3_Text_262B6E:: @ 8262B6E
+BattleFrontier_Lounge3_Text_YouDontHaveEnoughPoints:: @ 8262B6E
.string "Oh, no, no, no!\n"
.string "You don't have enough Battle Points!\p"
.string "I wish you wouldn't monkey around and\n"
.string "waste everyone's time!$"
-BattleFrontier_Lounge3_Text_262BE0:: @ 8262BE0
+BattleFrontier_Lounge3_Text_ThanksOffYouGo:: @ 8262BE0
.string "Heheh! Thanks much!\n"
.string "So, off you go!$"
-BattleFrontier_Lounge3_Text_262C04:: @ 8262C04
+BattleFrontier_Lounge3_Text_GetToBattleTowerSingle:: @ 8262C04
.string "Get to the BATTLE TOWER's\n"
.string "SINGLE BATTLE ROOMS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_262C90:: @ 8262C90
+BattleFrontier_Lounge3_Text_GetToBattleTowerDouble:: @ 8262C90
.string "Get to the BATTLE TOWER's\n"
.string "DOUBLE BATTLE ROOMS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_262D1C:: @ 8262D1C
+BattleFrontier_Lounge3_Text_GetToBattleTowerMulti:: @ 8262D1C
.string "Get to the BATTLE TOWER's\n"
.string "MULTI BATTLE ROOMS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_262DA7:: @ 8262DA7
+BattleFrontier_Lounge3_Text_GetToBattleDomeSingle:: @ 8262DA7
.string "Get to the BATTLE DOME's\n"
.string "SINGLE BATTLE Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_262E34:: @ 8262E34
+BattleFrontier_Lounge3_Text_GetToBattleDomeDouble:: @ 8262E34
.string "Get to the BATTLE DOME's\n"
.string "DOUBLE BATTLE Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_262EC1:: @ 8262EC1
+BattleFrontier_Lounge3_Text_GetToBattleFactorySingle:: @ 8262EC1
.string "Get to the BATTLE FACTORY's\n"
.string "Battle Swap Single Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_262F56:: @ 8262F56
+BattleFrontier_Lounge3_Text_GetToBattleFactoryDouble:: @ 8262F56
.string "Get to the BATTLE FACTORY's\n"
.string "Battle Swap Double Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_262FEB:: @ 8262FEB
+BattleFrontier_Lounge3_Text_GetToBattlePalaceSingle:: @ 8262FEB
.string "Get to the BATTLE PALACE's\n"
.string "SINGLE BATTLE HALLS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_263078:: @ 8263078
+BattleFrontier_Lounge3_Text_GetToBattlePalaceDouble:: @ 8263078
.string "Get to the BATTLE PALACE's\n"
.string "DOUBLE BATTLE HALLS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_263105:: @ 8263105
+BattleFrontier_Lounge3_Text_GetToBattleArena:: @ 8263105
.string "Get to the BATTLE ARENA's\n"
.string "Set KO Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_26318C:: @ 826318C
+BattleFrontier_Lounge3_Text_GetToBattlePike:: @ 826318C
.string "Get to the BATTLE PIKE's\n"
.string "Battle Choice pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_263211:: @ 8263211
+BattleFrontier_Lounge3_Text_GetToBattlePyramid:: @ 8263211
.string "Get to the BATTLE PYRAMID's\n"
.string "Battle Quest pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
-BattleFrontier_Lounge3_Text_263298:: @ 8263298
+BattleFrontier_Lounge3_Text_NiceTryCantReturnPoints:: @ 8263298
.string "Oh, it's you…\n"
.string "Nice try…\p"
.string "I hate to break it to you, but I can't\n"
@@ -430,7 +434,7 @@ BattleFrontier_Lounge3_Text_263298:: @ 8263298
.string "I guess we'll have to let it motivate\n"
.string "us to try harder next time!$"
-BattleFrontier_Lounge3_Text_263334:: @ 8263334
+BattleFrontier_Lounge3_Text_HelloChampHeresYourPoints:: @ 8263334
.string "Oh, yes!\n"
.string "Hello there, champ!\p"
.string "I knew you could!\n"
@@ -439,36 +443,36 @@ BattleFrontier_Lounge3_Text_263334:: @ 8263334
.string "I'll return your Battle Points and,\n"
.string "of course, a little extra from me!$"
-BattleFrontier_Lounge3_Text_2633D4:: @ 82633D4
+BattleFrontier_Lounge3_Text_ObtainedBattlePoints:: @ 82633D4
.string "{PLAYER} obtained\n"
.string "{STR_VAR_1} Battle Points.$"
-BattleFrontier_Lounge3_Text_2633F2:: @ 82633F2
+BattleFrontier_Lounge3_Text_ThinkOfMeForAnotherChallenge:: @ 82633F2
.string "If you're up for another challenge,\n"
.string "please do think of me!$"
-BattleFrontier_Lounge3_Text_26342D:: @ 826342D
+BattleFrontier_Lounge3_Text_NotInterested:: @ 826342D
.string "Not interested?! You shouldn't be\n"
.string "so afraid to take a chance!$"
-BattleFrontier_Lounge3_Text_26346B:: @ 826346B
+BattleFrontier_Lounge3_Text_Oh:: @ 826346B
.string "Oh…$"
-BattleFrontier_Lounge3_Text_26346F:: @ 826346F
+BattleFrontier_Lounge3_Text_BackedWrongTrainer:: @ 826346F
.string "I backed the wrong TRAINER again!\p"
.string "Maybe I should be battling normally\n"
.string "like everyone else…$"
-BattleFrontier_Lounge3_Text_2634C9:: @ 82634C9
+BattleFrontier_Lounge3_Text_TrainerGoodButRattled:: @ 82634C9
.string "That TRAINER…\p"
.string "He's good, but he gets rattled too\n"
.string "easily to survive the BATTLE DOME…$"
-BattleFrontier_Lounge3_Text_26351D:: @ 826351D
+BattleFrontier_Lounge3_Text_KnowWinnerWhenISeeOne:: @ 826351D
.string "Giggle!\n"
.string "I know a winner when I see one!$"
-BattleFrontier_Lounge3_Text_263545:: @ 8263545
+BattleFrontier_Lounge3_Text_ShouldBeTakingChallenges:: @ 8263545
.string "Those TRAINERS…\n"
.string "What are they doing?\l"
.string "They should be taking challenges.$"
diff --git a/data/maps/BattleFrontier_Lounge4/map.json b/data/maps/BattleFrontier_Lounge4/map.json
index b67d3bb07..0c86ccf3c 100644
--- a/data/maps/BattleFrontier_Lounge4/map.json
+++ b/data/maps/BattleFrontier_Lounge4/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge4_EventScript_26358D",
+ "script": "BattleFrontier_Lounge4_EventScript_Woman",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge4_EventScript_263596",
+ "script": "BattleFrontier_Lounge4_EventScript_Cook",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge4_EventScript_26359F",
+ "script": "BattleFrontier_Lounge4_EventScript_Man",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_Lounge4/scripts.inc b/data/maps/BattleFrontier_Lounge4/scripts.inc
index 407720915..6da60d30f 100644
--- a/data/maps/BattleFrontier_Lounge4/scripts.inc
+++ b/data/maps/BattleFrontier_Lounge4/scripts.inc
@@ -1,27 +1,27 @@
BattleFrontier_Lounge4_MapScripts:: @ 826358C
.byte 0
-BattleFrontier_Lounge4_EventScript_26358D:: @ 826358D
- msgbox BattleFrontier_Lounge4_Text_2635A8, MSGBOX_NPC
+BattleFrontier_Lounge4_EventScript_Woman:: @ 826358D
+ msgbox BattleFrontier_Lounge4_Text_WonderIfInterviewsAiring, MSGBOX_NPC
end
-BattleFrontier_Lounge4_EventScript_263596:: @ 8263596
- msgbox BattleFrontier_Lounge4_Text_2635EC, MSGBOX_NPC
+BattleFrontier_Lounge4_EventScript_Cook:: @ 8263596
+ msgbox BattleFrontier_Lounge4_Text_IfIOpenedRestaurantHere, MSGBOX_NPC
end
-BattleFrontier_Lounge4_EventScript_26359F:: @ 826359F
- msgbox BattleFrontier_Lounge4_Text_263625, MSGBOX_NPC
+BattleFrontier_Lounge4_EventScript_Man:: @ 826359F
+ msgbox BattleFrontier_Lounge4_Text_NeedBreatherAfterBattles, MSGBOX_NPC
end
-BattleFrontier_Lounge4_Text_2635A8: @ 82635A8
+BattleFrontier_Lounge4_Text_WonderIfInterviewsAiring: @ 82635A8
.string "I wonder if they'll be airing interviews\n"
.string "with tough TRAINERS today?$"
-BattleFrontier_Lounge4_Text_2635EC: @ 82635EC
+BattleFrontier_Lounge4_Text_IfIOpenedRestaurantHere: @ 82635EC
.string "If I opened a restaurant here,\n"
.string "it'd make money for sure.$"
-BattleFrontier_Lounge4_Text_263625: @ 8263625
+BattleFrontier_Lounge4_Text_NeedBreatherAfterBattles: @ 8263625
.string "Whew…\p"
.string "I need to take a breather after\n"
.string "some intense battles…\p"
diff --git a/data/maps/BattleFrontier_Lounge5/map.json b/data/maps/BattleFrontier_Lounge5/map.json
index 3847e6691..6d9eab35f 100644
--- a/data/maps/BattleFrontier_Lounge5/map.json
+++ b/data/maps/BattleFrontier_Lounge5/map.json
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge5_EventScript_264617",
+ "script": "BattleFrontier_Lounge5_EventScript_Gentleman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge5_EventScript_264620",
+ "script": "BattleFrontier_Lounge5_EventScript_BlackBelt",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge5_EventScript_264629",
+ "script": "BattleFrontier_Lounge5_EventScript_LittleBoy",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_Lounge5/scripts.inc b/data/maps/BattleFrontier_Lounge5/scripts.inc
index a801cb107..3df294fb1 100644
--- a/data/maps/BattleFrontier_Lounge5/scripts.inc
+++ b/data/maps/BattleFrontier_Lounge5/scripts.inc
@@ -32,16 +32,16 @@ BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown:: @ 826460D
release
end
-BattleFrontier_Lounge5_EventScript_264617:: @ 8264617
- msgbox BattleFrontier_Lounge5_Text_264F22, MSGBOX_NPC
+BattleFrontier_Lounge5_EventScript_Gentleman:: @ 8264617
+ msgbox BattleFrontier_Lounge5_Text_LadyClaimsSheUnderstandsPokemon, MSGBOX_NPC
end
-BattleFrontier_Lounge5_EventScript_264620:: @ 8264620
- msgbox BattleFrontier_Lounge5_Text_264F64, MSGBOX_NPC
+BattleFrontier_Lounge5_EventScript_BlackBelt:: @ 8264620
+ msgbox BattleFrontier_Lounge5_Text_GirlSayingSomethingProfound, MSGBOX_NPC
end
-BattleFrontier_Lounge5_EventScript_264629:: @ 8264629
- msgbox BattleFrontier_Lounge5_Text_264FAB, MSGBOX_NPC
+BattleFrontier_Lounge5_EventScript_LittleBoy:: @ 8264629
+ msgbox BattleFrontier_Lounge5_Text_GirlPlaysAtRedHouseALot, MSGBOX_NPC
end
BattleFrontier_Lounge5_Text_NatureGirlGreeting:: @ 8264632
@@ -190,16 +190,16 @@ BattleFrontier_Lounge5_Text_NatureGirlEgg:: @ 8264EEE
.string "That's silly! An EGG is asleep!\n"
.string "I can't talk to it!$"
-BattleFrontier_Lounge5_Text_264F22:: @ 8264F22
+BattleFrontier_Lounge5_Text_LadyClaimsSheUnderstandsPokemon:: @ 8264F22
.string "How charming!\n"
.string "That little lady claims she can\l"
.string "understand POKéMON!$"
-BattleFrontier_Lounge5_Text_264F64:: @ 8264F64
+BattleFrontier_Lounge5_Text_GirlSayingSomethingProfound:: @ 8264F64
.string "I have this feeling that the little girl\n"
.string "is saying something profound.$"
-BattleFrontier_Lounge5_Text_264FAB:: @ 8264FAB
+BattleFrontier_Lounge5_Text_GirlPlaysAtRedHouseALot:: @ 8264FAB
.string "I know something!\p"
.string "That little girl plays at the red house\n"
.string "a lot!$"
diff --git a/data/maps/BattleFrontier_Lounge6/map.json b/data/maps/BattleFrontier_Lounge6/map.json
index 1ecbec9f8..5888ea7c0 100644
--- a/data/maps/BattleFrontier_Lounge6/map.json
+++ b/data/maps/BattleFrontier_Lounge6/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge6_EventScript_264FED",
+ "script": "BattleFrontier_Lounge6_EventScript_Trader",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_Lounge6/scripts.inc b/data/maps/BattleFrontier_Lounge6/scripts.inc
index 09690c8d3..34ca00073 100644
--- a/data/maps/BattleFrontier_Lounge6/scripts.inc
+++ b/data/maps/BattleFrontier_Lounge6/scripts.inc
@@ -1,54 +1,54 @@
BattleFrontier_Lounge6_MapScripts:: @ 8264FEC
.byte 0
-BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED
+BattleFrontier_Lounge6_EventScript_Trader:: @ 8264FED
lock
faceplayer
- goto_if_set FLAG_BATTLE_FRONTIER_TRADE_DONE, BattleFrontier_Lounge6_EventScript_265083
+ goto_if_set FLAG_BATTLE_FRONTIER_TRADE_DONE, BattleFrontier_Lounge6_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_MEOWTH
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
- msgbox BattleFrontier_Lounge6_Text_26508D, MSGBOX_YESNO
+ msgbox BattleFrontier_Lounge6_Text_WouldYouLikeToTrade, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
+ goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
- goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
+ goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
- goto_if_ne BattleFrontier_Lounge6_EventScript_265075
+ goto_if_ne BattleFrontier_Lounge6_EventScript_NotRequestedMon
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
- msgbox BattleFrontier_Lounge6_Text_265128, MSGBOX_DEFAULT
+ msgbox BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt, MSGBOX_DEFAULT
setflag FLAG_BATTLE_FRONTIER_TRADE_DONE
release
end
-BattleFrontier_Lounge6_EventScript_26506B:: @ 826506B
- msgbox BattleFrontier_Lounge6_Text_2651CB, MSGBOX_DEFAULT
+BattleFrontier_Lounge6_EventScript_DeclineTrade:: @ 826506B
+ msgbox BattleFrontier_Lounge6_Text_WellThatsFineToo, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge6_EventScript_265075:: @ 8265075
+BattleFrontier_Lounge6_EventScript_NotRequestedMon:: @ 8265075
bufferspeciesname 0, VAR_0x8009
- msgbox BattleFrontier_Lounge6_Text_26518D, MSGBOX_DEFAULT
+ msgbox BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge6_EventScript_265083:: @ 8265083
- msgbox BattleFrontier_Lounge6_Text_26520E, MSGBOX_DEFAULT
+BattleFrontier_Lounge6_EventScript_TradeCompleted:: @ 8265083
+ msgbox BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge6_Text_26508D: @ 826508D
+BattleFrontier_Lounge6_Text_WouldYouLikeToTrade: @ 826508D
.string "My POKéMON is a {STR_VAR_2}.\n"
.string "Do you know it?\l"
.string "It's quite cute and rather nice.\p"
@@ -57,24 +57,24 @@ BattleFrontier_Lounge6_Text_26508D: @ 826508D
.string "Would you like to trade me a {STR_VAR_1}\n"
.string "for my {STR_VAR_2}?$"
-BattleFrontier_Lounge6_Text_265128: @ 8265128
+BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt: @ 8265128
.string "Oh, it's adorable!\n"
.string "Thank you!\l"
.string "I promise I'll be good to it!\p"
.string "Oh! I hope you'll be good to\n"
.string "my {STR_VAR_2}, too!$"
-BattleFrontier_Lounge6_Text_26518D: @ 826518D
+BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon: @ 826518D
.string "Oh, I'm sorry!\n"
.string "I don't intend to trade for anything\l"
.string "but a {STR_VAR_1}.$"
-BattleFrontier_Lounge6_Text_2651CB: @ 82651CB
+BattleFrontier_Lounge6_Text_WellThatsFineToo: @ 82651CB
.string "Oh, you won't?\n"
.string "Well, that's fine, too.\l"
.string "Please come visit us again.$"
-BattleFrontier_Lounge6_Text_26520E: @ 826520E
+BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined: @ 826520E
.string "Giggle!\n"
.string "A SKITTY is so much cuter than I had\l"
.string "imagined. I'm delighted!$"
diff --git a/data/maps/BattleFrontier_Lounge7/map.json b/data/maps/BattleFrontier_Lounge7/map.json
index da866ea72..5ebc789ba 100644
--- a/data/maps/BattleFrontier_Lounge7/map.json
+++ b/data/maps/BattleFrontier_Lounge7/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge7_EventScript_2656DB",
+ "script": "BattleFrontier_Lounge7_EventScript_Sailor",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge7_EventScript_265255",
+ "script": "BattleFrontier_Lounge7_EventScript_LeftMoveTutor",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge7_EventScript_265445",
+ "script": "BattleFrontier_Lounge7_EventScript_RightMoveTutor",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge7_EventScript_2656E4",
+ "script": "BattleFrontier_Lounge7_EventScript_Gentleman",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_Lounge7/scripts.inc b/data/maps/BattleFrontier_Lounge7/scripts.inc
index 3605b9bf1..97e41cd96 100644
--- a/data/maps/BattleFrontier_Lounge7/scripts.inc
+++ b/data/maps/BattleFrontier_Lounge7/scripts.inc
@@ -1,23 +1,23 @@
BattleFrontier_Lounge7_MapScripts:: @ 8265254
.byte 0
-BattleFrontier_Lounge7_EventScript_265255:: @ 8265255
+BattleFrontier_Lounge7_EventScript_LeftMoveTutor:: @ 8265255
lock
faceplayer
- setvar VAR_TEMP_C, 9
- goto_if_set FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_265276
- msgbox BattleFrontier_Lounge7_Text_2656ED, MSGBOX_DEFAULT
+ setvar VAR_TEMP_C, SCROLL_MULTI_BF_MOVE_TUTOR_1
+ goto_if_set FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_AlreadyMetLeftTutor
+ msgbox BattleFrontier_Lounge7_Text_LeftTutorIntro, MSGBOX_DEFAULT
setflag FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR
- goto BattleFrontier_Lounge7_EventScript_265284
+ goto BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove
end
-BattleFrontier_Lounge7_EventScript_265276:: @ 8265276
- msgbox BattleFrontier_Lounge7_Text_2658AB, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge7_EventScript_265284
+BattleFrontier_Lounge7_EventScript_AlreadyMetLeftTutor:: @ 8265276
+ msgbox BattleFrontier_Lounge7_Text_LeftTutorWelcomeBack, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove
end
-BattleFrontier_Lounge7_EventScript_265284:: @ 8265284
- message BattleFrontier_Lounge7_Text_2658EF
+BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove:: @ 8265284
+ message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
special ShowBattlePointsWindow
setvar VAR_TEMP_E, 0
@@ -27,22 +27,22 @@ BattleFrontier_Lounge7_EventScript_265284:: @ 8265284
waitstate
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
- case 0, BattleFrontier_Lounge7_EventScript_2653D7
- case 1, BattleFrontier_Lounge7_EventScript_2653E2
- case 2, BattleFrontier_Lounge7_EventScript_2653ED
- case 3, BattleFrontier_Lounge7_EventScript_2653F8
- case 4, BattleFrontier_Lounge7_EventScript_265403
- case 5, BattleFrontier_Lounge7_EventScript_26540E
- case 6, BattleFrontier_Lounge7_EventScript_265419
- case 7, BattleFrontier_Lounge7_EventScript_265424
- case 8, BattleFrontier_Lounge7_EventScript_26542F
- case 9, BattleFrontier_Lounge7_EventScript_26543A
- case 10, BattleFrontier_Lounge7_EventScript_265635
- case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_265635
- end
-
-BattleFrontier_Lounge7_EventScript_26532F:: @ 826532F
- message BattleFrontier_Lounge7_Text_2658EF
+ case 0, BattleFrontier_Lounge7_EventScript_Softboiled
+ case 1, BattleFrontier_Lounge7_EventScript_SeismicToss
+ case 2, BattleFrontier_Lounge7_EventScript_DreamEater
+ case 3, BattleFrontier_Lounge7_EventScript_MegaPunch
+ case 4, BattleFrontier_Lounge7_EventScript_MegaKick
+ case 5, BattleFrontier_Lounge7_EventScript_BodySlam
+ case 6, BattleFrontier_Lounge7_EventScript_RockSlide
+ case 7, BattleFrontier_Lounge7_EventScript_Counter
+ case 8, BattleFrontier_Lounge7_EventScript_ThunderWave
+ case 9, BattleFrontier_Lounge7_EventScript_SwordsDance
+ case 10, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
+ case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
+ end
+
+BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove:: @ 826532F
+ message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
setvar VAR_TEMP_E, 0
setvar VAR_0x8004, SCROLL_MULTI_BF_MOVE_TUTOR_1
@@ -51,87 +51,87 @@ BattleFrontier_Lounge7_EventScript_26532F:: @ 826532F
waitstate
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
- case 0, BattleFrontier_Lounge7_EventScript_2653D7
- case 1, BattleFrontier_Lounge7_EventScript_2653E2
- case 2, BattleFrontier_Lounge7_EventScript_2653ED
- case 3, BattleFrontier_Lounge7_EventScript_2653F8
- case 4, BattleFrontier_Lounge7_EventScript_265403
- case 5, BattleFrontier_Lounge7_EventScript_26540E
- case 6, BattleFrontier_Lounge7_EventScript_265419
- case 7, BattleFrontier_Lounge7_EventScript_265424
- case 8, BattleFrontier_Lounge7_EventScript_26542F
- case 9, BattleFrontier_Lounge7_EventScript_26543A
- case 10, BattleFrontier_Lounge7_EventScript_265635
- case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_265635
- end
-
-BattleFrontier_Lounge7_EventScript_2653D7:: @ 82653D7
+ case 0, BattleFrontier_Lounge7_EventScript_Softboiled
+ case 1, BattleFrontier_Lounge7_EventScript_SeismicToss
+ case 2, BattleFrontier_Lounge7_EventScript_DreamEater
+ case 3, BattleFrontier_Lounge7_EventScript_MegaPunch
+ case 4, BattleFrontier_Lounge7_EventScript_MegaKick
+ case 5, BattleFrontier_Lounge7_EventScript_BodySlam
+ case 6, BattleFrontier_Lounge7_EventScript_RockSlide
+ case 7, BattleFrontier_Lounge7_EventScript_Counter
+ case 8, BattleFrontier_Lounge7_EventScript_ThunderWave
+ case 9, BattleFrontier_Lounge7_EventScript_SwordsDance
+ case 10, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
+ case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
+ end
+
+BattleFrontier_Lounge7_EventScript_Softboiled:: @ 82653D7
setvar VAR_0x8008, 16
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_2653E2:: @ 82653E2
+BattleFrontier_Lounge7_EventScript_SeismicToss:: @ 82653E2
setvar VAR_0x8008, 24
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_2653ED:: @ 82653ED
+BattleFrontier_Lounge7_EventScript_DreamEater:: @ 82653ED
setvar VAR_0x8008, 24
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_2653F8:: @ 82653F8
+BattleFrontier_Lounge7_EventScript_MegaPunch:: @ 82653F8
setvar VAR_0x8008, 24
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_265403:: @ 8265403
+BattleFrontier_Lounge7_EventScript_MegaKick:: @ 8265403
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_26540E:: @ 826540E
+BattleFrontier_Lounge7_EventScript_BodySlam:: @ 826540E
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_265419:: @ 8265419
+BattleFrontier_Lounge7_EventScript_RockSlide:: @ 8265419
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_265424:: @ 8265424
+BattleFrontier_Lounge7_EventScript_Counter:: @ 8265424
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_26542F:: @ 826542F
+BattleFrontier_Lounge7_EventScript_ThunderWave:: @ 826542F
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_26543A:: @ 826543A
+BattleFrontier_Lounge7_EventScript_SwordsDance:: @ 826543A
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_265445:: @ 8265445
+BattleFrontier_Lounge7_EventScript_RightMoveTutor:: @ 8265445
lock
faceplayer
- setvar VAR_TEMP_C, 10
- goto_if_set FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_265466
- msgbox BattleFrontier_Lounge7_Text_265A6C, MSGBOX_DEFAULT
+ setvar VAR_TEMP_C, SCROLL_MULTI_BF_MOVE_TUTOR_2
+ goto_if_set FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_AlreadyMetRightTutor
+ msgbox BattleFrontier_Lounge7_Text_RightTutorIntro, MSGBOX_DEFAULT
setflag FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR
- goto BattleFrontier_Lounge7_EventScript_265474
+ goto BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove
end
-BattleFrontier_Lounge7_EventScript_265466:: @ 8265466
- msgbox BattleFrontier_Lounge7_Text_265C2C, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge7_EventScript_265474
+BattleFrontier_Lounge7_EventScript_AlreadyMetRightTutor:: @ 8265466
+ msgbox BattleFrontier_Lounge7_Text_RightTutorWelcomeBack, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove
end
-BattleFrontier_Lounge7_EventScript_265474:: @ 8265474
- message BattleFrontier_Lounge7_Text_2658EF
+BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove:: @ 8265474
+ message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
special ShowBattlePointsWindow
setvar VAR_TEMP_E, 1
@@ -141,22 +141,22 @@ BattleFrontier_Lounge7_EventScript_265474:: @ 8265474
waitstate
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
- case 0, BattleFrontier_Lounge7_EventScript_2655C7
- case 1, BattleFrontier_Lounge7_EventScript_2655D2
- case 2, BattleFrontier_Lounge7_EventScript_2655DD
- case 3, BattleFrontier_Lounge7_EventScript_2655E8
- case 4, BattleFrontier_Lounge7_EventScript_2655F3
- case 5, BattleFrontier_Lounge7_EventScript_2655FE
- case 6, BattleFrontier_Lounge7_EventScript_265609
- case 7, BattleFrontier_Lounge7_EventScript_265614
- case 8, BattleFrontier_Lounge7_EventScript_26561F
- case 9, BattleFrontier_Lounge7_EventScript_26562A
- case 10, BattleFrontier_Lounge7_EventScript_265635
- case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_265635
- end
-
-BattleFrontier_Lounge7_EventScript_26551F:: @ 826551F
- message BattleFrontier_Lounge7_Text_2658EF
+ case 0, BattleFrontier_Lounge7_EventScript_DefenseCurl
+ case 1, BattleFrontier_Lounge7_EventScript_Snore
+ case 2, BattleFrontier_Lounge7_EventScript_MudSlap
+ case 3, BattleFrontier_Lounge7_EventScript_Swift
+ case 4, BattleFrontier_Lounge7_EventScript_IcyWind
+ case 5, BattleFrontier_Lounge7_EventScript_Endure
+ case 6, BattleFrontier_Lounge7_EventScript_PsychUp
+ case 7, BattleFrontier_Lounge7_EventScript_IcePunch
+ case 8, BattleFrontier_Lounge7_EventScript_ThunderPunch
+ case 9, BattleFrontier_Lounge7_EventScript_FirePunch
+ case 10, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
+ case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
+ end
+
+BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove:: @ 826551F
+ message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
setvar VAR_TEMP_E, 1
setvar VAR_0x8004, SCROLL_MULTI_BF_MOVE_TUTOR_2
@@ -165,131 +165,133 @@ BattleFrontier_Lounge7_EventScript_26551F:: @ 826551F
waitstate
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
- case 0, BattleFrontier_Lounge7_EventScript_2655C7
- case 1, BattleFrontier_Lounge7_EventScript_2655D2
- case 2, BattleFrontier_Lounge7_EventScript_2655DD
- case 3, BattleFrontier_Lounge7_EventScript_2655E8
- case 4, BattleFrontier_Lounge7_EventScript_2655F3
- case 5, BattleFrontier_Lounge7_EventScript_2655FE
- case 6, BattleFrontier_Lounge7_EventScript_265609
- case 7, BattleFrontier_Lounge7_EventScript_265614
- case 8, BattleFrontier_Lounge7_EventScript_26561F
- case 9, BattleFrontier_Lounge7_EventScript_26562A
- case 10, BattleFrontier_Lounge7_EventScript_265635
- case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_265635
- end
-
-BattleFrontier_Lounge7_EventScript_2655C7:: @ 82655C7
+ case 0, BattleFrontier_Lounge7_EventScript_DefenseCurl
+ case 1, BattleFrontier_Lounge7_EventScript_Snore
+ case 2, BattleFrontier_Lounge7_EventScript_MudSlap
+ case 3, BattleFrontier_Lounge7_EventScript_Swift
+ case 4, BattleFrontier_Lounge7_EventScript_IcyWind
+ case 5, BattleFrontier_Lounge7_EventScript_Endure
+ case 6, BattleFrontier_Lounge7_EventScript_PsychUp
+ case 7, BattleFrontier_Lounge7_EventScript_IcePunch
+ case 8, BattleFrontier_Lounge7_EventScript_ThunderPunch
+ case 9, BattleFrontier_Lounge7_EventScript_FirePunch
+ case 10, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
+ case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
+ end
+
+BattleFrontier_Lounge7_EventScript_DefenseCurl:: @ 82655C7
setvar VAR_0x8008, 16
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_2655D2:: @ 82655D2
+BattleFrontier_Lounge7_EventScript_Snore:: @ 82655D2
setvar VAR_0x8008, 24
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_2655DD:: @ 82655DD
+BattleFrontier_Lounge7_EventScript_MudSlap:: @ 82655DD
setvar VAR_0x8008, 24
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_2655E8:: @ 82655E8
+BattleFrontier_Lounge7_EventScript_Swift:: @ 82655E8
setvar VAR_0x8008, 24
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_2655F3:: @ 82655F3
+BattleFrontier_Lounge7_EventScript_IcyWind:: @ 82655F3
setvar VAR_0x8008, 24
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_2655FE:: @ 82655FE
+BattleFrontier_Lounge7_EventScript_Endure:: @ 82655FE
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_265609:: @ 8265609
+BattleFrontier_Lounge7_EventScript_PsychUp:: @ 8265609
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_265614:: @ 8265614
+BattleFrontier_Lounge7_EventScript_IcePunch:: @ 8265614
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_26561F:: @ 826561F
+BattleFrontier_Lounge7_EventScript_ThunderPunch:: @ 826561F
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_26562A:: @ 826562A
+BattleFrontier_Lounge7_EventScript_FirePunch:: @ 826562A
setvar VAR_0x8008, 48
- goto BattleFrontier_Lounge7_EventScript_26564F
+ goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
-BattleFrontier_Lounge7_EventScript_265635:: @ 8265635
+BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect:: @ 8265635
special CloseBattleFrontierTutorWindow
special CloseBattlePointsWindow
- msgbox BattleFrontier_Lounge7_Text_265A0E, MSGBOX_DEFAULT
+ msgbox BattleFrontier_Lounge7_Text_YouDontWantTo, MSGBOX_DEFAULT
release
end
-BattleFrontier_Lounge7_EventScript_265645:: @ 8265645
- msgbox BattleFrontier_Lounge7_Text_265A0E, MSGBOX_DEFAULT
+BattleFrontier_Lounge7_EventScript_CancelChooseMon:: @ 8265645
+ msgbox BattleFrontier_Lounge7_Text_YouDontWantTo, MSGBOX_DEFAULT
release
end
-@ VAR_0x8004 here is used to determine which move name to buffer
-@ VAR_0x8005 here is used to determine which move tutor was spoken to
-BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F
+@ VAR_0x8008 is the price
+@ VAR_TEMP_C is the scroll multichoice ID
+@ VAR_TEMP_D is the move selection
+@ VAR_TEMP_E is which move tutor was spoken to
+BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection:: @ 826564F
copyvar VAR_0x8004, VAR_TEMP_D
copyvar VAR_0x8005, VAR_TEMP_E
special BufferBattleFrontierTutorMoveName
buffernumberstring 1, VAR_0x8008
copyvar VAR_0x8004, VAR_TEMP_C
- msgbox BattleFrontier_Lounge7_Text_265921, MSGBOX_YESNO
+ msgbox BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_Lounge7_EventScript_2656CA
+ goto_if_eq BattleFrontier_Lounge7_EventScript_ChooseNewMove
specialvar VAR_TEMP_1, GetFrontierBattlePoints
compare VAR_TEMP_1, VAR_0x8008
- goto_if_ge BattleFrontier_Lounge7_EventScript_265696
- msgbox BattleFrontier_Lounge7_Text_265997, MSGBOX_DEFAULT
- goto BattleFrontier_Lounge7_EventScript_2656CA
+ goto_if_ge BattleFrontier_Lounge7_EventScript_TeachTutorMove
+ msgbox BattleFrontier_Lounge7_Text_HaventGotEnoughPoints, MSGBOX_DEFAULT
+ goto BattleFrontier_Lounge7_EventScript_ChooseNewMove
end
-BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
- msgbox BattleFrontier_Lounge7_Text_26595A, MSGBOX_DEFAULT
+BattleFrontier_Lounge7_EventScript_TeachTutorMove:: @ 8265696
+ msgbox BattleFrontier_Lounge7_Text_TeachMoveToWhichMon, MSGBOX_DEFAULT
special GetBattleFrontierTutorMoveIndex
fadescreen 1
special CloseBattlePointsWindow
special CloseBattleFrontierTutorWindow
special ChooseMonForMoveTutor
waitstate
- compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_Lounge7_EventScript_265645
- msgbox BattleFrontier_Lounge7_Text_2659C7, MSGBOX_DEFAULT
+ compare VAR_RESULT, FALSE
+ goto_if_eq BattleFrontier_Lounge7_EventScript_CancelChooseMon
+ msgbox BattleFrontier_Lounge7_Text_IllTakeBattlePoints, MSGBOX_DEFAULT
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
release
end
-BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA
+BattleFrontier_Lounge7_EventScript_ChooseNewMove:: @ 82656CA
compare VAR_TEMP_E, 0
- goto_if_eq BattleFrontier_Lounge7_EventScript_26532F
- goto BattleFrontier_Lounge7_EventScript_26551F
+ goto_if_eq BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove
+ goto BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove
end
-BattleFrontier_Lounge7_EventScript_2656DB:: @ 82656DB
- msgbox BattleFrontier_Lounge7_Text_265C6F, MSGBOX_NPC
+BattleFrontier_Lounge7_EventScript_Sailor:: @ 82656DB
+ msgbox BattleFrontier_Lounge7_Text_ThinkLadiesDontGetAlong, MSGBOX_NPC
end
-BattleFrontier_Lounge7_EventScript_2656E4:: @ 82656E4
- msgbox BattleFrontier_Lounge7_Text_265D17, MSGBOX_NPC
+BattleFrontier_Lounge7_EventScript_Gentleman:: @ 82656E4
+ msgbox BattleFrontier_Lounge7_Text_LadiesWereStrongAndBeautiful, MSGBOX_NPC
end
-BattleFrontier_Lounge7_Text_2656ED: @ 82656ED
+BattleFrontier_Lounge7_Text_LeftTutorIntro: @ 82656ED
.string "Buhahaha!\p"
.string "You couldn't tell it from looking now,\n"
.string "but I used to be one tough TRAINER.\p"
@@ -307,38 +309,38 @@ BattleFrontier_Lounge7_Text_2656ED: @ 82656ED
.string "How about paying for the moves I teach\l"
.string "with a wee bit of Battle Points?$"
-BattleFrontier_Lounge7_Text_2658AB: @ 82658AB
+BattleFrontier_Lounge7_Text_LeftTutorWelcomeBack: @ 82658AB
.string "Buhahaha!\p"
.string "Are you back to learn special and\n"
.string "yet cute POKéMON moves?$"
-BattleFrontier_Lounge7_Text_2658EF: @ 82658EF
+BattleFrontier_Lounge7_Text_TeachWhichMove: @ 82658EF
.string "Fine, fine, look here!\n"
.string "Which move should I teach?$"
-BattleFrontier_Lounge7_Text_265921: @ 8265921
+BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints: @ 8265921
.string "The move {STR_VAR_1}, is it?\n"
.string "That will be {STR_VAR_2} Battle Points, okay?$"
-BattleFrontier_Lounge7_Text_26595A: @ 826595A
+BattleFrontier_Lounge7_Text_TeachMoveToWhichMon: @ 826595A
.string "Fine, fine, now pick the POKéMON\n"
.string "I should teach the move to.$"
-BattleFrontier_Lounge7_Text_265997: @ 8265997
+BattleFrontier_Lounge7_Text_HaventGotEnoughPoints: @ 8265997
.string "What the…\n"
.string "You haven't got enough Battle Points!$"
-BattleFrontier_Lounge7_Text_2659C7: @ 82659C7
+BattleFrontier_Lounge7_Text_IllTakeBattlePoints: @ 82659C7
.string "Do you see how skilled I am now?\n"
.string "I'll take your Battle Points, thanks!$"
-BattleFrontier_Lounge7_Text_265A0E: @ 8265A0E
+BattleFrontier_Lounge7_Text_YouDontWantTo: @ 8265A0E
.string "What's that?\n"
.string "You don't want to…\p"
.string "If you want to see how skilled I am,\n"
.string "you come see me anytime!$"
-BattleFrontier_Lounge7_Text_265A6C: @ 8265A6C
+BattleFrontier_Lounge7_Text_RightTutorIntro: @ 8265A6C
.string "Ihihihi!\p"
.string "I know it's hard to see now, but I used\n"
.string "to be one fantastic TRAINER.\p"
@@ -356,19 +358,19 @@ BattleFrontier_Lounge7_Text_265A6C: @ 8265A6C
.string "How about paying for the moves I teach\l"
.string "with a wee bit of Battle Points?$"
-BattleFrontier_Lounge7_Text_265C2C: @ 8265C2C
+BattleFrontier_Lounge7_Text_RightTutorWelcomeBack: @ 8265C2C
.string "Ihihihi!\p"
.string "Have you come to learn hard and\n"
.string "yet pretty POKéMON moves?$"
-BattleFrontier_Lounge7_Text_265C6F: @ 8265C6F
+BattleFrontier_Lounge7_Text_ThinkLadiesDontGetAlong: @ 8265C6F
.string "Those ladies, the way they bad-mouth\n"
.string "each other, you probably think that\l"
.string "they don't get along.\p"
.string "But if that were true, they wouldn't\n"
.string "stay out here together, would they?$"
-BattleFrontier_Lounge7_Text_265D17: @ 8265D17
+BattleFrontier_Lounge7_Text_LadiesWereStrongAndBeautiful: @ 8265D17
.string "When I was just a wee YOUNGSTER,\n"
.string "those ladies were strong and beautiful.\p"
.string "They were idols among us TRAINERS.\p"
@@ -380,102 +382,102 @@ BattleFrontier_Lounge7_Text_265D17: @ 8265D17
.string "but feel this…\p"
.string "Time is so cruel…$"
-BattleFrontier_Lounge7_Text_265E30:: @ 8265E30
+BattleFrontier_Lounge7_Text_SoftboiledDesc:: @ 8265E30
.string "Recovers up to\n"
.string "half the user's\n"
.string "maximum HP.$"
-BattleFrontier_Lounge7_Text_265E5B:: @ 8265E5B
+BattleFrontier_Lounge7_Text_SeismicTossDesc:: @ 8265E5B
.string "Inflicts damage\n"
.string "identical to the\n"
.string "user's level.$"
-BattleFrontier_Lounge7_Text_265E8A:: @ 8265E8A
+BattleFrontier_Lounge7_Text_DreamEaterDesc:: @ 8265E8A
.string "Recovers half the\n"
.string "damage inflicted\n"
.string "on a sleeping foe.$"
-BattleFrontier_Lounge7_Text_265EC0:: @ 8265EC0
+BattleFrontier_Lounge7_Text_MegaPunchDesc:: @ 8265EC0
.string "A strong punch\n"
.string "thrown with\n"
.string "incredible power.$"
-BattleFrontier_Lounge7_Text_265EED:: @ 8265EED
+BattleFrontier_Lounge7_Text_MegaKickDesc:: @ 8265EED
.string "An extremely\n"
.string "powerful kick with\n"
.string "intense force.$"
-BattleFrontier_Lounge7_Text_265F1C:: @ 8265F1C
+BattleFrontier_Lounge7_Text_BodySlamDesc:: @ 8265F1C
.string "A full-body slam\n"
.string "that may cause\n"
.string "paralysis.$"
-BattleFrontier_Lounge7_Text_265F47:: @ 8265F47
+BattleFrontier_Lounge7_Text_RockSlideDesc:: @ 8265F47
.string "Large boulders\n"
.string "are hurled. May\n"
.string "cause flinching.$"
-BattleFrontier_Lounge7_Text_265F77:: @ 8265F77
+BattleFrontier_Lounge7_Text_CounterDesc:: @ 8265F77
.string "Retaliates any\n"
.string "physical hit with\n"
.string "double the power.$"
-BattleFrontier_Lounge7_Text_265FAA:: @ 8265FAA
+BattleFrontier_Lounge7_Text_ThunderWaveDesc:: @ 8265FAA
.string "A weak jolt of\n"
.string "electricity that\n"
.string "paralyzes the foe.$"
-BattleFrontier_Lounge7_Text_265FDD:: @ 8265FDD
+BattleFrontier_Lounge7_Text_SwordsDanceDesc:: @ 8265FDD
.string "A fighting dance\n"
.string "that sharply\n"
.string "raises ATTACK.$"
-BattleFrontier_Lounge7_Text_26600A:: @ 826600A
+BattleFrontier_Lounge7_Text_DefenseCurlDesc:: @ 826600A
.string "Curls up to con-\n"
.string "ceal weak spots\n"
.string "and raise DEFENSE.$"
-BattleFrontier_Lounge7_Text_26603E:: @ 826603E
+BattleFrontier_Lounge7_Text_SnoreDesc:: @ 826603E
.string "A loud attack\n"
.string "that can be used\n"
.string "only while asleep.$"
-BattleFrontier_Lounge7_Text_266070:: @ 8266070
+BattleFrontier_Lounge7_Text_MudSlapDesc:: @ 8266070
.string "Hurls mud in the\n"
.string "foe's face to re-\n"
.string "duce its accuracy.$"
-BattleFrontier_Lounge7_Text_2660A6:: @ 82660A6
+BattleFrontier_Lounge7_Text_SwiftDesc:: @ 82660A6
.string "Sprays star-\n"
.string "shaped rays\n"
.string "that never miss.$"
-BattleFrontier_Lounge7_Text_2660D0:: @ 82660D0
+BattleFrontier_Lounge7_Text_IcyWindDesc:: @ 82660D0
.string "A chilling attack\n"
.string "that lowers the\n"
.string "foe's SPEED.$"
-BattleFrontier_Lounge7_Text_2660FF:: @ 82660FF
+BattleFrontier_Lounge7_Text_EndureDesc:: @ 82660FF
.string "Endures any at-\n"
.string "tack for 1 turn,\n"
.string "leaving 1HP.$"
-BattleFrontier_Lounge7_Text_26612D:: @ 826612D
+BattleFrontier_Lounge7_Text_PsychUpDesc:: @ 826612D
.string "Copies the foe's\n"
.string "effect(s) and\n"
.string "gives to the user.$"
-BattleFrontier_Lounge7_Text_26615F:: @ 826615F
+BattleFrontier_Lounge7_Text_IcePunchDesc:: @ 826615F
.string "An icy punch\n"
.string "that may\n"
.string "freeze the foe.$"
-BattleFrontier_Lounge7_Text_266185:: @ 8266185
+BattleFrontier_Lounge7_Text_ThunderPunchDesc:: @ 8266185
.string "An electrified\n"
.string "punch that may\n"
.string "paralyze the foe.$"
-BattleFrontier_Lounge7_Text_2661B5:: @ 82661B5
+BattleFrontier_Lounge7_Text_FirePunchDesc:: @ 82661B5
.string "A fiery punch\n"
.string "that may burn\n"
.string "the foe.$"
diff --git a/data/maps/BattleFrontier_Lounge8/map.json b/data/maps/BattleFrontier_Lounge8/map.json
index ff2bd2361..519f008fc 100644
--- a/data/maps/BattleFrontier_Lounge8/map.json
+++ b/data/maps/BattleFrontier_Lounge8/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge8_EventScript_2676DC",
+ "script": "BattleFrontier_Lounge8_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge8_EventScript_2676CA",
+ "script": "BattleFrontier_Lounge8_EventScript_Man",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_Lounge8_EventScript_2676D3",
+ "script": "BattleFrontier_Lounge8_EventScript_Woman",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_Lounge8/scripts.inc b/data/maps/BattleFrontier_Lounge8/scripts.inc
index 3a6f78fd7..2615af743 100644
--- a/data/maps/BattleFrontier_Lounge8/scripts.inc
+++ b/data/maps/BattleFrontier_Lounge8/scripts.inc
@@ -1,19 +1,19 @@
BattleFrontier_Lounge8_MapScripts:: @ 82676C9
.byte 0
-BattleFrontier_Lounge8_EventScript_2676CA:: @ 82676CA
- msgbox BattleFrontier_Lounge8_Text_2676E5, MSGBOX_NPC
+BattleFrontier_Lounge8_EventScript_Man:: @ 82676CA
+ msgbox BattleFrontier_Lounge8_Text_WhatATrainerNeeds, MSGBOX_NPC
end
-BattleFrontier_Lounge8_EventScript_2676D3:: @ 82676D3
- msgbox BattleFrontier_Lounge8_Text_26779C, MSGBOX_NPC
+BattleFrontier_Lounge8_EventScript_Woman:: @ 82676D3
+ msgbox BattleFrontier_Lounge8_Text_KnowAboutFrontierBrains, MSGBOX_NPC
end
-BattleFrontier_Lounge8_EventScript_2676DC:: @ 82676DC
- msgbox BattleFrontier_Lounge8_Text_26782C, MSGBOX_NPC
+BattleFrontier_Lounge8_EventScript_NinjaBoy:: @ 82676DC
+ msgbox BattleFrontier_Lounge8_Text_ToldMeIHaveTalentForBattling, MSGBOX_NPC
end
-BattleFrontier_Lounge8_Text_2676E5: @ 82676E5
+BattleFrontier_Lounge8_Text_WhatATrainerNeeds: @ 82676E5
.string "What a TRAINER needs…\p"
.string "Knowledge…\n"
.string "Strategy…\l"
@@ -27,14 +27,14 @@ BattleFrontier_Lounge8_Text_2676E5: @ 82676E5
.string "Huh? POKéMON?\n"
.string "What's that?$"
-BattleFrontier_Lounge8_Text_26779C: @ 826779C
+BattleFrontier_Lounge8_Text_KnowAboutFrontierBrains: @ 826779C
.string "Do you know about the FRONTIER\n"
.string "BRAINS?\p"
.string "That's what SCOTT calls the seven\n"
.string "special TRAINERS that run the seven\l"
.string "facilities in the BATTLE FRONTIER.$"
-BattleFrontier_Lounge8_Text_26782C: @ 826782C
+BattleFrontier_Lounge8_Text_ToldMeIHaveTalentForBattling: @ 826782C
.string "At the BATTLE TOWER, an older girl\n"
.string "told me that I have a lot of talent\l"
.string "for battling!\p"
diff --git a/data/maps/BattleFrontier_OutsideEast/map.json b/data/maps/BattleFrontier_OutsideEast/map.json
index e45e4f13b..cccf8fb8a 100644
--- a/data/maps/BattleFrontier_OutsideEast/map.json
+++ b/data/maps/BattleFrontier_OutsideEast/map.json
@@ -30,7 +30,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242C67",
+ "script": "BattleFrontier_OutsideEast_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -43,7 +43,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242C70",
+ "script": "BattleFrontier_OutsideEast_EventScript_Man1",
"flag": "0"
},
{
@@ -56,7 +56,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242C79",
+ "script": "BattleFrontier_OutsideEast_EventScript_Hiker",
"flag": "0"
},
{
@@ -69,7 +69,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242C82",
+ "script": "BattleFrontier_OutsideEast_EventScript_HexManiac",
"flag": "0"
},
{
@@ -82,7 +82,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242C8B",
+ "script": "BattleFrontier_OutsideEast_EventScript_BlackBelt1",
"flag": "0"
},
{
@@ -95,7 +95,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242C94",
+ "script": "BattleFrontier_OutsideEast_EventScript_Cook",
"flag": "0"
},
{
@@ -108,7 +108,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242CBB",
+ "script": "BattleFrontier_OutsideEast_EventScript_ExpertF",
"flag": "0"
},
{
@@ -121,7 +121,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242CE1",
+ "script": "BattleFrontier_OutsideEast_EventScript_TriathleteM",
"flag": "0"
},
{
@@ -134,7 +134,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242CB2",
+ "script": "BattleFrontier_OutsideEast_EventScript_RichBoy",
"flag": "0"
},
{
@@ -147,7 +147,7 @@
"movement_range_y": 6,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242CC4",
+ "script": "BattleFrontier_OutsideEast_EventScript_TriathleteF",
"flag": "0"
},
{
@@ -160,7 +160,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242CCD",
+ "script": "BattleFrontier_OutsideEast_EventScript_Twin",
"flag": "0"
},
{
@@ -173,7 +173,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242CD6",
+ "script": "BattleFrontier_OutsideEast_EventScript_Man2",
"flag": "0"
},
{
@@ -186,7 +186,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242C9F",
+ "script": "BattleFrontier_OutsideEast_EventScript_Zigzagoon",
"flag": "0"
},
{
@@ -212,7 +212,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242D79",
+ "script": "BattleFrontier_OutsideEast_EventScript_Maniac1",
"flag": "0"
},
{
@@ -225,7 +225,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242D82",
+ "script": "BattleFrontier_OutsideEast_EventScript_Girl",
"flag": "0"
},
{
@@ -238,7 +238,7 @@
"movement_range_y": 6,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242D8B",
+ "script": "BattleFrontier_OutsideEast_EventScript_PsychicM",
"flag": "0"
},
{
@@ -251,7 +251,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242D94",
+ "script": "BattleFrontier_OutsideEast_EventScript_Man3",
"flag": "0"
},
{
@@ -264,7 +264,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242D9D",
+ "script": "BattleFrontier_OutsideEast_EventScript_Woman1",
"flag": "0"
},
{
@@ -277,7 +277,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242DA6",
+ "script": "BattleFrontier_OutsideEast_EventScript_Woman2",
"flag": "0"
},
{
@@ -290,7 +290,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242DAF",
+ "script": "BattleFrontier_OutsideEast_EventScript_BlackBelt2",
"flag": "0"
},
{
@@ -303,7 +303,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242DB8",
+ "script": "BattleFrontier_OutsideEast_EventScript_Maniac2",
"flag": "0"
},
{
@@ -316,7 +316,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242DC3",
+ "script": "BattleFrontier_OutsideEast_EventScript_Woman3",
"flag": "0"
},
{
@@ -329,7 +329,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242DE9",
+ "script": "BattleFrontier_OutsideEast_EventScript_OldWoman",
"flag": "0"
},
{
@@ -342,7 +342,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242DE0",
+ "script": "BattleFrontier_OutsideEast_EventScript_Gentleman",
"flag": "0"
},
{
@@ -355,7 +355,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideEast_EventScript_242E08",
+ "script": "BattleFrontier_OutsideEast_EventScript_Camper",
"flag": "0"
}
],
@@ -406,7 +406,7 @@
"x": 10,
"y": 28,
"elevation": 0,
- "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER",
+ "dest_map": "MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
"dest_warp_id": 0
},
{
@@ -467,7 +467,7 @@
"y": 17,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideEast_EventScript_242C43"
+ "script": "BattleFrontier_OutsideEast_EventScript_BattleTowerSign"
},
{
"type": "sign",
@@ -475,7 +475,7 @@
"y": 56,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideEast_EventScript_242C4C"
+ "script": "BattleFrontier_OutsideEast_EventScript_BattlePalaceSign"
},
{
"type": "sign",
@@ -483,7 +483,7 @@
"y": 34,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideEast_EventScript_242C55"
+ "script": "BattleFrontier_OutsideEast_EventScript_BattleArenaSign"
},
{
"type": "sign",
@@ -491,7 +491,7 @@
"y": 15,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideEast_EventScript_242C5E"
+ "script": "BattleFrontier_OutsideEast_EventScript_BattlePyramidSign"
},
{
"type": "sign",
@@ -499,7 +499,7 @@
"y": 29,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideEast_EventScript_242DD7"
+ "script": "BattleFrontier_OutsideEast_EventScript_ExchangeCornerSign"
},
{
"type": "sign",
@@ -507,7 +507,7 @@
"y": 13,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideEast_EventScript_242DCE"
+ "script": "BattleFrontier_OutsideEast_EventScript_RankingHallSign"
},
{
"type": "sign",
diff --git a/data/maps/BattleFrontier_OutsideEast/scripts.inc b/data/maps/BattleFrontier_OutsideEast/scripts.inc
index ab968b6dd..ebfdba916 100644
--- a/data/maps/BattleFrontier_OutsideEast/scripts.inc
+++ b/data/maps/BattleFrontier_OutsideEast/scripts.inc
@@ -1,105 +1,105 @@
BattleFrontier_OutsideEast_MapScripts:: @ 8242C04
- map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_OutsideEast_MapScript1_242C0F
- map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideEast_MapScript1_242C2D
+ map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_OutsideEast_OnResume
+ map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideEast_OnTransition
.byte 0
-BattleFrontier_OutsideEast_MapScript1_242C0F: @ 8242C0F
- call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BattleFrontier_OutsideEast_EventScript_242C19
+BattleFrontier_OutsideEast_OnResume: @ 8242C0F
+ call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BattleFrontier_OutsideEast_EventScript_TryRemoveSudowoodo
end
-BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19
+BattleFrontier_OutsideEast_EventScript_TryRemoveSudowoodo:: @ 8242C19
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
removeobject VAR_LAST_TALKED
return
-BattleFrontier_OutsideEast_MapScript1_242C2D: @ 8242C2D
+BattleFrontier_OutsideEast_OnTransition: @ 8242C2D
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
setflag FLAG_HIDE_BATTLE_TOWER_REPORTER
- call_if_unset FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_242C3F
+ call_if_unset FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_ShowSudowoodo
end
-BattleFrontier_OutsideEast_EventScript_242C3F:: @ 8242C3F
+BattleFrontier_OutsideEast_EventScript_ShowSudowoodo:: @ 8242C3F
clearflag FLAG_HIDE_BATTLE_FRONTIER_SUDOWOODO
return
-BattleFrontier_OutsideEast_EventScript_242C43:: @ 8242C43
- msgbox BattleFrontier_OutsideEast_Text_242E11, MSGBOX_SIGN
+BattleFrontier_OutsideEast_EventScript_BattleTowerSign:: @ 8242C43
+ msgbox BattleFrontier_OutsideEast_Text_BattleTowerSign, MSGBOX_SIGN
end
-BattleFrontier_OutsideEast_EventScript_242C4C:: @ 8242C4C
- msgbox BattleFrontier_OutsideEast_Text_242E58, MSGBOX_SIGN
+BattleFrontier_OutsideEast_EventScript_BattlePalaceSign:: @ 8242C4C
+ msgbox BattleFrontier_OutsideEast_Text_BattlePalaceSign, MSGBOX_SIGN
end
-BattleFrontier_OutsideEast_EventScript_242C55:: @ 8242C55
- msgbox BattleFrontier_OutsideEast_Text_242E96, MSGBOX_SIGN
+BattleFrontier_OutsideEast_EventScript_BattleArenaSign:: @ 8242C55
+ msgbox BattleFrontier_OutsideEast_Text_BattleArenaSign, MSGBOX_SIGN
end
-BattleFrontier_OutsideEast_EventScript_242C5E:: @ 8242C5E
- msgbox BattleFrontier_OutsideEast_Text_242ECF, MSGBOX_SIGN
+BattleFrontier_OutsideEast_EventScript_BattlePyramidSign:: @ 8242C5E
+ msgbox BattleFrontier_OutsideEast_Text_BattlePyramidSign, MSGBOX_SIGN
end
-BattleFrontier_OutsideEast_EventScript_242C67:: @ 8242C67
- msgbox BattleFrontier_OutsideEast_Text_242F8C, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_NinjaBoy:: @ 8242C67
+ msgbox BattleFrontier_OutsideEast_Text_BattleTowerFeelsSpecial, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242C70:: @ 8242C70
- msgbox BattleFrontier_OutsideEast_Text_242FDC, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Man1:: @ 8242C70
+ msgbox BattleFrontier_OutsideEast_Text_ConquerLeagueAndFrontier, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242C79:: @ 8242C79
- msgbox BattleFrontier_OutsideEast_Text_24308C, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Hiker:: @ 8242C79
+ msgbox BattleFrontier_OutsideEast_Text_PyramidTooHarsh, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242C82:: @ 8242C82
- msgbox BattleFrontier_OutsideEast_Text_243106, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_HexManiac:: @ 8242C82
+ msgbox BattleFrontier_OutsideEast_Text_ThriveInDarkness, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242C8B:: @ 8242C8B
- msgbox BattleFrontier_OutsideEast_Text_2431A5, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_BlackBelt1:: @ 8242C8B
+ msgbox BattleFrontier_OutsideEast_Text_PutTogetherUltimateTeam, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242C94:: @ 8242C94
+BattleFrontier_OutsideEast_EventScript_Cook:: @ 8242C94
lock
- msgbox BattleFrontier_OutsideEast_Text_2432DD, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideEast_Text_BelieveInYouBuddy, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideEast_EventScript_242C9F:: @ 8242C9F
+BattleFrontier_OutsideEast_EventScript_Zigzagoon:: @ 8242C9F
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
- msgbox BattleFrontier_OutsideEast_Text_24334B, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideEast_Text_ZigzagoonLooksVacant, MSGBOX_DEFAULT
waitmoncry
release
end
-BattleFrontier_OutsideEast_EventScript_242CB2:: @ 8242CB2
- msgbox BattleFrontier_OutsideEast_Text_243363, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_RichBoy:: @ 8242CB2
+ msgbox BattleFrontier_OutsideEast_Text_PeopleCallMeBusybody, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242CBB:: @ 8242CBB
- msgbox BattleFrontier_OutsideEast_Text_243425, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_ExpertF:: @ 8242CBB
+ msgbox BattleFrontier_OutsideEast_Text_OnceBeatGymLeader, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242CC4:: @ 8242CC4
- msgbox BattleFrontier_OutsideEast_Text_2434A0, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_TriathleteF:: @ 8242CC4
+ msgbox BattleFrontier_OutsideEast_Text_FastOnBikeAndBattles, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242CCD:: @ 8242CCD
- msgbox BattleFrontier_OutsideEast_Text_243504, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Twin:: @ 8242CCD
+ msgbox BattleFrontier_OutsideEast_Text_BetterThanDaddyAtPokemon, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242CD6:: @ 8242CD6
+BattleFrontier_OutsideEast_EventScript_Man2:: @ 8242CD6
lock
- msgbox BattleFrontier_OutsideEast_Text_243529, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideEast_Text_GoRackUpSomeWinsForDaddy, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideEast_EventScript_242CE1:: @ 8242CE1
- msgbox BattleFrontier_OutsideEast_Text_243230, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_TriathleteM:: @ 8242CE1
+ msgbox BattleFrontier_OutsideEast_Text_DidScottBringYouHere, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_Sudowoodo:: @ 8242CEA
@@ -134,16 +134,16 @@ BattleFrontier_OutsideEast_EventScript_WaterSudowoodo:: @ 8242CFC
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
- goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
+ goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
compare VAR_RESULT, B_OUTCOME_RAN
- goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
+ goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
- goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
+ goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
setflag FLAG_DEFEATED_SUDOWOODO
release
end
-BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo:: @ 8242D60
+BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo:: @ 8242D60
setflag FLAG_DEFEATED_SUDOWOODO
goto Common_EventScript_RemoveStaticPokemon
end
@@ -166,107 +166,107 @@ BattleFrontier_OutsideEast_Movement_SudowoodoShake: @ 8242D69
face_down
step_end
-BattleFrontier_OutsideEast_EventScript_242D79:: @ 8242D79
- msgbox BattleFrontier_OutsideEast_Text_243598, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Maniac1:: @ 8242D79
+ msgbox BattleFrontier_OutsideEast_Text_HeardPrettyGirlAtBattleArena, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242D82:: @ 8242D82
- msgbox BattleFrontier_OutsideEast_Text_243668, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Girl:: @ 8242D82
+ msgbox BattleFrontier_OutsideEast_Text_SometimesImportantOldManInThere, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242D8B:: @ 8242D8B
- msgbox BattleFrontier_OutsideEast_Text_2436F2, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_PsychicM:: @ 8242D8B
+ msgbox BattleFrontier_OutsideEast_Text_LegendOfBattlePyramid, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242D94:: @ 8242D94
- msgbox BattleFrontier_OutsideEast_Text_243809, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Man3:: @ 8242D94
+ msgbox BattleFrontier_OutsideEast_Text_GotWipedOut, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242D9D:: @ 8242D9D
- msgbox BattleFrontier_OutsideEast_Text_243895, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Woman1:: @ 8242D9D
+ msgbox BattleFrontier_OutsideEast_Text_ToughTrainerInBattleTower, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242DA6:: @ 8242DA6
- msgbox BattleFrontier_OutsideEast_Text_243943, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Woman2:: @ 8242DA6
+ msgbox BattleFrontier_OutsideEast_Text_EnoughBattlePointsForDoll, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242DAF:: @ 8242DAF
- msgbox BattleFrontier_OutsideEast_Text_2439A0, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_BlackBelt2:: @ 8242DAF
+ msgbox BattleFrontier_OutsideEast_Text_LikeToHaveNameRecordedHere, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242DB8:: @ 8242DB8
+BattleFrontier_OutsideEast_EventScript_Maniac2:: @ 8242DB8
lock
- msgbox BattleFrontier_OutsideEast_Text_243A2B, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideEast_Text_CanDoAnythingWithYou, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideEast_EventScript_242DC3:: @ 8242DC3
+BattleFrontier_OutsideEast_EventScript_Woman3:: @ 8242DC3
lock
- msgbox BattleFrontier_OutsideEast_Text_243A53, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideEast_Text_PowerOfOurLoveWillOvercome, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideEast_EventScript_242DCE:: @ 8242DCE
- msgbox BattleFrontier_OutsideEast_Text_242F0D, MSGBOX_SIGN
+BattleFrontier_OutsideEast_EventScript_RankingHallSign:: @ 8242DCE
+ msgbox BattleFrontier_OutsideEast_Text_RankingHallSign, MSGBOX_SIGN
end
-BattleFrontier_OutsideEast_EventScript_242DD7:: @ 8242DD7
- msgbox BattleFrontier_OutsideEast_Text_242F4A, MSGBOX_SIGN
+BattleFrontier_OutsideEast_EventScript_ExchangeCornerSign:: @ 8242DD7
+ msgbox BattleFrontier_OutsideEast_Text_ExchangeCornerSign, MSGBOX_SIGN
end
-BattleFrontier_OutsideEast_EventScript_242DE0:: @ 8242DE0
- msgbox BattleFrontier_OutsideEast_Text_243B68, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Gentleman:: @ 8242DE0
+ msgbox BattleFrontier_OutsideEast_Text_FrontierNotExclusivelyForToughTrainers, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_EventScript_242DE9:: @ 8242DE9
+BattleFrontier_OutsideEast_EventScript_OldWoman:: @ 8242DE9
lock
faceplayer
- goto_if_set FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_242DFE
- msgbox BattleFrontier_OutsideEast_Text_243C2C, MSGBOX_DEFAULT
+ goto_if_set FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_OldWomanSudowoodoGone
+ msgbox BattleFrontier_OutsideEast_Text_OddTreeHereSeemsToWiggle, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideEast_EventScript_242DFE:: @ 8242DFE
- msgbox BattleFrontier_OutsideEast_Text_243CA3, MSGBOX_DEFAULT
+BattleFrontier_OutsideEast_EventScript_OldWomanSudowoodoGone:: @ 8242DFE
+ msgbox BattleFrontier_OutsideEast_Text_OnceAnOddTreePastHere, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideEast_EventScript_242E08:: @ 8242E08
- msgbox BattleFrontier_OutsideEast_Text_243D0B, MSGBOX_NPC
+BattleFrontier_OutsideEast_EventScript_Camper:: @ 8242E08
+ msgbox BattleFrontier_OutsideEast_Text_StickyMonWithLongTail, MSGBOX_NPC
end
-BattleFrontier_OutsideEast_Text_242E11: @ 8242E11
+BattleFrontier_OutsideEast_Text_BattleTowerSign: @ 8242E11
.string "This is the BATTLE TOWER!\n"
.string "Keep the win streak as the toughest\l"
.string "TRAINER!$"
-BattleFrontier_OutsideEast_Text_242E58: @ 8242E58
+BattleFrontier_OutsideEast_Text_BattlePalaceSign: @ 8242E58
.string "This is the BATTLE PALACE!\n"
.string "Keep your eyes on POKéMON battles!$"
-BattleFrontier_OutsideEast_Text_242E96: @ 8242E96
+BattleFrontier_OutsideEast_Text_BattleArenaSign: @ 8242E96
.string "This is the BATTLE ARENA!\n"
.string "Let the toughest teams gather!$"
-BattleFrontier_OutsideEast_Text_242ECF: @ 8242ECF
+BattleFrontier_OutsideEast_Text_BattlePyramidSign: @ 8242ECF
.string "This is the BATTLE PYRAMID!\n"
.string "Advance through the Battle Quest!$"
-BattleFrontier_OutsideEast_Text_242F0D: @ 8242F0D
+BattleFrontier_OutsideEast_Text_RankingHallSign: @ 8242F0D
.string "BATTLE FRONTIER RANKING HALL\n"
.string "Set your sights on new records!$"
-BattleFrontier_OutsideEast_Text_242F4A: @ 8242F4A
+BattleFrontier_OutsideEast_Text_ExchangeCornerSign: @ 8242F4A
.string "BATTLE POINT EXCHANGE SERVICE CORNER\n"
.string "Exchange your Battle Points!$"
-BattleFrontier_OutsideEast_Text_242F8C: @ 8242F8C
+BattleFrontier_OutsideEast_Text_BattleTowerFeelsSpecial: @ 8242F8C
.string "Wow!\n"
.string "It's huge!\p"
.string "The BATTLE TOWER feels special.\n"
.string "It's different from the others.$"
-BattleFrontier_OutsideEast_Text_242FDC: @ 8242FDC
+BattleFrontier_OutsideEast_Text_ConquerLeagueAndFrontier: @ 8242FDC
.string "My grand ambition is to conquer both\n"
.string "the BATTLE FRONTIER and the POKéMON\l"
.string "LEAGUE.\p"
@@ -274,26 +274,26 @@ BattleFrontier_OutsideEast_Text_242FDC: @ 8242FDC
.string "I… I'm going to ask MIMI next door\n"
.string "if she will be friends with me!$"
-BattleFrontier_OutsideEast_Text_24308C: @ 824308C
+BattleFrontier_OutsideEast_Text_PyramidTooHarsh: @ 824308C
.string "The BATTLE PYRAMID's too harsh!\n"
.string "I just can't make it to the top!\p"
.string "Since I'm out of options, maybe I can\n"
.string "climb the outside…$"
-BattleFrontier_OutsideEast_Text_243106: @ 8243106
+BattleFrontier_OutsideEast_Text_ThriveInDarkness: @ 8243106
.string "I thrive in darkness…\n"
.string "Yes… What is worthy of me?\l"
.string "None other than the BATTLE PYRAMID…\p"
.string "What say you to wandering in darkness\n"
.string "and in utter and total desperation?$"
-BattleFrontier_OutsideEast_Text_2431A5: @ 82431A5
+BattleFrontier_OutsideEast_Text_PutTogetherUltimateTeam: @ 82431A5
.string "I didn't sleep for a week, but then\n"
.string "I put together the ultimate team!\p"
.string "I can't see myself losing, no joke.\n"
.string "We're storming the BATTLE ARENA!$"
-BattleFrontier_OutsideEast_Text_243230: @ 8243230
+BattleFrontier_OutsideEast_Text_DidScottBringYouHere: @ 8243230
.string "Did SCOTT bring you here, too?\n"
.string "What is it with that guy?\p"
.string "It sounds like he really does know\n"
@@ -301,16 +301,16 @@ BattleFrontier_OutsideEast_Text_243230: @ 8243230
.string "I've never seen him battling in person\n"
.string "ever.$"
-BattleFrontier_OutsideEast_Text_2432DD: @ 82432DD
+BattleFrontier_OutsideEast_Text_BelieveInYouBuddy: @ 82432DD
.string "ZIGG!\n"
.string "I believe in you, little buddy!\p"
.string "I'll make my little ZIGG any favorite\n"
.string "tasty treats you like if you win!$"
-BattleFrontier_OutsideEast_Text_24334B: @ 824334B
+BattleFrontier_OutsideEast_Text_ZigzagoonLooksVacant: @ 824334B
.string "ZIGZAGOON looks vacant…$"
-BattleFrontier_OutsideEast_Text_243363: @ 8243363
+BattleFrontier_OutsideEast_Text_PeopleCallMeBusybody: @ 8243363
.string "People call me a busybody,\n"
.string "but I can't help it.\p"
.string "Your hat's on crooked!\n"
@@ -319,29 +319,29 @@ BattleFrontier_OutsideEast_Text_243363: @ 8243363
.string "I don't know if I can stand to just\n"
.string "watch at the BATTLE PALACE…$"
-BattleFrontier_OutsideEast_Text_243425: @ 8243425
+BattleFrontier_OutsideEast_Text_OnceBeatGymLeader: @ 8243425
.string "I may not look that impressive now,\n"
.string "but I once beat a GYM LEADER.\p"
.string "Who knows, maybe I should give it\n"
.string "another shot at glory.$"
-BattleFrontier_OutsideEast_Text_2434A0: @ 82434A0
+BattleFrontier_OutsideEast_Text_FastOnBikeAndBattles: @ 82434A0
.string "I'm fast on my BIKE, and that goes for\n"
.string "the way I battle, too.\p"
.string "I win matches in the blink of\n"
.string "an eye!$"
-BattleFrontier_OutsideEast_Text_243504: @ 8243504
+BattleFrontier_OutsideEast_Text_BetterThanDaddyAtPokemon: @ 8243504
.string "I'm better than my daddy\n"
.string "at POKéMON.$"
-BattleFrontier_OutsideEast_Text_243529: @ 8243529
+BattleFrontier_OutsideEast_Text_GoRackUpSomeWinsForDaddy: @ 8243529
.string "Go on, my baby sweetie!\n"
.string "Go rack up some wins for Daddy!\p"
.string "You're just like your mother,\n"
.string "so you'll be dominating!$"
-BattleFrontier_OutsideEast_Text_243598: @ 8243598
+BattleFrontier_OutsideEast_Text_HeardPrettyGirlAtBattleArena: @ 8243598
.string "It wasn't easy getting here,\n"
.string "but I'd heard about this knockout\l"
.string "pretty girl at the BATTLE ARENA.\p"
@@ -350,13 +350,13 @@ BattleFrontier_OutsideEast_Text_243598: @ 8243598
.string "A whole teeming mob of sweaty,\n"
.string "stinky, and primitive martial artists!$"
-BattleFrontier_OutsideEast_Text_243668: @ 8243668
+BattleFrontier_OutsideEast_Text_SometimesImportantOldManInThere: @ 8243668
.string "I sometimes see this really important-\n"
.string "looking old man going in there.\p"
.string "He has these really awesome POKéMON.\n"
.string "He seems really nice, though.$"
-BattleFrontier_OutsideEast_Text_2436F2: @ 82436F2
+BattleFrontier_OutsideEast_Text_LegendOfBattlePyramid: @ 82436F2
.string "Do you know it?\n"
.string "The legend of the BATTLE PYRAMID?\p"
.string "When there comes a confident TRAINER\n"
@@ -368,7 +368,7 @@ BattleFrontier_OutsideEast_Text_2436F2: @ 82436F2
.string "What's it supposed to mean?\n"
.string "That, my friend, I can't say!$"
-BattleFrontier_OutsideEast_Text_243809: @ 8243809
+BattleFrontier_OutsideEast_Text_GotWipedOut: @ 8243809
.string "Man! Oh man!\n"
.string "I've never lost once before!\p"
.string "But I got wiped out with no saving\n"
@@ -376,7 +376,7 @@ BattleFrontier_OutsideEast_Text_243809: @ 8243809
.string "And then I'm told I don't have any\n"
.string "talent?! Man!$"
-BattleFrontier_OutsideEast_Text_243895: @ 8243895
+BattleFrontier_OutsideEast_Text_ToughTrainerInBattleTower: @ 8243895
.string "This guy ran into a horribly tough\n"
.string "TRAINER while he was on the BATTLE\l"
.string "TOWER challenge.\p"
@@ -384,23 +384,23 @@ BattleFrontier_OutsideEast_Text_243895: @ 8243895
.string "You need to be cautious if you ever\n"
.string "decide to go to the BATTLE TOWER.$"
-BattleFrontier_OutsideEast_Text_243943: @ 8243943
+BattleFrontier_OutsideEast_Text_EnoughBattlePointsForDoll: @ 8243943
.string "Yes!\n"
.string "I've finally got enough Battle Points!\p"
.string "I guess I'll trade for another giant\n"
.string "plush DOLL!$"
-BattleFrontier_OutsideEast_Text_2439A0: @ 82439A0
+BattleFrontier_OutsideEast_Text_LikeToHaveNameRecordedHere: @ 82439A0
.string "Oh, yeah, okay!\n"
.string "So this is the RANKING HALL!\p"
.string "I'd like to go down in history as\n"
.string "a super champ and have my name\l"
.string "recorded here for posterity.$"
-BattleFrontier_OutsideEast_Text_243A2B: @ 8243A2B
+BattleFrontier_OutsideEast_Text_CanDoAnythingWithYou: @ 8243A2B
.string "With you by my side, I can do anything.$"
-BattleFrontier_OutsideEast_Text_243A53: @ 8243A53
+BattleFrontier_OutsideEast_Text_PowerOfOurLoveWillOvercome: @ 8243A53
.string "Ooh, darling, you are so wonderful!\p"
.string "Ooh, I just can't wait anymore!\p"
.string "Let's go to a MULTI BATTLE ROOM\n"
@@ -411,7 +411,7 @@ BattleFrontier_OutsideEast_Text_243A53: @ 8243A53
.string "Why, before us, darling, everything\n"
.string "will topple like dominoes!$"
-BattleFrontier_OutsideEast_Text_243B68: @ 8243B68
+BattleFrontier_OutsideEast_Text_FrontierNotExclusivelyForToughTrainers: @ 8243B68
.string "The BATTLE FRONTIER isn't exclusively\n"
.string "for tough TRAINERS.\p"
.string "Many people with special abilities\n"
@@ -420,19 +420,19 @@ BattleFrontier_OutsideEast_Text_243B68: @ 8243B68
.string "He may have built this place to serve\n"
.string "a bigger objective…$"
-BattleFrontier_OutsideEast_Text_243C2C: @ 8243C2C
+BattleFrontier_OutsideEast_Text_OddTreeHereSeemsToWiggle: @ 8243C2C
.string "Excuse me, young one.\n"
.string "Have you good eyesight?\p"
.string "There is an odd tree past here, and to\n"
.string "my tired eyes it seems to wiggle.$"
-BattleFrontier_OutsideEast_Text_243CA3: @ 8243CA3
+BattleFrontier_OutsideEast_Text_OnceAnOddTreePastHere: @ 8243CA3
.string "Excuse me, young one.\n"
.string "Have you a good memory?\p"
.string "I have this feeling there once was\n"
.string "an odd tree past here.$"
-BattleFrontier_OutsideEast_Text_243D0B: @ 8243D0B
+BattleFrontier_OutsideEast_Text_StickyMonWithLongTail: @ 8243D0B
.string "I…\n"
.string "I saw it!\p"
.string "There was a sticky sort of a POKéMON\n"
diff --git a/data/maps/BattleFrontier_OutsideWest/map.json b/data/maps/BattleFrontier_OutsideWest/map.json
index a2972e0b4..42b76323a 100644
--- a/data/maps/BattleFrontier_OutsideWest/map.json
+++ b/data/maps/BattleFrontier_OutsideWest/map.json
@@ -30,7 +30,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D50F",
+ "script": "BattleFrontier_OutsideWest_EventScript_Boy1",
"flag": "0"
},
{
@@ -56,7 +56,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D3F0",
+ "script": "BattleFrontier_OutsideWest_EventScript_FerryAttendant",
"flag": "0"
},
{
@@ -69,7 +69,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D68B",
+ "script": "BattleFrontier_OutsideWest_EventScript_ExpertM",
"flag": "0"
},
{
@@ -82,7 +82,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D52D",
+ "script": "BattleFrontier_OutsideWest_EventScript_Man1",
"flag": "0"
},
{
@@ -95,7 +95,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D69D",
+ "script": "BattleFrontier_OutsideWest_EventScript_Woman1",
"flag": "0"
},
{
@@ -108,7 +108,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D6A6",
+ "script": "BattleFrontier_OutsideWest_EventScript_FatMan1",
"flag": "0"
},
{
@@ -121,7 +121,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D679",
+ "script": "BattleFrontier_OutsideWest_EventScript_Gentleman",
"flag": "0"
},
{
@@ -134,7 +134,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D536",
+ "script": "BattleFrontier_OutsideWest_EventScript_Maniac1",
"flag": "0"
},
{
@@ -147,7 +147,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D53D",
+ "script": "BattleFrontier_OutsideWest_EventScript_Maniac2",
"flag": "0"
},
{
@@ -160,7 +160,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D694",
+ "script": "BattleFrontier_OutsideWest_EventScript_Man2",
"flag": "0"
},
{
@@ -173,7 +173,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D5C6",
+ "script": "BattleFrontier_OutsideWest_EventScript_Girl",
"flag": "0"
},
{
@@ -186,7 +186,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D635",
+ "script": "BattleFrontier_OutsideWest_EventScript_Woman2",
"flag": "0"
},
{
@@ -199,7 +199,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D57F",
+ "script": "BattleFrontier_OutsideWest_EventScript_Camper",
"flag": "0"
},
{
@@ -212,7 +212,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D682",
+ "script": "BattleFrontier_OutsideWest_EventScript_Lass",
"flag": "0"
},
{
@@ -225,7 +225,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_249E19",
+ "script": "BattleFrontier_OutsideWest_EventScript_Man3",
"flag": "0"
},
{
@@ -238,7 +238,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D667",
+ "script": "BattleFrontier_OutsideWest_EventScript_Fisherman1",
"flag": "0"
},
{
@@ -251,7 +251,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D518",
+ "script": "BattleFrontier_OutsideWest_EventScript_Fisherman2",
"flag": "0"
},
{
@@ -264,7 +264,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D6AF",
+ "script": "BattleFrontier_OutsideWest_EventScript_FatMan2",
"flag": "0"
},
{
@@ -277,7 +277,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D6B8",
+ "script": "BattleFrontier_OutsideWest_EventScript_Woman3",
"flag": "0"
},
{
@@ -290,7 +290,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D6C3",
+ "script": "BattleFrontier_OutsideWest_EventScript_Boy2",
"flag": "0"
},
{
@@ -303,7 +303,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D6CE",
+ "script": "BattleFrontier_OutsideWest_EventScript_OldMan",
"flag": "0"
},
{
@@ -316,7 +316,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D6D7",
+ "script": "BattleFrontier_OutsideWest_EventScript_Man4",
"flag": "0"
},
{
@@ -329,7 +329,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_OutsideWest_EventScript_23D6EE",
+ "script": "BattleFrontier_OutsideWest_EventScript_PokefanF",
"flag": "0"
}
],
@@ -420,7 +420,7 @@
"y": 18,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideWest_EventScript_23D4E2"
+ "script": "BattleFrontier_OutsideWest_EventScript_BattleDomeSign"
},
{
"type": "sign",
@@ -428,7 +428,7 @@
"y": 30,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideWest_EventScript_23D4F4"
+ "script": "BattleFrontier_OutsideWest_EventScript_BattlePikeSign"
},
{
"type": "sign",
@@ -436,7 +436,7 @@
"y": 43,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_OutsideWest_EventScript_23D4EB"
+ "script": "BattleFrontier_OutsideWest_EventScript_BattleFactorySign"
},
{
"type": "sign",
diff --git a/data/maps/BattleFrontier_OutsideWest/scripts.inc b/data/maps/BattleFrontier_OutsideWest/scripts.inc
index 41d52ba7c..4fb750023 100644
--- a/data/maps/BattleFrontier_OutsideWest/scripts.inc
+++ b/data/maps/BattleFrontier_OutsideWest/scripts.inc
@@ -1,67 +1,67 @@
BattleFrontier_OutsideWest_MapScripts:: @ 823D3E1
- map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideWest_MapScript1_23D3E7
+ map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideWest_OnTransition
.byte 0
-BattleFrontier_OutsideWest_MapScript1_23D3E7: @ 823D3E7
+BattleFrontier_OutsideWest_OnTransition: @ 823D3E7
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
setflag FLAG_HIDE_BATTLE_TOWER_REPORTER
end
-BattleFrontier_OutsideWest_EventScript_23D3F0:: @ 823D3F0
+BattleFrontier_OutsideWest_EventScript_FerryAttendant:: @ 823D3F0
lock
faceplayer
- msgbox BattleFrontier_OutsideWest_Text_23D808, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideWest_Text_MayISeeYourTicket, MSGBOX_DEFAULT
checkitem ITEM_SS_TICKET, 1
- compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_OutsideWest_EventScript_23D44E
- message BattleFrontier_OutsideWest_Text_23D89D
+ compare VAR_RESULT, FALSE
+ goto_if_eq BattleFrontier_OutsideWest_EventScript_NoSSTicket
+ message BattleFrontier_OutsideWest_Text_WhereWouldYouLikeToGo
waitmessage
- goto BattleFrontier_OutsideWest_EventScript_23D416
+ goto BattleFrontier_OutsideWest_EventScript_ChooseFerryDestination
end
-BattleFrontier_OutsideWest_EventScript_23D416:: @ 823D416
+BattleFrontier_OutsideWest_EventScript_ChooseFerryDestination:: @ 823D416
multichoicedefault 18, 6, MULTI_SSTIDAL_BATTLE_FRONTIER, 2, 0
switch VAR_RESULT
- case 0, BattleFrontier_OutsideWest_EventScript_23D458
- case 1, BattleFrontier_OutsideWest_EventScript_23D483
- case 2, BattleFrontier_OutsideWest_EventScript_23D4D8
- case MULTI_B_PRESSED, BattleFrontier_OutsideWest_EventScript_23D4D8
+ case 0, BattleFrontier_OutsideWest_EventScript_FerryToSlateport
+ case 1, BattleFrontier_OutsideWest_EventScript_FerryToLilycove
+ case 2, BattleFrontier_OutsideWest_EventScript_CancelFerrySelect
+ case MULTI_B_PRESSED, BattleFrontier_OutsideWest_EventScript_CancelFerrySelect
end
-BattleFrontier_OutsideWest_EventScript_23D44E:: @ 823D44E
- msgbox BattleFrontier_OutsideWest_Text_23D842, MSGBOX_DEFAULT
+BattleFrontier_OutsideWest_EventScript_NoSSTicket:: @ 823D44E
+ msgbox BattleFrontier_OutsideWest_Text_MustHaveTicketToBoard, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
- msgbox BattleFrontier_OutsideWest_Text_23D8F2, MSGBOX_YESNO
+BattleFrontier_OutsideWest_EventScript_FerryToSlateport:: @ 823D458
+ msgbox BattleFrontier_OutsideWest_Text_SlateportItIs, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
- msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
- call BattleFrontier_OutsideWest_EventScript_23D4BA
+ goto_if_eq BattleFrontier_OutsideWest_EventScript_ChooseNewFerryDestination
+ msgbox BattleFrontier_OutsideWest_Text_PleaseBoardFerry, MSGBOX_DEFAULT
+ call BattleFrontier_OutsideWest_EventScript_BoardFerry
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
waitstate
release
end
-BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483
- msgbox BattleFrontier_OutsideWest_Text_23D90E, MSGBOX_YESNO
+BattleFrontier_OutsideWest_EventScript_FerryToLilycove:: @ 823D483
+ msgbox BattleFrontier_OutsideWest_Text_LilycoveItIs, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
- msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
- call BattleFrontier_OutsideWest_EventScript_23D4BA
+ goto_if_eq BattleFrontier_OutsideWest_EventScript_ChooseNewFerryDestination
+ msgbox BattleFrontier_OutsideWest_Text_PleaseBoardFerry, MSGBOX_DEFAULT
+ call BattleFrontier_OutsideWest_EventScript_BoardFerry
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
release
end
-BattleFrontier_OutsideWest_EventScript_23D4AE:: @ 823D4AE
- message BattleFrontier_OutsideWest_Text_23D97A
+BattleFrontier_OutsideWest_EventScript_ChooseNewFerryDestination:: @ 823D4AE
+ message BattleFrontier_OutsideWest_Text_ThenWhereWouldYouLikeToGo
waitmessage
- goto BattleFrontier_OutsideWest_EventScript_23D416
+ goto BattleFrontier_OutsideWest_EventScript_ChooseFerryDestination
end
-BattleFrontier_OutsideWest_EventScript_23D4BA:: @ 823D4BA
+BattleFrontier_OutsideWest_EventScript_BoardFerry:: @ 823D4BA
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
@@ -71,39 +71,41 @@ BattleFrontier_OutsideWest_EventScript_23D4BA:: @ 823D4BA
call Common_EventScript_FerryDepartIsland
return
-BattleFrontier_OutsideWest_EventScript_23D4D8:: @ 823D4D8
- msgbox BattleFrontier_OutsideWest_Text_23D929, MSGBOX_DEFAULT
+BattleFrontier_OutsideWest_EventScript_CancelFerrySelect:: @ 823D4D8
+ msgbox BattleFrontier_OutsideWest_Text_SailWithUsAnotherTime, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideWest_EventScript_23D4E2:: @ 823D4E2
- msgbox BattleFrontier_OutsideWest_Text_23D6F7, MSGBOX_SIGN
+BattleFrontier_OutsideWest_EventScript_BattleDomeSign:: @ 823D4E2
+ msgbox BattleFrontier_OutsideWest_Text_BattleDomeSign, MSGBOX_SIGN
end
-BattleFrontier_OutsideWest_EventScript_23D4EB:: @ 823D4EB
- msgbox BattleFrontier_OutsideWest_Text_23D737, MSGBOX_SIGN
+BattleFrontier_OutsideWest_EventScript_BattleFactorySign:: @ 823D4EB
+ msgbox BattleFrontier_OutsideWest_Text_BattleFactorySign, MSGBOX_SIGN
end
-BattleFrontier_OutsideWest_EventScript_23D4F4:: @ 823D4F4
- msgbox BattleFrontier_OutsideWest_Text_23D772, MSGBOX_SIGN
+BattleFrontier_OutsideWest_EventScript_BattlePikeSign:: @ 823D4F4
+ msgbox BattleFrontier_OutsideWest_Text_BattlePikeSign, MSGBOX_SIGN
end
-BattleFrontier_OutsideWest_EventScript_23D4FD:: @ 823D4FD
- msgbox BattleFrontier_OutsideWest_Text_23D7A6, MSGBOX_NPC
+@ Unused. Of note, Battle Tower is in the East section in the final release
+BattleFrontier_OutsideWest_EventScript_UnusedNPC1:: @ 823D4FD
+ msgbox BattleFrontier_OutsideWest_Text_ThisIsBattleTower, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D506:: @ 823D4FD
- msgbox BattleFrontier_OutsideWest_Text_23D9DD, MSGBOX_NPC
+@ Unused
+BattleFrontier_OutsideWest_EventScript_UnusedNPC2:: @ 823D4FD
+ msgbox BattleFrontier_OutsideWest_Text_CantFindBattleTower, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D50F:: @ 823D50F
- msgbox BattleFrontier_OutsideWest_Text_23D99C, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_Boy1:: @ 823D50F
+ msgbox BattleFrontier_OutsideWest_Text_BestOutOfAllMyFriends, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D518:: @ 823D518
+BattleFrontier_OutsideWest_EventScript_Fisherman2:: @ 823D518
lock
faceplayer
- message BattleFrontier_OutsideWest_Text_23DA60
+ message BattleFrontier_OutsideWest_Text_GotSeasickOnWayHere
waitmessage
applymovement 18, Common_Movement_FaceAwayPlayer
waitmovement 0
@@ -111,27 +113,27 @@ BattleFrontier_OutsideWest_EventScript_23D518:: @ 823D518
release
end
-BattleFrontier_OutsideWest_EventScript_23D52D:: @ 823D52D
- msgbox BattleFrontier_OutsideWest_Text_23DABF, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_Man1:: @ 823D52D
+ msgbox BattleFrontier_OutsideWest_Text_OnlyToughTrainersBroughtHere, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D536:: @ 823D536
+BattleFrontier_OutsideWest_EventScript_Maniac1:: @ 823D536
lock
- goto BattleFrontier_OutsideWest_EventScript_23D544
+ goto BattleFrontier_OutsideWest_EventScript_FactoryChallengersTalk
end
-BattleFrontier_OutsideWest_EventScript_23D53D:: @ 823D53D
+BattleFrontier_OutsideWest_EventScript_Maniac2:: @ 823D53D
lock
- goto BattleFrontier_OutsideWest_EventScript_23D544
+ goto BattleFrontier_OutsideWest_EventScript_FactoryChallengersTalk
end
-BattleFrontier_OutsideWest_EventScript_23D544:: @ 823D544
+BattleFrontier_OutsideWest_EventScript_FactoryChallengersTalk:: @ 823D544
applymovement 9, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
- msgbox BattleFrontier_OutsideWest_Text_23DB7D, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideWest_Text_SureWeCanChallengeWithNoMons, MSGBOX_DEFAULT
applymovement 10, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
- msgbox BattleFrontier_OutsideWest_Text_23DBCE, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideWest_Text_BigGuySaidIllLendYouMons, MSGBOX_DEFAULT
closemessage
delay 25
applymovement 9, Common_Movement_WalkInPlaceFastestUp
@@ -140,239 +142,240 @@ BattleFrontier_OutsideWest_EventScript_23D544:: @ 823D544
release
end
-BattleFrontier_OutsideWest_EventScript_23D57F:: @ 823D57F
+BattleFrontier_OutsideWest_EventScript_Camper:: @ 823D57F
lock
faceplayer
delay 20
compare VAR_FACING, DIR_NORTH
- call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
+ call_if_eq BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
compare VAR_FACING, DIR_SOUTH
- call_if_eq BattleFrontier_OutsideWest_EventScript_23D5C5
+ call_if_eq BattleFrontier_OutsideWest_EventScript_CamperAlreadyFacingFactory
compare VAR_FACING, DIR_WEST
- call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
+ call_if_eq BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
compare VAR_FACING, DIR_EAST
- call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
- msgbox BattleFrontier_OutsideWest_Text_23DC36, MSGBOX_DEFAULT
+ call_if_eq BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
+ msgbox BattleFrontier_OutsideWest_Text_WhosRaisingThoseRentalMons, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideWest_EventScript_23D5BA:: @ 823D5BA
+BattleFrontier_OutsideWest_EventScript_CamperFaceFactory:: @ 823D5BA
applymovement 14, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
return
-BattleFrontier_OutsideWest_EventScript_23D5C5:: @ 823D5C5
+BattleFrontier_OutsideWest_EventScript_CamperAlreadyFacingFactory:: @ 823D5C5
return
-BattleFrontier_OutsideWest_EventScript_23D5C6:: @ 823D5C6
+BattleFrontier_OutsideWest_EventScript_Girl:: @ 823D5C6
lock
faceplayer
- message BattleFrontier_OutsideWest_Text_23DCB0
+ message BattleFrontier_OutsideWest_Text_ScaredOfPikeBecauseSeviper
waitmessage
compare VAR_FACING, DIR_NORTH
- call_if_eq BattleFrontier_OutsideWest_EventScript_23D5FD
+ call_if_eq BattleFrontier_OutsideWest_EventScript_GirlShudderNorth
compare VAR_FACING, DIR_SOUTH
- call_if_eq BattleFrontier_OutsideWest_EventScript_23D608
+ call_if_eq BattleFrontier_OutsideWest_EventScript_GirlShudderSouth
compare VAR_FACING, DIR_WEST
- call_if_eq BattleFrontier_OutsideWest_EventScript_23D613
+ call_if_eq BattleFrontier_OutsideWest_EventScript_GirlShudderWest
compare VAR_FACING, DIR_EAST
- call_if_eq BattleFrontier_OutsideWest_EventScript_23D61E
+ call_if_eq BattleFrontier_OutsideWest_EventScript_GirlShudderEast
waitbuttonpress
release
end
-BattleFrontier_OutsideWest_EventScript_23D5FD:: @ 823D5FD
- applymovement 12, BattleFrontier_OutsideWest_Movement_23D629
+BattleFrontier_OutsideWest_EventScript_GirlShudderNorth:: @ 823D5FD
+ applymovement 12, BattleFrontier_OutsideWest_Movement_GirlShudderNorth
waitmovement 0
return
-BattleFrontier_OutsideWest_EventScript_23D608:: @ 823D608
- applymovement 12, BattleFrontier_OutsideWest_Movement_23D62C
+BattleFrontier_OutsideWest_EventScript_GirlShudderSouth:: @ 823D608
+ applymovement 12, BattleFrontier_OutsideWest_Movement_GirlShudderSouth
waitmovement 0
return
-BattleFrontier_OutsideWest_EventScript_23D613:: @ 823D613
- applymovement 12, BattleFrontier_OutsideWest_Movement_23D62F
+BattleFrontier_OutsideWest_EventScript_GirlShudderWest:: @ 823D613
+ applymovement 12, BattleFrontier_OutsideWest_Movement_GirlShudderWest
waitmovement 0
return
-BattleFrontier_OutsideWest_EventScript_23D61E:: @ 823D61E
- applymovement 12, BattleFrontier_OutsideWest_Movement_23D632
+BattleFrontier_OutsideWest_EventScript_GirlShudderEast:: @ 823D61E
+ applymovement 12, BattleFrontier_OutsideWest_Movement_GirlShudderEast
waitmovement 0
return
-BattleFrontier_OutsideWest_Movement_23D629: @ 823D629
+BattleFrontier_OutsideWest_Movement_GirlShudderNorth: @ 823D629
walk_in_place_fastest_down
walk_in_place_fastest_down
step_end
-BattleFrontier_OutsideWest_Movement_23D62C: @ 823D62C
+BattleFrontier_OutsideWest_Movement_GirlShudderSouth: @ 823D62C
walk_in_place_fastest_up
walk_in_place_fastest_up
step_end
-BattleFrontier_OutsideWest_Movement_23D62F: @ 823D62F
+BattleFrontier_OutsideWest_Movement_GirlShudderWest: @ 823D62F
walk_in_place_fastest_right
walk_in_place_fastest_right
step_end
-BattleFrontier_OutsideWest_Movement_23D632: @ 823D632
+BattleFrontier_OutsideWest_Movement_GirlShudderEast: @ 823D632
walk_in_place_fastest_left
walk_in_place_fastest_left
step_end
-BattleFrontier_OutsideWest_EventScript_23D635:: @ 823D635
+BattleFrontier_OutsideWest_EventScript_Woman2:: @ 823D635
lock
faceplayer
- msgbox BattleFrontier_OutsideWest_Text_23DD3B, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideWest_Text_LetsPlayRockPaperScissors, MSGBOX_DEFAULT
random 2
compare VAR_RESULT, 1
- goto_if_eq BattleFrontier_OutsideWest_EventScript_23D653
- goto BattleFrontier_OutsideWest_EventScript_23D65D
+ goto_if_eq BattleFrontier_OutsideWest_EventScript_WomanWonRockPaperScissors
+ goto BattleFrontier_OutsideWest_EventScript_WomanLostRockPaperScissors
end
-BattleFrontier_OutsideWest_EventScript_23D653:: @ 823D653
- msgbox BattleFrontier_OutsideWest_Text_23DD7A, MSGBOX_DEFAULT
+BattleFrontier_OutsideWest_EventScript_WomanWonRockPaperScissors:: @ 823D653
+ msgbox BattleFrontier_OutsideWest_Text_WonIllTakePikeChallenge, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideWest_EventScript_23D65D:: @ 823D65D
- msgbox BattleFrontier_OutsideWest_Text_23DDAD, MSGBOX_DEFAULT
+BattleFrontier_OutsideWest_EventScript_WomanLostRockPaperScissors:: @ 823D65D
+ msgbox BattleFrontier_OutsideWest_Text_LostIllPutOffPikeChallenge, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideWest_EventScript_23D667:: @ 823D667
- msgbox BattleFrontier_OutsideWest_Text_23DE15, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_Fisherman1:: @ 823D667
+ msgbox BattleFrontier_OutsideWest_Text_ChooseFishingOverBattling, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D670:: @ 823D670
- msgbox BattleFrontier_OutsideWest_Text_23DF7D, MSGBOX_NPC
+@ Unused
+BattleFrontier_OutsideWest_EventScript_UnusedNPC3:: @ 823D670
+ msgbox BattleFrontier_OutsideWest_Text_DomeIsHereGrandpa, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D679:: @ 823D679
- msgbox BattleFrontier_OutsideWest_Text_23DEFD, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_Gentleman:: @ 823D679
+ msgbox BattleFrontier_OutsideWest_Text_YoureOffToChallengeDome, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D682:: @ 823D682
- msgbox BattleFrontier_OutsideWest_Text_23DEB4, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_Lass:: @ 823D682
+ msgbox BattleFrontier_OutsideWest_Text_KeepBattlingUntilIGetSymbol, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D68B:: @ 823D68B
- msgbox BattleFrontier_OutsideWest_Text_23DFBF, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_ExpertM:: @ 823D68B
+ msgbox BattleFrontier_OutsideWest_Text_WontLetGentlemenBeatMe, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D694:: @ 823D694
- msgbox BattleFrontier_OutsideWest_Text_23E01E, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_Man2:: @ 823D694
+ msgbox BattleFrontier_OutsideWest_Text_NothingHereNotLongAgo, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D69D:: @ 823D69D
- msgbox BattleFrontier_OutsideWest_Text_23E09F, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_Woman1:: @ 823D69D
+ msgbox BattleFrontier_OutsideWest_Text_FinallyArrivedAtFrontier, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D6A6:: @ 823D6A6
- msgbox BattleFrontier_OutsideWest_Text_23E102, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_FatMan1:: @ 823D6A6
+ msgbox BattleFrontier_OutsideWest_Text_SquareFilledWithToughPeople, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D6AF:: @ 823D6AF
- msgbox BattleFrontier_OutsideWest_Text_23E154, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_FatMan2:: @ 823D6AF
+ msgbox BattleFrontier_OutsideWest_Text_MetOlderGirlAtPike, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D6B8:: @ 823D6B8
+BattleFrontier_OutsideWest_EventScript_Woman3:: @ 823D6B8
lock
- msgbox BattleFrontier_OutsideWest_Text_23E273, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideWest_Text_LastTimeOurEyesMet, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideWest_EventScript_23D6C3:: @ 823D6C3
+BattleFrontier_OutsideWest_EventScript_Boy2:: @ 823D6C3
lock
- msgbox BattleFrontier_OutsideWest_Text_23E2E9, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideWest_Text_DomeAceLookedBecauseOfMyCheering, MSGBOX_DEFAULT
release
end
-BattleFrontier_OutsideWest_EventScript_23D6CE:: @ 823D6CE
- msgbox BattleFrontier_OutsideWest_Text_23E37E, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_OldMan:: @ 823D6CE
+ msgbox BattleFrontier_OutsideWest_Text_DomeAceIsMine, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_EventScript_23D6D7:: @ 823D6D7
+BattleFrontier_OutsideWest_EventScript_Man4:: @ 823D6D7
lock
faceplayer
- msgbox BattleFrontier_OutsideWest_Text_23E410, MSGBOX_DEFAULT
+ msgbox BattleFrontier_OutsideWest_Text_FansOverThereUsedToBeTrainers, MSGBOX_DEFAULT
closemessage
applymovement 23, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
-BattleFrontier_OutsideWest_EventScript_23D6EE:: @ 823D6EE
- msgbox BattleFrontier_OutsideWest_Text_23E5A5, MSGBOX_NPC
+BattleFrontier_OutsideWest_EventScript_PokefanF:: @ 823D6EE
+ msgbox BattleFrontier_OutsideWest_Text_MonWithLongTailInFrontier, MSGBOX_NPC
end
-BattleFrontier_OutsideWest_Text_23D6F7: @ 823D6F7
+BattleFrontier_OutsideWest_Text_BattleDomeSign: @ 823D6F7
.string "This is the BATTLE DOME!\n"
.string "Your path to the invincible superstar!$"
-BattleFrontier_OutsideWest_Text_23D737: @ 823D737
+BattleFrontier_OutsideWest_Text_BattleFactorySign: @ 823D737
.string "This is the BATTLE FACTORY!\n"
.string "Seek out the toughest POKéMON!$"
-BattleFrontier_OutsideWest_Text_23D772: @ 823D772
+BattleFrontier_OutsideWest_Text_BattlePikeSign: @ 823D772
.string "This is the BATTLE PIKE!\n"
.string "Choose one of three paths!$"
-BattleFrontier_OutsideWest_Text_23D7A6: @ 823D7A6
+BattleFrontier_OutsideWest_Text_ThisIsBattleTower: @ 823D7A6
.string "This is the BATTLE TOWER.\p"
.string "TRAINERS bring their best-raised\n"
.string "POKéMON for elimination-style matches.$"
-BattleFrontier_OutsideWest_Text_23D808: @ 823D808
+BattleFrontier_OutsideWest_Text_MayISeeYourTicket: @ 823D808
.string "Hello, are you here for the ferry?\n"
.string "May I see your TICKET?$"
-BattleFrontier_OutsideWest_Text_23D842: @ 823D842
+BattleFrontier_OutsideWest_Text_MustHaveTicketToBoard: @ 823D842
.string "{PLAYER} doesn't have the TICKET…\p"
.string "I'm terribly sorry.\p"
.string "You must have a TICKET to board\n"
.string "the ferry.$"
-BattleFrontier_OutsideWest_Text_23D89D: @ 823D89D
+BattleFrontier_OutsideWest_Text_WhereWouldYouLikeToGo: @ 823D89D
.string "{PLAYER} flashed the TICKET.\p"
.string "Perfect! That's all you need!\p"
.string "And where would you like to go?$"
-BattleFrontier_OutsideWest_Text_23D8F2: @ 823D8F2
+BattleFrontier_OutsideWest_Text_SlateportItIs: @ 823D8F2
.string "SLATEPORT CITY it is, then!$"
-BattleFrontier_OutsideWest_Text_23D90E: @ 823D90E
+BattleFrontier_OutsideWest_Text_LilycoveItIs: @ 823D90E
.string "LILYCOVE CITY it is, then!$"
-BattleFrontier_OutsideWest_Text_23D929: @ 823D929
+BattleFrontier_OutsideWest_Text_SailWithUsAnotherTime: @ 823D929
.string "Please sail with us another time!$"
-BattleFrontier_OutsideWest_Text_23D94B: @ 823D94B
+BattleFrontier_OutsideWest_Text_PleaseBoardFerry: @ 823D94B
.string "Please board the ferry and wait for\n"
.string "departure.$"
-BattleFrontier_OutsideWest_Text_23D97A: @ 823D97A
+BattleFrontier_OutsideWest_Text_ThenWhereWouldYouLikeToGo: @ 823D97A
.string "Then, where would you like to go?$"
-BattleFrontier_OutsideWest_Text_23D99C: @ 823D99C
+BattleFrontier_OutsideWest_Text_BestOutOfAllMyFriends: @ 823D99C
.string "I'm the best out of all my friends.\n"
.string "But here…\l"
.string "I've been useless!$"
-BattleFrontier_OutsideWest_Text_23D9DD: @ 823D9DD
+BattleFrontier_OutsideWest_Text_CantFindBattleTower: @ 823D9DD
.string "I want to go to the BATTLE TOWER,\n"
.string "but I can't find it even though I have\l"
.string "a map of the BATTLE FRONTIER.\p"
.string "This place is just too big!$"
-BattleFrontier_OutsideWest_Text_23DA60: @ 823DA60
+BattleFrontier_OutsideWest_Text_GotSeasickOnWayHere: @ 823DA60
.string "I wanted to take a challenge as soon\n"
.string "as I arrived here.\p"
.string "But on the way, I got seasick…\n"
.string "Urrrrp…$"
-BattleFrontier_OutsideWest_Text_23DABF: @ 823DABF
+BattleFrontier_OutsideWest_Text_OnlyToughTrainersBroughtHere: @ 823DABF
.string "It's not as if just anyone can come\n"
.string "here, you know?\p"
.string "Only those TRAINERS who've been\n"
@@ -380,94 +383,94 @@ BattleFrontier_OutsideWest_Text_23DABF: @ 823DABF
.string "That's why many TRAINERS don't even\n"
.string "know about the BATTLE FRONTIER.$"
-BattleFrontier_OutsideWest_Text_23DB7D: @ 823DB7D
+BattleFrontier_OutsideWest_Text_SureWeCanChallengeWithNoMons: @ 823DB7D
.string "Hey, bro…\p"
.string "Are you sure we can make challenges\n"
.string "even if we don't have any POKéMON?$"
-BattleFrontier_OutsideWest_Text_23DBCE: @ 823DBCE
+BattleFrontier_OutsideWest_Text_BigGuySaidIllLendYouMons: @ 823DBCE
.string "Uh…\n"
.string "I'm sure it'll be okay.\p"
.string "I think…\p"
.string "But remember that big scary guy?\n"
.string "He said, “I'll lend you POKéMON!”$"
-BattleFrontier_OutsideWest_Text_23DC36: @ 823DC36
+BattleFrontier_OutsideWest_Text_WhosRaisingThoseRentalMons: @ 823DC36
.string "That's the BATTLE FACTORY.\n"
.string "You can rent strong POKéMON there.\p"
.string "But it makes me wonder.\n"
.string "Who's raising those rental POKéMON?$"
-BattleFrontier_OutsideWest_Text_23DCB0: @ 823DCB0
+BattleFrontier_OutsideWest_Text_ScaredOfPikeBecauseSeviper: @ 823DCB0
.string "I'm scared of going into the BATTLE\n"
.string "PIKE because of SEVIPER…\p"
.string "B-but I came all the way here, so I will\n"
.string "try to conquer everything!\l"
.string "…Shudder…$"
-BattleFrontier_OutsideWest_Text_23DD3B: @ 823DD3B
+BattleFrontier_OutsideWest_Text_LetsPlayRockPaperScissors: @ 823DD3B
.string "Let's play rock, paper, scissors!\n"
.string "One, two, three!\p"
.string "… … … … … …$"
-BattleFrontier_OutsideWest_Text_23DD7A: @ 823DD7A
+BattleFrontier_OutsideWest_Text_WonIllTakePikeChallenge: @ 823DD7A
.string "Yay! I won!\n"
.string "I will take the BATTLE PIKE challenge!$"
-BattleFrontier_OutsideWest_Text_23DDAD: @ 823DDAD
+BattleFrontier_OutsideWest_Text_LostIllPutOffPikeChallenge: @ 823DDAD
.string "Oh, no…\n"
.string "I lost.\p"
.string "I guess I'm not very lucky today.\n"
.string "I'll put off my BATTLE PIKE challenge\l"
.string "until tomorrow.$"
-BattleFrontier_OutsideWest_Text_23DE15: @ 823DE15
+BattleFrontier_OutsideWest_Text_ChooseFishingOverBattling: @ 823DE15
.string "I believe I'm the only person here who,\n"
.string "for some unknown reason, would choose\l"
.string "fishing over battling.\p"
.string "Huh? You can't catch anything here?\n"
.string "That's disappointing…$"
-BattleFrontier_OutsideWest_Text_23DEB4: @ 823DEB4
+BattleFrontier_OutsideWest_Text_KeepBattlingUntilIGetSymbol: @ 823DEB4
.string "Today, I'm going to keep battling, no\n"
.string "matter what, until I get a Symbol.$"
-BattleFrontier_OutsideWest_Text_23DEFD: @ 823DEFD
+BattleFrontier_OutsideWest_Text_YoureOffToChallengeDome: @ 823DEFD
.string "Oh? You're off to challenge\n"
.string "the BATTLE DOME?\p"
.string "I'll wish you the best of luck.\n"
.string "Let us both win our way up and meet\l"
.string "in challenges.$"
-BattleFrontier_OutsideWest_Text_23DF7D: @ 823DF7D
+BattleFrontier_OutsideWest_Text_DomeIsHereGrandpa: @ 823DF7D
.string "Grandpa, over here!\n"
.string "The BATTLE DOME is here!\l"
.string "Go get 'em, Grandpa!$"
-BattleFrontier_OutsideWest_Text_23DFBF: @ 823DFBF
+BattleFrontier_OutsideWest_Text_WontLetGentlemenBeatMe: @ 823DFBF
.string "Ah, so this here is the BATTLE DOME?\n"
.string "I won't let GENTLEMEN beat me!\p"
.string "But where is the entrance?$"
-BattleFrontier_OutsideWest_Text_23E01E: @ 823E01E
+BattleFrontier_OutsideWest_Text_NothingHereNotLongAgo: @ 823E01E
.string "There used to be nothing here not all\n"
.string "that long ago.\p"
.string "But, now look at this place! Amazing!\n"
.string "I'll bring my mother out to see this.$"
-BattleFrontier_OutsideWest_Text_23E09F: @ 823E09F
+BattleFrontier_OutsideWest_Text_FinallyArrivedAtFrontier: @ 823E09F
.string "I've finally arrived at the BATTLE\n"
.string "FRONTIER!\p"
.string "I'm sure to grab attention with\n"
.string "my looks and ability!$"
-BattleFrontier_OutsideWest_Text_23E102: @ 823E102
+BattleFrontier_OutsideWest_Text_SquareFilledWithToughPeople: @ 823E102
.string "Munch, munch…\p"
.string "It looks like this square's filled with\n"
.string "tough people.\p"
.string "Munch, munch…$"
-BattleFrontier_OutsideWest_Text_23E154: @ 823E154
+BattleFrontier_OutsideWest_Text_MetOlderGirlAtPike: @ 823E154
.string "Crunch, munch…\p"
.string "A while back, I met this older girl\n"
.string "at the BATTLE PIKE.\p"
@@ -480,13 +483,13 @@ BattleFrontier_OutsideWest_Text_23E154: @ 823E154
.string "scary experience, sure enough.\p"
.string "Crunch, munch…$"
-BattleFrontier_OutsideWest_Text_23E273: @ 823E273
+BattleFrontier_OutsideWest_Text_LastTimeOurEyesMet: @ 823E273
.string "Huh? Will you listen to yourself?\n"
.string "That's nothing!\p"
.string "Why, the last time I cheered for him,\n"
.string "our eyes met and sparks flew!$"
-BattleFrontier_OutsideWest_Text_23E2E9: @ 823E2E9
+BattleFrontier_OutsideWest_Text_DomeAceLookedBecauseOfMyCheering: @ 823E2E9
.string "Whaaaaaat?!\n"
.string "Pfft!\p"
.string "That only happened because\n"
@@ -494,7 +497,7 @@ BattleFrontier_OutsideWest_Text_23E2E9: @ 823E2E9
.string "The DOME ACE only looked our way\n"
.string "because my cheering was so loud!$"
-BattleFrontier_OutsideWest_Text_23E37E: @ 823E37E
+BattleFrontier_OutsideWest_Text_DomeAceIsMine: @ 823E37E
.string "Oh, shush!\n"
.string "Keep that racket down!\p"
.string "You fair-weather fans should stick\n"
@@ -502,7 +505,7 @@ BattleFrontier_OutsideWest_Text_23E37E: @ 823E37E
.string "The DOME ACE is mine!\n"
.string "The only idol for me!$"
-BattleFrontier_OutsideWest_Text_23E410: @ 823E410
+BattleFrontier_OutsideWest_Text_FansOverThereUsedToBeTrainers: @ 823E410
.string "Those people squabbling over there…\p"
.string "It's hard to believe, but they once\n"
.string "were TRAINERS, and good ones, too.\p"
@@ -516,7 +519,7 @@ BattleFrontier_OutsideWest_Text_23E410: @ 823E410
.string "They go cheer for their idol at the\l"
.string "BATTLE DOME every day now.$"
-BattleFrontier_OutsideWest_Text_23E5A5: @ 823E5A5
+BattleFrontier_OutsideWest_Text_MonWithLongTailInFrontier: @ 823E5A5
.string "I heard a rumor that someone saw\n"
.string "a POKéMON with an unusually long tail\l"
.string "somewhere in the BATTLE FRONTIER.\p"
diff --git a/data/maps/BattleFrontier_RankingHall/map.json b/data/maps/BattleFrontier_RankingHall/map.json
index af28ecea6..f26e03e41 100644
--- a/data/maps/BattleFrontier_RankingHall/map.json
+++ b/data/maps/BattleFrontier_RankingHall/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_RankingHall_EventScript_25E52F",
+ "script": "BattleFrontier_RankingHall_EventScript_Attendant",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_RankingHall_EventScript_25E54A",
+ "script": "BattleFrontier_RankingHall_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_RankingHall_EventScript_25E573",
+ "script": "BattleFrontier_RankingHall_EventScript_Boy",
"flag": "0"
}
],
@@ -78,7 +78,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E4AA"
+ "script": "BattleFrontier_RankingHall_EventScript_TowerSinglesRecords"
},
{
"type": "sign",
@@ -86,7 +86,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E4B6"
+ "script": "BattleFrontier_RankingHall_EventScript_TowerDoublesRecords"
},
{
"type": "sign",
@@ -94,7 +94,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E4C2"
+ "script": "BattleFrontier_RankingHall_EventScript_TowerMultisRecords"
},
{
"type": "sign",
@@ -102,7 +102,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E4CE"
+ "script": "BattleFrontier_RankingHall_EventScript_TowerLinkRecords"
},
{
"type": "sign",
@@ -110,7 +110,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E4DA"
+ "script": "BattleFrontier_RankingHall_EventScript_ArenaRecords"
},
{
"type": "sign",
@@ -118,7 +118,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E4E6"
+ "script": "BattleFrontier_RankingHall_EventScript_PalaceRecords"
},
{
"type": "sign",
@@ -126,7 +126,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E4F2"
+ "script": "BattleFrontier_RankingHall_EventScript_FactoryRecords"
},
{
"type": "sign",
@@ -134,7 +134,7 @@
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E4FE"
+ "script": "BattleFrontier_RankingHall_EventScript_DomeRecords"
},
{
"type": "sign",
@@ -142,7 +142,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E50A"
+ "script": "BattleFrontier_RankingHall_EventScript_PikeRecords"
},
{
"type": "sign",
@@ -150,7 +150,7 @@
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "BattleFrontier_RankingHall_EventScript_25E516"
+ "script": "BattleFrontier_RankingHall_EventScript_PyramidRecords"
},
{
"type": "sign",
@@ -158,7 +158,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_RankingHall_EventScript_25E538"
+ "script": "BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign"
},
{
"type": "sign",
@@ -166,7 +166,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "BattleFrontier_RankingHall_EventScript_25E541"
+ "script": "BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn"
}
]
} \ No newline at end of file
diff --git a/data/maps/BattleFrontier_RankingHall/scripts.inc b/data/maps/BattleFrontier_RankingHall/scripts.inc
index 86682522c..e8415c828 100644
--- a/data/maps/BattleFrontier_RankingHall/scripts.inc
+++ b/data/maps/BattleFrontier_RankingHall/scripts.inc
@@ -1,67 +1,67 @@
BattleFrontier_RankingHall_MapScripts:: @ 825E4A9
.byte 0
-BattleFrontier_RankingHall_EventScript_25E4AA:: @ 825E4AA
+BattleFrontier_RankingHall_EventScript_TowerSinglesRecords:: @ 825E4AA
lockall
- setvar VAR_0x8005, 0
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_SINGLES
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E4B6:: @ 825E4B6
+BattleFrontier_RankingHall_EventScript_TowerDoublesRecords:: @ 825E4B6
lockall
- setvar VAR_0x8005, 1
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_DOUBLES
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E4C2:: @ 825E4C2
+BattleFrontier_RankingHall_EventScript_TowerMultisRecords:: @ 825E4C2
lockall
- setvar VAR_0x8005, 2
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_MULTIS
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E4CE:: @ 825E4CE
+BattleFrontier_RankingHall_EventScript_TowerLinkRecords:: @ 825E4CE
lockall
- setvar VAR_0x8005, 9
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_LINK
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E4DA:: @ 825E4DA
+BattleFrontier_RankingHall_EventScript_ArenaRecords:: @ 825E4DA
lockall
- setvar VAR_0x8005, 5
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_ARENA
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E4E6:: @ 825E4E6
+BattleFrontier_RankingHall_EventScript_PalaceRecords:: @ 825E4E6
lockall
- setvar VAR_0x8005, 4
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_PALACE
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E4F2:: @ 825E4F2
+BattleFrontier_RankingHall_EventScript_FactoryRecords:: @ 825E4F2
lockall
- setvar VAR_0x8005, 6
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_FACTORY
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E4FE:: @ 825E4FE
+BattleFrontier_RankingHall_EventScript_DomeRecords:: @ 825E4FE
lockall
- setvar VAR_0x8005, 3
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_DOME
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E50A:: @ 825E50A
+BattleFrontier_RankingHall_EventScript_PikeRecords:: @ 825E50A
lockall
- setvar VAR_0x8005, 7
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_PIKE
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E516:: @ 825E516
+BattleFrontier_RankingHall_EventScript_PyramidRecords:: @ 825E516
lockall
- setvar VAR_0x8005, 8
- goto BattleFrontier_RankingHall_EventScript_25E522
+ setvar VAR_0x8005, RANKING_HALL_BATTLE_PYRAMID
+ goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
-BattleFrontier_RankingHall_EventScript_25E522:: @ 825E522
+BattleFrontier_RankingHall_EventScript_ShowRecords:: @ 825E522
special ShowRankingHallRecordsWindow
waitbuttonpress
special ScrollRankingHallRecordsWindow
@@ -70,64 +70,64 @@ BattleFrontier_RankingHall_EventScript_25E522:: @ 825E522
releaseall
end
-BattleFrontier_RankingHall_EventScript_25E52F:: @ 825E52F
- msgbox BattleFrontier_RankingHall_Text_25E57C, MSGBOX_NPC
+BattleFrontier_RankingHall_EventScript_Attendant:: @ 825E52F
+ msgbox BattleFrontier_RankingHall_Text_ExplainRankingHall, MSGBOX_NPC
end
-BattleFrontier_RankingHall_EventScript_25E538:: @ 825E538
- msgbox BattleFrontier_RankingHall_Text_25E5F9, MSGBOX_SIGN
+BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign:: @ 825E538
+ msgbox BattleFrontier_RankingHall_Text_DomePikeFactoryRecords, MSGBOX_SIGN
end
-BattleFrontier_RankingHall_EventScript_25E541:: @ 825E541
- msgbox BattleFrontier_RankingHall_Text_25E62E, MSGBOX_SIGN
+BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn:: @ 825E541
+ msgbox BattleFrontier_RankingHall_Text_PalaceArenaPyramidRecords, MSGBOX_SIGN
end
-BattleFrontier_RankingHall_EventScript_25E54A:: @ 825E54A
+BattleFrontier_RankingHall_EventScript_NinjaBoy:: @ 825E54A
lock
faceplayer
- msgbox BattleFrontier_RankingHall_Text_25E666, MSGBOX_YESNO
+ msgbox BattleFrontier_RankingHall_Text_IsYourNameOnThisList, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq BattleFrontier_RankingHall_EventScript_25E569
- msgbox BattleFrontier_RankingHall_Text_25E6B6, MSGBOX_DEFAULT
+ goto_if_eq BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList
+ msgbox BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName, MSGBOX_DEFAULT
release
end
-BattleFrontier_RankingHall_EventScript_25E569:: @ 825E569
- msgbox BattleFrontier_RankingHall_Text_25E685, MSGBOX_DEFAULT
+BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList:: @ 825E569
+ msgbox BattleFrontier_RankingHall_Text_WowThatsSuper, MSGBOX_DEFAULT
release
end
-BattleFrontier_RankingHall_EventScript_25E573:: @ 825E573
- msgbox BattleFrontier_RankingHall_Text_25E715, MSGBOX_NPC
+BattleFrontier_RankingHall_EventScript_Boy:: @ 825E573
+ msgbox BattleFrontier_RankingHall_Text_MyNamesNotUpThere, MSGBOX_NPC
end
-BattleFrontier_RankingHall_Text_25E57C: @ 825E57C
+BattleFrontier_RankingHall_Text_ExplainRankingHall: @ 825E57C
.string "This is the RANKING HALL.\p"
.string "This is where we recognize the immortal\n"
.string "TRAINERS who left great records in\l"
.string "BATTLE FRONTIER events.$"
-BattleFrontier_RankingHall_Text_25E5F9: @ 825E5F9
+BattleFrontier_RankingHall_Text_DomePikeFactoryRecords: @ 825E5F9
.string "BATTLE DOME, BATTLE PIKE,\n"
.string "and BATTLE FACTORY Records$"
-BattleFrontier_RankingHall_Text_25E62E: @ 825E62E
+BattleFrontier_RankingHall_Text_PalaceArenaPyramidRecords: @ 825E62E
.string "BATTLE PALACE, BATTLE ARENA,\n"
.string "and BATTLE PYRAMID Records$"
-BattleFrontier_RankingHall_Text_25E666: @ 825E666
+BattleFrontier_RankingHall_Text_IsYourNameOnThisList: @ 825E666
.string "Hi, is your name on this list?$"
-BattleFrontier_RankingHall_Text_25E685: @ 825E685
+BattleFrontier_RankingHall_Text_WowThatsSuper: @ 825E685
.string "Wow, that's super!\n"
.string "I'll have to try harder, too!$"
-BattleFrontier_RankingHall_Text_25E6B6: @ 825E6B6
+BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName: @ 825E6B6
.string "Oh, is that right?\p"
.string "If you saw your friend's name up here,\n"
.string "I bet it would make you work harder!$"
-BattleFrontier_RankingHall_Text_25E715: @ 825E715
+BattleFrontier_RankingHall_Text_MyNamesNotUpThere: @ 825E715
.string "Hmm…\n"
.string "My name's not up there…\p"
.string "Well, it's only natural since I haven't\n"
diff --git a/data/maps/BattleFrontier_ReceptionGate/map.json b/data/maps/BattleFrontier_ReceptionGate/map.json
index db140442e..ff891ad5b 100644
--- a/data/maps/BattleFrontier_ReceptionGate/map.json
+++ b/data/maps/BattleFrontier_ReceptionGate/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_ReceptionGate_EventScript_2662FC",
+ "script": "BattleFrontier_ReceptionGate_EventScript_Greeter",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_ReceptionGate_EventScript_266310",
+ "script": "BattleFrontier_ReceptionGate_EventScript_FacilityGuide",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_ReceptionGate_EventScript_266436",
+ "script": "BattleFrontier_ReceptionGate_EventScript_RulesGuide",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_ReceptionGate_EventScript_2664F4",
+ "script": "BattleFrontier_ReceptionGate_EventScript_FrontierPassGuide",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_ReceptionGate/scripts.inc b/data/maps/BattleFrontier_ReceptionGate/scripts.inc
index 640309975..cb01034ad 100644
--- a/data/maps/BattleFrontier_ReceptionGate/scripts.inc
+++ b/data/maps/BattleFrontier_ReceptionGate/scripts.inc
@@ -1,5 +1,5 @@
BattleFrontier_ReceptionGate_MapScripts:: @ 82661DA
- map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_ReceptionGate_MapScript2_2661E9
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_ReceptionGate_OnFrame
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_ReceptionGate_OnTransition
.byte 0
@@ -7,11 +7,11 @@ BattleFrontier_ReceptionGate_OnTransition: @ 82661E5
setflag FLAG_LANDMARK_BATTLE_FRONTIER
end
-BattleFrontier_ReceptionGate_MapScript2_2661E9: @ 82661E9
- map_script_2 VAR_HAS_ENTERED_BATTLE_FRONTIER, 0, BattleFrontier_ReceptionGate_EventScript_2661F3
+BattleFrontier_ReceptionGate_OnFrame: @ 82661E9
+ map_script_2 VAR_HAS_ENTERED_BATTLE_FRONTIER, 0, BattleFrontier_ReceptionGate_EventScript_FirstTimeEntering
.2byte 0
-BattleFrontier_ReceptionGate_EventScript_2661F3:: @ 82661F3
+BattleFrontier_ReceptionGate_EventScript_FirstTimeEntering:: @ 82661F3
lockall
setvar VAR_HAS_ENTERED_BATTLE_FRONTIER, 1
playse SE_PIN
@@ -19,24 +19,24 @@ BattleFrontier_ReceptionGate_EventScript_2661F3:: @ 82661F3
waitmovement 0
applymovement 1, Common_Movement_Delay48
waitmovement 0
- msgbox BattleFrontier_ReceptionGate_Text_266580, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_FirstTimeHereThisWay, MSGBOX_DEFAULT
closemessage
- applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_2662D2
+ applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_PlayerApproachCounter
waitmovement 0
- goto BattleFrontier_ReceptionGate_EventScript_266229
+ goto BattleFrontier_ReceptionGate_EventScript_ScottScene
end
-BattleFrontier_ReceptionGate_EventScript_266229:: @ 8266229
- msgbox BattleFrontier_ReceptionGate_Text_2665B2, MSGBOX_DEFAULT
- msgbox BattleFrontier_ReceptionGate_Text_2665F7, MSGBOX_DEFAULT
+BattleFrontier_ReceptionGate_EventScript_ScottScene:: @ 8266229
+ msgbox BattleFrontier_ReceptionGate_Text_WelcomeToBattleFrontier, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_IssueFrontierPass, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
- message BattleFrontier_ReceptionGate_Text_266676
+ message BattleFrontier_ReceptionGate_Text_ObtainedFrontierPass
waitfanfare
waitmessage
- msgbox BattleFrontier_ReceptionGate_Text_266695, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_PlacedTrainerCardInFrontierPass, MSGBOX_DEFAULT
setflag FLAG_SYS_FRONTIER_PASS
- msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
- msgbox BattleFrontier_ReceptionGate_Text_266703, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_IfItIsntPlayerYouCame, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_WalkInPlaceFastestUp
applymovement 2, Common_Movement_WalkInPlaceFastestUp
@@ -47,29 +47,29 @@ BattleFrontier_ReceptionGate_EventScript_266229:: @ 8266229
applymovement 2, Common_Movement_ExclamationMark
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_ExclamationMark
waitmovement 0
- msgbox BattleFrontier_ReceptionGate_Text_266733, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_OhMrScottGoodDay, MSGBOX_DEFAULT
closemessage
- applymovement 1, BattleFrontier_ReceptionGate_Movement_2662F0
- applymovement 2, BattleFrontier_ReceptionGate_Movement_2662F6
- applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_2662D7
- applymovement 4, BattleFrontier_ReceptionGate_Movement_2662E0
+ applymovement 1, BattleFrontier_ReceptionGate_Movement_GreeterFaceScott
+ applymovement 2, BattleFrontier_ReceptionGate_Movement_FacilityGuideFaceScott
+ applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_PlayerFaceScott
+ applymovement 4, BattleFrontier_ReceptionGate_Movement_ScottEnter
waitmovement 0
- msgbox BattleFrontier_ReceptionGate_Text_266764, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_ScottGreatToSeeYouHere, MSGBOX_DEFAULT
closemessage
- applymovement 4, BattleFrontier_ReceptionGate_Movement_2662E8
+ applymovement 4, BattleFrontier_ReceptionGate_Movement_ScottExit
waitmovement 0
removeobject 4
releaseall
end
-BattleFrontier_ReceptionGate_Movement_2662D2: @ 82662D2
+BattleFrontier_ReceptionGate_Movement_PlayerApproachCounter: @ 82662D2
walk_up
walk_up
walk_left
walk_left
step_end
-BattleFrontier_ReceptionGate_Movement_2662D7: @ 82662D7
+BattleFrontier_ReceptionGate_Movement_PlayerFaceScott: @ 82662D7
delay_16
delay_16
delay_16
@@ -77,12 +77,13 @@ BattleFrontier_ReceptionGate_Movement_2662D7: @ 82662D7
walk_in_place_fastest_right
step_end
-BattleFrontier_ReceptionGate_Movement_2662DD: @ 82662DD
+@ Unused
+BattleFrontier_ReceptionGate_Movement_WalkDown: @ 82662DD
walk_down
walk_down
step_end
-BattleFrontier_ReceptionGate_Movement_2662E0: @ 82662E0
+BattleFrontier_ReceptionGate_Movement_ScottEnter: @ 82662E0
walk_down
walk_down
walk_down
@@ -92,7 +93,7 @@ BattleFrontier_ReceptionGate_Movement_2662E0: @ 82662E0
walk_left
step_end
-BattleFrontier_ReceptionGate_Movement_2662E8: @ 82662E8
+BattleFrontier_ReceptionGate_Movement_ScottExit: @ 82662E8
walk_right
walk_up
walk_up
@@ -102,7 +103,7 @@ BattleFrontier_ReceptionGate_Movement_2662E8: @ 82662E8
walk_up
step_end
-BattleFrontier_ReceptionGate_Movement_2662F0: @ 82662F0
+BattleFrontier_ReceptionGate_Movement_GreeterFaceScott: @ 82662F0
delay_16
delay_16
delay_16
@@ -110,7 +111,7 @@ BattleFrontier_ReceptionGate_Movement_2662F0: @ 82662F0
walk_in_place_fastest_right
step_end
-BattleFrontier_ReceptionGate_Movement_2662F6: @ 82662F6
+BattleFrontier_ReceptionGate_Movement_FacilityGuideFaceScott: @ 82662F6
delay_16
delay_16
delay_16
@@ -118,217 +119,217 @@ BattleFrontier_ReceptionGate_Movement_2662F6: @ 82662F6
walk_in_place_fastest_left
step_end
-BattleFrontier_ReceptionGate_EventScript_2662FC:: @ 82662FC
+BattleFrontier_ReceptionGate_EventScript_Greeter:: @ 82662FC
lock
faceplayer
- msgbox BattleFrontier_ReceptionGate_Text_2665B2, MSGBOX_DEFAULT
- msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_WelcomeToBattleFrontier, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
release
end
-BattleFrontier_ReceptionGate_EventScript_266310:: @ 8266310
+BattleFrontier_ReceptionGate_EventScript_FacilityGuide:: @ 8266310
lock
faceplayer
- msgbox BattleFrontier_ReceptionGate_Text_266857, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+ msgbox BattleFrontier_ReceptionGate_Text_YourGuideToFacilities, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_266320:: @ 8266320
- message BattleFrontier_ReceptionGate_Text_26689D
+BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout:: @ 8266320
+ message BattleFrontier_ReceptionGate_Text_LearnAboutWhich2
waitmessage
setvar VAR_0x8004, SCROLL_MULTI_BF_RECEPTIONIST
special ShowScrollableMultichoice
waitstate
switch VAR_RESULT
- case 0, BattleFrontier_ReceptionGate_EventScript_2663AE
- case 1, BattleFrontier_ReceptionGate_EventScript_2663BC
- case 2, BattleFrontier_ReceptionGate_EventScript_2663CA
- case 3, BattleFrontier_ReceptionGate_EventScript_2663D8
- case 4, BattleFrontier_ReceptionGate_EventScript_2663E6
- case 5, BattleFrontier_ReceptionGate_EventScript_2663F4
- case 6, BattleFrontier_ReceptionGate_EventScript_266402
- case 7, BattleFrontier_ReceptionGate_EventScript_266410
- case 8, BattleFrontier_ReceptionGate_EventScript_26641E
- case 9, BattleFrontier_ReceptionGate_EventScript_26642C
- case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_26642C
+ case 0, BattleFrontier_ReceptionGate_EventScript_BattleTower
+ case 1, BattleFrontier_ReceptionGate_EventScript_BattleDome
+ case 2, BattleFrontier_ReceptionGate_EventScript_BattlePalace
+ case 3, BattleFrontier_ReceptionGate_EventScript_BattleArena
+ case 4, BattleFrontier_ReceptionGate_EventScript_BattleFactory
+ case 5, BattleFrontier_ReceptionGate_EventScript_BattlePike
+ case 6, BattleFrontier_ReceptionGate_EventScript_BattlePyramid
+ case 7, BattleFrontier_ReceptionGate_EventScript_RankingHall
+ case 8, BattleFrontier_ReceptionGate_EventScript_ExchangeCorner
+ case 9, BattleFrontier_ReceptionGate_EventScript_ExitFacilityGuide
+ case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_ExitFacilityGuide
end
-BattleFrontier_ReceptionGate_EventScript_2663AE:: @ 82663AE
- msgbox BattleFrontier_ReceptionGate_Text_2668C2, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_BattleTower:: @ 82663AE
+ msgbox BattleFrontier_ReceptionGate_Text_BattleTowerInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2663BC:: @ 82663BC
- msgbox BattleFrontier_ReceptionGate_Text_26696F, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_BattleDome:: @ 82663BC
+ msgbox BattleFrontier_ReceptionGate_Text_BattleDomeInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2663CA:: @ 82663CA
- msgbox BattleFrontier_ReceptionGate_Text_266A34, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_BattlePalace:: @ 82663CA
+ msgbox BattleFrontier_ReceptionGate_Text_BattlePalaceInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2663D8:: @ 82663D8
- msgbox BattleFrontier_ReceptionGate_Text_266AC2, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_BattleArena:: @ 82663D8
+ msgbox BattleFrontier_ReceptionGate_Text_BattleArenaInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2663E6:: @ 82663E6
- msgbox BattleFrontier_ReceptionGate_Text_266B5D, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_BattleFactory:: @ 82663E6
+ msgbox BattleFrontier_ReceptionGate_Text_BattleFactoryInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2663F4:: @ 82663F4
- msgbox BattleFrontier_ReceptionGate_Text_266C24, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_BattlePike:: @ 82663F4
+ msgbox BattleFrontier_ReceptionGate_Text_BattlePikeInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_266402:: @ 8266402
- msgbox BattleFrontier_ReceptionGate_Text_266CBB, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_BattlePyramid:: @ 8266402
+ msgbox BattleFrontier_ReceptionGate_Text_BattlePyramidInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_266410:: @ 8266410
- msgbox BattleFrontier_ReceptionGate_Text_266D1C, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_RankingHall:: @ 8266410
+ msgbox BattleFrontier_ReceptionGate_Text_RankingHallInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_26641E:: @ 826641E
- msgbox BattleFrontier_ReceptionGate_Text_266DCB, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266320
+BattleFrontier_ReceptionGate_EventScript_ExchangeCorner:: @ 826641E
+ msgbox BattleFrontier_ReceptionGate_Text_ExchangeCornerInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_26642C:: @ 826642C
- msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
+BattleFrontier_ReceptionGate_EventScript_ExitFacilityGuide:: @ 826642C
+ msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
release
end
-BattleFrontier_ReceptionGate_EventScript_266436:: @ 8266436
+BattleFrontier_ReceptionGate_EventScript_RulesGuide:: @ 8266436
lock
faceplayer
- msgbox BattleFrontier_ReceptionGate_Text_266E66, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266446
+ msgbox BattleFrontier_ReceptionGate_Text_YourGuideToRules, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_266446:: @ 8266446
- message BattleFrontier_ReceptionGate_Text_266EE0
+BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout:: @ 8266446
+ message BattleFrontier_ReceptionGate_Text_LearnAboutWhat
waitmessage
multichoice 15, 0, MULTI_FRONTIER_RULES, 0
switch VAR_RESULT
- case 0, BattleFrontier_ReceptionGate_EventScript_2664A4
- case 1, BattleFrontier_ReceptionGate_EventScript_2664B2
- case 2, BattleFrontier_ReceptionGate_EventScript_2664C0
- case 3, BattleFrontier_ReceptionGate_EventScript_2664CE
- case 4, BattleFrontier_ReceptionGate_EventScript_2664DC
- case 5, BattleFrontier_ReceptionGate_EventScript_2664EA
- case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_2664EA
+ case 0, BattleFrontier_ReceptionGate_EventScript_LevelMode
+ case 1, BattleFrontier_ReceptionGate_EventScript_Level50
+ case 2, BattleFrontier_ReceptionGate_EventScript_OpenLevel
+ case 3, BattleFrontier_ReceptionGate_EventScript_MonEntry
+ case 4, BattleFrontier_ReceptionGate_EventScript_HoldItems
+ case 5, BattleFrontier_ReceptionGate_EventScript_ExitRulesGuide
+ case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_ExitRulesGuide
end
-BattleFrontier_ReceptionGate_EventScript_2664A4:: @ 82664A4
- msgbox BattleFrontier_ReceptionGate_Text_266F04, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266446
+BattleFrontier_ReceptionGate_EventScript_LevelMode:: @ 82664A4
+ msgbox BattleFrontier_ReceptionGate_Text_LevelModeInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2664B2:: @ 82664B2
- msgbox BattleFrontier_ReceptionGate_Text_266F69, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266446
+BattleFrontier_ReceptionGate_EventScript_Level50:: @ 82664B2
+ msgbox BattleFrontier_ReceptionGate_Text_Level50Info, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2664C0:: @ 82664C0
- msgbox BattleFrontier_ReceptionGate_Text_267080, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266446
+BattleFrontier_ReceptionGate_EventScript_OpenLevel:: @ 82664C0
+ msgbox BattleFrontier_ReceptionGate_Text_OpenLevelInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2664CE:: @ 82664CE
- msgbox BattleFrontier_ReceptionGate_Text_26716A, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266446
+BattleFrontier_ReceptionGate_EventScript_MonEntry:: @ 82664CE
+ msgbox BattleFrontier_ReceptionGate_Text_MonEntryInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2664DC:: @ 82664DC
- msgbox BattleFrontier_ReceptionGate_Text_267298, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266446
+BattleFrontier_ReceptionGate_EventScript_HoldItems:: @ 82664DC
+ msgbox BattleFrontier_ReceptionGate_Text_HoldItemsInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_2664EA:: @ 82664EA
- msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
+BattleFrontier_ReceptionGate_EventScript_ExitRulesGuide:: @ 82664EA
+ msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
release
end
-BattleFrontier_ReceptionGate_EventScript_2664F4:: @ 82664F4
+BattleFrontier_ReceptionGate_EventScript_FrontierPassGuide:: @ 82664F4
lock
faceplayer
- msgbox BattleFrontier_ReceptionGate_Text_267357, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266504
+ msgbox BattleFrontier_ReceptionGate_Text_YourGuideToFrontierPass, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_266504:: @ 8266504
- message BattleFrontier_ReceptionGate_Text_26737C
+BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout:: @ 8266504
+ message BattleFrontier_ReceptionGate_Text_LearnAboutWhich1
waitmessage
multichoice 16, 4, MULTI_FRONTIER_PASS_INFO, 0
switch VAR_RESULT
- case 0, BattleFrontier_ReceptionGate_EventScript_26654C
- case 1, BattleFrontier_ReceptionGate_EventScript_26655A
- case 2, BattleFrontier_ReceptionGate_EventScript_266568
- case 3, BattleFrontier_ReceptionGate_EventScript_266576
- case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_266576
+ case 0, BattleFrontier_ReceptionGate_EventScript_Symbols
+ case 1, BattleFrontier_ReceptionGate_EventScript_RecordBattle
+ case 2, BattleFrontier_ReceptionGate_EventScript_BattlePoints
+ case 3, BattleFrontier_ReceptionGate_EventScript_ExitFrontierPassGuide
+ case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_ExitFrontierPassGuide
end
-BattleFrontier_ReceptionGate_EventScript_26654C:: @ 826654C
- msgbox BattleFrontier_ReceptionGate_Text_2673A1, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266504
+BattleFrontier_ReceptionGate_EventScript_Symbols:: @ 826654C
+ msgbox BattleFrontier_ReceptionGate_Text_SymbolsInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_26655A:: @ 826655A
- msgbox BattleFrontier_ReceptionGate_Text_2674F3, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266504
+BattleFrontier_ReceptionGate_EventScript_RecordBattle:: @ 826655A
+ msgbox BattleFrontier_ReceptionGate_Text_RecordedBattleInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_266568:: @ 8266568
- msgbox BattleFrontier_ReceptionGate_Text_26761C, MSGBOX_DEFAULT
- goto BattleFrontier_ReceptionGate_EventScript_266504
+BattleFrontier_ReceptionGate_EventScript_BattlePoints:: @ 8266568
+ msgbox BattleFrontier_ReceptionGate_Text_BattlePointsInfo, MSGBOX_DEFAULT
+ goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
end
-BattleFrontier_ReceptionGate_EventScript_266576:: @ 8266576
- msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
+BattleFrontier_ReceptionGate_EventScript_ExitFrontierPassGuide:: @ 8266576
+ msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
release
end
-BattleFrontier_ReceptionGate_Text_266580: @ 8266580
+BattleFrontier_ReceptionGate_Text_FirstTimeHereThisWay: @ 8266580
.string "Is it your first time here?\n"
.string "Please step this way!$"
-BattleFrontier_ReceptionGate_Text_2665B2: @ 82665B2
+BattleFrontier_ReceptionGate_Text_WelcomeToBattleFrontier: @ 82665B2
.string "The front lines of POKéMON battling!\n"
.string "Welcome to the BATTLE FRONTIER!$"
-BattleFrontier_ReceptionGate_Text_2665F7: @ 82665F7
+BattleFrontier_ReceptionGate_Text_IssueFrontierPass: @ 82665F7
.string "For a first-time visitor, we issue\n"
.string "the FRONTIER PASS.\p"
.string "It's for use at all the facilities\n"
.string "in the BATTLE FRONTIER.\p"
.string "Here you are!$"
-BattleFrontier_ReceptionGate_Text_266676: @ 8266676
+BattleFrontier_ReceptionGate_Text_ObtainedFrontierPass: @ 8266676
.string "{PLAYER} obtained\n"
.string "the FRONTIER PASS.$"
-BattleFrontier_ReceptionGate_Text_266695: @ 8266695
+BattleFrontier_ReceptionGate_Text_PlacedTrainerCardInFrontierPass: @ 8266695
.string "{PLAYER} placed the TRAINER CARD\n"
.string "in the FRONTIER PASS.$"
-BattleFrontier_ReceptionGate_Text_2666C6: @ 82666C6
+BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier: @ 82666C6
.string "We hope you enjoy all that the BATTLE\n"
.string "FRONTIER has to offer!$"
-BattleFrontier_ReceptionGate_Text_266703: @ 8266703
+BattleFrontier_ReceptionGate_Text_IfItIsntPlayerYouCame: @ 8266703
.string "???: Well, if it isn't {PLAYER}{KUN}!\n"
.string "You came out here!$"
-BattleFrontier_ReceptionGate_Text_266733: @ 8266733
+BattleFrontier_ReceptionGate_Text_OhMrScottGoodDay: @ 8266733
.string "GUIDE: Oh! MR. SCOTT, sir!\n"
.string "Good day to you, sir!$"
-BattleFrontier_ReceptionGate_Text_266764: @ 8266764
+BattleFrontier_ReceptionGate_Text_ScottGreatToSeeYouHere: @ 8266764
.string "SCOTT: It's great to see you here,\n"
.string "it really is!\p"
.string "I hope you'll take your time and\n"
@@ -338,21 +339,21 @@ BattleFrontier_ReceptionGate_Text_266764: @ 8266764
.string "I also have my quarters here, so feel\n"
.string "free to visit if you have time.$"
-BattleFrontier_ReceptionGate_Text_266857: @ 8266857
+BattleFrontier_ReceptionGate_Text_YourGuideToFacilities: @ 8266857
.string "I'm your guide to the various facilities\n"
.string "here in the BATTLE FRONTIER.$"
-BattleFrontier_ReceptionGate_Text_26689D: @ 826689D
+BattleFrontier_ReceptionGate_Text_LearnAboutWhich2: @ 826689D
.string "Which would you like to learn about?$"
-BattleFrontier_ReceptionGate_Text_2668C2: @ 82668C2
+BattleFrontier_ReceptionGate_Text_BattleTowerInfo: @ 82668C2
.string "It is the gigantic tower considered\n"
.string "to be the BATTLE FRONTIER's symbol.\p"
.string "There are four kinds of BATTLE ROOMS\n"
.string "in the tower for SINGLE, DOUBLE, MULTI,\l"
.string "and LINK MULTI BATTLES.$"
-BattleFrontier_ReceptionGate_Text_26696F: @ 826696F
+BattleFrontier_ReceptionGate_Text_BattleDomeInfo: @ 826696F
.string "The BATTLE DOME is the large building\n"
.string "shaped like a huge egg.\p"
.string "Events named Battle Tourneys are held\n"
@@ -361,20 +362,20 @@ BattleFrontier_ReceptionGate_Text_26696F: @ 826696F
.string "two courses--for SINGLE and DOUBLE\l"
.string "BATTLES.$"
-BattleFrontier_ReceptionGate_Text_266A34: @ 8266A34
+BattleFrontier_ReceptionGate_Text_BattlePalaceInfo: @ 8266A34
.string "The BATTLE PALACE is the red building\n"
.string "on the right of the BATTLE FRONTIER.\p"
.string "There are two kinds of BATTLE HALLS\n"
.string "for SINGLE and DOUBLE BATTLES.$"
-BattleFrontier_ReceptionGate_Text_266AC2: @ 8266AC2
+BattleFrontier_ReceptionGate_Text_BattleArenaInfo: @ 8266AC2
.string "The BATTLE ARENA is the dojo-like\n"
.string "building at the center-right of\l"
.string "the BATTLE FRONTIER.\p"
.string "An event called the Set KO Tourney\n"
.string "takes place at the BATTLE ARENA.$"
-BattleFrontier_ReceptionGate_Text_266B5D: @ 8266B5D
+BattleFrontier_ReceptionGate_Text_BattleFactoryInfo: @ 8266B5D
.string "The BATTLE FACTORY is the large\n"
.string "building that is the closest to us.\p"
.string "An event called the Battle Swap\n"
@@ -383,20 +384,20 @@ BattleFrontier_ReceptionGate_Text_266B5D: @ 8266B5D
.string "two courses for SINGLE and DOUBLE\l"
.string "BATTLES.$"
-BattleFrontier_ReceptionGate_Text_266C24: @ 8266C24
+BattleFrontier_ReceptionGate_Text_BattlePikeInfo: @ 8266C24
.string "The BATTLE PIKE is the building shaped\n"
.string "like a POKéMON at the center-left of\l"
.string "the BATTLE FRONTIER.\p"
.string "An event called the Battle Choice\n"
.string "is conducted there.$"
-BattleFrontier_ReceptionGate_Text_266CBB: @ 8266CBB
+BattleFrontier_ReceptionGate_Text_BattlePyramidInfo: @ 8266CBB
.string "The BATTLE PYRAMID is the enormous\n"
.string "pyramid.\p"
.string "An event called the Battle Quest\n"
.string "is conducted there.$"
-BattleFrontier_ReceptionGate_Text_266D1C: @ 8266D1C
+BattleFrontier_ReceptionGate_Text_RankingHallInfo: @ 8266D1C
.string "The RANKING HALL is located near\n"
.string "the BATTLE TOWER.\p"
.string "There, you may see the most fantastic\n"
@@ -404,28 +405,28 @@ BattleFrontier_ReceptionGate_Text_266D1C: @ 8266D1C
.string "took on the many challenges of\l"
.string "the BATTLE FRONTIER.$"
-BattleFrontier_ReceptionGate_Text_266DCB: @ 8266DCB
+BattleFrontier_ReceptionGate_Text_ExchangeCornerInfo: @ 8266DCB
.string "The EXCHANGE SERVICE CORNER is near\n"
.string "the BATTLE TOWER.\p"
.string "The Battle Points you have earned in\n"
.string "the BATTLE FRONTIER may be exchanged\l"
.string "for fabulous prizes there.$"
-BattleFrontier_ReceptionGate_Text_266E66: @ 8266E66
+BattleFrontier_ReceptionGate_Text_YourGuideToRules: @ 8266E66
.string "I'm your guide to the basic rules that\n"
.string "are common to all the challenges\l"
.string "offered by the facilities in the BATTLE\l"
.string "FRONTIER.$"
-BattleFrontier_ReceptionGate_Text_266EE0: @ 8266EE0
+BattleFrontier_ReceptionGate_Text_LearnAboutWhat: @ 8266EE0
.string "What would you like to learn about?$"
-BattleFrontier_ReceptionGate_Text_266F04: @ 8266F04
+BattleFrontier_ReceptionGate_Text_LevelModeInfo: @ 8266F04
.string "All the challenges at the BATTLE\n"
.string "FRONTIER's facilities come in\l"
.string "two courses--Level 50 and Open Level.$"
-BattleFrontier_ReceptionGate_Text_266F69: @ 8266F69
+BattleFrontier_ReceptionGate_Text_Level50Info: @ 8266F69
.string "The Level 50 course is open to POKéMON\n"
.string "up to and including Level 50.\p"
.string "Please keep in mind, however, that\n"
@@ -436,7 +437,7 @@ BattleFrontier_ReceptionGate_Text_266F69: @ 8266F69
.string "To begin, we hope you will challenge\n"
.string "this course.$"
-BattleFrontier_ReceptionGate_Text_267080: @ 8267080
+BattleFrontier_ReceptionGate_Text_OpenLevelInfo: @ 8267080
.string "The Open Level course places no limit\n"
.string "on the levels of POKéMON entering\l"
.string "challenges.\p"
@@ -446,7 +447,7 @@ BattleFrontier_ReceptionGate_Text_267080: @ 8267080
.string "However, no TRAINER you face will\n"
.string "have any POKéMON below Level 60.$"
-BattleFrontier_ReceptionGate_Text_26716A: @ 826716A
+BattleFrontier_ReceptionGate_Text_MonEntryInfo: @ 826716A
.string "Virtually any kind of POKéMON may take\n"
.string "on the challenges at all facilities.\p"
.string "EGGS and certain kinds of POKéMON,\n"
@@ -457,7 +458,7 @@ BattleFrontier_ReceptionGate_Text_26716A: @ 826716A
.string "of the same kind of POKéMON are not\l"
.string "permitted.$"
-BattleFrontier_ReceptionGate_Text_267298: @ 8267298
+BattleFrontier_ReceptionGate_Text_HoldItemsInfo: @ 8267298
.string "When entering a challenge at a BATTLE\n"
.string "FRONTIER facility, POKéMON may not\l"
.string "be holding the same kind of item.\p"
@@ -465,13 +466,13 @@ BattleFrontier_ReceptionGate_Text_267298: @ 8267298
.string "entering a challenge are holding\l"
.string "different items.$"
-BattleFrontier_ReceptionGate_Text_267357: @ 8267357
+BattleFrontier_ReceptionGate_Text_YourGuideToFrontierPass: @ 8267357
.string "I'm your guide to the FRONTIER PASS.$"
-BattleFrontier_ReceptionGate_Text_26737C: @ 826737C
+BattleFrontier_ReceptionGate_Text_LearnAboutWhich1: @ 826737C
.string "Which would you like to learn about?$"
-BattleFrontier_ReceptionGate_Text_2673A1: @ 82673A1
+BattleFrontier_ReceptionGate_Text_SymbolsInfo: @ 82673A1
.string "There are seven facilities at\n"
.string "the BATTLE FRONTIER.\p"
.string "TRAINERS who gain recognition for\n"
@@ -483,7 +484,7 @@ BattleFrontier_ReceptionGate_Text_2673A1: @ 82673A1
.string "It's certainly not easy to win symbols.\n"
.string "I wish you the best of luck!$"
-BattleFrontier_ReceptionGate_Text_2674F3: @ 82674F3
+BattleFrontier_ReceptionGate_Text_RecordedBattleInfo: @ 82674F3
.string "It is possible to record one battle\n"
.string "on your FRONTIER PASS.\p"
.string "You may record a battle you had with\n"
@@ -495,7 +496,7 @@ BattleFrontier_ReceptionGate_Text_2674F3: @ 82674F3
.string "You may choose to record your match\n"
.string "at the end of a battle.$"
-BattleFrontier_ReceptionGate_Text_26761C: @ 826761C
+BattleFrontier_ReceptionGate_Text_BattlePointsInfo: @ 826761C
.string "Battle Points are rewards given to\n"
.string "TRAINERS who battled outstandingly\l"
.string "at the BATTLE FRONTIER.\p"
diff --git a/data/maps/BattleFrontier_ScottsHouse/map.json b/data/maps/BattleFrontier_ScottsHouse/map.json
index bff7696b3..13cb13dd4 100644
--- a/data/maps/BattleFrontier_ScottsHouse/map.json
+++ b/data/maps/BattleFrontier_ScottsHouse/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "BattleFrontier_ScottsHouse_EventScript_2636A8",
+ "script": "BattleFrontier_ScottsHouse_EventScript_Scott",
"flag": "0"
}
],
diff --git a/data/maps/BattleFrontier_ScottsHouse/scripts.inc b/data/maps/BattleFrontier_ScottsHouse/scripts.inc
index 4f5ab96af..c2f7b3fbc 100644
--- a/data/maps/BattleFrontier_ScottsHouse/scripts.inc
+++ b/data/maps/BattleFrontier_ScottsHouse/scripts.inc
@@ -1,252 +1,232 @@
BattleFrontier_ScottsHouse_MapScripts:: @ 82636A7
.byte 0
-BattleFrontier_ScottsHouse_EventScript_2636A8:: @ 82636A8
+BattleFrontier_ScottsHouse_EventScript_Scott:: @ 82636A8
lock
faceplayer
- goto_if_set FLAG_TEMP_4, BattleFrontier_ScottsHouse_EventScript_2637DA
- goto_if_set FLAG_TEMP_3, BattleFrontier_ScottsHouse_EventScript_2638AA
- goto_if_set FLAG_TEMP_2, BattleFrontier_ScottsHouse_EventScript_263939
- goto BattleFrontier_ScottsHouse_EventScript_2636CB
+ goto_if_set FLAG_TEMP_4, BattleFrontier_ScottsHouse_EventScript_GivenBerry
+ goto_if_set FLAG_TEMP_3, BattleFrontier_ScottsHouse_EventScript_GivenShield
+ goto_if_set FLAG_TEMP_2, BattleFrontier_ScottsHouse_EventScript_GivenBattlePoints
+ goto BattleFrontier_ScottsHouse_EventScript_CheckGiveItems
end
-BattleFrontier_ScottsHouse_EventScript_2636CB:: @ 82636CB
- goto_if_unset FLAG_SCOTT_GIVES_BATTLE_POINTS, BattleFrontier_ScottsHouse_EventScript_263943
- goto_if_unset FLAG_COLLECTED_ALL_SILVER_SYMBOLS, BattleFrontier_ScottsHouse_EventScript_263704
- goto_if_unset FLAG_RECEIVED_STARF_BERRY_FROM_SCOTT, BattleFrontier_ScottsHouse_EventScript_26376A
- goto BattleFrontier_ScottsHouse_EventScript_2636EC
+BattleFrontier_ScottsHouse_EventScript_CheckGiveItems:: @ 82636CB
+ goto_if_unset FLAG_SCOTT_GIVES_BATTLE_POINTS, BattleFrontier_ScottsHouse_EventScript_WelcomeToFrontier
+ goto_if_unset FLAG_COLLECTED_ALL_SILVER_SYMBOLS, BattleFrontier_ScottsHouse_EventScript_CheckSilverSymbols
+ goto_if_unset FLAG_COLLECTED_ALL_GOLD_SYMBOLS, BattleFrontier_ScottsHouse_EventScript_CheckGoldSymbols
+ goto BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
end
-BattleFrontier_ScottsHouse_EventScript_2636EC:: @ 82636EC
- goto_if_unset FLAG_RECEIVED_SILVER_SHIELD, BattleFrontier_ScottsHouse_EventScript_26381B
- goto_if_unset FLAG_RECEIVED_GOLD_SHIELD, BattleFrontier_ScottsHouse_EventScript_2638B4
- goto BattleFrontier_ScottsHouse_EventScript_2637E4
+BattleFrontier_ScottsHouse_EventScript_CheckGiveShield:: @ 82636EC
+ goto_if_unset FLAG_RECEIVED_SILVER_SHIELD, BattleFrontier_ScottsHouse_EventScript_CheckGiveSilverShield
+ goto_if_unset FLAG_RECEIVED_GOLD_SHIELD, BattleFrontier_ScottsHouse_EventScript_CheckGiveGoldShield
+ goto BattleFrontier_ScottsHouse_EventScript_RandomComment
end
-BattleFrontier_ScottsHouse_EventScript_263704:: @ 8263704
- goto_if_unset FLAG_SYS_TOWER_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_DOME_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_PALACE_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_ARENA_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_FACTORY_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_PIKE_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_PYRAMID_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
- msgbox BattleFrontier_ScottsHouse_Text_2640BC, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_CheckSilverSymbols:: @ 8263704
+ goto_if_unset FLAG_SYS_TOWER_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_DOME_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_PALACE_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_ARENA_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_FACTORY_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_PIKE_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_PYRAMID_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ msgbox BattleFrontier_ScottsHouse_Text_YouveCollectedAllSilverSymbols, MSGBOX_DEFAULT
giveitem_std ITEM_LANSAT_BERRY
- compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_ScottsHouse_EventScript_2637D0
+ compare VAR_RESULT, FALSE
+ goto_if_eq BattleFrontier_ScottsHouse_EventScript_BerryPocketFull
setflag FLAG_COLLECTED_ALL_SILVER_SYMBOLS
setflag FLAG_TEMP_4
release
end
-BattleFrontier_ScottsHouse_EventScript_26376A:: @ 826376A
- goto_if_unset FLAG_SYS_TOWER_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_DOME_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_PALACE_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_ARENA_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_FACTORY_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_PIKE_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
- goto_if_unset FLAG_SYS_PYRAMID_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
- msgbox BattleFrontier_ScottsHouse_Text_264216, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_CheckGoldSymbols:: @ 826376A
+ goto_if_unset FLAG_SYS_TOWER_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_DOME_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_PALACE_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_ARENA_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_FACTORY_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_PIKE_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ goto_if_unset FLAG_SYS_PYRAMID_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
+ msgbox BattleFrontier_ScottsHouse_Text_YouveCollectedAllGoldSymbols, MSGBOX_DEFAULT
giveitem_std ITEM_STARF_BERRY
- compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_ScottsHouse_EventScript_2637D0
- setflag FLAG_RECEIVED_STARF_BERRY_FROM_SCOTT
+ compare VAR_RESULT, FALSE
+ goto_if_eq BattleFrontier_ScottsHouse_EventScript_BerryPocketFull
+ setflag FLAG_COLLECTED_ALL_GOLD_SYMBOLS
setflag FLAG_TEMP_4
release
end
-BattleFrontier_ScottsHouse_EventScript_2637D0:: @ 82637D0
- msgbox BattleFrontier_ScottsHouse_Text_2643EB, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_BerryPocketFull:: @ 82637D0
+ msgbox BattleFrontier_ScottsHouse_Text_BerryPocketStuffed, MSGBOX_DEFAULT
release
end
-BattleFrontier_ScottsHouse_EventScript_2637DA:: @ 82637DA
- msgbox BattleFrontier_ScottsHouse_Text_264373, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_GivenBerry:: @ 82637DA
+ msgbox BattleFrontier_ScottsHouse_Text_SoGladIBroughtYouHere, MSGBOX_DEFAULT
release
end
-BattleFrontier_ScottsHouse_EventScript_2637E4:: @ 82637E4
+BattleFrontier_ScottsHouse_EventScript_RandomComment:: @ 82637E4
random 3
compare VAR_RESULT, 1
- goto_if_eq BattleFrontier_ScottsHouse_EventScript_263807
+ goto_if_eq BattleFrontier_ScottsHouse_EventScript_FrontierBrainComment
compare VAR_RESULT, 2
- goto_if_eq BattleFrontier_ScottsHouse_EventScript_263811
- msgbox BattleFrontier_ScottsHouse_Text_263DDD, MSGBOX_DEFAULT
+ goto_if_eq BattleFrontier_ScottsHouse_EventScript_ArtisanCaveComment
+ msgbox BattleFrontier_ScottsHouse_Text_WhyIGoSeekingTrainers, MSGBOX_DEFAULT
release
end
-BattleFrontier_ScottsHouse_EventScript_263807:: @ 8263807
- msgbox BattleFrontier_ScottsHouse_Text_263F12, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_FrontierBrainComment:: @ 8263807
+ msgbox BattleFrontier_ScottsHouse_Text_HaveYouMetFrontierBrain, MSGBOX_DEFAULT
release
end
-BattleFrontier_ScottsHouse_EventScript_263811:: @ 8263811
- msgbox BattleFrontier_ScottsHouse_Text_263FFE, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_ArtisanCaveComment:: @ 8263811
+ msgbox BattleFrontier_ScottsHouse_Text_MayFindWildMonsInFrontier, MSGBOX_DEFAULT
release
end
-BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
+BattleFrontier_ScottsHouse_EventScript_CheckGiveSilverShield:: @ 826381B
setvar VAR_FRONTIER_BATTLE_MODE, 0
- setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
- setvar VAR_0x8005, 1
- setvar VAR_0x8006, 0
- special CallFrontierUtilFunc
- setvar VAR_0x8004, 1
- setvar VAR_0x8005, 1
- special sub_8161F74
+ frontier_setlvlmode FRONTIER_LVL_50
+ battletower_getstreak
compare VAR_RESULT, 50
- goto_if_ge BattleFrontier_ScottsHouse_EventScript_26387A
- setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
- setvar VAR_0x8005, 1
- setvar VAR_0x8006, 1
- special CallFrontierUtilFunc
- setvar VAR_0x8004, 1
- setvar VAR_0x8005, 1
- special sub_8161F74
+ goto_if_ge BattleFrontier_ScottsHouse_EventScript_GiveSilverShield
+ frontier_setlvlmode FRONTIER_LVL_OPEN
+ battletower_getstreak
compare VAR_RESULT, 50
- goto_if_ge BattleFrontier_ScottsHouse_EventScript_26387A
- goto BattleFrontier_ScottsHouse_EventScript_2637E4
+ goto_if_ge BattleFrontier_ScottsHouse_EventScript_GiveSilverShield
+ goto BattleFrontier_ScottsHouse_EventScript_RandomComment
end
-BattleFrontier_ScottsHouse_EventScript_26387A:: @ 826387A
- msgbox BattleFrontier_ScottsHouse_Text_264412, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_GiveSilverShield:: @ 826387A
+ msgbox BattleFrontier_ScottsHouse_Text_Beat50TrainersInARow, MSGBOX_DEFAULT
givedecoration_std DECOR_SILVER_SHIELD
- compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_ScottsHouse_EventScript_2638A0
+ compare VAR_RESULT, FALSE
+ goto_if_eq BattleFrontier_ScottsHouse_EventScript_NoRoomForShield
setflag FLAG_RECEIVED_SILVER_SHIELD
setflag FLAG_TEMP_3
- goto BattleFrontier_ScottsHouse_EventScript_2638AA
+ goto BattleFrontier_ScottsHouse_EventScript_GivenShield
end
-BattleFrontier_ScottsHouse_EventScript_2638A0:: @ 82638A0
- msgbox BattleFrontier_ScottsHouse_Text_264583, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_NoRoomForShield:: @ 82638A0
+ msgbox BattleFrontier_ScottsHouse_Text_ComeBackForThisLater, MSGBOX_DEFAULT
release
end
-BattleFrontier_ScottsHouse_EventScript_2638AA:: @ 82638AA
- msgbox BattleFrontier_ScottsHouse_Text_264546, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_GivenShield:: @ 82638AA
+ msgbox BattleFrontier_ScottsHouse_Text_ExpectingToHearEvenGreaterThings, MSGBOX_DEFAULT
release
end
-BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
+BattleFrontier_ScottsHouse_EventScript_CheckGiveGoldShield:: @ 82638B4
setvar VAR_FRONTIER_BATTLE_MODE, 0
- setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
- setvar VAR_0x8005, 1
- setvar VAR_0x8006, 0
- special CallFrontierUtilFunc
- setvar VAR_0x8004, 1
- setvar VAR_0x8005, 1
- special sub_8161F74
+ frontier_setlvlmode FRONTIER_LVL_50
+ battletower_getstreak
compare VAR_RESULT, 100
- goto_if_ge BattleFrontier_ScottsHouse_EventScript_263913
- setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
- setvar VAR_0x8005, 1
- setvar VAR_0x8006, 1
- special CallFrontierUtilFunc
- setvar VAR_0x8004, 1
- setvar VAR_0x8005, 1
- special sub_8161F74
+ goto_if_ge BattleFrontier_ScottsHouse_EventScript_GiveGoldShield
+ frontier_setlvlmode FRONTIER_LVL_OPEN
+ battletower_getstreak
compare VAR_RESULT, 100
- goto_if_ge BattleFrontier_ScottsHouse_EventScript_263913
- goto BattleFrontier_ScottsHouse_EventScript_2637E4
+ goto_if_ge BattleFrontier_ScottsHouse_EventScript_GiveGoldShield
+ goto BattleFrontier_ScottsHouse_EventScript_RandomComment
end
-BattleFrontier_ScottsHouse_EventScript_263913:: @ 8263913
- msgbox BattleFrontier_ScottsHouse_Text_26449F, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_GiveGoldShield:: @ 8263913
+ msgbox BattleFrontier_ScottsHouse_Text_Beat100TrainersInARow, MSGBOX_DEFAULT
givedecoration_std DECOR_GOLD_SHIELD
- compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_ScottsHouse_EventScript_2638A0
+ compare VAR_RESULT, FALSE
+ goto_if_eq BattleFrontier_ScottsHouse_EventScript_NoRoomForShield
setflag FLAG_RECEIVED_GOLD_SHIELD
setflag FLAG_TEMP_3
- goto BattleFrontier_ScottsHouse_EventScript_2638AA
+ goto BattleFrontier_ScottsHouse_EventScript_GivenShield
end
-BattleFrontier_ScottsHouse_EventScript_263939:: @ 8263939
- msgbox BattleFrontier_ScottsHouse_Text_263DB8, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_GivenBattlePoints:: @ 8263939
+ msgbox BattleFrontier_ScottsHouse_Text_ExpectingGreatThings, MSGBOX_DEFAULT
release
end
-BattleFrontier_ScottsHouse_EventScript_263943:: @ 8263943
- msgbox BattleFrontier_ScottsHouse_Text_263A3F, MSGBOX_DEFAULT
+BattleFrontier_ScottsHouse_EventScript_WelcomeToFrontier:: @ 8263943
+ msgbox BattleFrontier_ScottsHouse_Text_WelcomeToBattleFrontier, MSGBOX_DEFAULT
closemessage
delay 30
compare VAR_FACING, DIR_NORTH
- call_if_eq BattleFrontier_ScottsHouse_EventScript_263A13
+ call_if_eq BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayNorth
compare VAR_FACING, DIR_SOUTH
- call_if_eq BattleFrontier_ScottsHouse_EventScript_263A1E
+ call_if_eq BattleFrontier_ScottsHouse_EventScript_ScottFaceAwaySouth
compare VAR_FACING, DIR_EAST
- call_if_eq BattleFrontier_ScottsHouse_EventScript_263A29
+ call_if_eq BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayEast
compare VAR_FACING, DIR_WEST
- call_if_eq BattleFrontier_ScottsHouse_EventScript_263A34
- msgbox BattleFrontier_ScottsHouse_Text_263B29, MSGBOX_DEFAULT
+ call_if_eq BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayWest
+ msgbox BattleFrontier_ScottsHouse_Text_HowMuchEffortItTookToMakeReal, MSGBOX_DEFAULT
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
- msgbox BattleFrontier_ScottsHouse_Text_263BD4, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ScottsHouse_Text_HaveThisAsMementoOfOurPathsCrossing, MSGBOX_DEFAULT
compare VAR_SCOTT_STATE, 13
- goto_if_eq BattleFrontier_ScottsHouse_EventScript_2639BC
+ goto_if_eq BattleFrontier_ScottsHouse_EventScript_Give4BattlePoints
compare VAR_SCOTT_STATE, 9
- goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639CB
+ goto_if_ge BattleFrontier_ScottsHouse_EventScript_Give3BattlePoints
compare VAR_SCOTT_STATE, 6
- goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639DA
- goto BattleFrontier_ScottsHouse_EventScript_2639E9
+ goto_if_ge BattleFrontier_ScottsHouse_EventScript_Give2BattlePoints
+ goto BattleFrontier_ScottsHouse_EventScript_Give1BattlePoint
end
-BattleFrontier_ScottsHouse_EventScript_2639BC:: @ 82639BC
+BattleFrontier_ScottsHouse_EventScript_Give4BattlePoints:: @ 82639BC
buffernumberstring 0, 4
setvar VAR_0x8004, 4
- goto BattleFrontier_ScottsHouse_EventScript_2639F8
+ goto BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints
end
-BattleFrontier_ScottsHouse_EventScript_2639CB:: @ 82639CB
+BattleFrontier_ScottsHouse_EventScript_Give3BattlePoints:: @ 82639CB
buffernumberstring 0, 3
setvar VAR_0x8004, 3
- goto BattleFrontier_ScottsHouse_EventScript_2639F8
+ goto BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints
end
-BattleFrontier_ScottsHouse_EventScript_2639DA:: @ 82639DA
+BattleFrontier_ScottsHouse_EventScript_Give2BattlePoints:: @ 82639DA
buffernumberstring 0, 2
setvar VAR_0x8004, 2
- goto BattleFrontier_ScottsHouse_EventScript_2639F8
+ goto BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints
end
-BattleFrontier_ScottsHouse_EventScript_2639E9:: @ 82639E9
+BattleFrontier_ScottsHouse_EventScript_Give1BattlePoint:: @ 82639E9
buffernumberstring 0, 1
setvar VAR_0x8004, 1
- goto BattleFrontier_ScottsHouse_EventScript_2639F8
+ goto BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints
end
-BattleFrontier_ScottsHouse_EventScript_2639F8:: @ 82639F8
+BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints:: @ 82639F8
special GiveFrontierBattlePoints
- msgbox BattleFrontier_ScottsHouse_Text_263CB0, 9
- msgbox BattleFrontier_ScottsHouse_Text_263CD0, MSGBOX_DEFAULT
+ msgbox BattleFrontier_ScottsHouse_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
+ msgbox BattleFrontier_ScottsHouse_Text_ExplainBattlePoints, MSGBOX_DEFAULT
setflag FLAG_SCOTT_GIVES_BATTLE_POINTS
setflag FLAG_TEMP_2
release
end
-BattleFrontier_ScottsHouse_EventScript_263A13:: @ 8263A13
+BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayNorth:: @ 8263A13
applymovement 1, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
return
-BattleFrontier_ScottsHouse_EventScript_263A1E:: @ 8263A1E
+BattleFrontier_ScottsHouse_EventScript_ScottFaceAwaySouth:: @ 8263A1E
applymovement 1, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
return
-BattleFrontier_ScottsHouse_EventScript_263A29:: @ 8263A29
+BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayEast:: @ 8263A29
applymovement 1, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
return
-BattleFrontier_ScottsHouse_EventScript_263A34:: @ 8263A34
+BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayWest:: @ 8263A34
applymovement 1, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
return
-BattleFrontier_ScottsHouse_Text_263A3F: @ 8263A3F
+BattleFrontier_ScottsHouse_Text_WelcomeToBattleFrontier: @ 8263A3F
.string "SCOTT: Well, hello and welcome!\n"
.string "Heheh… Sorry about the cramped space.\p"
.string "Anyway, {PLAYER}{KUN}, let me formally\n"
@@ -255,7 +235,7 @@ BattleFrontier_ScottsHouse_Text_263A3F: @ 8263A3F
.string "It took me years and years, but I've\l"
.string "finally given shape to my dream.$"
-BattleFrontier_ScottsHouse_Text_263B29: @ 8263B29
+BattleFrontier_ScottsHouse_Text_HowMuchEffortItTookToMakeReal: @ 8263B29
.string "On reflection, it was a terribly long\n"
.string "journey…\p"
.string "I left home alone on a quest to find\n"
@@ -263,7 +243,7 @@ BattleFrontier_ScottsHouse_Text_263B29: @ 8263B29
.string "No one can imagine how much effort\n"
.string "or time it took to make this real.$"
-BattleFrontier_ScottsHouse_Text_263BD4: @ 8263BD4
+BattleFrontier_ScottsHouse_Text_HaveThisAsMementoOfOurPathsCrossing: @ 8263BD4
.string "But that's all in the past.\n"
.string "No point dwelling on that!\p"
.string "All I want for you is to enjoy battling\n"
@@ -272,11 +252,11 @@ BattleFrontier_ScottsHouse_Text_263BD4: @ 8263BD4
.string "as a memento for all the time our\l"
.string "paths crossed on our journeys.$"
-BattleFrontier_ScottsHouse_Text_263CB0: @ 8263CB0
+BattleFrontier_ScottsHouse_Text_ObtainedXBattlePoints: @ 8263CB0
.string "{PLAYER} obtained\n"
.string "{STR_VAR_1} Battle Point(s).$"
-BattleFrontier_ScottsHouse_Text_263CD0: @ 8263CD0
+BattleFrontier_ScottsHouse_Text_ExplainBattlePoints: @ 8263CD0
.string "SCOTT: You can check your Battle\n"
.string "Points on your FRONTIER PASS.\p"
.string "The more success you have here at\n"
@@ -285,10 +265,10 @@ BattleFrontier_ScottsHouse_Text_263CD0: @ 8263CD0
.string "Use your Battle Points the way you\n"
.string "see fit, like trading them for items.$"
-BattleFrontier_ScottsHouse_Text_263DB8: @ 8263DB8
+BattleFrontier_ScottsHouse_Text_ExpectingGreatThings: @ 8263DB8
.string "I'm expecting great things from you!$"
-BattleFrontier_ScottsHouse_Text_263DDD: @ 8263DDD
+BattleFrontier_ScottsHouse_Text_WhyIGoSeekingTrainers: @ 8263DDD
.string "SCOTT: Every TRAINER is an individual.\n"
.string "They all lead lives of their own.\p"
.string "But when they're in a battle,\n"
@@ -300,7 +280,7 @@ BattleFrontier_ScottsHouse_Text_263DDD: @ 8263DDD
.string "TRAINERS who are serious about\l"
.string "battling, and invite them here.$"
-BattleFrontier_ScottsHouse_Text_263F12: @ 8263F12
+BattleFrontier_ScottsHouse_Text_HaveYouMetFrontierBrain: @ 8263F12
.string "SCOTT: Have you met any of\n"
.string "the FRONTIER BRAINS?\p"
.string "Better yet, have you obtained any\n"
@@ -310,7 +290,7 @@ BattleFrontier_ScottsHouse_Text_263F12: @ 8263F12
.string "But I'm sure that seeing how tough\n"
.string "you are will startle even them!$"
-BattleFrontier_ScottsHouse_Text_263FFE: @ 8263FFE
+BattleFrontier_ScottsHouse_Text_MayFindWildMonsInFrontier: @ 8263FFE
.string "SCOTT: You don't just train for battle,\n"
.string "right?\p"
.string "I think I remember you working on\n"
@@ -320,7 +300,7 @@ BattleFrontier_ScottsHouse_Text_263FFE: @ 8263FFE
.string "the BATTLE FRONTIER somewhere…\l"
.string "Fufufu!$"
-BattleFrontier_ScottsHouse_Text_2640BC: @ 82640BC
+BattleFrontier_ScottsHouse_Text_YouveCollectedAllSilverSymbols: @ 82640BC
.string "SCOTT: Are you enjoying things in\n"
.string "the BATTLE FRONTIER?\p"
.string "…Wait a second…\n"
@@ -335,7 +315,7 @@ BattleFrontier_ScottsHouse_Text_2640BC: @ 82640BC
.string "I want you to have this.\n"
.string "I'm sure you can put it to proper use.$"
-BattleFrontier_ScottsHouse_Text_264216: @ 8264216
+BattleFrontier_ScottsHouse_Text_YouveCollectedAllGoldSymbols: @ 8264216
.string "SCOTT: I hope you're enjoying\n"
.string "everything in the BATTLE FRONTIER.\p"
.string "…Wait a second…\n"
@@ -350,35 +330,35 @@ BattleFrontier_ScottsHouse_Text_264216: @ 8264216
.string "I think you will be able to\n"
.string "appreciate the value of my gift!$"
-BattleFrontier_ScottsHouse_Text_264373: @ 8264373
+BattleFrontier_ScottsHouse_Text_SoGladIBroughtYouHere: @ 8264373
.string "I must say I have the gift of knowing\n"
.string "a good TRAINER when I see one.\p"
.string "I'm so glad I had the foresight to\n"
.string "bring you here!$"
-BattleFrontier_ScottsHouse_Text_2643EB: @ 82643EB
+BattleFrontier_ScottsHouse_Text_BerryPocketStuffed: @ 82643EB
.string "Your BERRY POCKET seems to\n"
.string "be stuffed.$"
-BattleFrontier_ScottsHouse_Text_264412: @ 8264412
+BattleFrontier_ScottsHouse_Text_Beat50TrainersInARow: @ 8264412
.string "SCOTT: Oh, I heard about you!\n"
.string "How you ruled the BATTLE TOWER!\l"
.string "You beat over 50 TRAINERS in a row?\p"
.string "That's fantastic!\n"
.string "I want you to have this!$"
-BattleFrontier_ScottsHouse_Text_26449F: @ 826449F
+BattleFrontier_ScottsHouse_Text_Beat100TrainersInARow: @ 826449F
.string "SCOTT: Oh, my! I heard about you!\n"
.string "How you overwhelmed the BATTLE TOWER!\l"
.string "You beat over 100 TRAINERS in a row?\p"
.string "That's ridiculously spectacular!\n"
.string "You've got to have this!$"
-BattleFrontier_ScottsHouse_Text_264546: @ 8264546
+BattleFrontier_ScottsHouse_Text_ExpectingToHearEvenGreaterThings: @ 8264546
.string "I'll be expecting to hear even greater\n"
.string "things about you now!$"
-BattleFrontier_ScottsHouse_Text_264583: @ 8264583
+BattleFrontier_ScottsHouse_Text_ComeBackForThisLater: @ 8264583
.string "Oops, well, if you have too much\n"
.string "stuff, come back for this later.$"
diff --git a/data/maps/FallarborTown_BattleTentBattleRoom/scripts.inc b/data/maps/FallarborTown_BattleTentBattleRoom/scripts.inc
index efa3cc488..18f39ecd1 100644
--- a/data/maps/FallarborTown_BattleTentBattleRoom/scripts.inc
+++ b/data/maps/FallarborTown_BattleTentBattleRoom/scripts.inc
@@ -42,8 +42,8 @@ FallarborTown_BattleTentBattleRoom_EventScript_2008E7:: @ 82008E7
goto_if_ne FallarborTown_BattleTentBattleRoom_EventScript_200B73
FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
- setvar VAR_0x8004, 3
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
+ special CallBattleTowerFunc
addobject 3
applymovement 3, FallarborTown_BattleTentBattleRoom_Movement_200B96
waitmovement 0
diff --git a/data/maps/FortreeCity_Gym/scripts.inc b/data/maps/FortreeCity_Gym/scripts.inc
index 0b0008d53..f69ec8204 100644
--- a/data/maps/FortreeCity_Gym/scripts.inc
+++ b/data/maps/FortreeCity_Gym/scripts.inc
@@ -43,8 +43,8 @@ FortreeCity_Gym_EventScript_WinonaDefeated:: @ 82165FD
closemessage
delay 30
setflag FLAG_ENABLE_WINONA_MATCH_CALL
- setvar VAR_WINONA_CALL_STEP_COUNTER, 0
- setflag FLAG_REGISTER_WINONA_POKENAV
+ setvar VAR_SCOTT_FORTREE_CALL_STEP_COUNTER, 0
+ setflag FLAG_SCOTT_CALL_FORTREE_GYM
release
end
diff --git a/data/maps/LilycoveCity_Harbor/scripts.inc b/data/maps/LilycoveCity_Harbor/scripts.inc
index 3d087c914..cf273bcb8 100644
--- a/data/maps/LilycoveCity_Harbor/scripts.inc
+++ b/data/maps/LilycoveCity_Harbor/scripts.inc
@@ -89,7 +89,7 @@ LilycoveCity_Harbor_EventScript_GoToSlateport:: @ 821E149
msgbox LilycoveCity_Harbor_Text_SlateportItIs, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_Harbor_EventScript_FerryDestinationChangeMind
- setvar VAR_PORTHOLE_STATE, 5
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_BOARD_LILYCOVE
call LilycoveCity_Harbor_EventScript_BoardFerry
warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10
waitstate
@@ -392,7 +392,7 @@ LilycoveCity_Harbor_EventScript_GoToSlateportUnused:: @ 821E575
msgbox LilycoveCity_Harbor_Text_SlateportItIs, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_Harbor_EventScript_FerryDestinationChangeMind
- setvar VAR_PORTHOLE_STATE, 5
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_BOARD_LILYCOVE
call LilycoveCity_Harbor_EventScript_BoardFerry
warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10
waitstate
diff --git a/data/maps/LilycoveCity_PokemonTrainerFanClub/map.json b/data/maps/LilycoveCity_PokemonTrainerFanClub/map.json
index 0591d3c8e..2f1de5b03 100644
--- a/data/maps/LilycoveCity_PokemonTrainerFanClub/map.json
+++ b/data/maps/LilycoveCity_PokemonTrainerFanClub/map.json
@@ -128,7 +128,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "LilycoveCity_PokemonTrainerFanClub_EventScript_21CD7B",
+ "script": "LilycoveCity_PokemonTrainerFanClub_EventScript_Interviewer",
"flag": "FLAG_HIDE_LILYCOVE_FAN_CLUB_INTERVIEWER"
}
],
diff --git a/data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc b/data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc
index 09da9a00e..3645d5cab 100644
--- a/data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc
+++ b/data/maps/LilycoveCity_PokemonTrainerFanClub/scripts.inc
@@ -496,116 +496,117 @@ LilycoveCity_PokemonTrainerFanClub_EventScript_21CD71:: @ 821CD71
release
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CD7B:: @ 821CD7B
+LilycoveCity_PokemonTrainerFanClub_EventScript_Interviewer:: @ 821CD7B
lock
faceplayer
- goto_if_set FLAG_FAN_CLUB_STRENGTH_SHARED, LilycoveCity_PokemonTrainerFanClub_EventScript_21CEED
- goto_if_unset FLAG_FAN_CLUB_STRENGTH_SHARED, LilycoveCity_PokemonTrainerFanClub_EventScript_21CD90
+ goto_if_set FLAG_FAN_CLUB_STRENGTH_SHARED, LilycoveCity_PokemonTrainerFanClub_EventScript_AlreadyInterviewed
+ goto_if_unset FLAG_FAN_CLUB_STRENGTH_SHARED, LilycoveCity_PokemonTrainerFanClub_EventScript_Interview
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CD90:: @ 821CD90
- setvar VAR_0x8005, 11
+LilycoveCity_PokemonTrainerFanClub_EventScript_Interview:: @ 821CD90
+ setvar VAR_0x8005, TVSHOW_FAN_CLUB_SPECIAL
special InterviewBefore
- compare VAR_RESULT, 1
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEFF
+ compare VAR_RESULT, TRUE
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_AlreadyInterviewed2
copyvar VAR_0x800A, VAR_0x8006
setvar VAR_0x8004, 8
special BufferStreakTrainerText
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_281BCB, MSGBOX_DEFAULT
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_WhatsYourOpinionOfTrainer, MSGBOX_DEFAULT
setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_QUESTION
copyvar VAR_0x8005, VAR_0x800A
call Common_ShowEasyChatScreen
lock
faceplayer
compare VAR_RESULT, 1
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_SubmitOpinion
compare VAR_RESULT, 0
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_CancelGiveOpinion
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0:: @ 821CDE0
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_281C06, MSGBOX_DEFAULT
- goto LilycoveCity_PokemonTrainerFanClub_EventScript_21CE4D
+LilycoveCity_PokemonTrainerFanClub_EventScript_SubmitOpinion:: @ 821CDE0
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_ThatsWhatYouThink, MSGBOX_DEFAULT
+ goto LilycoveCity_PokemonTrainerFanClub_EventScript_RateTrainer
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE:: @ 821CDEE
+LilycoveCity_PokemonTrainerFanClub_EventScript_CancelGiveOpinion:: @ 821CDEE
setvar VAR_0x8004, 8
special BufferStreakTrainerText
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_281C3D, MSGBOX_YESNO
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_HaveYouForgottenTrainer, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_ForgetTrainer
compare VAR_RESULT, NO
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_AskForOpinion
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CE15:: @ 821CE15
+LilycoveCity_PokemonTrainerFanClub_EventScript_AskForOpinion:: @ 821CE15
setvar VAR_0x8004, 8
special BufferStreakTrainerText
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_281C65, MSGBOX_DEFAULT
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_WhatsYourOpinionOfTrainer2, MSGBOX_DEFAULT
setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_QUESTION
copyvar VAR_0x8005, VAR_0x800A
call Common_ShowEasyChatScreen
lock
faceplayer
compare VAR_RESULT, 1
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDE0
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_SubmitOpinion
compare VAR_RESULT, 0
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CDEE
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_CancelGiveOpinion
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CE4D:: @ 821CE4D
+LilycoveCity_PokemonTrainerFanClub_EventScript_RateTrainer:: @ 821CE4D
setvar VAR_0x8004, 8
special BufferStreakTrainerText
- message LilycoveCity_PokemonTrainerFanClub_Text_281C95
+ message LilycoveCity_PokemonTrainerFanClub_Text_HowStrongRateTrainer
waitmessage
setvar VAR_0x8004, SCROLL_MULTI_POKEMON_FAN_CLUB_RATER
special ShowScrollableMultichoice
waitstate
setvar VAR_0x8004, 8
switch VAR_RESULT
- case 11, LilycoveCity_PokemonTrainerFanClub_EventScript_21CE9F
- case MULTI_B_PRESSED, LilycoveCity_PokemonTrainerFanClub_EventScript_21CE9F
+ case 11, LilycoveCity_PokemonTrainerFanClub_EventScript_CancelRateTrainer
+ case MULTI_B_PRESSED, LilycoveCity_PokemonTrainerFanClub_EventScript_CancelRateTrainer
setvar VAR_0x8004, 8
special BufferStreakTrainerText
copyvar VAR_0x8006, VAR_0x800A
copyvar VAR_0x8005, VAR_RESULT
special PutFanClubSpecialOnTheAir
- goto LilycoveCity_PokemonTrainerFanClub_EventScript_21CED8
+ goto LilycoveCity_PokemonTrainerFanClub_EventScript_CompleteInterview
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CE9F:: @ 821CE9F
+LilycoveCity_PokemonTrainerFanClub_EventScript_CancelRateTrainer:: @ 821CE9F
setvar VAR_0x8004, 8
special BufferStreakTrainerText
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_281CCD, MSGBOX_YESNO
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_HaveYouForgottenTrainer2, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_ForgetTrainer
compare VAR_RESULT, NO
- goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_21CE4D
+ goto_if_eq LilycoveCity_PokemonTrainerFanClub_EventScript_RateTrainer
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CEC6:: @ 821CEC6
+LilycoveCity_PokemonTrainerFanClub_EventScript_ForgetTrainer:: @ 821CEC6
setvar VAR_0x8004, 8
special BufferStreakTrainerText
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_281CF5, MSGBOX_DEFAULT
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_YouShouldMeetTrainer, MSGBOX_DEFAULT
release
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CED8:: @ 821CED8
+LilycoveCity_PokemonTrainerFanClub_EventScript_CompleteInterview:: @ 821CED8
setvar VAR_0x8004, 8
special BufferStreakTrainerText
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_281D40, MSGBOX_DEFAULT
+ msgbox LilycoveCity_PokemonTrainerFanClub_Text_ThankYouIllShareThisInfo, MSGBOX_DEFAULT
setflag FLAG_FAN_CLUB_STRENGTH_SHARED
release
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CEED:: @ 821CEED
+LilycoveCity_PokemonTrainerFanClub_EventScript_AlreadyInterviewed:: @ 821CEED
setvar VAR_0x8004, 8
special BufferStreakTrainerText
- msgbox LilycoveCity_PokemonTrainerFanClub_Text_281DB4, MSGBOX_DEFAULT
+ msgbox LilycoveCity_PokemonTrainerFanClub_HopeYouCatchTVSpecial, MSGBOX_DEFAULT
release
end
-LilycoveCity_PokemonTrainerFanClub_EventScript_21CEFF:: @ 821CEFF
+@ Shouldnt be reached
+LilycoveCity_PokemonTrainerFanClub_EventScript_AlreadyInterviewed2:: @ 821CEFF
end
LilycoveCity_PokemonTrainerFanClub_Text_OhWowItsPlayer: @ 821CF00
diff --git a/data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc b/data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc
index ce7ebf3b6..b27cb1f8a 100644
--- a/data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc
+++ b/data/maps/LittlerootTown_ProfessorBirchsLab/scripts.inc
@@ -212,8 +212,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_UpgradeToNationalDex:: @ 81F9E80
setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCH
setflag FLAG_HIDE_LITTLEROOT_TOWN_RIVAL
setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2
- setvar VAR_SCOTT_CALL_STEP_COUNTER, 0
- setflag FLAG_SCOTT_CALL_NATIONAL_DEX
+ setvar VAR_SCOTT_BF_CALL_STEP_COUNTER, 0
+ setflag FLAG_SCOTT_CALL_BATTLE_FRONTIER
releaseall
end
@@ -703,7 +703,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall:: @ 81FA4D6
lockall
pokenavcall LittlerootTown_ProfessorBirchsLab_Text_ScottAboardSSTidalCall
waitmessage
- clearflag FLAG_SCOTT_CALL_NATIONAL_DEX
+ clearflag FLAG_SCOTT_CALL_BATTLE_FRONTIER
releaseall
end
diff --git a/data/maps/MagmaHideout_4F/scripts.inc b/data/maps/MagmaHideout_4F/scripts.inc
index 44a135368..08b59e1f0 100644
--- a/data/maps/MagmaHideout_4F/scripts.inc
+++ b/data/maps/MagmaHideout_4F/scripts.inc
@@ -9,10 +9,7 @@ MagmaHideout_4F_EventScript_Maxie:: @ 823A560
delay 20
setvar VAR_RESULT, 1
playse SE_W197
- setfieldeffectargument 0, 18
- setfieldeffectargument 1, 42
- setfieldeffectargument 2, 0
- dofieldeffect FLDEFF_SPARKLE
+ dofieldeffectsparkle 18, 42, 0
waitfieldeffect FLDEFF_SPARKLE
setvar VAR_RESULT, 1
playfanfare MUS_ME_TAMA
diff --git a/data/maps/Route101/scripts.inc b/data/maps/Route101/scripts.inc
index de28aa251..dca3dc47d 100644
--- a/data/maps/Route101/scripts.inc
+++ b/data/maps/Route101/scripts.inc
@@ -1,13 +1,13 @@
Route101_MapScripts:: @ 81EBCBA
map_script MAP_SCRIPT_ON_TRANSITION, Route101_OnTransition
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route101_MapScript2_1EBCCB
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route101_OnFrame
.byte 0
Route101_OnTransition: @ 81EBCC5
call ProfBirch_EventScript_UpdateLocation
end
-Route101_MapScript2_1EBCCB: @ 81EBCCB
+Route101_OnFrame: @ 81EBCCB
map_script_2 VAR_ROUTE101_STATE, 0, Route101_EventScript_HideMapNamePopup
.2byte 0
diff --git a/data/maps/Route104/map.json b/data/maps/Route104/map.json
index a02a1e170..f31c512f7 100644
--- a/data/maps/Route104/map.json
+++ b/data/maps/Route104/map.json
@@ -40,7 +40,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ED00F",
+ "script": "Route104_EventScript_BugCatcher",
"flag": "0"
},
{
@@ -53,7 +53,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ED006",
+ "script": "Route104_EventScript_Girl1",
"flag": "0"
},
{
@@ -66,7 +66,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route104_EventScript_1ED38D",
+ "script": "Route104_EventScript_Haley",
"flag": "0"
},
{
@@ -79,7 +79,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ED045",
+ "script": "Route104_EventScript_Boy1",
"flag": "0"
},
{
@@ -92,7 +92,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ED04E",
+ "script": "Route104_EventScript_Woman",
"flag": "0"
},
{
@@ -105,7 +105,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ED090",
+ "script": "Route104_EventScript_Girl2",
"flag": "0"
},
{
@@ -144,7 +144,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ED35F",
+ "script": "Route104_EventScript_Ivan",
"flag": "0"
},
{
@@ -235,7 +235,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ECF8C",
+ "script": "Route104_EventScript_ExpertF",
"flag": "0"
},
{
@@ -313,7 +313,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ECFCD",
+ "script": "Route104_EventScript_WhiteHerbFlorist",
"flag": "FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST"
},
{
@@ -326,7 +326,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route104_EventScript_1ED597",
+ "script": "Route104_EventScript_Gina",
"flag": "0"
},
{
@@ -339,7 +339,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route104_EventScript_1ED5B6",
+ "script": "Route104_EventScript_Mia",
"flag": "0"
},
{
@@ -352,7 +352,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route104_EventScript_1ED43B",
+ "script": "Route104_EventScript_Winston",
"flag": "0"
},
{
@@ -365,7 +365,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route104_EventScript_1ED4E9",
+ "script": "Route104_EventScript_Cindy",
"flag": "0"
},
{
@@ -391,7 +391,7 @@
"movement_range_y": 6,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route104_EventScript_1ED376",
+ "script": "Route104_EventScript_Billy",
"flag": "0"
},
{
@@ -443,7 +443,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ED057",
+ "script": "Route104_EventScript_Boy2",
"flag": "0"
},
{
@@ -456,7 +456,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ED5D5",
+ "script": "Route104_EventScript_Darian",
"flag": "0"
},
{
@@ -469,7 +469,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route104_EventScript_1ECC9E",
+ "script": "Route104_EventScript_Rival",
"flag": "FLAG_HIDE_ROUTE_104_RIVAL"
}
],
@@ -539,7 +539,7 @@
"elevation": 3,
"var": "VAR_ROUTE104_STATE",
"var_value": "1",
- "script": "Route104_EventScript_1ECCB3"
+ "script": "Route104_EventScript_RivalTrigger"
}
],
"bg_events": [
@@ -549,7 +549,7 @@
"y": 50,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route104_EventScript_1ED018"
+ "script": "Route104_EventScript_BrineysCottageSign"
},
{
"type": "sign",
@@ -557,7 +557,7 @@
"y": 66,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route104_EventScript_1ED021"
+ "script": "Route104_EventScript_RouteSignPetalburg"
},
{
"type": "sign",
@@ -565,7 +565,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route104_EventScript_1ED02A"
+ "script": "Route104_EventScript_RouteSignRustboro"
},
{
"type": "sign",
@@ -573,7 +573,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route104_EventScript_1ED033"
+ "script": "Route104_EventScript_FlowerShopSign"
},
{
"type": "sign",
@@ -581,7 +581,7 @@
"y": 23,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route104_EventScript_1ED03C"
+ "script": "Route104_EventScript_TrainerTipsDoubleBattles"
},
{
"type": "hidden_item",
diff --git a/data/maps/Route104/scripts.inc b/data/maps/Route104/scripts.inc
index 51528b6ef..46dd80119 100644
--- a/data/maps/Route104/scripts.inc
+++ b/data/maps/Route104/scripts.inc
@@ -14,39 +14,39 @@ Route104_EventScript_StartSailToDewford:: @ 81ECC47
Route104_OnTransition: @ 81ECC4E
call Common_EventScript_SetupRivalGfxId
- call Route104_EventScript_1ECC78
- call Route104_EventScript_1ECC5E
+ call Route104_EventScript_TrySetRivalPos
+ call Route104_EventScript_ShowOrHideWhiteHerbFlorist
end
-Route104_EventScript_1ECC5E:: @ 81ECC5E
- goto_if_unset FLAG_MET_PRETTY_PETAL_SHOP_OWNER, Route104_EventScript_1ECC74
- goto_if_unset FLAG_BADGE03_GET, Route104_EventScript_1ECC74
+Route104_EventScript_ShowOrHideWhiteHerbFlorist:: @ 81ECC5E
+ goto_if_unset FLAG_MET_PRETTY_PETAL_SHOP_OWNER, Route104_EventScript_HideWhiteHerbFlorist
+ goto_if_unset FLAG_BADGE03_GET, Route104_EventScript_HideWhiteHerbFlorist
clearflag FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST
return
-Route104_EventScript_1ECC74:: @ 81ECC74
+Route104_EventScript_HideWhiteHerbFlorist:: @ 81ECC74
setflag FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST
return
-Route104_EventScript_1ECC78:: @ 81ECC78
+Route104_EventScript_TrySetRivalPos:: @ 81ECC78
compare VAR_BOARD_BRINEY_BOAT_STATE, 1
- goto_if_ge Route104_EventScript_1ECC9D
- goto_if_set FLAG_MET_RIVAL_RUSTBORO, Route104_EventScript_1ECC9D
- goto_if_unset FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_1ECC9D
+ goto_if_ge Route104_EventScript_DontSetRivalPos
+ goto_if_set FLAG_MET_RIVAL_RUSTBORO, Route104_EventScript_DontSetRivalPos
+ goto_if_unset FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_DontSetRivalPos
setobjectxyperm 34, 17, 52
return
-Route104_EventScript_1ECC9D:: @ 81ECC9D
+Route104_EventScript_DontSetRivalPos:: @ 81ECC9D
return
-Route104_EventScript_1ECC9E:: @ 81ECC9E
+Route104_EventScript_Rival:: @ 81ECC9E
lockall
setvar VAR_0x8008, 1
applymovement 34, Common_Movement_FacePlayer
waitmovement 0
- goto Route104_EventScript_1ECD33
+ goto Route104_EventScript_RivalEncounter
-Route104_EventScript_1ECCB3:: @ 81ECCB3
+Route104_EventScript_RivalTrigger:: @ 81ECCB3
lockall
setflag FLAG_HIDE_RUSTBORO_CITY_RIVAL
setvar VAR_RUSTBORO_CITY_STATE, 8
@@ -56,9 +56,9 @@ Route104_EventScript_1ECCB3:: @ 81ECCB3
delay 10
addobject 34
clearflag FLAG_HIDE_ROUTE_104_RIVAL
- applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ECF86
+ applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_PlayerBackUp
waitmovement 0
- applymovement 34, Route104_Movement_1ECF8A
+ applymovement 34, Route104_Movement_RivalExitBrineysCottage
waitmovement 0
delay 20
setvar VAR_0x8008, 0
@@ -68,291 +68,292 @@ Route104_EventScript_1ECCB3:: @ 81ECCB3
waitmovement 0
applymovement 34, Common_Movement_Delay48
waitmovement 0
- goto Route104_EventScript_1ECD33
+ goto Route104_EventScript_RivalEncounter
-Route104_EventScript_1ECD11:: @ 81ECD11
+@ Unused, shares script with Rustboro encounter instead
+Route104_EventScript_PlayRivalMusic:: @ 81ECD11
checkplayergender
compare VAR_RESULT, MALE
- goto_if_eq Route104_EventScript_1ECD29
+ goto_if_eq Route104_EventScript_PlayMayMusic
compare VAR_RESULT, FEMALE
- goto_if_eq Route104_EventScript_1ECD2E
+ goto_if_eq Route104_EventScript_PlayBrendanMusic
return
-Route104_EventScript_1ECD29:: @ 81ECD29
+Route104_EventScript_PlayMayMusic:: @ 81ECD29
playbgm MUS_GIRL_SUP, 1
return
-Route104_EventScript_1ECD2E:: @ 81ECD2E
+Route104_EventScript_PlayBrendanMusic:: @ 81ECD2E
playbgm MUS_BOY_SUP, 1
return
-Route104_EventScript_1ECD33:: @ 81ECD33
+Route104_EventScript_RivalEncounter:: @ 81ECD33
checkplayergender
compare VAR_RESULT, MALE
- goto_if_eq Route104_EventScript_1ECD4B
+ goto_if_eq Route104_EventScript_MayEncounter
compare VAR_RESULT, FEMALE
- goto_if_eq Route104_EventScript_1ECE6F
+ goto_if_eq Route104_EventScript_BrendanEncounter
end
-Route104_EventScript_1ECD4B:: @ 81ECD4B
- goto_if_set FLAG_DEFEATED_RIVAL_ROUTE_104, Route104_EventScript_1ECE1C
- goto_if_set FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_1ECDD0
+Route104_EventScript_MayEncounter:: @ 81ECD4B
+ goto_if_set FLAG_DEFEATED_RIVAL_ROUTE_104, Route104_EventScript_MayDefeated
+ goto_if_set FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_MayAskToBattle
setflag FLAG_REGISTER_RIVAL_POKENAV
- msgbox Route104_Text_1EDBFF, MSGBOX_DEFAULT
+ msgbox Route104_Text_MayWeShouldRegister, MSGBOX_DEFAULT
closemessage
delay 30
playfanfare MUS_ME_TORE_EYE
- msgbox Route104_Text_1EDC8F, MSGBOX_DEFAULT
+ msgbox Route104_Text_RegisteredMay, MSGBOX_DEFAULT
waitfanfare
closemessage
delay 30
setflag FLAG_ENABLE_RIVAL_MATCH_CALL
- applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ECDCD
- applymovement 34, Route104_Movement_1ECDC8
- msgbox Route104_Text_1EDCB1, MSGBOX_DEFAULT
+ applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_PlayerFaceRival
+ applymovement 34, Route104_Movement_RivalWalkSlowLeft
+ msgbox Route104_Text_MayHowsYourPokedex, MSGBOX_DEFAULT
closemessage
waitmovement 0
- applymovement 34, Route104_Movement_1ECDCA
+ applymovement 34, Route104_Movement_RivalApproachPlayer
waitmovement 0
copyobjectxytoperm 34
- msgbox Route104_Text_1EDCED, MSGBOX_YESNO
+ msgbox Route104_Text_MayMinesDecentLetsBattle, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq Route104_EventScript_1ECDED
- msgbox Route104_Text_1EDD2A, MSGBOX_DEFAULT
- call Route104_EventScript_1ECE31
+ goto_if_eq Route104_EventScript_BattleMay
+ msgbox Route104_Text_MayHaventRaisedPokemon, MSGBOX_DEFAULT
+ call Route104_EventScript_RestoreMusic
releaseall
end
-Route104_Movement_1ECDC8: @ 81ECDC8
+Route104_Movement_RivalWalkSlowLeft: @ 81ECDC8
walk_slow_left
step_end
-Route104_Movement_1ECDCA: @ 81ECDCA
+Route104_Movement_RivalApproachPlayer: @ 81ECDCA
walk_down
face_right
step_end
-Route104_Movement_1ECDCD: @ 81ECDCD
+Route104_Movement_PlayerFaceRival: @ 81ECDCD
delay_4
walk_in_place_fastest_left
step_end
-Route104_EventScript_1ECDD0:: @ 81ECDD0
- msgbox Route104_Text_1EDD9F, MSGBOX_YESNO
+Route104_EventScript_MayAskToBattle:: @ 81ECDD0
+ msgbox Route104_Text_MayLetsBattle, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq Route104_EventScript_1ECDED
- msgbox Route104_Text_1EDD2A, MSGBOX_DEFAULT
+ goto_if_eq Route104_EventScript_BattleMay
+ msgbox Route104_Text_MayHaventRaisedPokemon, MSGBOX_DEFAULT
releaseall
end
-Route104_EventScript_1ECDED:: @ 81ECDED
- msgbox Route104_Text_1EDDDB, MSGBOX_DEFAULT
+Route104_EventScript_BattleMay:: @ 81ECDED
+ msgbox Route104_Text_MayIntro, MSGBOX_DEFAULT
switch VAR_STARTER_MON
- case 0, Route104_EventScript_1ECE36
- case 1, Route104_EventScript_1ECE49
- case 2, Route104_EventScript_1ECE5C
+ case 0, Route104_EventScript_BattleMayTreecko
+ case 1, Route104_EventScript_BattleMayTorchic
+ case 2, Route104_EventScript_BattleMayMudkip
end
-Route104_EventScript_1ECE1C:: @ 81ECE1C
- msgbox Route104_Text_1EDE3E, MSGBOX_DEFAULT
+Route104_EventScript_MayDefeated:: @ 81ECE1C
+ msgbox Route104_Text_MayPostBattle, MSGBOX_DEFAULT
compare VAR_0x8008, 0
- call_if_eq Route104_EventScript_1ECE31
+ call_if_eq Route104_EventScript_RestoreMusic
releaseall
end
-Route104_EventScript_1ECE31:: @ 81ECE31
+Route104_EventScript_RestoreMusic:: @ 81ECE31
savebgm MUS_DUMMY
fadedefaultbgm
return
-Route104_EventScript_1ECE36:: @ 81ECE36
- trainerbattle_no_intro TRAINER_MAY_14, Route104_Text_1EDE18
+Route104_EventScript_BattleMayTreecko:: @ 81ECE36
+ trainerbattle_no_intro TRAINER_MAY_14, Route104_Text_MayDefeat
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
- goto Route104_EventScript_1ECE1C
+ goto Route104_EventScript_MayDefeated
end
-Route104_EventScript_1ECE49:: @ 81ECE49
- trainerbattle_no_intro TRAINER_MAY_15, Route104_Text_1EDE18
+Route104_EventScript_BattleMayTorchic:: @ 81ECE49
+ trainerbattle_no_intro TRAINER_MAY_15, Route104_Text_MayDefeat
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
- goto Route104_EventScript_1ECE1C
+ goto Route104_EventScript_MayDefeated
end
-Route104_EventScript_1ECE5C:: @ 81ECE5C
- trainerbattle_no_intro TRAINER_MAY_10, Route104_Text_1EDE18
+Route104_EventScript_BattleMayMudkip:: @ 81ECE5C
+ trainerbattle_no_intro TRAINER_MAY_10, Route104_Text_MayDefeat
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
- goto Route104_EventScript_1ECE1C
+ goto Route104_EventScript_MayDefeated
end
-Route104_EventScript_1ECE6F:: @ 81ECE6F
- goto_if_set FLAG_DEFEATED_RIVAL_ROUTE_104, Route104_EventScript_1ECF38
- goto_if_set FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_1ECEEC
+Route104_EventScript_BrendanEncounter:: @ 81ECE6F
+ goto_if_set FLAG_DEFEATED_RIVAL_ROUTE_104, Route104_EventScript_BrendanDefeated
+ goto_if_set FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_BrendanAskToBattle
setflag FLAG_REGISTER_RIVAL_POKENAV
- msgbox Route104_Text_1EDF04, MSGBOX_DEFAULT
+ msgbox Route104_Text_BrendanWeShouldRegister, MSGBOX_DEFAULT
closemessage
delay 30
playfanfare MUS_ME_TORE_EYE
- msgbox Route104_Text_1EDFA0, MSGBOX_DEFAULT
+ msgbox Route104_Text_RegisteredBrendan, MSGBOX_DEFAULT
waitfanfare
closemessage
delay 30
setflag FLAG_ENABLE_RIVAL_MATCH_CALL
- applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ECDCD
- applymovement 34, Route104_Movement_1ECDC8
- msgbox Route104_Text_1EDFC6, MSGBOX_DEFAULT
+ applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_PlayerFaceRival
+ applymovement 34, Route104_Movement_RivalWalkSlowLeft
+ msgbox Route104_Text_BrendanHowsYourPokedex, MSGBOX_DEFAULT
closemessage
waitmovement 0
- applymovement 34, Route104_Movement_1ECDCA
+ applymovement 34, Route104_Movement_RivalApproachPlayer
waitmovement 0
copyobjectxytoperm 34
- msgbox Route104_Text_1EE009, MSGBOX_YESNO
+ msgbox Route104_Text_BrendanDoingGreatLetsBattle, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq Route104_EventScript_1ECF09
- msgbox Route104_Text_1EE04D, MSGBOX_DEFAULT
- call Route104_EventScript_1ECE31
+ goto_if_eq Route104_EventScript_BattleBrendan
+ msgbox Route104_Text_BrendanNoConfidence, MSGBOX_DEFAULT
+ call Route104_EventScript_RestoreMusic
releaseall
end
-Route104_EventScript_1ECEEC:: @ 81ECEEC
- msgbox Route104_Text_1EE094, MSGBOX_YESNO
+Route104_EventScript_BrendanAskToBattle:: @ 81ECEEC
+ msgbox Route104_Text_BrendanLetsBattle, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq Route104_EventScript_1ECF09
- msgbox Route104_Text_1EE04D, MSGBOX_DEFAULT
+ goto_if_eq Route104_EventScript_BattleBrendan
+ msgbox Route104_Text_BrendanNoConfidence, MSGBOX_DEFAULT
releaseall
end
-Route104_EventScript_1ECF09:: @ 81ECF09
- msgbox Route104_Text_1EE0C7, MSGBOX_DEFAULT
+Route104_EventScript_BattleBrendan:: @ 81ECF09
+ msgbox Route104_Text_BrendanIntro, MSGBOX_DEFAULT
switch VAR_STARTER_MON
- case 0, Route104_EventScript_1ECF4D
- case 1, Route104_EventScript_1ECF60
- case 2, Route104_EventScript_1ECF73
+ case 0, Route104_EventScript_BattleBrendanTreecko
+ case 1, Route104_EventScript_BattleBrendanTorchic
+ case 2, Route104_EventScript_BattleBrendanMudkip
end
-Route104_EventScript_1ECF38:: @ 81ECF38
- msgbox Route104_Text_1EE120, MSGBOX_DEFAULT
+Route104_EventScript_BrendanDefeated:: @ 81ECF38
+ msgbox Route104_Text_BrendanPostBattle, MSGBOX_DEFAULT
compare VAR_0x8008, 0
- call_if_eq Route104_EventScript_1ECE31
+ call_if_eq Route104_EventScript_RestoreMusic
releaseall
end
-Route104_EventScript_1ECF4D:: @ 81ECF4D
- trainerbattle_no_intro TRAINER_BRENDAN_10, Route104_Text_1EE107
+Route104_EventScript_BattleBrendanTreecko:: @ 81ECF4D
+ trainerbattle_no_intro TRAINER_BRENDAN_10, Route104_Text_BrendanDefeat
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
- goto Route104_EventScript_1ECF38
+ goto Route104_EventScript_BrendanDefeated
end
-Route104_EventScript_1ECF60:: @ 81ECF60
- trainerbattle_no_intro TRAINER_BRENDAN_12, Route104_Text_1EE107
+Route104_EventScript_BattleBrendanTorchic:: @ 81ECF60
+ trainerbattle_no_intro TRAINER_BRENDAN_12, Route104_Text_BrendanDefeat
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
- goto Route104_EventScript_1ECF38
+ goto Route104_EventScript_BrendanDefeated
end
-Route104_EventScript_1ECF73:: @ 81ECF73
- trainerbattle_no_intro TRAINER_BRENDAN_11, Route104_Text_1EE107
+Route104_EventScript_BattleBrendanMudkip:: @ 81ECF73
+ trainerbattle_no_intro TRAINER_BRENDAN_11, Route104_Text_BrendanDefeat
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
- goto Route104_EventScript_1ECF38
+ goto Route104_EventScript_BrendanDefeated
end
-Route104_Movement_1ECF86: @ 81ECF86
+Route104_Movement_PlayerBackUp: @ 81ECF86
lock_facing_direction
walk_down
unlock_facing_direction
step_end
-Route104_Movement_1ECF8A: @ 81ECF8A
+Route104_Movement_RivalExitBrineysCottage: @ 81ECF8A
walk_down
step_end
-Route104_EventScript_1ECF8C:: @ 81ECF8C
+Route104_EventScript_ExpertF:: @ 81ECF8C
lock
faceplayer
- goto_if_set FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104, Route104_EventScript_1ECFC3
- msgbox Route104_Text_2A6D86, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104, Route104_EventScript_ReceivedBerry
+ msgbox Route104_Text_PlantBerriesInSoilTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_CHESTO_BERRY
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104
- msgbox Route104_Text_2A6E32, MSGBOX_DEFAULT
+ msgbox Route104_Text_TrainersOftenMakeMonHoldBerries, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ECFC3:: @ 81ECFC3
- msgbox Route104_Text_2A6E32, MSGBOX_DEFAULT
+Route104_EventScript_ReceivedBerry:: @ 81ECFC3
+ msgbox Route104_Text_TrainersOftenMakeMonHoldBerries, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ECFCD:: @ 81ECFCD
+Route104_EventScript_WhiteHerbFlorist:: @ 81ECFCD
lock
faceplayer
- goto_if_set FLAG_RECEIVED_WHITE_HERB, Route104_EventScript_1ECFFC
- msgbox Route104_Text_1ED96A, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECEIVED_WHITE_HERB, Route104_EventScript_ReceivedWhiteHerb
+ msgbox Route104_Text_DontNeedThisTakeIt, MSGBOX_DEFAULT
giveitem_std ITEM_WHITE_HERB
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_WHITE_HERB
release
end
-Route104_EventScript_1ECFFC:: @ 81ECFFC
- msgbox Route104_Text_1EDA0F, MSGBOX_DEFAULT
+Route104_EventScript_ReceivedWhiteHerb:: @ 81ECFFC
+ msgbox Route104_Text_FlowerShopSellingSaplings, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED006:: @ 81ED006
- msgbox Route104_Text_1ED5EC, MSGBOX_NPC
+Route104_EventScript_Girl1:: @ 81ED006
+ msgbox Route104_Text_BrineyLivesInSeasideCottage, MSGBOX_NPC
end
-Route104_EventScript_1ED00F:: @ 81ED00F
- msgbox Route104_Text_1ED662, MSGBOX_SIGN
+Route104_EventScript_BugCatcher:: @ 81ED00F
+ msgbox Route104_Text_WhatsItLikeAtBottomOfSea, MSGBOX_SIGN
end
-Route104_EventScript_1ED018:: @ 81ED018
- msgbox Route104_Text_1EDA8C, MSGBOX_SIGN
+Route104_EventScript_BrineysCottageSign:: @ 81ED018
+ msgbox Route104_Text_MrBrineysCottage, MSGBOX_SIGN
end
-Route104_EventScript_1ED021:: @ 81ED021
- msgbox Route104_Text_1EDAA1, MSGBOX_SIGN
+Route104_EventScript_RouteSignPetalburg:: @ 81ED021
+ msgbox Route104_Text_RouteSignPetalburg, MSGBOX_SIGN
end
-Route104_EventScript_1ED02A:: @ 81ED02A
- msgbox Route104_Text_1EDABC, MSGBOX_SIGN
+Route104_EventScript_RouteSignRustboro:: @ 81ED02A
+ msgbox Route104_Text_RouteSignRustboro, MSGBOX_SIGN
end
-Route104_EventScript_1ED033:: @ 81ED033
- msgbox Route104_Text_1EDAD6, MSGBOX_SIGN
+Route104_EventScript_FlowerShopSign:: @ 81ED033
+ msgbox Route104_Text_PrettyPetalFlowShop, MSGBOX_SIGN
end
-Route104_EventScript_1ED03C:: @ 81ED03C
- msgbox Route104_Text_1EDAEF, MSGBOX_SIGN
+Route104_EventScript_TrainerTipsDoubleBattles:: @ 81ED03C
+ msgbox Route104_Text_TrainerTipsDoubleBattles, MSGBOX_SIGN
end
-Route104_EventScript_1ED045:: @ 81ED045
- msgbox Route104_Text_1ED6A2, MSGBOX_NPC
+Route104_EventScript_Boy1:: @ 81ED045
+ msgbox Route104_Text_ThrowBallAtWeakenedPokemon, MSGBOX_NPC
end
-Route104_EventScript_1ED04E:: @ 81ED04E
- msgbox Route104_Text_1ED735, MSGBOX_NPC
+Route104_EventScript_Woman:: @ 81ED04E
+ msgbox Route104_Text_OnlyThrowBallAtWildPokemon, MSGBOX_NPC
end
-Route104_EventScript_1ED057:: @ 81ED057
+Route104_EventScript_Boy2:: @ 81ED057
lock
faceplayer
- goto_if_set FLAG_RECEIVED_TM09, Route104_EventScript_1ED086
- msgbox Route104_Text_1ED838, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECEIVED_TM09, Route104_EventScript_ReceivedBulletSeed
+ msgbox Route104_Text_LikeFillingMouthWithSeedsTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_TM09
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM09
release
end
-Route104_EventScript_1ED086:: @ 81ED086
- msgbox Route104_Text_1ED8E7, MSGBOX_DEFAULT
+Route104_EventScript_ReceivedBulletSeed:: @ 81ED086
+ msgbox Route104_Text_TMsAreOneTimeUse, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED090:: @ 81ED090
- msgbox Route104_Text_1ED7A2, MSGBOX_NPC
+Route104_EventScript_Girl2:: @ 81ED090
+ msgbox Route104_Text_ImNotATrainer, MSGBOX_NPC
end
Route104_EventScript_SailToDewford:: @ 81ED099
@@ -365,19 +366,19 @@ Route104_EventScript_SailToDewford:: @ 81ED099
waitmovement 0
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE104
call Common_EventScript_PlayBrineysBoatMusic
- goto_if_set FLAG_ENABLE_NORMAN_MATCH_CALL, Route104_EventScript_1ED0D9
- goto_if_unset FLAG_ENABLE_NORMAN_MATCH_CALL, Route104_EventScript_1ED0EF
+ goto_if_set FLAG_ENABLE_NORMAN_MATCH_CALL, Route104_EventScript_SailToDewfordNoCall
+ goto_if_unset FLAG_ENABLE_NORMAN_MATCH_CALL, Route104_EventScript_SailToDewfordDadCalls
end
-Route104_EventScript_1ED0D9:: @ 81ED0D9
- applymovement 7, Route104_Movement_1ED28C
- applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ED28C
+Route104_EventScript_SailToDewfordNoCall:: @ 81ED0D9
+ applymovement 7, Route104_Movement_SailToDewford
+ applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_SailToDewford
waitmovement 0
- goto Route104_EventScript_1ED139
+ goto Route104_EventScript_ArriveInDewford
-Route104_EventScript_1ED0EF:: @ 81ED0EF
- applymovement 7, Route104_Movement_1ED1C8
- applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ED1C8
+Route104_EventScript_SailToDewfordDadCalls:: @ 81ED0EF
+ applymovement 7, Route104_Movement_SailToDewfordBeforeDadCalls
+ applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_SailToDewfordBeforeDadCalls
waitmovement 0
pokenavcall Route104_Text_DadPokenavCall
waitmessage
@@ -388,25 +389,25 @@ Route104_EventScript_1ED0EF:: @ 81ED0EF
closemessage
delay 30
setflag FLAG_ENABLE_NORMAN_MATCH_CALL
- applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ED22A
- applymovement 7, Route104_Movement_1ED22A, MAP_ROUTE104
+ applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_SailToDewfordAfterDadCalls
+ applymovement 7, Route104_Movement_SailToDewfordAfterDadCalls, MAP_ROUTE104
waitmovement 7, MAP_ROUTE104
waitmovement 0
- goto Route104_EventScript_1ED139
+ goto Route104_EventScript_ArriveInDewford
-Route104_EventScript_1ED139:: @ 81ED139
+Route104_EventScript_ArriveInDewford:: @ 81ED139
delay 50
- applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ED353
+ applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_PlayerExitBoat
waitmovement 0
call Common_EventScript_StopBrineysBoatMusic
showobjectat EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN
- applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ED355
+ applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_PlayerMoveForBriney
waitmovement 0
setobjectxyperm 2, 12, 8
addobject 2
setobjectpriority 2, MAP_DEWFORD_TOWN, 0
clearflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
- applymovement 2, Route104_Movement_1ED35C
+ applymovement 2, Route104_Movement_BrineyExitBoat
waitmovement 0
addobject 4
clearflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
@@ -432,7 +433,7 @@ Route104_EventScript_LandedInDewford:: @ 81ED1BE
releaseall
end
-Route104_Movement_1ED1C8: @ 81ED1C8
+Route104_Movement_SailToDewfordBeforeDadCalls: @ 81ED1C8
walk_down
walk_down
walk_down
@@ -532,7 +533,7 @@ Route104_Movement_1ED1C8: @ 81ED1C8
walk_fastest_down
step_end
-Route104_Movement_1ED22A: @ 81ED22A
+Route104_Movement_SailToDewfordAfterDadCalls: @ 81ED22A
walk_fastest_down
walk_fastest_down
walk_fastest_down
@@ -632,7 +633,7 @@ Route104_Movement_1ED22A: @ 81ED22A
walk_down
step_end
-Route104_Movement_1ED28C: @ 81ED28C
+Route104_Movement_SailToDewford: @ 81ED28C
walk_down
walk_down
walk_down
@@ -835,11 +836,11 @@ Route104_Movement_PlayerBoardBoat: @ 81ED34F
walk_down
step_end
-Route104_Movement_1ED353: @ 81ED353
+Route104_Movement_PlayerExitBoat: @ 81ED353
walk_down
step_end
-Route104_Movement_1ED355: @ 81ED355
+Route104_Movement_PlayerMoveForBriney: @ 81ED355
walk_down
walk_left
walk_in_place_fastest_right
@@ -850,214 +851,214 @@ Route104_Movement_BrineyBoardBoat: @ 81ED359
walk_down
step_end
-Route104_Movement_1ED35C: @ 81ED35C
+Route104_Movement_BrineyExitBoat: @ 81ED35C
walk_down
walk_in_place_fastest_left
step_end
-Route104_EventScript_1ED35F:: @ 81ED35F
- trainerbattle_single TRAINER_IVAN, Route104_Text_2954BD, Route104_Text_295509
- msgbox Route104_Text_29554E, MSGBOX_AUTOCLOSE
+Route104_EventScript_Ivan:: @ 81ED35F
+ trainerbattle_single TRAINER_IVAN, Route104_Text_IvanIntro, Route104_Text_IvanDefeat
+ msgbox Route104_Text_IvanPostBattle, MSGBOX_AUTOCLOSE
end
-Route104_EventScript_1ED376:: @ 81ED376
- trainerbattle_single TRAINER_BILLY, Route104_Text_29558A, Route104_Text_2955B4
- msgbox Route104_Text_2955E8, MSGBOX_AUTOCLOSE
+Route104_EventScript_Billy:: @ 81ED376
+ trainerbattle_single TRAINER_BILLY, Route104_Text_BillyIntro, Route104_Text_BillyDefeat
+ msgbox Route104_Text_BillyPostBattle, MSGBOX_AUTOCLOSE
end
-Route104_EventScript_1ED38D:: @ 81ED38D
- trainerbattle_single TRAINER_HALEY_1, Route104_Text_29563A, Route104_Text_29566F, Route104_EventScript_1ED3CE
+Route104_EventScript_Haley:: @ 81ED38D
+ trainerbattle_single TRAINER_HALEY_1, Route104_Text_HaleyIntro, Route104_Text_HaleyDefeat, Route104_EventScript_TryRegisterHaleyAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route104_EventScript_1ED424
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route104_EventScript_RematchHaley
setvar VAR_0x8004, TRAINER_HALEY_1
specialvar VAR_RESULT, IsTrainerRegistered
- compare VAR_RESULT, 0
- goto_if_eq Route104_EventScript_1ED3F8
- msgbox Route104_Text_295689, MSGBOX_DEFAULT
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route104_EventScript_TryRegisterHaley
+ msgbox Route104_Text_HaleyPostBattle, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED3CE:: @ 81ED3CE
+Route104_EventScript_TryRegisterHaleyAfterBattle:: @ 81ED3CE
special PlayerFaceTrainerAfterBattle
waitmovement 0
- goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_1ED3DF
+ goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterHaleyAfterBattle
release
end
-Route104_EventScript_1ED3DF:: @ 81ED3DF
- msgbox Route104_Text_29576B, MSGBOX_DEFAULT
+Route104_EventScript_RegisterHaleyAfterBattle:: @ 81ED3DF
+ msgbox Route104_Text_HaleyRegister2, MSGBOX_DEFAULT
register_matchcall TRAINER_HALEY_1
release
end
-Route104_EventScript_1ED3F8:: @ 81ED3F8
- goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_1ED40B
- msgbox Route104_Text_295689, MSGBOX_DEFAULT
+Route104_EventScript_TryRegisterHaley:: @ 81ED3F8
+ goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterHaley
+ msgbox Route104_Text_HaleyPostBattle, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED40B:: @ 81ED40B
- msgbox Route104_Text_2956FF, MSGBOX_DEFAULT
+Route104_EventScript_RegisterHaley:: @ 81ED40B
+ msgbox Route104_Text_HaleyRegister1, MSGBOX_DEFAULT
register_matchcall TRAINER_HALEY_1
release
end
-Route104_EventScript_1ED424:: @ 81ED424
- trainerbattle_rematch TRAINER_HALEY_1, Route104_Text_2957D7, Route104_Text_2957F0
- msgbox Route104_Text_29580C, MSGBOX_AUTOCLOSE
+Route104_EventScript_RematchHaley:: @ 81ED424
+ trainerbattle_rematch TRAINER_HALEY_1, Route104_Text_HaleyRematchIntro, Route104_Text_HaleyRematchDefeat
+ msgbox Route104_Text_HaleyPostRematch, MSGBOX_AUTOCLOSE
end
-Route104_EventScript_1ED43B:: @ 81ED43B
- trainerbattle_single TRAINER_WINSTON_1, Route104_Text_295870, Route104_Text_2958AD, Route104_EventScript_1ED47C
+Route104_EventScript_Winston:: @ 81ED43B
+ trainerbattle_single TRAINER_WINSTON_1, Route104_Text_WinstonIntro, Route104_Text_WinstonDefeat, Route104_EventScript_TryRegisterWinstonAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route104_EventScript_1ED4D2
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route104_EventScript_RematchWinston
setvar VAR_0x8004, TRAINER_WINSTON_1
specialvar VAR_RESULT, IsTrainerRegistered
- compare VAR_RESULT, 0
- goto_if_eq Route104_EventScript_1ED4A6
- msgbox Route104_Text_2958C1, MSGBOX_DEFAULT
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route104_EventScript_TryRegisterWinston
+ msgbox Route104_Text_WinstonPostBattle, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED47C:: @ 81ED47C
+Route104_EventScript_TryRegisterWinstonAfterBattle:: @ 81ED47C
special PlayerFaceTrainerAfterBattle
waitmovement 0
- goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_1ED48D
+ goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterWinstonAfterBattle
release
end
-Route104_EventScript_1ED48D:: @ 81ED48D
- msgbox Route104_Text_29595A, MSGBOX_DEFAULT
+Route104_EventScript_RegisterWinstonAfterBattle:: @ 81ED48D
+ msgbox Route104_Text_WinstonRegister2, MSGBOX_DEFAULT
register_matchcall TRAINER_WINSTON_1
release
end
-Route104_EventScript_1ED4A6:: @ 81ED4A6
- goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_1ED4B9
- msgbox Route104_Text_2958C1, MSGBOX_DEFAULT
+Route104_EventScript_TryRegisterWinston:: @ 81ED4A6
+ goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterWinston
+ msgbox Route104_Text_WinstonPostBattle, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED4B9:: @ 81ED4B9
- msgbox Route104_Text_2958F8, MSGBOX_DEFAULT
+Route104_EventScript_RegisterWinston:: @ 81ED4B9
+ msgbox Route104_Text_WinstonRegister1, MSGBOX_DEFAULT
register_matchcall TRAINER_WINSTON_1
release
end
-Route104_EventScript_1ED4D2:: @ 81ED4D2
- trainerbattle_rematch TRAINER_WINSTON_1, Route104_Text_2959BC, Route104_Text_2959FC
- msgbox Route104_Text_295A1E, MSGBOX_AUTOCLOSE
+Route104_EventScript_RematchWinston:: @ 81ED4D2
+ trainerbattle_rematch TRAINER_WINSTON_1, Route104_Text_WinstonRematchIntro, Route104_Text_WinstonRematchDefeat
+ msgbox Route104_Text_WinstonPostRematch, MSGBOX_AUTOCLOSE
end
-Route104_EventScript_1ED4E9:: @ 81ED4E9
- trainerbattle_single TRAINER_CINDY_1, Route104_Text_295A7E, Route104_Text_295ABB, Route104_EventScript_1ED52A
+Route104_EventScript_Cindy:: @ 81ED4E9
+ trainerbattle_single TRAINER_CINDY_1, Route104_Text_CindyIntro, Route104_Text_CindyDefeat, Route104_EventScript_TryRegisterCindyAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route104_EventScript_1ED580
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route104_EventScript_RematchCindy
setvar VAR_0x8004, TRAINER_CINDY_1
specialvar VAR_RESULT, IsTrainerRegistered
- compare VAR_RESULT, 0
- goto_if_eq Route104_EventScript_1ED554
- msgbox Route104_Text_295AC3, MSGBOX_DEFAULT
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route104_EventScript_TryRegisterCindy
+ msgbox Route104_Text_CindyPostBattle, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED52A:: @ 81ED52A
+Route104_EventScript_TryRegisterCindyAfterBattle:: @ 81ED52A
special PlayerFaceTrainerAfterBattle
waitmovement 0
- goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_1ED53B
+ goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterCindyAfterBattle
release
end
-Route104_EventScript_1ED53B:: @ 81ED53B
- msgbox Route104_Text_295B60, MSGBOX_DEFAULT
+Route104_EventScript_RegisterCindyAfterBattle:: @ 81ED53B
+ msgbox Route104_Text_CindyRegister2, MSGBOX_DEFAULT
register_matchcall TRAINER_CINDY_1
release
end
-Route104_EventScript_1ED554:: @ 81ED554
- goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_1ED567
- msgbox Route104_Text_295AC3, MSGBOX_DEFAULT
+Route104_EventScript_TryRegisterCindy:: @ 81ED554
+ goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterCindy
+ msgbox Route104_Text_CindyPostBattle, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED567:: @ 81ED567
- msgbox Route104_Text_295B01, MSGBOX_DEFAULT
+Route104_EventScript_RegisterCindy:: @ 81ED567
+ msgbox Route104_Text_CindyRegister1, MSGBOX_DEFAULT
register_matchcall TRAINER_CINDY_1
release
end
-Route104_EventScript_1ED580:: @ 81ED580
- trainerbattle_rematch TRAINER_CINDY_1, Route104_Text_295BC8, Route104_Text_295BFA
- msgbox Route104_Text_295C1F, MSGBOX_AUTOCLOSE
+Route104_EventScript_RematchCindy:: @ 81ED580
+ trainerbattle_rematch TRAINER_CINDY_1, Route104_Text_CindyRematchIntro, Route104_Text_CindyRematchDefeat
+ msgbox Route104_Text_CindyPostRematch, MSGBOX_AUTOCLOSE
end
-Route104_EventScript_1ED597:: @ 81ED597
- trainerbattle_double TRAINER_GINA_AND_MIA_1, Route104_Text_2952BB, Route104_Text_2952E6, Route104_Text_295330
+Route104_EventScript_Gina:: @ 81ED597
+ trainerbattle_double TRAINER_GINA_AND_MIA_1, Route104_Text_GinaIntro, Route104_Text_GinaDefeat, Route104_Text_GinaNotEnoughMons
special GetPlayerBigGuyGirlString
- msgbox Route104_Text_2952FE, MSGBOX_DEFAULT
+ msgbox Route104_Text_GinaPostBattle, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED5B6:: @ 81ED5B6
- trainerbattle_double TRAINER_GINA_AND_MIA_1, Route104_Text_2953AF, Route104_Text_2953E1, Route104_Text_295449
+Route104_EventScript_Mia:: @ 81ED5B6
+ trainerbattle_double TRAINER_GINA_AND_MIA_1, Route104_Text_MiaIntro, Route104_Text_MiaDefeat, Route104_Text_MiaNotEnoughMons
special GetPlayerBigGuyGirlString
- msgbox Route104_Text_29540D, MSGBOX_DEFAULT
+ msgbox Route104_Text_MiaPostBattle, MSGBOX_DEFAULT
release
end
-Route104_EventScript_1ED5D5:: @ 81ED5D5
- trainerbattle_single TRAINER_DARIAN, Route104_Text_295C5D, Route104_Text_295CC9
- msgbox Route104_Text_295CD3, MSGBOX_AUTOCLOSE
+Route104_EventScript_Darian:: @ 81ED5D5
+ trainerbattle_single TRAINER_DARIAN, Route104_Text_DarianIntro, Route104_Text_DarianDefeat
+ msgbox Route104_Text_DarianPostBattle, MSGBOX_AUTOCLOSE
end
-Route104_Text_1ED5EC: @ 81ED5EC
+Route104_Text_BrineyLivesInSeasideCottage: @ 81ED5EC
.string "That seaside cottage is where\n"
.string "MR. BRINEY lives.\p"
.string "He was once a mighty sailor who never\n"
.string "feared the sea, however stormy.$"
-Route104_Text_1ED662: @ 81ED662
+Route104_Text_WhatsItLikeAtBottomOfSea: @ 81ED662
.string "The sea, huh?\p"
.string "I wonder what it's like at the bottom\n"
.string "of the sea?$"
-Route104_Text_1ED6A2: @ 81ED6A2
+Route104_Text_ThrowBallAtWeakenedPokemon: @ 81ED6A2
.string "If you're going to throw a POKé BALL,\n"
.string "weaken the wild POKéMON first.\p"
.string "It will be easier to catch if it's been\n"
.string "poisoned, burned, or lulled to sleep.$"
-Route104_Text_1ED735: @ 81ED735
+Route104_Text_OnlyThrowBallAtWildPokemon: @ 81ED735
.string "You're a thief if you try to steal\n"
.string "someone else's POKéMON.\p"
.string "You should throw POKé BALLS only at\n"
.string "wild POKéMON.$"
-Route104_Text_1ED7A2: @ 81ED7A2
+Route104_Text_ImNotATrainer: @ 81ED7A2
.string "Oh, no, I'm not a TRAINER.\p"
.string "But that's right, if TRAINERS lock eyes,\n"
.string "it's a challenge to battle.\p"
.string "If you don't want to battle, stay out\n"
.string "of their sight.$"
-Route104_Text_1ED838: @ 81ED838
+Route104_Text_LikeFillingMouthWithSeedsTakeThis: @ 81ED838
.string "I like filling my mouth with seeds,\n"
.string "then spitting them out fast!\p"
.string "You can have this, so you try it out!\p"
.string "Use it on a POKéMON, and it will learn\n"
.string "a move for firing seeds rapidly.$"
-Route104_Text_1ED8E7: @ 81ED8E7
+Route104_Text_TMsAreOneTimeUse: @ 81ED8E7
.string "A word of advice!\p"
.string "A TM, TECHNICAL MACHINE, is good only\n"
.string "for one-time use.\p"
.string "Once you use it, it's gone.\n"
.string "Think twice before using it!$"
-Route104_Text_1ED96A: @ 81ED96A
+Route104_Text_DontNeedThisTakeIt: @ 81ED96A
.string "This FLOWER SHOP started selling\n"
.string "saplings recently.\p"
.string "It made me so happy, I went overboard\n"
@@ -1065,27 +1066,27 @@ Route104_Text_1ED96A: @ 81ED96A
.string "I don't need this WHITE HERB anymore.\n"
.string "Would you take it, please?$"
-Route104_Text_1EDA0F: @ 81EDA0F
+Route104_Text_FlowerShopSellingSaplings: @ 81EDA0F
.string "This FLOWER SHOP started selling\n"
.string "saplings recently.\p"
.string "It made me so happy, I went overboard\n"
.string "shopping. Where should I put them?$"
-Route104_Text_1EDA8C: @ 81EDA8C
+Route104_Text_MrBrineysCottage: @ 81EDA8C
.string "MR. BRINEY'S COTTAGE$"
-Route104_Text_1EDAA1: @ 81EDAA1
+Route104_Text_RouteSignPetalburg: @ 81EDAA1
.string "ROUTE 1O4\n"
.string "{RIGHT_ARROW} PETALBURG CITY$"
-Route104_Text_1EDABC: @ 81EDABC
+Route104_Text_RouteSignRustboro: @ 81EDABC
.string "ROUTE 1O4\n"
.string "{UP_ARROW} RUSTBORO CITY$"
-Route104_Text_1EDAD6: @ 81EDAD6
+Route104_Text_PrettyPetalFlowShop: @ 81EDAD6
.string "PRETTY PETAL FLOWER SHOP$"
-Route104_Text_1EDAEF: @ 81EDAEF
+Route104_Text_TrainerTipsDoubleBattles: @ 81EDAEF
.string "TRAINER TIPS\p"
.string "In the HOENN region there are pairs\n"
.string "of TRAINERS who challenge others\l"
@@ -1096,45 +1097,45 @@ Route104_Text_1EDAEF: @ 81EDAEF
.string "left of the list and the top one.\l"
.string "Watch how POKéMON are lined up.$"
-Route104_Text_1EDBFF: @ 81EDBFF
+Route104_Text_MayWeShouldRegister: @ 81EDBFF
.string "MAY: Oh, hi, {PLAYER}{KUN}!\p"
.string "DEVON upgraded your POKéNAV with\n"
.string "the MATCH CALL system, huh?\p"
.string "We should register each other so we\n"
.string "can get in contact anytime.$"
-Route104_Text_1EDC8F: @ 81EDC8F
+Route104_Text_RegisteredMay: @ 81EDC8F
.string "{PLAYER} registered MAY\n"
.string "in the POKéNAV.$"
-Route104_Text_1EDCB1: @ 81EDCB1
+Route104_Text_MayHowsYourPokedex: @ 81EDCB1
.string "MAY: Oh, by the way, {PLAYER}{KUN},\n"
.string "how's your POKéDEX coming along?$"
-Route104_Text_1EDCED: @ 81EDCED
+Route104_Text_MayMinesDecentLetsBattle: @ 81EDCED
.string "Mine's looking pretty decent.\n"
.string "So…\l"
.string "How about a little battle?$"
-Route104_Text_1EDD2A: @ 81EDD2A
+Route104_Text_MayHaventRaisedPokemon: @ 81EDD2A
.string "MAY: Oh, what's the matter?\p"
.string "Haven't you caught or raised your\n"
.string "POKéMON very much?\p"
.string "That's not very good for a TRAINER!$"
-Route104_Text_1EDD9F: @ 81EDD9F
+Route104_Text_MayLetsBattle: @ 81EDD9F
.string "MAY: So, what do you think?\n"
.string "How about a little battle here?$"
-Route104_Text_1EDDDB: @ 81EDDDB
+Route104_Text_MayIntro: @ 81EDDDB
.string "MAY: You just became a TRAINER,\n"
.string "{PLAYER}{KUN}. I'm not going to lose!$"
-Route104_Text_1EDE18: @ 81EDE18
+Route104_Text_MayDefeat: @ 81EDE18
.string "Yikes!\n"
.string "You're better than I expected!$"
-Route104_Text_1EDE3E: @ 81EDE3E
+Route104_Text_MayPostBattle: @ 81EDE3E
.string "MAY: I can tell you've gotten pretty\n"
.string "good with the way you handle POKéMON.\p"
.string "But instead of only making them\n"
@@ -1142,43 +1143,43 @@ Route104_Text_1EDE3E: @ 81EDE3E
.string "It's important to become friends with\n"
.string "POKéMON, too.$"
-Route104_Text_1EDF04: @ 81EDF04
+Route104_Text_BrendanWeShouldRegister: @ 81EDF04
.string "BRENDAN: Oh, hey, {PLAYER}!\p"
.string "Cool, you had DEVON install the MATCH\n"
.string "CALL system on your POKéNAV!\p"
.string "Let's register each other in our\n"
.string "POKéNAVS so we can keep in touch.$"
-Route104_Text_1EDFA0: @ 81EDFA0
+Route104_Text_RegisteredBrendan: @ 81EDFA0
.string "{PLAYER} registered BRENDAN\n"
.string "in the POKéNAV.$"
-Route104_Text_1EDFC6: @ 81EDFC6
+Route104_Text_BrendanHowsYourPokedex: @ 81EDFC6
.string "BRENDAN: {PLAYER}, how's your POKéDEX?\n"
.string "Have you filled in any pages yet?$"
-Route104_Text_1EE009: @ 81EE009
+Route104_Text_BrendanDoingGreatLetsBattle: @ 81EE009
.string "Me, I'm doing great!\p"
.string "Want to check out how good I am with\n"
.string "a battle?$"
-Route104_Text_1EE04D: @ 81EE04D
+Route104_Text_BrendanNoConfidence: @ 81EE04D
.string "BRENDAN: What's the matter? Don't have\n"
.string "any confidence in your POKéMON?$"
-Route104_Text_1EE094: @ 81EE094
+Route104_Text_BrendanLetsBattle: @ 81EE094
.string "BRENDAN: What's up?\n"
.string "Want to have a battle with me?$"
-Route104_Text_1EE0C7: @ 81EE0C7
+Route104_Text_BrendanIntro: @ 81EE0C7
.string "BRENDAN: I know you just became\n"
.string "a TRAINER, but I won't go easy!$"
-Route104_Text_1EE107: @ 81EE107
+Route104_Text_BrendanDefeat: @ 81EE107
.string "Hmm…\n"
.string "You're pretty good.$"
-Route104_Text_1EE120: @ 81EE120
+Route104_Text_BrendanPostBattle: @ 81EE120
.string "BRENDAN: You've gotten pretty decent\n"
.string "at handling POKéMON.\p"
.string "But, you know, you shouldn't just be\n"
diff --git a/data/maps/Route110/scripts.inc b/data/maps/Route110/scripts.inc
index 0a8b6eafc..bccc903f1 100644
--- a/data/maps/Route110/scripts.inc
+++ b/data/maps/Route110/scripts.inc
@@ -309,11 +309,11 @@ Route110_EventScript_CyclingChallengeEnd:: @ 81EF661
lockall
applymovement 21, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
- call Route110_EventScript_1EF673
+ call Route110_EventScript_CyclingChallengeResults
releaseall
end
-Route110_EventScript_1EF673:: @ 81EF673
+Route110_EventScript_CyclingChallengeResults:: @ 81EF673
special FinishCyclingRoadChallenge
msgbox Route110_Text_CyclingChallengeResultSummary, MSGBOX_DEFAULT
switch VAR_RESULT
diff --git a/data/maps/Route110_TrickHouseEntrance/scripts.inc b/data/maps/Route110_TrickHouseEntrance/scripts.inc
index 10102e956..0de4153cc 100644
--- a/data/maps/Route110_TrickHouseEntrance/scripts.inc
+++ b/data/maps/Route110_TrickHouseEntrance/scripts.inc
@@ -749,10 +749,7 @@ Route110_TrickHouseEntrance_EventScript_DoHidingSpotSparkle3:: @ 826A449
Route110_TrickHouseEntrance_EventScript_DoHidingSpotSparkle:: @ 826A459
setvar VAR_0x8006, 0
- setfieldeffectargument 0, VAR_0x8004
- setfieldeffectargument 1, VAR_0x8005
- setfieldeffectargument 2, VAR_0x8006
- dofieldeffect FLDEFF_SPARKLE
+ dofieldeffectsparkle VAR_0x8004, VAR_0x8005, VAR_0x8006
waitfieldeffect FLDEFF_SPARKLE
delay 10
return
diff --git a/data/maps/Route111/map.json b/data/maps/Route111/map.json
index 37c70e351..5770ab0c0 100644
--- a/data/maps/Route111/map.json
+++ b/data/maps/Route111/map.json
@@ -40,7 +40,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route111_EventScript_1F0FC5",
+ "script": "Route111_EventScript_Victor",
"flag": "FLAG_HIDE_ROUTE_111_VICTOR_WINSTRATE"
},
{
@@ -92,7 +92,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route111_EventScript_1F121B",
+ "script": "Route111_EventScript_Heidi",
"flag": "0"
},
{
@@ -131,7 +131,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route111_EventScript_1F1189",
+ "script": "Route111_EventScript_Man1",
"flag": "0"
},
{
@@ -144,7 +144,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route111_EventScript_1F1204",
+ "script": "Route111_EventScript_Drew",
"flag": "0"
},
{
@@ -157,7 +157,7 @@
"movement_range_y": 2,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route111_EventScript_1F1260",
+ "script": "Route111_EventScript_Dusty",
"flag": "0"
},
{
@@ -170,7 +170,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route111_EventScript_1F1232",
+ "script": "Route111_EventScript_Beau",
"flag": "0"
},
{
@@ -183,7 +183,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route111_EventScript_1F1249",
+ "script": "Route111_EventScript_Becky",
"flag": "0"
},
{
@@ -248,7 +248,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route111_EventScript_1F0EB9",
+ "script": "Route111_EventScript_Girl",
"flag": "0"
},
{
@@ -391,7 +391,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route111_EventScript_1F12D9",
+ "script": "Route111_EventScript_Irene",
"flag": "0"
},
{
@@ -404,7 +404,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route111_EventScript_1F12C2",
+ "script": "Route111_EventScript_Travis",
"flag": "0"
},
{
@@ -417,7 +417,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route111_EventScript_1F12F0",
+ "script": "Route111_EventScript_Daisuke",
"flag": "0"
},
{
@@ -430,7 +430,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route111_EventScript_1F1369",
+ "script": "Route111_EventScript_Brooke",
"flag": "0"
},
{
@@ -443,7 +443,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route111_EventScript_1F1307",
+ "script": "Route111_EventScript_Wilton",
"flag": "0"
},
{
@@ -469,7 +469,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route111_EventScript_1F1192",
+ "script": "Route111_EventScript_Man2",
"flag": "0"
},
{
@@ -482,7 +482,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route111_EventScript_1F13F9",
+ "script": "Route111_EventScript_Tyron",
"flag": "0"
},
{
@@ -495,7 +495,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route111_EventScript_1F1410",
+ "script": "Route111_EventScript_Celina",
"flag": "0"
},
{
@@ -508,7 +508,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route111_EventScript_1F13E2",
+ "script": "Route111_EventScript_Bianca",
"flag": "0"
},
{
@@ -521,7 +521,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route111_EventScript_1F13CB",
+ "script": "Route111_EventScript_Hayden",
"flag": "0"
},
{
@@ -534,7 +534,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route111_EventScript_1F143E",
+ "script": "Route111_EventScript_Bryan",
"flag": "0"
},
{
@@ -547,7 +547,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route111_EventScript_1F1427",
+ "script": "Route111_EventScript_Celia",
"flag": "0"
},
{
@@ -560,7 +560,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route111_EventScript_1F1455",
+ "script": "Route111_EventScript_Branden",
"flag": "0"
},
{
@@ -586,7 +586,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route111_EventScript_1F119B",
+ "script": "Route111_EventScript_Hiker",
"flag": "0"
},
{
@@ -625,7 +625,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route111_EventScript_1F11E4",
+ "script": "Route111_EventScript_RockSmashTipFatMan",
"flag": "FLAG_HIDE_ROUTE_111_ROCK_SMASH_TIP_GUY"
}
],
@@ -674,7 +674,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -683,7 +683,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F0A"
+ "script": "Route111_EventScript_ViciousSandstormTriggerDown"
},
{
"type": "trigger",
@@ -692,7 +692,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F0A"
+ "script": "Route111_EventScript_ViciousSandstormTriggerDown"
},
{
"type": "trigger",
@@ -701,7 +701,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F0A"
+ "script": "Route111_EventScript_ViciousSandstormTriggerDown"
},
{
"type": "trigger",
@@ -710,7 +710,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -719,7 +719,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F16"
+ "script": "Route111_EventScript_ViciousSandstormTriggerLeft"
},
{
"type": "trigger",
@@ -728,7 +728,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F16"
+ "script": "Route111_EventScript_ViciousSandstormTriggerLeft"
},
{
"type": "trigger",
@@ -737,7 +737,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F16"
+ "script": "Route111_EventScript_ViciousSandstormTriggerLeft"
},
{
"type": "trigger",
@@ -746,7 +746,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F16"
+ "script": "Route111_EventScript_ViciousSandstormTriggerLeft"
},
{
"type": "trigger",
@@ -755,7 +755,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F0A"
+ "script": "Route111_EventScript_ViciousSandstormTriggerDown"
},
{
"type": "trigger",
@@ -764,7 +764,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -773,7 +773,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -782,7 +782,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -791,7 +791,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -800,7 +800,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F16"
+ "script": "Route111_EventScript_ViciousSandstormTriggerLeft"
},
{
"type": "trigger",
@@ -809,7 +809,7 @@
"elevation": 3,
"var": "VAR_TEMP_3",
"var_value": "0",
- "script": "Route111_EventScript_1F0F16"
+ "script": "Route111_EventScript_ViciousSandstormTriggerLeft"
},
{
"type": "trigger",
@@ -818,7 +818,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -827,7 +827,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -836,7 +836,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -845,7 +845,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -854,7 +854,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -863,7 +863,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -872,7 +872,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FB0"
+ "script": "Route111_EventScript_SunTrigger"
},
{
"type": "trigger",
@@ -881,7 +881,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -890,7 +890,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -899,7 +899,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -908,7 +908,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -917,7 +917,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -926,7 +926,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -935,7 +935,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -944,7 +944,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -953,7 +953,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -962,7 +962,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
},
{
"type": "trigger",
@@ -971,7 +971,7 @@
"elevation": 3,
"var": "0",
"var_value": "0",
- "script": "Route111_EventScript_1F0FBD"
+ "script": "Route111_EventScript_SandstormTrigger"
}
],
"bg_events": [
@@ -981,7 +981,7 @@
"y": 114,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route111_EventScript_1F115C"
+ "script": "Route111_EventScript_WinstrateHouseSign"
},
{
"type": "sign",
@@ -989,7 +989,7 @@
"y": 126,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route111_EventScript_1F1153"
+ "script": "Route111_EventScript_RouteSignMauville"
},
{
"type": "sign",
@@ -997,7 +997,7 @@
"y": 66,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route111_EventScript_1F1165"
+ "script": "Route111_EventScript_RouteSign112"
},
{
"type": "sign",
@@ -1005,7 +1005,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route111_EventScript_1F116E"
+ "script": "Route111_EventScript_RouteSign113"
},
{
"type": "secret_base",
@@ -1034,7 +1034,7 @@
"y": 19,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route111_EventScript_1F1177"
+ "script": "Route111_EventScript_OldLadysRestStopSign"
},
{
"type": "secret_base",
@@ -1071,7 +1071,7 @@
"y": 84,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route111_EventScript_1F1180"
+ "script": "Route111_EventScript_TrainerTipsSpAtkSpDef"
},
{
"type": "secret_base",
@@ -1109,7 +1109,7 @@
"y": 116,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route111_EventScript_1F146C"
+ "script": "Route111_EventScript_TrainerHillSign"
}
]
} \ No newline at end of file
diff --git a/data/maps/Route111/scripts.inc b/data/maps/Route111/scripts.inc
index 91d13e88c..b80ef6b84 100644
--- a/data/maps/Route111/scripts.inc
+++ b/data/maps/Route111/scripts.inc
@@ -1,22 +1,23 @@
Route111_MapScripts:: @ 81F0CA7
- map_script MAP_SCRIPT_ON_LOAD, Route111_MapScript1_1F0CBC
+ map_script MAP_SCRIPT_ON_LOAD, Route111_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, Route111_OnTransition
- map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route111_MapScript2_1F0E46
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route111_MapScript2_1F0E56
+ map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route111_OnWarp
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route111_OnFrame
.byte 0
-Route111_MapScript1_1F0CBC: @ 81F0CBC
- call_if_unset FLAG_REGI_DOORS_OPENED, Route111_EventScript_1F0CD1
+Route111_OnLoad: @ 81F0CBC
+ call_if_unset FLAG_REGI_DOORS_OPENED, Route111_EventScript_CloseDesertRuins
compare VAR_MIRAGE_TOWER_STATE, 1
- call_if_eq Route111_EventScript_1F0CE4
+ call_if_eq Route111_EventScript_ShowTemporaryMirageTower
end
-Route111_EventScript_1F0CD1:: @ 81F0CD1
+Route111_EventScript_CloseDesertRuins:: @ 81F0CD1
setmetatile 29, 86, METATILE_General_RockWall_RockBase, 1
setmetatile 29, 87, METATILE_General_RockWall_SandBase, 1
return
-Route111_EventScript_1F0CE4:: @ 81F0CE4
+@ Show Mirage Tower just prior to disintegration. Mirage Tower is otherwise handled by the map layout
+Route111_EventScript_ShowTemporaryMirageTower:: @ 81F0CE4
setmetatile 18, 53, METATILE_Mauville_MirageTower_Tile0, 0
setmetatile 19, 53, METATILE_Mauville_MirageTower_Tile1, 0
setmetatile 20, 53, METATILE_Mauville_MirageTower_Tile2, 0
@@ -40,53 +41,51 @@ Route111_EventScript_1F0CE4:: @ 81F0CE4
Route111_OnTransition: @ 81F0D87
setvar VAR_TRAINER_HILL_IS_ACTIVE, 0
special SetMirageTowerVisibility
- call_if_unset FLAG_MIRAGE_TOWER_VISIBLE, Route111_EventScript_1F0E3C
+ call_if_unset FLAG_MIRAGE_TOWER_VISIBLE, Route111_EventScript_SetLayoutNoMirageTower
compare VAR_MIRAGE_TOWER_STATE, 1
- call_if_eq Route111_EventScript_1F0DC2
+ call_if_eq Route111_EventScript_SetFallingPlayerGfx
compare VAR_MIRAGE_TOWER_STATE, 2
- call_if_eq Route111_EventScript_1F0E40
- call Route111_EventScript_1F0DE6
+ call_if_eq Route111_EventScript_SetMirageTowerGone
+ call Route111_EventScript_CheckSetSandstorm
call GabbyAndTy_EventScript_UpdateLocation
checktrainerflag TRAINER_VICKY
- goto_if_lt Route111_EventScript_1F0E26
+ goto_if_lt Route111_EventScript_SetWinstratesNotDefeated
end
-Route111_EventScript_1F0DC2:: @ 81F0DC2
+Route111_EventScript_SetFallingPlayerGfx:: @ 81F0DC2
checkplayergender
compare VAR_RESULT, MALE
- goto_if_eq Route111_EventScript_1F0DDA
+ goto_if_eq Route111_EventScript_SetFallingPlayerGfxMale
compare VAR_RESULT, FEMALE
- goto_if_eq Route111_EventScript_1F0DE0
+ goto_if_eq Route111_EventScript_SetFallingPlayerGfxFemale
return
-Route111_EventScript_1F0DDA:: @ 81F0DDA
+Route111_EventScript_SetFallingPlayerGfxMale:: @ 81F0DDA
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
return
-Route111_EventScript_1F0DE0:: @ 81F0DE0
+Route111_EventScript_SetFallingPlayerGfxFemale:: @ 81F0DE0
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
return
-Route111_EventScript_1F0DE6:: @ 81F0DE6
+Route111_EventScript_CheckSetSandstorm:: @ 81F0DE6
getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_1, 34
- goto_if_lt Route111_EventScript_1F0E25
+ goto_if_lt Route111_EventScript_EndCheckSetSandstorm
compare VAR_TEMP_1, 107
- goto_if_gt Route111_EventScript_1F0E25
+ goto_if_gt Route111_EventScript_EndCheckSetSandstorm
compare VAR_TEMP_1, 72
- goto_if_gt Route111_EventScript_1F0E22
+ goto_if_gt Route111_EventScript_SetSandstorm
compare VAR_TEMP_0, 2000
- goto_if_gt Route111_EventScript_1F0E25
+ goto_if_gt Route111_EventScript_EndCheckSetSandstorm
compare VAR_TEMP_0, 8
- goto_if_lt Route111_EventScript_1F0E25
-
-Route111_EventScript_1F0E22:: @ 81F0E22
+ goto_if_lt Route111_EventScript_EndCheckSetSandstorm
+Route111_EventScript_SetSandstorm:: @ 81F0E22
setweather WEATHER_SANDSTORM
-
-Route111_EventScript_1F0E25:: @ 81F0E25
+Route111_EventScript_EndCheckSetSandstorm:: @ 81F0E25
return
-Route111_EventScript_1F0E26:: @ 81F0E26
+Route111_EventScript_SetWinstratesNotDefeated:: @ 81F0E26
clearflag FLAG_HIDE_ROUTE_111_VICTOR_WINSTRATE
setflag FLAG_HIDE_ROUTE_111_VICTORIA_WINSTRATE
setflag FLAG_HIDE_ROUTE_111_VIVI_WINSTRATE
@@ -96,27 +95,27 @@ Route111_EventScript_1F0E26:: @ 81F0E26
cleartrainerflag TRAINER_VIVI
end
-Route111_EventScript_1F0E3C:: @ 81F0E3C
+Route111_EventScript_SetLayoutNoMirageTower:: @ 81F0E3C
setmaplayoutindex LAYOUT_ROUTE111_NO_MIRAGE_TOWER
return
-Route111_EventScript_1F0E40:: @ 81F0E40
+Route111_EventScript_SetMirageTowerGone:: @ 81F0E40
setvar VAR_MIRAGE_TOWER_STATE, 3
return
-Route111_MapScript2_1F0E46: @ 81F0E46
- map_script_2 VAR_MIRAGE_TOWER_STATE, 1, Route111_EventScript_1F0E50
+Route111_OnWarp: @ 81F0E46
+ map_script_2 VAR_MIRAGE_TOWER_STATE, 1, Route111_EventScript_HidePlayerForMirageTower
.2byte 0
-Route111_EventScript_1F0E50:: @ 81F0E50
+Route111_EventScript_HidePlayerForMirageTower:: @ 81F0E50
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_LITTLEROOT_TOWN
end
-Route111_MapScript2_1F0E56: @ 81F0E56
- map_script_2 VAR_MIRAGE_TOWER_STATE, 1, Route111_EventScript_1F0E60
+Route111_OnFrame: @ 81F0E56
+ map_script_2 VAR_MIRAGE_TOWER_STATE, 1, Route111_EventScript_MirageTowerDisappear
.2byte 0
-Route111_EventScript_1F0E60:: @ 81F0E60
+Route111_EventScript_MirageTowerDisappear:: @ 81F0E60
lockall
special StartMirageTowerShake
waitstate
@@ -136,17 +135,18 @@ Route111_EventScript_1F0E60:: @ 81F0E60
waitstate
setvar VAR_MIRAGE_TOWER_STATE, 2
clearflag FLAG_HIDE_DESERT_UNDERPASS_FOSSIL
- goto_if_set FLAG_CHOSE_CLAW_FOSSIL, Route111_EventScript_1F0EA7
- msgbox Route111_Text_1F1C74, MSGBOX_DEFAULT
+ goto_if_set FLAG_CHOSE_CLAW_FOSSIL, Route111_EventScript_RootFossilDisappeared
+ msgbox Route111_Text_ClawFossilDisappeared, MSGBOX_DEFAULT
releaseall
end
-Route111_EventScript_1F0EA7:: @ 81F0EA7
- msgbox Route111_Text_1F1C9F, MSGBOX_DEFAULT
+Route111_EventScript_RootFossilDisappeared:: @ 81F0EA7
+ msgbox Route111_Text_RootFossilDisappeared, MSGBOX_DEFAULT
releaseall
end
-Route111_Movement_1F0EB1:: @ 81F0EB1
+@ Unused
+Route111_Movement_PlayerFall:: @ 81F0EB1
store_lock_anim
walk_fast_down
walk_fast_down
@@ -156,498 +156,500 @@ Route111_Movement_1F0EB1:: @ 81F0EB1
walk_fast_down
step_end
-Route111_EventScript_1F0EB9:: @ 81F0EB9
+Route111_EventScript_Girl:: @ 81F0EB9
lock
faceplayer
dotimebasedevents
- goto_if_set FLAG_DAILY_ROUTE_111_RECEIVED_BERRY, Route111_EventScript_1F0EF4
- msgbox Route111_Text_2A6EBD, MSGBOX_DEFAULT
+ goto_if_set FLAG_DAILY_ROUTE_111_RECEIVED_BERRY, Route111_EventScript_ReceivedBerry
+ msgbox Route111_Text_WateredPlantsEveryDayTakeBerry, MSGBOX_DEFAULT
giveitem_std ITEM_RAZZ_BERRY
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_DAILY_ROUTE_111_RECEIVED_BERRY
special GetPlayerBigGuyGirlString
- msgbox Route111_Text_2A6F3D, MSGBOX_DEFAULT
+ msgbox Route111_Text_GoingToTryToMakeDifferentColorBerries, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F0EF4:: @ 81F0EF4
- msgbox Route111_Text_2A6F9A, MSGBOX_DEFAULT
+Route111_EventScript_ReceivedBerry:: @ 81F0EF4
+ msgbox Route111_Text_WhatColorBerriesToLookForToday, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F0EFE:: @ 81F0EFE
+@ Unused
+Route111_EventScript_ViciousSandstormTriggerUp:: @ 81F0EFE
lockall
setvar VAR_0x8004, 0
- goto Route111_EventScript_1F0F2E
+ goto Route111_EventScript_ViciousSandstormTrigger
end
-Route111_EventScript_1F0F0A:: @ 81F0F0A
+Route111_EventScript_ViciousSandstormTriggerDown:: @ 81F0F0A
lockall
setvar VAR_0x8004, 1
- goto Route111_EventScript_1F0F2E
+ goto Route111_EventScript_ViciousSandstormTrigger
end
-Route111_EventScript_1F0F16:: @ 81F0F16
+Route111_EventScript_ViciousSandstormTriggerLeft:: @ 81F0F16
lockall
setvar VAR_0x8004, 2
- goto Route111_EventScript_1F0F2E
+ goto Route111_EventScript_ViciousSandstormTrigger
end
-Route111_EventScript_1F0F22:: @ 81F0F22
+@ Unused
+Route111_EventScript_ViciousSandstormTriggerRight:: @ 81F0F22
lockall
setvar VAR_0x8004, 3
- goto Route111_EventScript_1F0F2E
+ goto Route111_EventScript_ViciousSandstormTrigger
end
-Route111_EventScript_1F0F2E:: @ 81F0F2E
+Route111_EventScript_ViciousSandstormTrigger:: @ 81F0F2E
checkitem ITEM_GO_GOGGLES, 1
- compare VAR_RESULT, 0
- goto_if_eq Route111_EventScript_1F0F45
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route111_EventScript_PreventRouteAccess
setvar VAR_TEMP_3, 1
releaseall
end
-Route111_EventScript_1F0F45:: @ 81F0F45
+Route111_EventScript_PreventRouteAccess:: @ 81F0F45
msgbox gText_SandstormIsVicious, MSGBOX_DEFAULT
closemessage
compare VAR_0x8004, 0
- call_if_eq Route111_EventScript_1F0F7C
+ call_if_eq Route111_EventScript_PushUpFromRoute
compare VAR_0x8004, 1
- call_if_eq Route111_EventScript_1F0F87
+ call_if_eq Route111_EventScript_PushDownFromRoute
compare VAR_0x8004, 2
- call_if_eq Route111_EventScript_1F0F92
+ call_if_eq Route111_EventScript_PushLeftFromRoute
compare VAR_0x8004, 3
- call_if_eq Route111_EventScript_1F0F9D
+ call_if_eq Route111_EventScript_PushRightFromRoute
releaseall
end
-Route111_EventScript_1F0F7C:: @ 81F0F7C
- applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_1F0FA8
+Route111_EventScript_PushUpFromRoute:: @ 81F0F7C
+ applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_PushUpFromRoute
waitmovement 0
return
-Route111_EventScript_1F0F87:: @ 81F0F87
- applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_1F0FAA
+Route111_EventScript_PushDownFromRoute:: @ 81F0F87
+ applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_PushDownFromRoute
waitmovement 0
return
-Route111_EventScript_1F0F92:: @ 81F0F92
- applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_1F0FAC
+Route111_EventScript_PushLeftFromRoute:: @ 81F0F92
+ applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_PushLeftFromRoute
waitmovement 0
return
-Route111_EventScript_1F0F9D:: @ 81F0F9D
- applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_1F0FAE
+Route111_EventScript_PushRightFromRoute:: @ 81F0F9D
+ applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_PushRightFromRoute
waitmovement 0
return
-Route111_Movement_1F0FA8: @ 81F0FA8
+Route111_Movement_PushUpFromRoute: @ 81F0FA8
walk_up
step_end
-Route111_Movement_1F0FAA: @ 81F0FAA
+Route111_Movement_PushDownFromRoute: @ 81F0FAA
walk_down
step_end
-Route111_Movement_1F0FAC: @ 81F0FAC
+Route111_Movement_PushLeftFromRoute: @ 81F0FAC
walk_left
step_end
-Route111_Movement_1F0FAE: @ 81F0FAE
+Route111_Movement_PushRightFromRoute: @ 81F0FAE
walk_right
step_end
-Route111_EventScript_1F0FB0:: @ 81F0FB0
+Route111_EventScript_SunTrigger:: @ 81F0FB0
setweather WEATHER_SUNNY
fadenewbgm MUS_DOORO_X1
doweather
setvar VAR_TEMP_3, 0
end
-Route111_EventScript_1F0FBD:: @ 81F0FBD
+Route111_EventScript_SandstormTrigger:: @ 81F0FBD
setweather WEATHER_SANDSTORM
fadenewbgm MUS_ASHROAD
doweather
end
-Route111_EventScript_1F0FC5:: @ 81F0FC5
+Route111_EventScript_Victor:: @ 81F0FC5
lock
faceplayer
setflag FLAG_LANDMARK_WINSTRATE_FAMILY
- msgbox Route111_Text_1F1475, MSGBOX_YESNO
+ msgbox Route111_Text_BattleOurFamily, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq Route111_EventScript_1F0FE7
- msgbox Route111_Text_1F14F5, MSGBOX_DEFAULT
+ goto_if_eq Route111_EventScript_BattleWinstrates
+ msgbox Route111_Text_IsThatSo, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F0FE7:: @ 81F0FE7
- msgbox Route111_Text_1F1523, MSGBOX_DEFAULT
- trainerbattle_no_intro TRAINER_VICTOR, Route111_Text_1F1542
+Route111_EventScript_BattleWinstrates:: @ 81F0FE7
+ msgbox Route111_Text_VictorIntro, MSGBOX_DEFAULT
+ trainerbattle_no_intro TRAINER_VICTOR, Route111_Text_VictorDefeat
applymovement 1, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
- call Route111_EventScript_1F113C
- msgbox Route111_Text_1F156F, MSGBOX_DEFAULT
+ call Route111_EventScript_OpenWinstrateDoor
+ msgbox Route111_Text_VictorPostBattle, MSGBOX_DEFAULT
closemessage
- applymovement 1, Route111_Movement_1F114A
+ applymovement 1, Route111_Movement_WinstrateEnterHouse
waitmovement 0
removeobject 1
- call Route111_EventScript_1F1143
- applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_1F114F
+ call Route111_EventScript_CloseWinstrateDoor
+ applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_WaitForNextWinstrate
waitmovement 0
- call Route111_EventScript_1F113C
+ call Route111_EventScript_OpenWinstrateDoor
addobject 2
- applymovement 2, Route111_Movement_1F114D
+ applymovement 2, Route111_Movement_WinstrateExitHouse
waitmovement 0
- call Route111_EventScript_1F1143
- msgbox Route111_Text_1F159D, MSGBOX_DEFAULT
- trainerbattle_no_intro TRAINER_VICTORIA, Route111_Text_1F1616
+ call Route111_EventScript_CloseWinstrateDoor
+ msgbox Route111_Text_VictoriaIntro, MSGBOX_DEFAULT
+ trainerbattle_no_intro TRAINER_VICTORIA, Route111_Text_VictoriaDefeat
applymovement 2, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
- call Route111_EventScript_1F113C
- msgbox Route111_Text_1F1645, MSGBOX_DEFAULT
+ call Route111_EventScript_OpenWinstrateDoor
+ msgbox Route111_Text_VictoriaPostBattle, MSGBOX_DEFAULT
closemessage
- applymovement 2, Route111_Movement_1F114A
+ applymovement 2, Route111_Movement_WinstrateEnterHouse
waitmovement 0
removeobject 2
- call Route111_EventScript_1F1143
- applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_1F114F
+ call Route111_EventScript_CloseWinstrateDoor
+ applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_WaitForNextWinstrate
waitmovement 0
- call Route111_EventScript_1F113C
+ call Route111_EventScript_OpenWinstrateDoor
addobject 3
- applymovement 3, Route111_Movement_1F114D
+ applymovement 3, Route111_Movement_WinstrateExitHouse
waitmovement 0
- call Route111_EventScript_1F1143
- msgbox Route111_Text_1F167E, MSGBOX_DEFAULT
- trainerbattle_no_intro TRAINER_VIVI, Route111_Text_1F16C6
+ call Route111_EventScript_CloseWinstrateDoor
+ msgbox Route111_Text_ViviIntro, MSGBOX_DEFAULT
+ trainerbattle_no_intro TRAINER_VIVI, Route111_Text_ViviDefeat
applymovement 3, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
- call Route111_EventScript_1F113C
- msgbox Route111_Text_1F16DC, MSGBOX_DEFAULT
+ call Route111_EventScript_OpenWinstrateDoor
+ msgbox Route111_Text_ViviPostBattle, MSGBOX_DEFAULT
closemessage
- applymovement 3, Route111_Movement_1F114A
+ applymovement 3, Route111_Movement_WinstrateEnterHouse
waitmovement 0
removeobject 3
- call Route111_EventScript_1F1143
- applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_1F114F
+ call Route111_EventScript_CloseWinstrateDoor
+ applymovement EVENT_OBJ_ID_PLAYER, Route111_Movement_WaitForNextWinstrate
waitmovement 0
- call Route111_EventScript_1F113C
+ call Route111_EventScript_OpenWinstrateDoor
addobject 4
- applymovement 4, Route111_Movement_1F114D
+ applymovement 4, Route111_Movement_WinstrateExitHouse
waitmovement 0
- call Route111_EventScript_1F1143
- msgbox Route111_Text_1F16FB, MSGBOX_DEFAULT
- trainerbattle_no_intro TRAINER_VICKY, Route111_Text_1F1756
- msgbox Route111_Text_1F1788, MSGBOX_DEFAULT
+ call Route111_EventScript_CloseWinstrateDoor
+ msgbox Route111_Text_VickyIntro, MSGBOX_DEFAULT
+ trainerbattle_no_intro TRAINER_VICKY, Route111_Text_VickyDefeat
+ msgbox Route111_Text_VickyPostBattle, MSGBOX_DEFAULT
closemessage
applymovement 4, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
- call Route111_EventScript_1F113C
- applymovement 4, Route111_Movement_1F114A
+ call Route111_EventScript_OpenWinstrateDoor
+ applymovement 4, Route111_Movement_WinstrateEnterHouse
waitmovement 0
removeobject 4
- call Route111_EventScript_1F1143
+ call Route111_EventScript_CloseWinstrateDoor
release
end
-Route111_EventScript_1F113C:: @ 81F113C
+Route111_EventScript_OpenWinstrateDoor:: @ 81F113C
opendoor 13, 113
waitdooranim
return
-Route111_EventScript_1F1143:: @ 81F1143
+Route111_EventScript_CloseWinstrateDoor:: @ 81F1143
closedoor 13, 113
waitdooranim
return
-Route111_Movement_1F114A: @ 81F114A
+Route111_Movement_WinstrateEnterHouse: @ 81F114A
walk_in_place_fastest_up
walk_up
step_end
-Route111_Movement_1F114D: @ 81F114D
+Route111_Movement_WinstrateExitHouse: @ 81F114D
walk_down
step_end
-Route111_Movement_1F114F: @ 81F114F
+Route111_Movement_WaitForNextWinstrate: @ 81F114F
delay_16
delay_16
delay_16
step_end
-Route111_EventScript_1F1153:: @ 81F1153
- msgbox Route111_Text_1F18CE, MSGBOX_SIGN
+Route111_EventScript_RouteSignMauville:: @ 81F1153
+ msgbox Route111_Text_RouteSignMauville, MSGBOX_SIGN
end
-Route111_EventScript_1F115C:: @ 81F115C
- msgbox Route111_Text_1F18E8, MSGBOX_SIGN
+Route111_EventScript_WinstrateHouseSign:: @ 81F115C
+ msgbox Route111_Text_WinstrateHouseSign, MSGBOX_SIGN
end
-Route111_EventScript_1F1165:: @ 81F1165
- msgbox Route111_Text_1F1921, MSGBOX_SIGN
+Route111_EventScript_RouteSign112:: @ 81F1165
+ msgbox Route111_Text_RouteSign112, MSGBOX_SIGN
end
-Route111_EventScript_1F116E:: @ 81F116E
- msgbox Route111_Text_1F1937, MSGBOX_SIGN
+Route111_EventScript_RouteSign113:: @ 81F116E
+ msgbox Route111_Text_RouteSign113, MSGBOX_SIGN
end
-Route111_EventScript_1F1177:: @ 81F1177
- msgbox Route111_Text_1F194D, MSGBOX_SIGN
+Route111_EventScript_OldLadysRestStopSign:: @ 81F1177
+ msgbox Route111_Text_OldLadysRestStopSign, MSGBOX_SIGN
end
-Route111_EventScript_1F1180:: @ 81F1180
- msgbox Route111_Text_1F1987, MSGBOX_SIGN
+Route111_EventScript_TrainerTipsSpAtkSpDef:: @ 81F1180
+ msgbox Route111_Text_TrainerTipsSpAtkSpDef, MSGBOX_SIGN
end
-Route111_EventScript_1F1189:: @ 81F1189
- msgbox Route111_Text_1F17BA, MSGBOX_NPC
+Route111_EventScript_Man1:: @ 81F1189
+ msgbox Route111_Text_ToughToKeepWinningUpTheRanks, MSGBOX_NPC
end
-Route111_EventScript_1F1192:: @ 81F1192
- msgbox Route111_Text_1F186E, MSGBOX_NPC
+Route111_EventScript_Man2:: @ 81F1192
+ msgbox Route111_Text_WinstrateFamilyDestroyedMe, MSGBOX_NPC
end
-Route111_EventScript_1F119B:: @ 81F119B
+Route111_EventScript_Hiker:: @ 81F119B
lock
faceplayer
compare VAR_MIRAGE_TOWER_STATE, 3
- goto_if_eq Route111_EventScript_1F11C6
+ goto_if_eq Route111_EventScript_HikerMirageTowerGone
compare VAR_MIRAGE_TOWER_STATE, 2
- goto_if_eq Route111_EventScript_1F11D0
- goto_if_set FLAG_MIRAGE_TOWER_VISIBLE, Route111_EventScript_1F11DA
- msgbox Route111_Text_1F1A22, MSGBOX_DEFAULT
+ goto_if_eq Route111_EventScript_HikerMirageTowerDisintegrated
+ goto_if_set FLAG_MIRAGE_TOWER_VISIBLE, Route111_EventScript_HikerMirageTowerVisible
+ msgbox Route111_Text_ShouldBeMirageTowerAroundHere, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F11C6:: @ 81F11C6
- msgbox Route111_Text_1F1C12, MSGBOX_DEFAULT
+Route111_EventScript_HikerMirageTowerGone:: @ 81F11C6
+ msgbox Route111_Text_MirageTowerHasntBeenSeenSince, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F11D0:: @ 81F11D0
- msgbox Route111_Text_1F1B92, MSGBOX_DEFAULT
+Route111_EventScript_HikerMirageTowerDisintegrated:: @ 81F11D0
+ msgbox Route111_Text_ThatWasShockingSandRainedDown, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F11DA:: @ 81F11DA
- msgbox Route111_Text_1F1AC7, MSGBOX_DEFAULT
+Route111_EventScript_HikerMirageTowerVisible:: @ 81F11DA
+ msgbox Route111_Text_MirageTowerClearlyVisible, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F11E4:: @ 81F11E4
+Route111_EventScript_RockSmashTipFatMan:: @ 81F11E4
lockall
applymovement 46, Common_Movement_FacePlayer
waitmovement 0
- msgbox Route111_Text_1F1CCA, MSGBOX_DEFAULT
+ msgbox Route111_Text_MauvilleUncleToldMeToTakeRockSmash, MSGBOX_DEFAULT
closemessage
applymovement 46, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
-Route111_EventScript_1F1204:: @ 81F1204
- trainerbattle_single TRAINER_DREW, Route111_Text_29878E, Route111_Text_29880A
- msgbox Route111_Text_298853, MSGBOX_AUTOCLOSE
+Route111_EventScript_Drew:: @ 81F1204
+ trainerbattle_single TRAINER_DREW, Route111_Text_DrewIntro, Route111_Text_DrewDefeat
+ msgbox Route111_Text_DrewPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F121B:: @ 81F121B
- trainerbattle_single TRAINER_HEIDI, Route111_Text_2988A3, Route111_Text_298908
- msgbox Route111_Text_29891B, MSGBOX_AUTOCLOSE
+Route111_EventScript_Heidi:: @ 81F121B
+ trainerbattle_single TRAINER_HEIDI, Route111_Text_HeidiIntro, Route111_Text_HeidiDefeat
+ msgbox Route111_Text_HeidiPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F1232:: @ 81F1232
- trainerbattle_single TRAINER_BEAU, Route111_Text_29898E, Route111_Text_2989E6
- msgbox Route111_Text_298A03, MSGBOX_AUTOCLOSE
+Route111_EventScript_Beau:: @ 81F1232
+ trainerbattle_single TRAINER_BEAU, Route111_Text_BeauIntro, Route111_Text_BeauDefeat
+ msgbox Route111_Text_BeauPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F1249:: @ 81F1249
- trainerbattle_single TRAINER_BECKY, Route111_Text_298A65, Route111_Text_298AAF
- msgbox Route111_Text_298AC0, MSGBOX_AUTOCLOSE
+Route111_EventScript_Becky:: @ 81F1249
+ trainerbattle_single TRAINER_BECKY, Route111_Text_BeckyIntro, Route111_Text_BeckyDefeat
+ msgbox Route111_Text_BeckyPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F1260:: @ 81F1260
- trainerbattle_single TRAINER_DUSTY_1, Route111_Text_298B08, Route111_Text_298B53, Route111_EventScript_1F128C
+Route111_EventScript_Dusty:: @ 81F1260
+ trainerbattle_single TRAINER_DUSTY_1, Route111_Text_DustyIntro, Route111_Text_DustyDefeat, Route111_EventScript_RegisterDusty
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route111_EventScript_1F12AB
- msgbox Route111_Text_298B9A, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route111_EventScript_RematchDusty
+ msgbox Route111_Text_DustyPostBattle, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F128C:: @ 81F128C
+Route111_EventScript_RegisterDusty:: @ 81F128C
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route111_Text_298C00, MSGBOX_DEFAULT
+ msgbox Route111_Text_DustyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_DUSTY_1
release
end
-Route111_EventScript_1F12AB:: @ 81F12AB
- trainerbattle_rematch TRAINER_DUSTY_1, Route111_Text_298C5F, Route111_Text_298CD2
- msgbox Route111_Text_298D0C, MSGBOX_AUTOCLOSE
+Route111_EventScript_RematchDusty:: @ 81F12AB
+ trainerbattle_rematch TRAINER_DUSTY_1, Route111_Text_DustyRematchIntro, Route111_Text_DustyRematchDefeat
+ msgbox Route111_Text_DustyPostRematch, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F12C2:: @ 81F12C2
- trainerbattle_single TRAINER_TRAVIS, Route111_Text_298DA9, Route111_Text_298DD8
- msgbox Route111_Text_298DF1, MSGBOX_AUTOCLOSE
+Route111_EventScript_Travis:: @ 81F12C2
+ trainerbattle_single TRAINER_TRAVIS, Route111_Text_TravisIntro, Route111_Text_TravisDefeat
+ msgbox Route111_Text_TravisPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F12D9:: @ 81F12D9
- trainerbattle_single TRAINER_IRENE, Route111_Text_298E2F, Route111_Text_298E6E
- msgbox Route111_Text_298E8C, MSGBOX_AUTOCLOSE
+Route111_EventScript_Irene:: @ 81F12D9
+ trainerbattle_single TRAINER_IRENE, Route111_Text_IreneIntro, Route111_Text_IreneDefeat
+ msgbox Route111_Text_IrenePostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F12F0:: @ 81F12F0
- trainerbattle_single TRAINER_DAISUKE, Route111_Text_298EE6, Route111_Text_298F14
- msgbox Route111_Text_298F26, MSGBOX_AUTOCLOSE
+Route111_EventScript_Daisuke:: @ 81F12F0
+ trainerbattle_single TRAINER_DAISUKE, Route111_Text_DaisukeIntro, Route111_Text_DaisukeDefeat
+ msgbox Route111_Text_DaisukePostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F1307:: @ 81F1307
- trainerbattle_single TRAINER_WILTON_1, Route111_Text_298F79, Route111_Text_298FA9, Route111_EventScript_1F1333
+Route111_EventScript_Wilton:: @ 81F1307
+ trainerbattle_single TRAINER_WILTON_1, Route111_Text_WiltonIntro, Route111_Text_WiltonDefeat, Route111_EventScript_RegisterWilton
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route111_EventScript_1F1352
- msgbox Route111_Text_298FD4, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route111_EventScript_RematchWilton
+ msgbox Route111_Text_WiltonPostBattle, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F1333:: @ 81F1333
+Route111_EventScript_RegisterWilton:: @ 81F1333
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route111_Text_29903D, MSGBOX_DEFAULT
+ msgbox Route111_Text_WiltonRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_WILTON_1
release
end
-Route111_EventScript_1F1352:: @ 81F1352
- trainerbattle_rematch TRAINER_WILTON_1, Route111_Text_29909B, Route111_Text_2990EE
- msgbox Route111_Text_299102, MSGBOX_AUTOCLOSE
+Route111_EventScript_RematchWilton:: @ 81F1352
+ trainerbattle_rematch TRAINER_WILTON_1, Route111_Text_WiltonRematchIntro, Route111_Text_WiltonRematchDefeat
+ msgbox Route111_Text_WiltonPostRematch, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F1369:: @ 81F1369
- trainerbattle_single TRAINER_BROOKE_1, Route111_Text_299143, Route111_Text_299193, Route111_EventScript_1F1395
+Route111_EventScript_Brooke:: @ 81F1369
+ trainerbattle_single TRAINER_BROOKE_1, Route111_Text_BrookeIntro, Route111_Text_BrookeDefeat, Route111_EventScript_RegisterBrooke
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route111_EventScript_1F13B4
- msgbox Route111_Text_2991C2, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route111_EventScript_RematchBrooke
+ msgbox Route111_Text_BrookePostBattle, MSGBOX_DEFAULT
release
end
-Route111_EventScript_1F1395:: @ 81F1395
+Route111_EventScript_RegisterBrooke:: @ 81F1395
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route111_Text_29921D, MSGBOX_DEFAULT
+ msgbox Route111_Text_BrookeRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_BROOKE_1
release
end
-Route111_EventScript_1F13B4:: @ 81F13B4
- trainerbattle_rematch TRAINER_BROOKE_1, Route111_Text_29925D, Route111_Text_2992D6
- msgbox Route111_Text_2992F5, MSGBOX_AUTOCLOSE
+Route111_EventScript_RematchBrooke:: @ 81F13B4
+ trainerbattle_rematch TRAINER_BROOKE_1, Route111_Text_BrookeRematchIntro, Route111_Text_BrookeRematchDefeat
+ msgbox Route111_Text_BrookePostRematch, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F13CB:: @ 81F13CB
- trainerbattle_single TRAINER_HAYDEN, Route111_Text_299682, Route111_Text_2996BE
- msgbox Route111_Text_2996C5, MSGBOX_AUTOCLOSE
+Route111_EventScript_Hayden:: @ 81F13CB
+ trainerbattle_single TRAINER_HAYDEN, Route111_Text_HaydenIntro, Route111_Text_HaydenDefeat
+ msgbox Route111_Text_HaydenPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F13E2:: @ 81F13E2
- trainerbattle_single TRAINER_BIANCA, Route111_Text_2996FE, Route111_Text_29973D
- msgbox Route111_Text_29975D, MSGBOX_AUTOCLOSE
+Route111_EventScript_Bianca:: @ 81F13E2
+ trainerbattle_single TRAINER_BIANCA, Route111_Text_BiancaIntro, Route111_Text_BiancaDefeat
+ msgbox Route111_Text_BiancaPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F13F9:: @ 81F13F9
- trainerbattle_single TRAINER_TYRON, Route111_Text_299524, Route111_Text_299549
- msgbox Route111_Text_299576, MSGBOX_AUTOCLOSE
+Route111_EventScript_Tyron:: @ 81F13F9
+ trainerbattle_single TRAINER_TYRON, Route111_Text_TyronIntro, Route111_Text_TyronDefeat
+ msgbox Route111_Text_TyronPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F1410:: @ 81F1410
- trainerbattle_single TRAINER_CELINA, Route111_Text_2995F0, Route111_Text_299625
- msgbox Route111_Text_29964B, MSGBOX_AUTOCLOSE
+Route111_EventScript_Celina:: @ 81F1410
+ trainerbattle_single TRAINER_CELINA, Route111_Text_CelinaIntro, Route111_Text_CelinaDefeat
+ msgbox Route111_Text_CelinaPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F1427:: @ 81F1427
- trainerbattle_single TRAINER_CELIA, Route111_Text_29934B, Route111_Text_299384
- msgbox Route111_Text_2993A7, MSGBOX_AUTOCLOSE
+Route111_EventScript_Celia:: @ 81F1427
+ trainerbattle_single TRAINER_CELIA, Route111_Text_CeliaIntro, Route111_Text_CeliaDefeat
+ msgbox Route111_Text_CeliaPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F143E:: @ 81F143E
- trainerbattle_single TRAINER_BRYAN, Route111_Text_299401, Route111_Text_299431
- msgbox Route111_Text_29945F, MSGBOX_AUTOCLOSE
+Route111_EventScript_Bryan:: @ 81F143E
+ trainerbattle_single TRAINER_BRYAN, Route111_Text_BryanIntro, Route111_Text_BryanDefeat
+ msgbox Route111_Text_BryanPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F1455:: @ 81F1455
- trainerbattle_single TRAINER_BRANDEN, Route111_Text_299493, Route111_Text_2994C5
- msgbox Route111_Text_2994FB, MSGBOX_AUTOCLOSE
+Route111_EventScript_Branden:: @ 81F1455
+ trainerbattle_single TRAINER_BRANDEN, Route111_Text_BrandenIntro, Route111_Text_BrandenDefeat
+ msgbox Route111_Text_BrandenPostBattle, MSGBOX_AUTOCLOSE
end
-Route111_EventScript_1F146C:: @ 81F146C
- msgbox Route111_Text_1F1D61, MSGBOX_SIGN
+Route111_EventScript_TrainerHillSign:: @ 81F146C
+ msgbox Route111_Text_TrainerHillSign, MSGBOX_SIGN
end
-Route111_Text_1F1475: @ 81F1475
+Route111_Text_BattleOurFamily: @ 81F1475
.string "Hello! I take it you're a traveler.\p"
.string "How's this? What do you say to taking\n"
.string "on our family of four in a series of\l"
.string "POKéMON battles?$"
-Route111_Text_1F14F5: @ 81F14F5
+Route111_Text_IsThatSo: @ 81F14F5
.string "Is that so?\n"
.string "Drop in, if you change your mind!$"
-Route111_Text_1F1523: @ 81F1523
+Route111_Text_VictorIntro: @ 81F1523
.string "That's the spirit! I like you!$"
-Route111_Text_1F1542: @ 81F1542
+Route111_Text_VictorDefeat: @ 81F1542
.string "Aiyah!\n"
.string "You're a lot tougher than I expected!$"
-Route111_Text_1F156F: @ 81F156F
+Route111_Text_VictorPostBattle: @ 81F156F
.string "Hey, all!\n"
.string "I've found a pretty strong TRAINER!$"
-Route111_Text_1F159D: @ 81F159D
+Route111_Text_VictoriaIntro: @ 81F159D
.string "Oh, my goodness! Aren't you young?\p"
.string "You must be quite the TRAINER to beat\n"
.string "my husband, though.\p"
.string "It's my turn to battle now!$"
-Route111_Text_1F1616: @ 81F1616
+Route111_Text_VictoriaDefeat: @ 81F1616
.string "Oh, gosh!\n"
.string "I can't get over how strong you are!$"
-Route111_Text_1F1645: @ 81F1645
+Route111_Text_VictoriaPostBattle: @ 81F1645
.string "There's a strong TRAINER here!\n"
.string "This one's really strong!$"
-Route111_Text_1F167E: @ 81F167E
+Route111_Text_ViviIntro: @ 81F167E
.string "You're stronger than Mommy? Wow!\p"
.string "But I'm strong, too!\n"
.string "Really! Honestly!$"
-Route111_Text_1F16C6: @ 81F16C6
+Route111_Text_ViviDefeat: @ 81F16C6
.string "Huh? Did I just lose?$"
-Route111_Text_1F16DC: @ 81F16DC
+Route111_Text_ViviPostBattle: @ 81F16DC
.string "This stinks…\p"
.string "…Snivel… Grandma!$"
-Route111_Text_1F16FB: @ 81F16FB
+Route111_Text_VickyIntro: @ 81F16FB
.string "How dare you make my granddaughter\n"
.string "cry!\p"
.string "For that, I'm going to smack you!\n"
.string "Prepare to lose!$"
-Route111_Text_1F1756: @ 81F1756
+Route111_Text_VickyDefeat: @ 81F1756
.string "Kwah! You are strong…\n"
.string "My granddaughter was right…$"
-Route111_Text_1F1788: @ 81F1788
+Route111_Text_VickyPostBattle: @ 81F1788
.string "If you're not in any hurry,\n"
.string "visit with us awhile.$"
-Route111_Text_1F17BA: @ 81F17BA
+Route111_Text_ToughToKeepWinningUpTheRanks: @ 81F17BA
.string "If you don't raise your POKéMON some\n"
.string "more, it could be tough to keep winning\l"
.string "up through the ranks.\p"
@@ -655,32 +657,32 @@ Route111_Text_1F17BA: @ 81F17BA
.string "ELITE FOUR are far stronger than\l"
.string "any GYM LEADER.$"
-Route111_Text_1F186E: @ 81F186E
+Route111_Text_WinstrateFamilyDestroyedMe: @ 81F186E
.string "I challenged the WINSTRATE family,\n"
.string "but four matches in a row is tough\l"
.string "going… They destroyed me.$"
-Route111_Text_1F18CE: @ 81F18CE
+Route111_Text_RouteSignMauville: @ 81F18CE
.string "ROUTE 111\n"
.string "{DOWN_ARROW} MAUVILLE CITY$"
-Route111_Text_1F18E8: @ 81F18E8
+Route111_Text_WinstrateHouseSign: @ 81F18E8
.string "“Our family's hearts beat as one!”\n"
.string "THE WINSTRATE'S HOUSE$"
-Route111_Text_1F1921: @ 81F1921
+Route111_Text_RouteSign112: @ 81F1921
.string "ROUTE 111\n"
.string "{LEFT_ARROW} ROUTE 112$"
-Route111_Text_1F1937: @ 81F1937
+Route111_Text_RouteSign113: @ 81F1937
.string "ROUTE 111\n"
.string "{LEFT_ARROW} ROUTE 113$"
-Route111_Text_1F194D: @ 81F194D
+Route111_Text_OldLadysRestStopSign: @ 81F194D
.string "OLD LADY'S REST STOP\n"
.string "“Come in and rest your tired bones.”$"
-Route111_Text_1F1987: @ 81F1987
+Route111_Text_TrainerTipsSpAtkSpDef: @ 81F1987
.string "TRAINER TIPS\p"
.string "One of the indicators of a POKéMON's\n"
.string "powerfulness is SP. ATK. It stands for\l"
@@ -688,14 +690,14 @@ Route111_Text_1F1987: @ 81F1987
.string "Likewise, SP. DEF stands for “SPECIAL\n"
.string "DEFENSE.”$"
-Route111_Text_1F1A22: @ 81F1A22
+Route111_Text_ShouldBeMirageTowerAroundHere: @ 81F1A22
.string "There should be a tower made of sand\n"
.string "around here somewhere.\p"
.string "But for some reason, it can be seen\n"
.string "sometimes, and sometimes not.\p"
.string "That's why I call it the MIRAGE TOWER.$"
-Route111_Text_1F1AC7: @ 81F1AC7
+Route111_Text_MirageTowerClearlyVisible: @ 81F1AC7
.string "I see it!\n"
.string "The tower of sand!\p"
.string "The sand tower they called a mirage\n"
@@ -705,7 +707,7 @@ Route111_Text_1F1AC7: @ 81F1AC7
.string "I want to go inside it, but I can't\n"
.string "get my courage up for it…$"
-Route111_Text_1F1B92: @ 81F1B92
+Route111_Text_ThatWasShockingSandRainedDown: @ 81F1B92
.string "Whoa…\n"
.string "That was shocking.\p"
.string "Sand rained down in chunks all of\n"
@@ -713,21 +715,21 @@ Route111_Text_1F1B92: @ 81F1B92
.string "What was it like inside?\n"
.string "Were there sandy ghosts and such?$"
-Route111_Text_1F1C12: @ 81F1C12
+Route111_Text_MirageTowerHasntBeenSeenSince: @ 81F1C12
.string "Since I spoke to you, the tower of sand\n"
.string "hasn't been seen.\p"
.string "Perhaps it really was\n"
.string "the MIRAGE TOWER…$"
-Route111_Text_1F1C74: @ 81F1C74
+Route111_Text_ClawFossilDisappeared: @ 81F1C74
.string "The CLAW FOSSIL disappeared into\n"
.string "the sand…$"
-Route111_Text_1F1C9F: @ 81F1C9F
+Route111_Text_RootFossilDisappeared: @ 81F1C9F
.string "The ROOT FOSSIL disappeared into\n"
.string "the sand…$"
-Route111_Text_1F1CCA: @ 81F1CCA
+Route111_Text_MauvilleUncleToldMeToTakeRockSmash: @ 81F1CCA
.string "Oh, no!\p"
.string "My uncle in MAUVILLE told me to take\n"
.string "ROCK SMASH with me if I was going to\l"
@@ -735,7 +737,7 @@ Route111_Text_1F1CCA: @ 81F1CCA
.string "My uncle? He lives across from\n"
.string "the bike shop in MAUVILLE.$"
-Route111_Text_1F1D61: @ 81F1D61
+Route111_Text_TrainerHillSign: @ 81F1D61
.string "{RIGHT_ARROW} TRAINER HILL ENTRANCE\p"
.string "“Scale the heights, you hot-blooded\n"
.string "TRAINERS!”$"
diff --git a/data/maps/Route112/map.json b/data/maps/Route112/map.json
index b963c6c48..e52468f32 100644
--- a/data/maps/Route112/map.json
+++ b/data/maps/Route112/map.json
@@ -40,7 +40,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route112_EventScript_1F1DB7",
+ "script": "Route112_EventScript_MagmaGrunts",
"flag": "FLAG_HIDE_ROUTE_112_TEAM_MAGMA"
},
{
@@ -53,7 +53,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route112_EventScript_1F1E6A",
+ "script": "Route112_EventScript_Brice",
"flag": "0"
},
{
@@ -66,7 +66,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route112_EventScript_1F1EE3",
+ "script": "Route112_EventScript_Larry",
"flag": "0"
},
{
@@ -79,7 +79,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route112_EventScript_1F1EFA",
+ "script": "Route112_EventScript_Carol",
"flag": "0"
},
{
@@ -92,7 +92,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route112_EventScript_1F1E81",
+ "script": "Route112_EventScript_Trent",
"flag": "0"
},
{
@@ -105,7 +105,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route112_EventScript_1F1DB7",
+ "script": "Route112_EventScript_MagmaGrunts",
"flag": "FLAG_HIDE_ROUTE_112_TEAM_MAGMA"
},
{
@@ -170,7 +170,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route112_EventScript_1F1E61",
+ "script": "Route112_EventScript_Hiker",
"flag": "0"
},
{
@@ -196,7 +196,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route112_EventScript_1F1F11",
+ "script": "Route112_EventScript_Bryant",
"flag": "0"
},
{
@@ -209,7 +209,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route112_EventScript_1F1F28",
+ "script": "Route112_EventScript_Shayla",
"flag": "0"
}
],
@@ -265,7 +265,7 @@
"y": 44,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route112_EventScript_1F1E4F"
+ "script": "Route112_EventScript_MtChimneySign"
},
{
"type": "sign",
@@ -273,7 +273,7 @@
"y": 37,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route112_EventScript_1F1E46"
+ "script": "Route112_EventScript_MtChimneyCableCarSign"
},
{
"type": "sign",
@@ -281,7 +281,7 @@
"y": 49,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route112_EventScript_1F1E58"
+ "script": "Route112_EventScript_RouteSignLavaridge"
}
]
} \ No newline at end of file
diff --git a/data/maps/Route112/scripts.inc b/data/maps/Route112/scripts.inc
index beb572f08..4dd4fe112 100644
--- a/data/maps/Route112/scripts.inc
+++ b/data/maps/Route112/scripts.inc
@@ -7,13 +7,13 @@ Route112_OnTransition: @ 81F1DAE
setvar VAR_JAGGED_PASS_ASH_WEATHER, 0
end
-Route112_EventScript_1F1DB7:: @ 81F1DB7
+Route112_EventScript_MagmaGrunts:: @ 81F1DB7
lockall
delay 40
applymovement 1, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
delay 20
- msgbox Route112_Text_1F1F3F, MSGBOX_DEFAULT
+ msgbox Route112_Text_LeaderGoingToAwakenThing, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_FaceOriginalDirection
waitmovement 0
@@ -21,7 +21,7 @@ Route112_EventScript_1F1DB7:: @ 81F1DB7
applymovement 6, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
delay 20
- msgbox Route112_Text_1F1F7A, MSGBOX_DEFAULT
+ msgbox Route112_Text_YeahWeNeedMeteorite, MSGBOX_DEFAULT
closemessage
applymovement 6, Common_Movement_FaceOriginalDirection
waitmovement 0
@@ -29,7 +29,7 @@ Route112_EventScript_1F1DB7:: @ 81F1DB7
applymovement 1, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
delay 20
- msgbox Route112_Text_1F1FBA, MSGBOX_DEFAULT
+ msgbox Route112_Text_OhThatsWhyCrewWentToFallarbor, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_FaceOriginalDirection
waitmovement 0
@@ -37,107 +37,107 @@ Route112_EventScript_1F1DB7:: @ 81F1DB7
applymovement 6, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
delay 20
- msgbox Route112_Text_1F2003, MSGBOX_DEFAULT
+ msgbox Route112_Text_CantLetAnyonePassUntilTheyreBack, MSGBOX_DEFAULT
closemessage
applymovement 6, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
-Route112_EventScript_1F1E46:: @ 81F1E46
- msgbox Route112_Text_1F20C1, MSGBOX_SIGN
+Route112_EventScript_MtChimneyCableCarSign:: @ 81F1E46
+ msgbox Route112_Text_MtChimneyCableCarSign, MSGBOX_SIGN
end
-Route112_EventScript_1F1E4F:: @ 81F1E4F
- msgbox Route112_Text_1F20ED, MSGBOX_SIGN
+Route112_EventScript_MtChimneySign:: @ 81F1E4F
+ msgbox Route112_Text_MtChimneySign, MSGBOX_SIGN
end
-Route112_EventScript_1F1E58:: @ 81F1E58
- msgbox Route112_Text_1F2138, MSGBOX_SIGN
+Route112_EventScript_RouteSignLavaridge:: @ 81F1E58
+ msgbox Route112_Text_RouteSignLavaridge, MSGBOX_SIGN
end
-Route112_EventScript_1F1E61:: @ 81F1E61
- msgbox Route112_Text_1F204E, MSGBOX_NPC
+Route112_EventScript_Hiker:: @ 81F1E61
+ msgbox Route112_Text_NotEasyToGetBackToLavaridge, MSGBOX_NPC
end
-Route112_EventScript_1F1E6A:: @ 81F1E6A
- trainerbattle_single TRAINER_BRICE, Route112_Text_29978E, Route112_Text_2997CA
- msgbox Route112_Text_2997DC, MSGBOX_AUTOCLOSE
+Route112_EventScript_Brice:: @ 81F1E6A
+ trainerbattle_single TRAINER_BRICE, Route112_Text_BriceIntro, Route112_Text_BriceDefeat
+ msgbox Route112_Text_BricePostBattle, MSGBOX_AUTOCLOSE
end
-Route112_EventScript_1F1E81:: @ 81F1E81
- trainerbattle_single TRAINER_TRENT_1, Route112_Text_299815, Route112_Text_29987C, Route112_EventScript_1F1EAD
+Route112_EventScript_Trent:: @ 81F1E81
+ trainerbattle_single TRAINER_TRENT_1, Route112_Text_TrentIntro, Route112_Text_TrentDefeat, Route112_EventScript_RegisterTrent
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route112_EventScript_1F1ECC
- msgbox Route112_Text_299896, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route112_EventScript_RematchTrent
+ msgbox Route112_Text_TrentPostBattle, MSGBOX_DEFAULT
release
end
-Route112_EventScript_1F1EAD:: @ 81F1EAD
+Route112_EventScript_RegisterTrent:: @ 81F1EAD
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route112_Text_29993C, MSGBOX_DEFAULT
+ msgbox Route112_Text_TrentRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_TRENT_1
release
end
-Route112_EventScript_1F1ECC:: @ 81F1ECC
- trainerbattle_rematch TRAINER_TRENT_1, Route112_Text_2999BD, Route112_Text_2999F7
- msgbox Route112_Text_299A0F, MSGBOX_AUTOCLOSE
+Route112_EventScript_RematchTrent:: @ 81F1ECC
+ trainerbattle_rematch TRAINER_TRENT_1, Route112_Text_TrentRematchIntro, Route112_Text_TrentRematchDefeat
+ msgbox Route112_Text_TrentRematchPostBattle, MSGBOX_AUTOCLOSE
end
-Route112_EventScript_1F1EE3:: @ 81F1EE3
- trainerbattle_single TRAINER_LARRY, Route112_Text_299A89, Route112_Text_299AAC
- msgbox Route112_Text_299AB4, MSGBOX_AUTOCLOSE
+Route112_EventScript_Larry:: @ 81F1EE3
+ trainerbattle_single TRAINER_LARRY, Route112_Text_LarryIntro, Route112_Text_LarryDefeat
+ msgbox Route112_Text_LarryPostBattle, MSGBOX_AUTOCLOSE
end
-Route112_EventScript_1F1EFA:: @ 81F1EFA
- trainerbattle_single TRAINER_CAROL, Route112_Text_299AE4, Route112_Text_299B36
- msgbox Route112_Text_299B4C, MSGBOX_AUTOCLOSE
+Route112_EventScript_Carol:: @ 81F1EFA
+ trainerbattle_single TRAINER_CAROL, Route112_Text_CarolIntro, Route112_Text_CarolDefeat
+ msgbox Route112_Text_CarolPostBattle, MSGBOX_AUTOCLOSE
end
-Route112_EventScript_1F1F11:: @ 81F1F11
- trainerbattle_single TRAINER_BRYANT, Route112_Text_299BAE, Route112_Text_299BDF
- msgbox Route112_Text_299BFB, MSGBOX_AUTOCLOSE
+Route112_EventScript_Bryant:: @ 81F1F11
+ trainerbattle_single TRAINER_BRYANT, Route112_Text_BryantIntro, Route112_Text_BryantDefeat
+ msgbox Route112_Text_BryantPostBattle, MSGBOX_AUTOCLOSE
end
-Route112_EventScript_1F1F28:: @ 81F1F28
- trainerbattle_single TRAINER_SHAYLA, Route112_Text_299C34, Route112_Text_299C8F
- msgbox Route112_Text_299CC6, MSGBOX_AUTOCLOSE
+Route112_EventScript_Shayla:: @ 81F1F28
+ trainerbattle_single TRAINER_SHAYLA, Route112_Text_ShaylaIntro, Route112_Text_ShaylaDefeat
+ msgbox Route112_Text_ShaylaPostBattle, MSGBOX_AUTOCLOSE
end
-Route112_Text_1F1F3F: @ 81F1F3F
+Route112_Text_LeaderGoingToAwakenThing: @ 81F1F3F
.string "Hey, man, is our leader really going\n"
.string "to awaken that thing?$"
-Route112_Text_1F1F7A: @ 81F1F7A
+Route112_Text_YeahWeNeedMeteorite: @ 81F1F7A
.string "Sounds like it, yeah. But I heard\n"
.string "we need a METEORITE to do it.$"
-Route112_Text_1F1FBA: @ 81F1FBA
+Route112_Text_OhThatsWhyCrewWentToFallarbor: @ 81F1FBA
.string "Oh, I get it now. That's why the rest\n"
.string "of the crew went out to FALLARBOR.$"
-Route112_Text_1F2003: @ 81F2003
+Route112_Text_CantLetAnyonePassUntilTheyreBack: @ 81F2003
.string "You got it. And until they come back,\n"
.string "we're not to let anyone pass, right.$"
-Route112_Text_1F204E: @ 81F204E
+Route112_Text_NotEasyToGetBackToLavaridge: @ 81F204E
.string "Eh, I'd like to get to MAUVILLE, but if\n"
.string "I went down these ledges, it'd be no\l"
.string "easy matter to get back to LAVARIDGE.$"
-Route112_Text_1F20C1: @ 81F20C1
+Route112_Text_MtChimneyCableCarSign: @ 81F20C1
.string "MT. CHIMNEY CABLE CAR\n"
.string "“A short walk {UP_ARROW} way!”$"
-Route112_Text_1F20ED: @ 81F20ED
+Route112_Text_MtChimneySign: @ 81F20ED
.string "MT. CHIMNEY\p"
.string "“For LAVARIDGE TOWN or the summit,\n"
.string "please take the CABLE CAR.”$"
-Route112_Text_1F2138: @ 81F2138
+Route112_Text_RouteSignLavaridge: @ 81F2138
.string "ROUTE 112\n"
.string "{LEFT_ARROW} LAVARIDGE TOWN$"
diff --git a/data/maps/Route113/map.json b/data/maps/Route113/map.json
index bcff99de4..ba3cf2452 100644
--- a/data/maps/Route113/map.json
+++ b/data/maps/Route113/map.json
@@ -40,7 +40,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route113_EventScript_1F2193",
+ "script": "Route113_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -53,7 +53,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route113_EventScript_1F218A",
+ "script": "Route113_EventScript_Gentleman",
"flag": "0"
},
{
@@ -66,7 +66,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route113_EventScript_1F21C0",
+ "script": "Route113_EventScript_Jaylen",
"flag": "0"
},
{
@@ -79,7 +79,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route113_EventScript_1F21D7",
+ "script": "Route113_EventScript_Dillon",
"flag": "0"
},
{
@@ -92,7 +92,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route113_EventScript_1F21EE",
+ "script": "Route113_EventScript_Madeline",
"flag": "0"
},
{
@@ -131,7 +131,7 @@
"movement_range_y": 0,
"trainer_type": "3",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route113_EventScript_1F2250",
+ "script": "Route113_EventScript_Lao",
"flag": "0"
},
{
@@ -144,7 +144,7 @@
"movement_range_y": 0,
"trainer_type": "3",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route113_EventScript_1F22B2",
+ "script": "Route113_EventScript_Lung",
"flag": "0"
},
{
@@ -157,7 +157,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route113_EventScript_1F22C9",
+ "script": "Route113_EventScript_Tori",
"flag": "0"
},
{
@@ -170,7 +170,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route113_EventScript_1F22E4",
+ "script": "Route113_EventScript_Tia",
"flag": "0"
},
{
@@ -196,7 +196,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route113_EventScript_1F2344",
+ "script": "Route113_EventScript_Wyatt",
"flag": "0"
},
{
@@ -209,7 +209,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route113_EventScript_1F232D",
+ "script": "Route113_EventScript_Lawrence",
"flag": "0"
},
{
@@ -222,7 +222,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route113_EventScript_1F22FF",
+ "script": "Route113_EventScript_Sophie",
"flag": "0"
},
{
@@ -235,7 +235,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route113_EventScript_1F2316",
+ "script": "Route113_EventScript_Coby",
"flag": "0"
}
],
@@ -404,7 +404,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route113_EventScript_1F219C"
+ "script": "Route113_EventScript_RouteSign111"
},
{
"type": "sign",
@@ -412,7 +412,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route113_EventScript_1F21A5"
+ "script": "Route113_EventScript_RouteSignFallarbor"
},
{
"type": "sign",
@@ -420,7 +420,7 @@
"y": 4,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route113_EventScript_1F21B7"
+ "script": "Route113_EventScript_TrainerTipsRegisterKeyItems"
},
{
"type": "sign",
@@ -428,7 +428,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route113_EventScript_1F21AE"
+ "script": "Route113_EventScript_GlassWorkshopSign"
},
{
"type": "secret_base",
diff --git a/data/maps/Route113/scripts.inc b/data/maps/Route113/scripts.inc
index 89bf97373..612e4a864 100644
--- a/data/maps/Route113/scripts.inc
+++ b/data/maps/Route113/scripts.inc
@@ -1,170 +1,170 @@
Route113_MapScripts:: @ 81F2153
- map_script MAP_SCRIPT_ON_RESUME, Route113_MapScript1_1F215E
+ map_script MAP_SCRIPT_ON_RESUME, Route113_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, Route113_OnTransition
.byte 0
-Route113_MapScript1_1F215E: @ 81F215E
+Route113_OnResume: @ 81F215E
setstepcallback STEP_CB_ASH
end
Route113_OnTransition: @ 81F2161
clearflag FLAG_FORCE_MIRAGE_TOWER_VISIBLE
- call Route113_EventScript_1F216A
+ call Route113_EventScript_CheckSetAshWeather
end
-Route113_EventScript_1F216A:: @ 81F216A
+Route113_EventScript_CheckSetAshWeather:: @ 81F216A
getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_0, 19
- goto_if_lt Route113_EventScript_1F2189
+ goto_if_lt Route113_EventScript_DontSetAshWeather
compare VAR_TEMP_0, 84
- goto_if_gt Route113_EventScript_1F2189
+ goto_if_gt Route113_EventScript_DontSetAshWeather
setweather WEATHER_ASH
return
-Route113_EventScript_1F2189:: @ 81F2189
+Route113_EventScript_DontSetAshWeather:: @ 81F2189
return
-Route113_EventScript_1F218A:: @ 81F218A
- msgbox Route113_Text_1F235B, MSGBOX_NPC
+Route113_EventScript_Gentleman:: @ 81F218A
+ msgbox Route113_Text_AshCanBeFashionedIntoGlass, MSGBOX_NPC
end
-Route113_EventScript_1F2193:: @ 81F2193
- msgbox Route113_Text_1F23CA, MSGBOX_NPC
+Route113_EventScript_NinjaBoy:: @ 81F2193
+ msgbox Route113_Text_FunWalkingThroughAsh, MSGBOX_NPC
end
-Route113_EventScript_1F219C:: @ 81F219C
- msgbox Route113_Text_1F2440, MSGBOX_SIGN
+Route113_EventScript_RouteSign111:: @ 81F219C
+ msgbox Route113_Text_RouteSign111, MSGBOX_SIGN
end
-Route113_EventScript_1F21A5:: @ 81F21A5
- msgbox Route113_Text_1F2456, MSGBOX_SIGN
+Route113_EventScript_RouteSignFallarbor:: @ 81F21A5
+ msgbox Route113_Text_RouteSignFallarbor, MSGBOX_SIGN
end
-Route113_EventScript_1F21AE:: @ 81F21AE
- msgbox Route113_Text_1F24F8, MSGBOX_SIGN
+Route113_EventScript_GlassWorkshopSign:: @ 81F21AE
+ msgbox Route113_Text_GlassWorkshopSign, MSGBOX_SIGN
end
-Route113_EventScript_1F21B7:: @ 81F21B7
- msgbox Route113_Text_1F2471, MSGBOX_SIGN
+Route113_EventScript_TrainerTipsRegisterKeyItems:: @ 81F21B7
+ msgbox Route113_Text_TrainerTipsRegisterKeyItems, MSGBOX_SIGN
end
-Route113_EventScript_1F21C0:: @ 81F21C0
- trainerbattle_single TRAINER_JAYLEN, Route113_Text_299D3C, Route113_Text_299D68
- msgbox Route113_Text_299D7D, MSGBOX_AUTOCLOSE
+Route113_EventScript_Jaylen:: @ 81F21C0
+ trainerbattle_single TRAINER_JAYLEN, Route113_Text_JaylenIntro, Route113_Text_JaylenDefeat
+ msgbox Route113_Text_JaylenPostBattle, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F21D7:: @ 81F21D7
- trainerbattle_single TRAINER_DILLON, Route113_Text_299DE3, Route113_Text_299E1C
- msgbox Route113_Text_299E38, MSGBOX_AUTOCLOSE
+Route113_EventScript_Dillon:: @ 81F21D7
+ trainerbattle_single TRAINER_DILLON, Route113_Text_DillonIntro, Route113_Text_DillonDefeat
+ msgbox Route113_Text_DillonPostBattle, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F21EE:: @ 81F21EE
- trainerbattle_single TRAINER_MADELINE_1, Route113_Text_299EA6, Route113_Text_299EF9, Route113_EventScript_1F221A
+Route113_EventScript_Madeline:: @ 81F21EE
+ trainerbattle_single TRAINER_MADELINE_1, Route113_Text_MadelineIntro, Route113_Text_MadelineDefeat, Route113_EventScript_RegisterMadeline
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route113_EventScript_1F2239
- msgbox Route113_Text_299F15, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route113_EventScript_RematchMadeline
+ msgbox Route113_Text_MadelinePostBattle, MSGBOX_DEFAULT
release
end
-Route113_EventScript_1F221A:: @ 81F221A
+Route113_EventScript_RegisterMadeline:: @ 81F221A
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route113_Text_299F49, MSGBOX_DEFAULT
+ msgbox Route113_Text_MadelineRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_MADELINE_1
release
end
-Route113_EventScript_1F2239:: @ 81F2239
- trainerbattle_rematch TRAINER_MADELINE_1, Route113_Text_299F8A, Route113_Text_299FC9
- msgbox Route113_Text_299FD8, MSGBOX_AUTOCLOSE
+Route113_EventScript_RematchMadeline:: @ 81F2239
+ trainerbattle_rematch TRAINER_MADELINE_1, Route113_Text_MadelineRematchIntro, Route113_Text_MadelineRematchDefeat
+ msgbox Route113_Text_MadelinePostRematch, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F2250:: @ 81F2250
- trainerbattle_single TRAINER_LAO_1, Route113_Text_29A015, Route113_Text_29A04C, Route113_EventScript_1F227C
+Route113_EventScript_Lao:: @ 81F2250
+ trainerbattle_single TRAINER_LAO_1, Route113_Text_LaoIntro, Route113_Text_LaoDefeat, Route113_EventScript_RegisterLao
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route113_EventScript_1F229B
- msgbox Route113_Text_29A067, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route113_EventScript_RematchLao
+ msgbox Route113_Text_LaoPostBattle, MSGBOX_DEFAULT
release
end
-Route113_EventScript_1F227C:: @ 81F227C
+Route113_EventScript_RegisterLao:: @ 81F227C
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route113_Text_29A0A2, MSGBOX_DEFAULT
+ msgbox Route113_Text_LaoRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_LAO_1
release
end
-Route113_EventScript_1F229B:: @ 81F229B
- trainerbattle_rematch TRAINER_LAO_1, Route113_Text_29A0E8, Route113_Text_29A11F
- msgbox Route113_Text_29A13A, MSGBOX_AUTOCLOSE
+Route113_EventScript_RematchLao:: @ 81F229B
+ trainerbattle_rematch TRAINER_LAO_1, Route113_Text_LaoRematchIntro, Route113_Text_LaoRematchDefeat
+ msgbox Route113_Text_LaoPostRematch, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F22B2:: @ 81F22B2
- trainerbattle_single TRAINER_LUNG, Route113_Text_29A192, Route113_Text_29A1C6
- msgbox Route113_Text_29A219, MSGBOX_AUTOCLOSE
+Route113_EventScript_Lung:: @ 81F22B2
+ trainerbattle_single TRAINER_LUNG, Route113_Text_LungIntro, Route113_Text_LungDefeat
+ msgbox Route113_Text_LungPostBattle, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F22C9:: @ 81F22C9
- trainerbattle_double TRAINER_TORI_AND_TIA, Route113_Text_29A261, Route113_Text_29A29D, Route113_Text_29A31F
- msgbox Route113_Text_29A2DE, MSGBOX_AUTOCLOSE
+Route113_EventScript_Tori:: @ 81F22C9
+ trainerbattle_double TRAINER_TORI_AND_TIA, Route113_Text_ToriIntro, Route113_Text_ToriDefeat, Route113_Text_ToriNotEnoughMons
+ msgbox Route113_Text_ToriPostBattle, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F22E4:: @ 81F22E4
- trainerbattle_double TRAINER_TORI_AND_TIA, Route113_Text_29A35C, Route113_Text_29A397, Route113_Text_29A419
- msgbox Route113_Text_29A3DA, MSGBOX_AUTOCLOSE
+Route113_EventScript_Tia:: @ 81F22E4
+ trainerbattle_double TRAINER_TORI_AND_TIA, Route113_Text_TiaIntro, Route113_Text_TiaDefeat, Route113_Text_TiaNotEnoughMons
+ msgbox Route113_Text_TiaPostBattle, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F22FF:: @ 81F22FF
- trainerbattle_single TRAINER_SOPHIE, Route113_Text_29A4BF, Route113_Text_29A508
- msgbox Route113_Text_29A529, MSGBOX_AUTOCLOSE
+Route113_EventScript_Sophie:: @ 81F22FF
+ trainerbattle_single TRAINER_SOPHIE, Route113_Text_SophieIntro, Route113_Text_SophieDefeat
+ msgbox Route113_Text_SophiePostBattle, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F2316:: @ 81F2316
- trainerbattle_single TRAINER_COBY, Route113_Text_29A453, Route113_Text_29A480
- msgbox Route113_Text_29A489, MSGBOX_AUTOCLOSE
+Route113_EventScript_Coby:: @ 81F2316
+ trainerbattle_single TRAINER_COBY, Route113_Text_CobyIntro, Route113_Text_CobyDefeat
+ msgbox Route113_Text_CobyPostBattle, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F232D:: @ 81F232D
- trainerbattle_single TRAINER_LAWRENCE, Route113_Text_29A566, Route113_Text_29A5A0
- msgbox Route113_Text_29A5BE, MSGBOX_AUTOCLOSE
+Route113_EventScript_Lawrence:: @ 81F232D
+ trainerbattle_single TRAINER_LAWRENCE, Route113_Text_LawrenceIntro, Route113_Text_LawrenceDefeat
+ msgbox Route113_Text_LawrencePostBattle, MSGBOX_AUTOCLOSE
end
-Route113_EventScript_1F2344:: @ 81F2344
- trainerbattle_single TRAINER_WYATT, Route113_Text_29A5E4, Route113_Text_29A628
- msgbox Route113_Text_29A65D, MSGBOX_AUTOCLOSE
+Route113_EventScript_Wyatt:: @ 81F2344
+ trainerbattle_single TRAINER_WYATT, Route113_Text_WyattIntro, Route113_Text_WyattDefeat
+ msgbox Route113_Text_WyattPostBattle, MSGBOX_AUTOCLOSE
end
-Route113_Text_1F235B: @ 81F235B
+Route113_Text_AshCanBeFashionedIntoGlass: @ 81F235B
.string "Wahahaha! Today's technology is a\n"
.string "wondrous thing!\p"
.string "Take this volcanic ash here.\n"
.string "It can be fashioned into glass.$"
-Route113_Text_1F23CA: @ 81F23CA
+Route113_Text_FunWalkingThroughAsh: @ 81F23CA
.string "It's fun walking through the volcano's\n"
.string "ashes on the ground and grass.\p"
.string "You can see where you walked--it's\n"
.string "really neat!$"
-Route113_Text_1F2440: @ 81F2440
+Route113_Text_RouteSign111: @ 81F2440
.string "ROUTE 113\n"
.string "{RIGHT_ARROW} ROUTE 111$"
-Route113_Text_1F2456: @ 81F2456
+Route113_Text_RouteSignFallarbor: @ 81F2456
.string "ROUTE 113\n"
.string "{LEFT_ARROW} FALLARBOR TOWN$"
-Route113_Text_1F2471: @ 81F2471
+Route113_Text_TrainerTipsRegisterKeyItems: @ 81F2471
.string "TRAINER TIPS\p"
.string "You may register one of the KEY ITEMS\n"
.string "in your BAG as SELECT.\p"
.string "Simply press SELECT to use\n"
.string "the registered item conveniently.$"
-Route113_Text_1F24F8: @ 81F24F8
+Route113_Text_GlassWorkshopSign: @ 81F24F8
.string "GLASS WORKSHOP\n"
.string "“Turning Volcanic Ash into Glass Items”$"
diff --git a/data/maps/Route114/map.json b/data/maps/Route114/map.json
index 1aee2d422..76a9083f4 100644
--- a/data/maps/Route114/map.json
+++ b/data/maps/Route114/map.json
@@ -61,7 +61,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route114_EventScript_1F2640",
+ "script": "Route114_EventScript_Lenny",
"flag": "0"
},
{
@@ -74,7 +74,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route114_EventScript_1F2657",
+ "script": "Route114_EventScript_Lucas",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route114_EventScript_1F266E",
+ "script": "Route114_EventScript_Shane",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route114_EventScript_1F2685",
+ "script": "Route114_EventScript_Nancy",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route114_EventScript_1F269C",
+ "script": "Route114_EventScript_Steve",
"flag": "0"
},
{
@@ -178,7 +178,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route114_EventScript_1F25D1",
+ "script": "Route114_EventScript_RoarGentleman",
"flag": "0"
},
{
@@ -191,7 +191,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route114_EventScript_1F2612",
+ "script": "Route114_EventScript_Poochyena",
"flag": "0"
},
{
@@ -204,7 +204,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route114_EventScript_1F2582",
+ "script": "Route114_EventScript_Man",
"flag": "0"
},
{
@@ -217,7 +217,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route114_EventScript_1F2777",
+ "script": "Route114_EventScript_Nolan",
"flag": "0"
},
{
@@ -230,7 +230,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route114_EventScript_1F2760",
+ "script": "Route114_EventScript_Claude",
"flag": "0"
},
{
@@ -243,7 +243,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route114_EventScript_1F26FE",
+ "script": "Route114_EventScript_Bernie",
"flag": "0"
},
{
@@ -308,7 +308,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route114_EventScript_1F27A9",
+ "script": "Route114_EventScript_Ivy",
"flag": "0"
},
{
@@ -321,7 +321,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route114_EventScript_1F278E",
+ "script": "Route114_EventScript_Tyra",
"flag": "0"
},
{
@@ -334,7 +334,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route114_EventScript_1F27DB",
+ "script": "Route114_EventScript_Charlotte",
"flag": "0"
},
{
@@ -347,7 +347,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route114_EventScript_1F27C4",
+ "script": "Route114_EventScript_Angelina",
"flag": "0"
},
{
@@ -373,7 +373,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route114_EventScript_1F27F2",
+ "script": "Route114_EventScript_Kai",
"flag": "0"
}
],
@@ -422,7 +422,7 @@
"y": 64,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route114_EventScript_1F2625"
+ "script": "Route114_EventScript_MeteorFallsSign"
},
{
"type": "sign",
@@ -430,7 +430,7 @@
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route114_EventScript_1F262E"
+ "script": "Route114_EventScript_FossilManiacsHouseSign"
},
{
"type": "secret_base",
@@ -480,7 +480,7 @@
"y": 38,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route114_EventScript_1F2637"
+ "script": "Route114_EventScript_LanettesHouseSign"
},
{
"type": "hidden_item",
diff --git a/data/maps/Route114/scripts.inc b/data/maps/Route114/scripts.inc
index caf6e1496..1873f6f7a 100644
--- a/data/maps/Route114/scripts.inc
+++ b/data/maps/Route114/scripts.inc
@@ -1,7 +1,7 @@
Route114_MapScripts:: @ 81F252F
map_script MAP_SCRIPT_ON_TRANSITION, Route114_OnTransition
- map_script MAP_SCRIPT_ON_LOAD, Route114_MapScript1_1F2561
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route114_MapScript2_1F2578
+ map_script MAP_SCRIPT_ON_LOAD, Route114_OnLoad
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route114_OnFrame
.byte 0
Route114_OnTransition: @ 81F253F
@@ -13,199 +13,199 @@ Route114_OnTransition: @ 81F253F
call_if_eq UnusualWeather_StartGroudonWeather
end
-Route114_MapScript1_1F2561: @ 81F2561
+Route114_OnLoad: @ 81F2561
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_114_NORTH
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute114North
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_114_SOUTH
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute114South
end
-Route114_MapScript2_1F2578: @ 81F2578
+Route114_OnFrame: @ 81F2578
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
-Route114_EventScript_1F2582:: @ 81F2582
+Route114_EventScript_Man:: @ 81F2582
lock
faceplayer
dotimebasedevents
- goto_if_set FLAG_DAILY_ROUTE_114_RECEIVED_BERRY, Route114_EventScript_1F25C7
- msgbox Route114_Text_2A6FCB, MSGBOX_DEFAULT
- random 5
- addvar VAR_RESULT, 15
+ 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_std VAR_RESULT
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_DAILY_ROUTE_114_RECEIVED_BERRY
- msgbox Route114_Text_2A7034, MSGBOX_DEFAULT
+ msgbox Route114_Text_TryBerryCrushWithFriends, MSGBOX_DEFAULT
release
end
-Route114_EventScript_1F25C7:: @ 81F25C7
- msgbox Route114_Text_2A706E, MSGBOX_DEFAULT
+Route114_EventScript_ReceivedBerry:: @ 81F25C7
+ msgbox Route114_Text_FunToThinkAboutBerries, MSGBOX_DEFAULT
release
end
-Route114_EventScript_1F25D1:: @ 81F25D1
+Route114_EventScript_RoarGentleman:: @ 81F25D1
lock
faceplayer
- goto_if_set FLAG_RECEIVED_TM05, Route114_EventScript_1F2608
- msgbox Route114_Text_1F2809, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECEIVED_TM05, Route114_EventScript_ReceivedRoar
+ msgbox Route114_Text_AllMyMonDoesIsRoarTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_TM05
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM05
- msgbox Route114_Text_1F2872, MSGBOX_DEFAULT
+ msgbox Route114_Text_ExplainRoar, MSGBOX_DEFAULT
release
end
-Route114_EventScript_1F2608:: @ 81F2608
- msgbox Route114_Text_1F2872, MSGBOX_DEFAULT
+Route114_EventScript_ReceivedRoar:: @ 81F2608
+ msgbox Route114_Text_ExplainRoar, MSGBOX_DEFAULT
release
end
-Route114_EventScript_1F2612:: @ 81F2612
+Route114_EventScript_Poochyena:: @ 81F2612
lock
faceplayer
waitse
playmoncry SPECIES_POOCHYENA, 2
- msgbox Route114_Text_1F28A6, MSGBOX_DEFAULT
+ msgbox Route114_Text_Poochyena, MSGBOX_DEFAULT
waitmoncry
release
end
-Route114_EventScript_1F2625:: @ 81F2625
- msgbox Route114_Text_1F28B3, MSGBOX_SIGN
+Route114_EventScript_MeteorFallsSign:: @ 81F2625
+ msgbox Route114_Text_MeteorFallsSign, MSGBOX_SIGN
end
-Route114_EventScript_1F262E:: @ 81F262E
- msgbox Route114_Text_1F28DB, MSGBOX_SIGN
+Route114_EventScript_FossilManiacsHouseSign:: @ 81F262E
+ msgbox Route114_Text_FossilManiacsHouseSign, MSGBOX_SIGN
end
-Route114_EventScript_1F2637:: @ 81F2637
- msgbox Route114_Text_1F2910, MSGBOX_SIGN
+Route114_EventScript_LanettesHouseSign:: @ 81F2637
+ msgbox Route114_Text_LanettesHouse, MSGBOX_SIGN
end
-Route114_EventScript_1F2640:: @ 81F2640
- trainerbattle_single TRAINER_LENNY, Route114_Text_29A6B1, Route114_Text_29A707
- msgbox Route114_Text_29A715, MSGBOX_AUTOCLOSE
+Route114_EventScript_Lenny:: @ 81F2640
+ trainerbattle_single TRAINER_LENNY, Route114_Text_LennyIntro, Route114_Text_LennyDefeat
+ msgbox Route114_Text_LennyPostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F2657:: @ 81F2657
- trainerbattle_single TRAINER_LUCAS_1, Route114_Text_29A777, Route114_Text_29A7B5
- msgbox Route114_Text_29A7D4, MSGBOX_AUTOCLOSE
+Route114_EventScript_Lucas:: @ 81F2657
+ trainerbattle_single TRAINER_LUCAS_1, Route114_Text_LucasIntro, Route114_Text_LucasDefeat
+ msgbox Route114_Text_LucasPostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F266E:: @ 81F266E
- trainerbattle_single TRAINER_SHANE, Route114_Text_29A818, Route114_Text_29A88F
- msgbox Route114_Text_29A89F, MSGBOX_AUTOCLOSE
+Route114_EventScript_Shane:: @ 81F266E
+ trainerbattle_single TRAINER_SHANE, Route114_Text_ShaneIntro, Route114_Text_ShaneDefeat
+ msgbox Route114_Text_ShanePostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F2685:: @ 81F2685
- trainerbattle_single TRAINER_NANCY, Route114_Text_29A8D9, Route114_Text_29A90E
- msgbox Route114_Text_29A916, MSGBOX_AUTOCLOSE
+Route114_EventScript_Nancy:: @ 81F2685
+ trainerbattle_single TRAINER_NANCY, Route114_Text_NancyIntro, Route114_Text_NancyDefeat
+ msgbox Route114_Text_NancyPostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F269C:: @ 81F269C
- trainerbattle_single TRAINER_STEVE_1, Route114_Text_29A943, Route114_Text_29A973, Route114_EventScript_1F26C8
+Route114_EventScript_Steve:: @ 81F269C
+ trainerbattle_single TRAINER_STEVE_1, Route114_Text_SteveIntro, Route114_Text_SteveDefeat, Route114_EventScript_RegisterSteve
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route114_EventScript_1F26E7
- msgbox Route114_Text_29A981, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route114_EventScript_RematchSteve
+ msgbox Route114_Text_StevePostBattle, MSGBOX_DEFAULT
release
end
-Route114_EventScript_1F26C8:: @ 81F26C8
+Route114_EventScript_RegisterSteve:: @ 81F26C8
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route114_Text_29A9F7, MSGBOX_DEFAULT
+ msgbox Route114_Text_SteveRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_STEVE_1
release
end
-Route114_EventScript_1F26E7:: @ 81F26E7
- trainerbattle_rematch TRAINER_STEVE_1, Route114_Text_29AA3E, Route114_Text_29AA67
- msgbox Route114_Text_29AA94, MSGBOX_AUTOCLOSE
+Route114_EventScript_RematchSteve:: @ 81F26E7
+ trainerbattle_rematch TRAINER_STEVE_1, Route114_Text_SteveRematchIntro, Route114_Text_SteveRematchDefeat
+ msgbox Route114_Text_StevePostRematch, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F26FE:: @ 81F26FE
- trainerbattle_single TRAINER_BERNIE_1, Route114_Text_29AADB, Route114_Text_29AB1A, Route114_EventScript_1F272A
+Route114_EventScript_Bernie:: @ 81F26FE
+ trainerbattle_single TRAINER_BERNIE_1, Route114_Text_BernieIntro, Route114_Text_BernieDefeat, Route114_EventScript_RegisterBernie
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route114_EventScript_1F2749
- msgbox Route114_Text_29AB36, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route114_EventScript_RematchBernie
+ msgbox Route114_Text_BerniePostBattle, MSGBOX_DEFAULT
release
end
-Route114_EventScript_1F272A:: @ 81F272A
+Route114_EventScript_RegisterBernie:: @ 81F272A
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route114_Text_29ABA6, MSGBOX_DEFAULT
+ msgbox Route114_Text_BernieRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_BERNIE_1
release
end
-Route114_EventScript_1F2749:: @ 81F2749
- trainerbattle_rematch TRAINER_BERNIE_1, Route114_Text_29ABDC, Route114_Text_29AC10
- msgbox Route114_Text_29AC43, MSGBOX_AUTOCLOSE
+Route114_EventScript_RematchBernie:: @ 81F2749
+ trainerbattle_rematch TRAINER_BERNIE_1, Route114_Text_BernieRematchIntro, Route114_Text_BernieRematchDefeat
+ msgbox Route114_Text_BerniePostRematch, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F2760:: @ 81F2760
- trainerbattle_single TRAINER_CLAUDE, Route114_Text_29ACB3, Route114_Text_29AD0A
- msgbox Route114_Text_29AD2E, MSGBOX_AUTOCLOSE
+Route114_EventScript_Claude:: @ 81F2760
+ trainerbattle_single TRAINER_CLAUDE, Route114_Text_ClaudeIntro, Route114_Text_ClaudeDefeat
+ msgbox Route114_Text_ClaudePostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F2777:: @ 81F2777
- trainerbattle_single TRAINER_NOLAN, Route114_Text_29ADA1, Route114_Text_29AE05
- msgbox Route114_Text_29AE3D, MSGBOX_AUTOCLOSE
+Route114_EventScript_Nolan:: @ 81F2777
+ trainerbattle_single TRAINER_NOLAN, Route114_Text_NolanIntro, Route114_Text_NolanDefeat
+ msgbox Route114_Text_NolanPostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F278E:: @ 81F278E
- trainerbattle_double TRAINER_TYRA_AND_IVY, Route114_Text_29AE96, Route114_Text_29AEE7, Route114_Text_29AF3D
- msgbox Route114_Text_29AF0B, MSGBOX_AUTOCLOSE
+Route114_EventScript_Tyra:: @ 81F278E
+ trainerbattle_double TRAINER_TYRA_AND_IVY, Route114_Text_TyraIntro, Route114_Text_TyraDefeat, Route114_Text_TyraNotEnoughMons
+ msgbox Route114_Text_TyraPostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F27A9:: @ 81F27A9
- trainerbattle_double TRAINER_TYRA_AND_IVY, Route114_Text_29AF89, Route114_Text_29AFAC, Route114_Text_29B01B
- msgbox Route114_Text_29AFCF, MSGBOX_AUTOCLOSE
+Route114_EventScript_Ivy:: @ 81F27A9
+ trainerbattle_double TRAINER_TYRA_AND_IVY, Route114_Text_IvyIntro, Route114_Text_IvyDefeat, Route114_Text_IvyNotEnoughMons
+ msgbox Route114_Text_IvyPostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F27C4:: @ 81F27C4
- trainerbattle_single TRAINER_ANGELINA, Route114_Text_29B16F, Route114_Text_29B19C
- msgbox Route114_Text_29B1BC, MSGBOX_AUTOCLOSE
+Route114_EventScript_Angelina:: @ 81F27C4
+ trainerbattle_single TRAINER_ANGELINA, Route114_Text_AngelinaIntro, Route114_Text_AngelinaDefeat
+ msgbox Route114_Text_AngelinaPostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F27DB:: @ 81F27DB
- trainerbattle_single TRAINER_CHARLOTTE, Route114_Text_29B0DB, Route114_Text_29B0FB
- msgbox Route114_Text_29B11A, MSGBOX_AUTOCLOSE
+Route114_EventScript_Charlotte:: @ 81F27DB
+ trainerbattle_single TRAINER_CHARLOTTE, Route114_Text_CharlotteIntro, Route114_Text_CharlotteDefeat
+ msgbox Route114_Text_CharlottePostBattle, MSGBOX_AUTOCLOSE
end
-Route114_EventScript_1F27F2:: @ 81F27F2
- trainerbattle_single TRAINER_KAI, Route114_Text_29B05D, Route114_Text_29B089
- msgbox Route114_Text_29B0B5, MSGBOX_AUTOCLOSE
+Route114_EventScript_Kai:: @ 81F27F2
+ trainerbattle_single TRAINER_KAI, Route114_Text_KaiIntro, Route114_Text_KaiDefeat
+ msgbox Route114_Text_KaiPostBattle, MSGBOX_AUTOCLOSE
end
-Route114_Text_1F2809: @ 81F2809
+Route114_Text_AllMyMonDoesIsRoarTakeThis: @ 81F2809
.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_1F2872: @ 81F2872
+Route114_Text_ExplainRoar: @ 81F2872
.string "TM05 contains ROAR.\n"
.string "A ROAR sends POKéMON scurrying.$"
-Route114_Text_1F28A6: @ 81F28A6
+Route114_Text_Poochyena: @ 81F28A6
.string "Bow! Bowwow!$"
-Route114_Text_1F28B3: @ 81F28B3
+Route114_Text_MeteorFallsSign: @ 81F28B3
.string "METEOR FALLS\n"
.string "RUSTBORO CITY THROUGH HERE$"
-Route114_Text_1F28DB: @ 81F28DB
+Route114_Text_FossilManiacsHouseSign: @ 81F28DB
.string "FOSSIL MANIAC'S HOUSE\n"
.string "“Fossils gratefully accepted!”$"
-Route114_Text_1F2910: @ 81F2910
+Route114_Text_LanettesHouse: @ 81F2910
.string "LANETTE'S HOUSE$"
diff --git a/data/maps/Route115/map.json b/data/maps/Route115/map.json
index 53ce80ce7..c9f1d8833 100644
--- a/data/maps/Route115/map.json
+++ b/data/maps/Route115/map.json
@@ -35,7 +35,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route115_EventScript_1F2973",
+ "script": "Route115_EventScript_Woman",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route115_EventScript_1F298E",
+ "script": "Route115_EventScript_Timothy",
"flag": "0"
},
{
@@ -61,7 +61,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route115_EventScript_1F2A07",
+ "script": "Route115_EventScript_Nob",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route115_EventScript_1F2A69",
+ "script": "Route115_EventScript_Cyndy",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route115_EventScript_1F29F0",
+ "script": "Route115_EventScript_Koichi",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route115_EventScript_1F2ACB",
+ "script": "Route115_EventScript_Hector",
"flag": "0"
},
{
@@ -243,7 +243,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route115_EventScript_1F2AE2",
+ "script": "Route115_EventScript_Kyra",
"flag": "0"
},
{
@@ -256,7 +256,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route115_EventScript_1F2AF9",
+ "script": "Route115_EventScript_Jaiden",
"flag": "0"
},
{
@@ -269,7 +269,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route115_EventScript_1F2B27",
+ "script": "Route115_EventScript_Helene",
"flag": "0"
},
{
@@ -282,7 +282,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route115_EventScript_1F2B10",
+ "script": "Route115_EventScript_Alix",
"flag": "0"
},
{
@@ -295,7 +295,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route115_EventScript_1F2B3E",
+ "script": "Route115_EventScript_Marlene",
"flag": "0"
},
{
@@ -370,7 +370,7 @@
"y": 64,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route115_EventScript_1F297C"
+ "script": "Route115_EventScript_RouteSignRustboro"
},
{
"type": "sign",
@@ -378,7 +378,7 @@
"y": 38,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route115_EventScript_1F2985"
+ "script": "Route115_EventScript_MeteorFallsSign"
},
{
"type": "secret_base",
diff --git a/data/maps/Route115/scripts.inc b/data/maps/Route115/scripts.inc
index 8877f31bd..74d0c6519 100644
--- a/data/maps/Route115/scripts.inc
+++ b/data/maps/Route115/scripts.inc
@@ -1,10 +1,10 @@
Route115_MapScripts:: @ 81F2920
- map_script MAP_SCRIPT_ON_LOAD, Route115_MapScript1_1F2930
+ map_script MAP_SCRIPT_ON_LOAD, Route115_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, Route115_OnTransition
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route115_MapScript2_1F2969
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route115_OnFrame
.byte 0
-Route115_MapScript1_1F2930: @ 81F2930
+Route115_OnLoad: @ 81F2930
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_WEST
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute115West
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_EAST
@@ -20,134 +20,134 @@ Route115_OnTransition: @ 81F2947
call_if_eq UnusualWeather_StartGroudonWeather
end
-Route115_MapScript2_1F2969: @ 81F2969
+Route115_OnFrame: @ 81F2969
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
-Route115_EventScript_1F2973:: @ 81F2973
- msgbox Route115_Text_1F2B55, MSGBOX_NPC
+Route115_EventScript_Woman:: @ 81F2973
+ msgbox Route115_Text_NeverKnowWhenCavePokemonWillAppear, MSGBOX_NPC
end
-Route115_EventScript_1F297C:: @ 81F297C
- msgbox Route115_Text_1F2BC9, MSGBOX_SIGN
+Route115_EventScript_RouteSignRustboro:: @ 81F297C
+ msgbox Route115_Text_RouteSignRustboro, MSGBOX_SIGN
end
-Route115_EventScript_1F2985:: @ 81F2985
- msgbox Route115_Text_1F2BE3, MSGBOX_SIGN
+Route115_EventScript_MeteorFallsSign:: @ 81F2985
+ msgbox Route115_Text_MeteorFallsSign, MSGBOX_SIGN
end
-Route115_EventScript_1F298E:: @ 81F298E
- trainerbattle_single TRAINER_TIMOTHY_1, Route115_Text_29B1FA, Route115_Text_29B230, Route115_EventScript_1F29BA
+Route115_EventScript_Timothy:: @ 81F298E
+ trainerbattle_single TRAINER_TIMOTHY_1, Route115_Text_TimothyIntro, Route115_Text_TimothyDefeat, Route115_EventScript_RegisterTimothy
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route115_EventScript_1F29D9
- msgbox Route115_Text_29B258, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route115_EventScript_RematchTimothy
+ msgbox Route115_Text_TimothyPostBattle, MSGBOX_DEFAULT
release
end
-Route115_EventScript_1F29BA:: @ 81F29BA
+Route115_EventScript_RegisterTimothy:: @ 81F29BA
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route115_Text_29B2B3, MSGBOX_DEFAULT
+ msgbox Route115_Text_TimothyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_TIMOTHY_1
release
end
-Route115_EventScript_1F29D9:: @ 81F29D9
- trainerbattle_rematch TRAINER_TIMOTHY_1, Route115_Text_29B32C, Route115_Text_29B372
- msgbox Route115_Text_29B385, MSGBOX_AUTOCLOSE
+Route115_EventScript_RematchTimothy:: @ 81F29D9
+ trainerbattle_rematch TRAINER_TIMOTHY_1, Route115_Text_TimothyRematchIntro, Route115_Text_TimothyRematchDefeat
+ msgbox Route115_Text_TimothyPostRematch, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F29F0:: @ 81F29F0
- trainerbattle_single TRAINER_KOICHI, Route115_Text_29B3CC, Route115_Text_29B3ED
- msgbox Route115_Text_29B3FF, MSGBOX_AUTOCLOSE
+Route115_EventScript_Koichi:: @ 81F29F0
+ trainerbattle_single TRAINER_KOICHI, Route115_Text_KoichiIntro, Route115_Text_KoichiDefeat
+ msgbox Route115_Text_KoichiPostBattle, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F2A07:: @ 81F2A07
- trainerbattle_single TRAINER_NOB_1, Route115_Text_29B449, Route115_Text_29B480, Route115_EventScript_1F2A33
+Route115_EventScript_Nob:: @ 81F2A07
+ trainerbattle_single TRAINER_NOB_1, Route115_Text_NobIntro, Route115_Text_NobDefeat, Route115_EventScript_RegisterNob
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route115_EventScript_1F2A52
- msgbox Route115_Text_29B49D, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route115_EventScript_RematchNob
+ msgbox Route115_Text_NobPostBattle, MSGBOX_DEFAULT
release
end
-Route115_EventScript_1F2A33:: @ 81F2A33
+Route115_EventScript_RegisterNob:: @ 81F2A33
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route115_Text_29B50B, MSGBOX_DEFAULT
+ msgbox Route115_Text_NobRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_NOB_1
release
end
-Route115_EventScript_1F2A52:: @ 81F2A52
- trainerbattle_rematch TRAINER_NOB_1, Route115_Text_29B547, Route115_Text_29B59D
- msgbox Route115_Text_29B5B5, MSGBOX_AUTOCLOSE
+Route115_EventScript_RematchNob:: @ 81F2A52
+ trainerbattle_rematch TRAINER_NOB_1, Route115_Text_NobRematchIntro, Route115_Text_NobRematchDefeat
+ msgbox Route115_Text_NobPostRematch, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F2A69:: @ 81F2A69
- trainerbattle_single TRAINER_CYNDY_1, Route115_Text_29B5EF, Route115_Text_29B62D, Route115_EventScript_1F2A95
+Route115_EventScript_Cyndy:: @ 81F2A69
+ trainerbattle_single TRAINER_CYNDY_1, Route115_Text_CyndyIntro, Route115_Text_CyndyDefeat, Route115_EventScript_RegisterCyndy
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route115_EventScript_1F2AB4
- msgbox Route115_Text_29B647, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route115_EventScript_RematchCyndy
+ msgbox Route115_Text_CyndyPostBattle, MSGBOX_DEFAULT
release
end
-Route115_EventScript_1F2A95:: @ 81F2A95
+Route115_EventScript_RegisterCyndy:: @ 81F2A95
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route115_Text_29B6AB, MSGBOX_DEFAULT
+ msgbox Route115_Text_CyndyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CYNDY_1
release
end
-Route115_EventScript_1F2AB4:: @ 81F2AB4
- trainerbattle_rematch TRAINER_CYNDY_1, Route115_Text_29B6FA, Route115_Text_29B71A
- msgbox Route115_Text_29B737, MSGBOX_AUTOCLOSE
+Route115_EventScript_RematchCyndy:: @ 81F2AB4
+ trainerbattle_rematch TRAINER_CYNDY_1, Route115_Text_CyndyRematchIntro, Route115_Text_CyndyRematchDefeat
+ msgbox Route115_Text_CyndyPostRematch, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F2ACB:: @ 81F2ACB
- trainerbattle_single TRAINER_HECTOR, Route115_Text_29B78F, Route115_Text_29B7C5
- msgbox Route115_Text_29B7EA, MSGBOX_AUTOCLOSE
+Route115_EventScript_Hector:: @ 81F2ACB
+ trainerbattle_single TRAINER_HECTOR, Route115_Text_HectorIntro, Route115_Text_HectorDefeat
+ msgbox Route115_Text_HectorPostBattle, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F2AE2:: @ 81F2AE2
- trainerbattle_single TRAINER_KYRA, Route115_Text_29B826, Route115_Text_29B85D
- msgbox Route115_Text_29B869, MSGBOX_AUTOCLOSE
+Route115_EventScript_Kyra:: @ 81F2AE2
+ trainerbattle_single TRAINER_KYRA, Route115_Text_KyraIntro, Route115_Text_KyraDefeat
+ msgbox Route115_Text_KyraPostBattle, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F2AF9:: @ 81F2AF9
- trainerbattle_single TRAINER_JAIDEN, Route115_Text_29B8C1, Route115_Text_29B8E8
- msgbox Route115_Text_29B904, MSGBOX_AUTOCLOSE
+Route115_EventScript_Jaiden:: @ 81F2AF9
+ trainerbattle_single TRAINER_JAIDEN, Route115_Text_JaidenIntro, Route115_Text_JaidenDefeat
+ msgbox Route115_Text_JaidenPostBattle, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F2B10:: @ 81F2B10
- trainerbattle_single TRAINER_ALIX, Route115_Text_29B9CB, Route115_Text_29B9F6
- msgbox Route115_Text_29BA04, MSGBOX_AUTOCLOSE
+Route115_EventScript_Alix:: @ 81F2B10
+ trainerbattle_single TRAINER_ALIX, Route115_Text_AlixIntro, Route115_Text_AlixDefeat
+ msgbox Route115_Text_AlixPostBattle, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F2B27:: @ 81F2B27
- trainerbattle_single TRAINER_HELENE, Route115_Text_29B92D, Route115_Text_29B958
- msgbox Route115_Text_29B971, MSGBOX_AUTOCLOSE
+Route115_EventScript_Helene:: @ 81F2B27
+ trainerbattle_single TRAINER_HELENE, Route115_Text_HeleneIntro, Route115_Text_HeleneDefeat
+ msgbox Route115_Text_HelenePostBattle, MSGBOX_AUTOCLOSE
end
-Route115_EventScript_1F2B3E:: @ 81F2B3E
- trainerbattle_single TRAINER_MARLENE, Route115_Text_29BA2C, Route115_Text_29BA67
- msgbox Route115_Text_29BA87, MSGBOX_AUTOCLOSE
+Route115_EventScript_Marlene:: @ 81F2B3E
+ trainerbattle_single TRAINER_MARLENE, Route115_Text_MarleneIntro, Route115_Text_MarleneDefeat
+ msgbox Route115_Text_MarlenePostBattle, MSGBOX_AUTOCLOSE
end
-Route115_Text_1F2B55: @ 81F2B55
+Route115_Text_NeverKnowWhenCavePokemonWillAppear: @ 81F2B55
.string "Exploring a cave isn't like walking\n"
.string "on a road.\p"
.string "You never know when wild POKéMON will\n"
.string "appear. It's full of suspense.$"
-Route115_Text_1F2BC9: @ 81F2BC9
+Route115_Text_RouteSignRustboro: @ 81F2BC9
.string "ROUTE 115\n"
.string "{DOWN_ARROW} RUSTBORO CITY$"
-Route115_Text_1F2BE3: @ 81F2BE3
+Route115_Text_MeteorFallsSign: @ 81F2BE3
.string "METEOR FALLS\n"
.string "FALLARBOR TOWN THROUGH HERE$"
diff --git a/data/maps/Route116/map.json b/data/maps/Route116/map.json
index 8a369e407..366fe1ed5 100644
--- a/data/maps/Route116/map.json
+++ b/data/maps/Route116/map.json
@@ -61,7 +61,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route116_EventScript_1F2E89",
+ "script": "Route116_EventScript_Joey",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route116_EventScript_1F2EA0",
+ "script": "Route116_EventScript_Jose",
"flag": "0"
},
{
@@ -165,7 +165,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route116_EventScript_1F2D84",
+ "script": "Route116_EventScript_Briney",
"flag": "FLAG_HIDE_ROUTE_116_MR_BRINEY"
},
{
@@ -191,7 +191,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route116_EventScript_1F2F65",
+ "script": "Route116_EventScript_Clark",
"flag": "0"
},
{
@@ -230,7 +230,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route116_EventScript_1F2F7C",
+ "script": "Route116_EventScript_Janice",
"flag": "0"
},
{
@@ -243,7 +243,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route116_EventScript_1F2F93",
+ "script": "Route116_EventScript_Karen",
"flag": "0"
},
{
@@ -256,7 +256,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route116_EventScript_1F2EB7",
+ "script": "Route116_EventScript_Jerry",
"flag": "0"
},
{
@@ -269,7 +269,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route116_EventScript_1F2CA2",
+ "script": "Route116_EventScript_DevonEmployee",
"flag": "FLAG_HIDE_ROUTE_116_DEVON_EMPLOYEE"
},
{
@@ -295,8 +295,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route116_EventScript_1F2C70",
- "flag": "FLAG_HIDE_ROUTE_116_TUNNELER"
+ "script": "Route116_EventScript_WandasBoyfriend",
+ "flag": "FLAG_HIDE_ROUTE_116_WANDAS_BOYFRIEND"
},
{
"graphics_id": "EVENT_OBJ_GFX_MANIAC",
@@ -308,7 +308,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route116_EventScript_1F2DB6",
+ "script": "Route116_EventScript_GlassesMan",
"flag": "FLAG_HIDE_ROUTE_116_DROPPED_GLASSES_MAN"
},
{
@@ -321,7 +321,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route116_EventScript_1F3041",
+ "script": "Route116_EventScript_Sarah",
"flag": "0"
},
{
@@ -334,7 +334,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route116_EventScript_1F3058",
+ "script": "Route116_EventScript_Dawson",
"flag": "0"
},
{
@@ -373,7 +373,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route116_EventScript_1F3086",
+ "script": "Route116_EventScript_Johnson",
"flag": "0"
},
{
@@ -386,7 +386,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route116_EventScript_1F306F",
+ "script": "Route116_EventScript_Devan",
"flag": "0"
}
],
@@ -435,7 +435,7 @@
"elevation": 3,
"var": "VAR_ROUTE116_STATE",
"var_value": "1",
- "script": "Route116_EventScript_1F2D95"
+ "script": "Route116_EventScript_BrineyTrigger"
}
],
"bg_events": [
@@ -445,7 +445,7 @@
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route116_EventScript_1F2D57"
+ "script": "Route116_EventScript_RouteSignRustboro"
},
{
"type": "sign",
@@ -453,7 +453,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route116_EventScript_1F2D60"
+ "script": "Route116_EventScript_RusturfTunnelSign"
},
{
"type": "sign",
@@ -461,7 +461,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route116_EventScript_1F2D69"
+ "script": "Route116_EventScript_TunnelersRestHouseSign"
},
{
"type": "secret_base",
@@ -483,7 +483,7 @@
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route116_EventScript_1F2D72"
+ "script": "Route116_EventScript_TrainerTipsBToStopEvolution"
},
{
"type": "sign",
@@ -491,7 +491,7 @@
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route116_EventScript_1F2D7B"
+ "script": "Route116_EventScript_TrainerTipsBagHasPockets"
},
{
"type": "secret_base",
diff --git a/data/maps/Route116/scripts.inc b/data/maps/Route116/scripts.inc
index f52c8a05f..1b69b312a 100644
--- a/data/maps/Route116/scripts.inc
+++ b/data/maps/Route116/scripts.inc
@@ -1,11 +1,11 @@
Route116_MapScripts:: @ 81F2C0C
map_script MAP_SCRIPT_ON_TRANSITION, Route116_OnTransition
- map_script MAP_SCRIPT_ON_LOAD, Route116_MapScript1_1F2C4F
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route116_MapScript2_1F2C66
+ map_script MAP_SCRIPT_ON_LOAD, Route116_OnLoad
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route116_OnFrame
.byte 0
Route116_OnTransition: @ 81F2C1C
- call_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_1F2C47
+ call_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_SetWandasBoyfriendPos
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
call_if_eq UnusualWeather_EventScript_HideMapNamePopup
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_116_NORTH
@@ -14,90 +14,90 @@ Route116_OnTransition: @ 81F2C1C
call_if_eq UnusualWeather_StartGroudonWeather
end
-Route116_EventScript_1F2C47:: @ 81F2C47
+Route116_EventScript_SetWandasBoyfriendPos:: @ 81F2C47
setobjectxyperm 21, 38, 10
return
-Route116_MapScript1_1F2C4F: @ 81F2C4F
+Route116_OnLoad: @ 81F2C4F
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_116_NORTH
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute116North
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_116_SOUTH
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute116South
end
-Route116_MapScript2_1F2C66: @ 81F2C66
+Route116_OnFrame: @ 81F2C66
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
-Route116_EventScript_1F2C70:: @ 81F2C70
+Route116_EventScript_WandasBoyfriend:: @ 81F2C70
lock
faceplayer
- goto_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_1F2C8E
- goto_if_set FLAG_DEVON_GOODS_STOLEN, Route116_EventScript_1F2C98
- msgbox Route116_Text_1F3140, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECOVERED_DEVON_GOODS, Route116_EventScript_BoyfriendGruntLeftTunnel
+ goto_if_set FLAG_DEVON_GOODS_STOLEN, Route116_EventScript_BoyfriendGruntInTunnel
+ msgbox Route116_Text_WantToDigTunnel, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F2C8E:: @ 81F2C8E
- msgbox Route116_Text_1F32C1, MSGBOX_DEFAULT
+Route116_EventScript_BoyfriendGruntLeftTunnel:: @ 81F2C8E
+ msgbox Route116_Text_GoonHightailedItOutOfTunnel, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F2C98:: @ 81F2C98
- msgbox Route116_Text_1F3166, MSGBOX_DEFAULT
+Route116_EventScript_BoyfriendGruntInTunnel:: @ 81F2C98
+ msgbox Route116_Text_DiggingTunnelWhenGoonOrderedMeOut, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F2CA2:: @ 81F2CA2
+Route116_EventScript_DevonEmployee:: @ 81F2CA2
lock
faceplayer
- goto_if_set FLAG_MET_DEVON_EMPLOYEE, Route116_EventScript_1F2D2B
- msgbox Route116_Text_1F3317, MSGBOX_DEFAULT
- goto Route116_EventScript_1F2CBB
+ goto_if_set FLAG_MET_DEVON_EMPLOYEE, Route116_EventScript_TryGiveRepeatBallAgain
+ msgbox Route116_Text_ThankYouTokenOfAppreciation, MSGBOX_DEFAULT
+ goto Route116_EventScript_GiveRepeatBall
end
-Route116_EventScript_1F2CBB:: @ 81F2CBB
+Route116_EventScript_GiveRepeatBall:: @ 81F2CBB
setflag FLAG_MET_DEVON_EMPLOYEE
giveitem_std ITEM_REPEAT_BALL
- compare VAR_RESULT, 0
- goto_if_eq Route116_EventScript_1F2D39
- msgbox Route116_Text_1F3521, MSGBOX_DEFAULT
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route116_EventScript_NoRoomForRepeatBall
+ msgbox Route116_Text_NewBallAvailableAtMart, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, DIR_NORTH
- call_if_eq Route116_EventScript_1F2D15
+ call_if_eq Route116_EventScript_DevonEmployeeExit
compare VAR_FACING, DIR_SOUTH
- call_if_eq Route116_EventScript_1F2D15
+ call_if_eq Route116_EventScript_DevonEmployeeExit
compare VAR_FACING, DIR_WEST
- call_if_eq Route116_EventScript_1F2D15
+ call_if_eq Route116_EventScript_DevonEmployeeExit
compare VAR_FACING, DIR_EAST
- call_if_eq Route116_EventScript_1F2D20
+ call_if_eq Route116_EventScript_DevonEmployeeExitEast
removeobject VAR_LAST_TALKED
clearflag FLAG_HIDE_RUSTBORO_CITY_DEVON_CORP_3F_EMPLOYEE
setflag FLAG_RECEIVED_REPEAT_BALL
release
end
-Route116_EventScript_1F2D15:: @ 81F2D15
- applymovement VAR_LAST_TALKED, Route116_Movement_1F2D43
+Route116_EventScript_DevonEmployeeExit:: @ 81F2D15
+ applymovement VAR_LAST_TALKED, Route116_Movement_DevonEmployeeExit
waitmovement 0
return
-Route116_EventScript_1F2D20:: @ 81F2D20
- applymovement VAR_LAST_TALKED, Route116_Movement_1F2D4C
+Route116_EventScript_DevonEmployeeExitEast:: @ 81F2D20
+ applymovement VAR_LAST_TALKED, Route116_Movement_DevonEmployeeExitEast
waitmovement 0
return
-Route116_EventScript_1F2D2B:: @ 81F2D2B
- msgbox Route116_Text_1F35CE, MSGBOX_DEFAULT
- goto Route116_EventScript_1F2CBB
+Route116_EventScript_TryGiveRepeatBallAgain:: @ 81F2D2B
+ msgbox Route116_Text_TokenOfAppreciation, MSGBOX_DEFAULT
+ goto Route116_EventScript_GiveRepeatBall
end
-Route116_EventScript_1F2D39:: @ 81F2D39
- msgbox Route116_Text_1F3593, MSGBOX_DEFAULT
+Route116_EventScript_NoRoomForRepeatBall:: @ 81F2D39
+ msgbox Route116_Text_BagIsJamPacked, MSGBOX_DEFAULT
release
end
-Route116_Movement_1F2D43: @ 81F2D43
+Route116_Movement_DevonEmployeeExit: @ 81F2D43
walk_left
walk_left
walk_left
@@ -108,7 +108,7 @@ Route116_Movement_1F2D43: @ 81F2D43
walk_left
step_end
-Route116_Movement_1F2D4C: @ 81F2D4C
+Route116_Movement_DevonEmployeeExitEast: @ 81F2D4C
walk_down
walk_left
walk_left
@@ -121,104 +121,104 @@ Route116_Movement_1F2D4C: @ 81F2D4C
walk_left
step_end
-Route116_EventScript_1F2D57:: @ 81F2D57
- msgbox Route116_Text_1F379D, MSGBOX_SIGN
+Route116_EventScript_RouteSignRustboro:: @ 81F2D57
+ msgbox Route116_Text_RouteSignRustboro, MSGBOX_SIGN
end
-Route116_EventScript_1F2D60:: @ 81F2D60
- msgbox Route116_Text_1F37B7, MSGBOX_SIGN
+Route116_EventScript_RusturfTunnelSign:: @ 81F2D60
+ msgbox Route116_Text_RusturfTunnelSign, MSGBOX_SIGN
end
-Route116_EventScript_1F2D69:: @ 81F2D69
- msgbox Route116_Text_1F380F, MSGBOX_SIGN
+Route116_EventScript_TunnelersRestHouseSign:: @ 81F2D69
+ msgbox Route116_Text_TunnelersRestHouse, MSGBOX_SIGN
end
-Route116_EventScript_1F2D72:: @ 81F2D72
- msgbox Route116_Text_1F3825, MSGBOX_SIGN
+Route116_EventScript_TrainerTipsBToStopEvolution:: @ 81F2D72
+ msgbox Route116_Text_TrainerTipsBToStopEvolution, MSGBOX_SIGN
end
-Route116_EventScript_1F2D7B:: @ 81F2D7B
- msgbox Route116_Text_1F38D4, MSGBOX_SIGN
+Route116_EventScript_TrainerTipsBagHasPockets:: @ 81F2D7B
+ msgbox Route116_Text_TrainerTipsBagHasPockets, MSGBOX_SIGN
end
-Route116_EventScript_1F2D84:: @ 81F2D84
+Route116_EventScript_Briney:: @ 81F2D84
lock
faceplayer
- msgbox Route116_Text_1F309D, MSGBOX_DEFAULT
+ msgbox Route116_Text_ScoundrelMadeOffWithPeeko, MSGBOX_DEFAULT
setvar VAR_ROUTE116_STATE, 2
release
end
-Route116_EventScript_1F2D95:: @ 81F2D95
+Route116_EventScript_BrineyTrigger:: @ 81F2D95
lockall
applymovement 11, Common_Movement_WalkInPlaceFastestRight
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
- msgbox Route116_Text_1F309D, MSGBOX_DEFAULT
+ msgbox Route116_Text_ScoundrelMadeOffWithPeeko, MSGBOX_DEFAULT
setvar VAR_ROUTE116_STATE, 2
releaseall
end
-Route116_EventScript_1F2DB6:: @ 81F2DB6
+Route116_EventScript_GlassesMan:: @ 81F2DB6
lock
faceplayer
checkitem ITEM_BLACK_GLASSES, 1
- compare VAR_RESULT, 1
- goto_if_eq Route116_EventScript_1F2DF1
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route116_EventScript_PlayerHasGlasses
specialvar VAR_RESULT, FoundBlackGlasses
- compare VAR_RESULT, 1
- goto_if_eq Route116_EventScript_1F2DE2
- msgbox Route116_Text_1F3657, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route116_EventScript_FoundGlassesNotOnPlayer
+ msgbox Route116_Text_CanYouHelpMeFindGlasses, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F2DE2:: @ 81F2DE2
- msgbox Route116_Text_1F3718, MSGBOX_DEFAULT
+Route116_EventScript_FoundGlassesNotOnPlayer:: @ 81F2DE2
+ msgbox Route116_Text_CantFindGlassesNotHere, MSGBOX_DEFAULT
closemessage
- goto Route116_EventScript_1F2E2A
+ goto Route116_EventScript_GlassesManExit
end
-Route116_EventScript_1F2DF1:: @ 81F2DF1
- msgbox Route116_Text_1F3657, MSGBOX_DEFAULT
- msgbox Route116_Text_1F3688, MSGBOX_DEFAULT
+Route116_EventScript_PlayerHasGlasses:: @ 81F2DF1
+ msgbox Route116_Text_CanYouHelpMeFindGlasses, MSGBOX_DEFAULT
+ msgbox Route116_Text_MayISeeThoseGlasses, MSGBOX_DEFAULT
specialvar VAR_RESULT, FoundBlackGlasses
- compare VAR_RESULT, 1
- goto_if_eq Route116_EventScript_1F2E1B
- msgbox Route116_Text_1F375E, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route116_EventScript_FoundGlassesOnPlayer
+ msgbox Route116_Text_NotWhatImLookingFor, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F2E1B:: @ 81F2E1B
- msgbox Route116_Text_1F36B4, MSGBOX_DEFAULT
+Route116_EventScript_FoundGlassesOnPlayer:: @ 81F2E1B
+ msgbox Route116_Text_NotWhatImLookingForMaybeTheyArentHere, MSGBOX_DEFAULT
closemessage
- goto Route116_EventScript_1F2E2A
+ goto Route116_EventScript_GlassesManExit
end
-Route116_EventScript_1F2E2A:: @ 81F2E2A
+Route116_EventScript_GlassesManExit:: @ 81F2E2A
delay 20
compare VAR_FACING, DIR_NORTH
- call_if_eq Route116_EventScript_1F2E5E
+ call_if_eq Route116_EventScript_GlassesManExitNormal
compare VAR_FACING, DIR_SOUTH
- call_if_eq Route116_EventScript_1F2E5E
+ call_if_eq Route116_EventScript_GlassesManExitNormal
compare VAR_FACING, DIR_WEST
- call_if_eq Route116_EventScript_1F2E5E
+ call_if_eq Route116_EventScript_GlassesManExitNormal
compare VAR_FACING, DIR_EAST
- call_if_eq Route116_EventScript_1F2E69
+ call_if_eq Route116_EventScript_GlassesManExitEast
removeobject VAR_LAST_TALKED
release
end
-Route116_EventScript_1F2E5E:: @ 81F2E5E
- applymovement VAR_LAST_TALKED, Route116_Movement_1F2E74
+Route116_EventScript_GlassesManExitNormal:: @ 81F2E5E
+ applymovement VAR_LAST_TALKED, Route116_Movement_GlassesManExit
waitmovement 0
return
-Route116_EventScript_1F2E69:: @ 81F2E69
- applymovement VAR_LAST_TALKED, Route116_Movement_1F2E7E
+Route116_EventScript_GlassesManExitEast:: @ 81F2E69
+ applymovement VAR_LAST_TALKED, Route116_Movement_GlassesManExitEast
waitmovement 0
return
-Route116_Movement_1F2E74: @ 81F2E74
+Route116_Movement_GlassesManExit: @ 81F2E74
walk_left
walk_left
walk_left
@@ -230,7 +230,7 @@ Route116_Movement_1F2E74: @ 81F2E74
walk_left
step_end
-Route116_Movement_1F2E7E: @ 81F2E7E
+Route116_Movement_GlassesManExitEast: @ 81F2E7E
walk_up
walk_left
walk_left
@@ -243,133 +243,133 @@ Route116_Movement_1F2E7E: @ 81F2E7E
walk_left
step_end
-Route116_EventScript_1F2E89:: @ 81F2E89
- trainerbattle_single TRAINER_JOEY, Route116_Text_29BB79, Route116_Text_29BB9A
- msgbox Route116_Text_29BBC6, MSGBOX_AUTOCLOSE
+Route116_EventScript_Joey:: @ 81F2E89
+ trainerbattle_single TRAINER_JOEY, Route116_Text_JoeyIntro, Route116_Text_JoeyDefeat
+ msgbox Route116_Text_JoeyPostBattle, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F2EA0:: @ 81F2EA0
- trainerbattle_single TRAINER_JOSE, Route116_Text_29BBFD, Route116_Text_29BC25
- msgbox Route116_Text_29BC42, MSGBOX_AUTOCLOSE
+Route116_EventScript_Jose:: @ 81F2EA0
+ trainerbattle_single TRAINER_JOSE, Route116_Text_JoseIntro, Route116_Text_JoseDefeat
+ msgbox Route116_Text_JosePostBattle, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F2EB7:: @ 81F2EB7
- trainerbattle_single TRAINER_JERRY_1, Route116_Text_29BD0C, Route116_Text_29BD66, Route116_EventScript_1F2EF8
+Route116_EventScript_Jerry:: @ 81F2EB7
+ trainerbattle_single TRAINER_JERRY_1, Route116_Text_JerryIntro, Route116_Text_JerryDefeat, Route116_EventScript_TryRegisterJerryAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route116_EventScript_1F2F4E
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route116_EventScript_RematchJerry
setvar VAR_0x8004, TRAINER_JERRY_1
specialvar VAR_RESULT, IsTrainerRegistered
- compare VAR_RESULT, 0
- goto_if_eq Route116_EventScript_1F2F22
- msgbox Route116_Text_29BD92, MSGBOX_DEFAULT
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route116_EventScript_TryRegisterJerry
+ msgbox Route116_Text_JerryPostBattle, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F2EF8:: @ 81F2EF8
- goto_if_set FLAG_HAS_MATCH_CALL, Route116_EventScript_1F2F03
+Route116_EventScript_TryRegisterJerryAfterBattle:: @ 81F2EF8
+ goto_if_set FLAG_HAS_MATCH_CALL, Route116_EventScript_RegisterJerryAfterBattle
release
end
-Route116_EventScript_1F2F03:: @ 81F2F03
+Route116_EventScript_RegisterJerryAfterBattle:: @ 81F2F03
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route116_Text_29BE71, MSGBOX_DEFAULT
+ msgbox Route116_Text_JerryRegister2, MSGBOX_DEFAULT
register_matchcall TRAINER_JERRY_1
release
end
-Route116_EventScript_1F2F22:: @ 81F2F22
- goto_if_set FLAG_HAS_MATCH_CALL, Route116_EventScript_1F2F35
- msgbox Route116_Text_29BD92, MSGBOX_DEFAULT
+Route116_EventScript_TryRegisterJerry:: @ 81F2F22
+ goto_if_set FLAG_HAS_MATCH_CALL, Route116_EventScript_RegisterJerry
+ msgbox Route116_Text_JerryPostBattle, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F2F35:: @ 81F2F35
- msgbox Route116_Text_29BDEF, MSGBOX_DEFAULT
+Route116_EventScript_RegisterJerry:: @ 81F2F35
+ msgbox Route116_Text_JerryRegister1, MSGBOX_DEFAULT
register_matchcall TRAINER_JERRY_1
release
end
-Route116_EventScript_1F2F4E:: @ 81F2F4E
- trainerbattle_rematch TRAINER_JERRY_1, Route116_Text_29BEF3, Route116_Text_29BF4C
- msgbox Route116_Text_29BF68, MSGBOX_AUTOCLOSE
+Route116_EventScript_RematchJerry:: @ 81F2F4E
+ trainerbattle_rematch TRAINER_JERRY_1, Route116_Text_JerryRematchIntro, Route116_Text_JerryRematchDefeat
+ msgbox Route116_Text_JerryPostRematch, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F2F65:: @ 81F2F65
- trainerbattle_single TRAINER_CLARK, Route116_Text_29BACD, Route116_Text_29BB0F
- msgbox Route116_Text_29BB31, MSGBOX_AUTOCLOSE
+Route116_EventScript_Clark:: @ 81F2F65
+ trainerbattle_single TRAINER_CLARK, Route116_Text_ClarkIntro, Route116_Text_ClarkDefeat
+ msgbox Route116_Text_ClarkPostBattle, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F2F7C:: @ 81F2F7C
- trainerbattle_single TRAINER_JANICE, Route116_Text_29BC7F, Route116_Text_29BCB3
- msgbox Route116_Text_29BCCC, MSGBOX_AUTOCLOSE
+Route116_EventScript_Janice:: @ 81F2F7C
+ trainerbattle_single TRAINER_JANICE, Route116_Text_JaniceIntro, Route116_Text_JaniceDefeat
+ msgbox Route116_Text_JanicePostBattle, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F2F93:: @ 81F2F93
- trainerbattle_single TRAINER_KAREN_1, Route116_Text_29BFC5, Route116_Text_29BFFA, Route116_EventScript_1F2FD4
+Route116_EventScript_Karen:: @ 81F2F93
+ trainerbattle_single TRAINER_KAREN_1, Route116_Text_KarenIntro, Route116_Text_KarenDefeat, Route116_EventScript_TryRegisterKarenAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route116_EventScript_1F302A
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route116_EventScript_RematchKaren
setvar VAR_0x8004, TRAINER_KAREN_1
specialvar VAR_RESULT, IsTrainerRegistered
- compare VAR_RESULT, 0
- goto_if_eq Route116_EventScript_1F2FFE
- msgbox Route116_Text_29C010, MSGBOX_DEFAULT
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route116_EventScript_TryRegisterKaren
+ msgbox Route116_Text_KarenPostBattle, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F2FD4:: @ 81F2FD4
- goto_if_set FLAG_HAS_MATCH_CALL, Route116_EventScript_1F2FDF
+Route116_EventScript_TryRegisterKarenAfterBattle:: @ 81F2FD4
+ goto_if_set FLAG_HAS_MATCH_CALL, Route116_EventScript_RegisterKarenAfterBattle
release
end
-Route116_EventScript_1F2FDF:: @ 81F2FDF
+Route116_EventScript_RegisterKarenAfterBattle:: @ 81F2FDF
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route116_Text_29C096, MSGBOX_DEFAULT
+ msgbox Route116_Text_KarenRegister2, MSGBOX_DEFAULT
register_matchcall TRAINER_KAREN_1
release
end
-Route116_EventScript_1F2FFE:: @ 81F2FFE
- goto_if_set FLAG_HAS_MATCH_CALL, Route116_EventScript_1F3011
- msgbox Route116_Text_29C010, MSGBOX_DEFAULT
+Route116_EventScript_TryRegisterKaren:: @ 81F2FFE
+ goto_if_set FLAG_HAS_MATCH_CALL, Route116_EventScript_RegisterKaren
+ msgbox Route116_Text_KarenPostBattle, MSGBOX_DEFAULT
release
end
-Route116_EventScript_1F3011:: @ 81F3011
- msgbox Route116_Text_29C052, MSGBOX_DEFAULT
+Route116_EventScript_RegisterKaren:: @ 81F3011
+ msgbox Route116_Text_KarenRegister1, MSGBOX_DEFAULT
register_matchcall TRAINER_KAREN_1
release
end
-Route116_EventScript_1F302A:: @ 81F302A
- trainerbattle_rematch TRAINER_KAREN_1, Route116_Text_29C0DA, Route116_Text_29C11F
- msgbox Route116_Text_29C13B, MSGBOX_AUTOCLOSE
+Route116_EventScript_RematchKaren:: @ 81F302A
+ trainerbattle_rematch TRAINER_KAREN_1, Route116_Text_KarenRematchIntro, Route116_Text_KarenRematchDefeat
+ msgbox Route116_Text_KarenPostRematch, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F3041:: @ 81F3041
- trainerbattle_single TRAINER_SARAH, Route116_Text_29C173, Route116_Text_29C1B8
- msgbox Route116_Text_29C1EA, MSGBOX_AUTOCLOSE
+Route116_EventScript_Sarah:: @ 81F3041
+ trainerbattle_single TRAINER_SARAH, Route116_Text_SarahIntro, Route116_Text_SarahDefeat
+ msgbox Route116_Text_SarahPostBattle, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F3058:: @ 81F3058
- trainerbattle_single TRAINER_DAWSON, Route116_Text_29C266, Route116_Text_29C2C2
- msgbox Route116_Text_29C2DD, MSGBOX_AUTOCLOSE
+Route116_EventScript_Dawson:: @ 81F3058
+ trainerbattle_single TRAINER_DAWSON, Route116_Text_DawsonIntro, Route116_Text_DawsonDefeat
+ msgbox Route116_Text_DawsonPostBattle, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F306F:: @ 81F306F
- trainerbattle_single TRAINER_DEVAN, Route116_Text_29C350, Route116_Text_29C365
- msgbox Route116_Text_29C380, MSGBOX_AUTOCLOSE
+Route116_EventScript_Devan:: @ 81F306F
+ trainerbattle_single TRAINER_DEVAN, Route116_Text_DevanIntro, Route116_Text_DevanDefeat
+ msgbox Route116_Text_DevanPostBattle, MSGBOX_AUTOCLOSE
end
-Route116_EventScript_1F3086:: @ 81F3086
- trainerbattle_single TRAINER_JOHNSON, Route116_Text_29C3C1, Route116_Text_29C3F7
- msgbox Route116_Text_29C418, MSGBOX_AUTOCLOSE
+Route116_EventScript_Johnson:: @ 81F3086
+ trainerbattle_single TRAINER_JOHNSON, Route116_Text_JohnsonIntro, Route116_Text_JohnsonDefeat
+ msgbox Route116_Text_JohnsonPostBattle, MSGBOX_AUTOCLOSE
end
-Route116_Text_1F309D: @ 81F309D
+Route116_Text_ScoundrelMadeOffWithPeeko: @ 81F309D
.string "Ohhh, what am I to do?\p"
.string "We were on our walk, PEEKO and I, when\n"
.string "we were jumped by an odd thug…\p"
@@ -377,11 +377,11 @@ Route116_Text_1F309D: @ 81F309D
.string "darling PEEKO!\p"
.string "Wrrrooooooaaaar! PEEKO!$"
-Route116_Text_1F3140: @ 81F3140
+Route116_Text_WantToDigTunnel: @ 81F3140
.string "Nnn… Roar!\p"
.string "I want to dig that tunnel!$"
-Route116_Text_1F3166: @ 81F3166
+Route116_Text_DiggingTunnelWhenGoonOrderedMeOut: @ 81F3166
.string "Nnn… Roar!\n"
.string "What's going on?\p"
.string "I was digging the tunnel without any\n"
@@ -395,12 +395,12 @@ Route116_Text_1F3166: @ 81F3166
.string "something stupid and startle the\l"
.string "POKéMON into an uproar.$"
-Route116_Text_1F32C1: @ 81F32C1
+Route116_Text_GoonHightailedItOutOfTunnel: @ 81F32C1
.string "Nnn… Roar!\p"
.string "That goofy goon hightailed it out of\n"
.string "the tunnel! I can go back to digging!$"
-Route116_Text_1F3317: @ 81F3317
+Route116_Text_ThankYouTokenOfAppreciation: @ 81F3317
.string "Oh! It's you!\p"
.string "You're that person who not only helped\n"
.string "me in PETALBURG WOODS, but also got\l"
@@ -419,61 +419,61 @@ Route116_Text_1F3317: @ 81F3317
.string "As a token of our appreciation, this\n"
.string "is our gift to our wonderful TRAINER!$"
-Route116_Text_1F3521: @ 81F3521
+Route116_Text_NewBallAvailableAtMart: @ 81F3521
.string "Our new POKé BALL will be available\n"
.string "at the POKéMON MART in RUSTBORO.\p"
.string "Please do try it out!\n"
.string "Thank you and bye-bye!$"
-Route116_Text_1F3593: @ 81F3593
+Route116_Text_BagIsJamPacked: @ 81F3593
.string "Your BAG is jam-packed.\n"
.string "I can't give you this REPEAT BALL.$"
-Route116_Text_1F35CE: @ 81F35CE
+Route116_Text_TokenOfAppreciation: @ 81F35CE
.string "As a token of our appreciation for\n"
.string "your delivering our package, I have\l"
.string "a gift of a new kind of POKé BALL\l"
.string "for our most wonderful TRAINER!$"
-Route116_Text_1F3657: @ 81F3657
+Route116_Text_CanYouHelpMeFindGlasses: @ 81F3657
.string "I dropped my glasses…\n"
.string "Can you help me find them?$"
-Route116_Text_1F3688: @ 81F3688
+Route116_Text_MayISeeThoseGlasses: @ 81F3688
.string "Those glasses!\n"
.string "May I see them for a second?$"
-Route116_Text_1F36B4: @ 81F36B4
+Route116_Text_NotWhatImLookingForMaybeTheyArentHere: @ 81F36B4
.string "Hmm…\n"
.string "These are BLACKGLASSES.\l"
.string "They're not what I'm looking for…\p"
.string "Maybe my glasses aren't around\n"
.string "here…$"
-Route116_Text_1F3718: @ 81F3718
+Route116_Text_CantFindGlassesNotHere: @ 81F3718
.string "Hmm…\n"
.string "I can't find my glasses anywhere…\l"
.string "Maybe they're not around here…$"
-Route116_Text_1F375E: @ 81F375E
+Route116_Text_NotWhatImLookingFor: @ 81F375E
.string "Hmm…\n"
.string "These are BLACKGLASSES.\l"
.string "They're not what I'm looking for…$"
-Route116_Text_1F379D: @ 81F379D
+Route116_Text_RouteSignRustboro: @ 81F379D
.string "ROUTE 116\n"
.string "{LEFT_ARROW} RUSTBORO CITY$"
-Route116_Text_1F37B7: @ 81F37B7
+Route116_Text_RusturfTunnelSign: @ 81F37B7
.string "RUSTURF TUNNEL\n"
.string "“Linking RUSTBORO and VERDANTURF\p"
.string "“The tunnel project has been\n"
.string "canceled.”$"
-Route116_Text_1F380F: @ 81F380F
+Route116_Text_TunnelersRestHouse: @ 81F380F
.string "TUNNELER'S REST HOUSE$"
-Route116_Text_1F3825: @ 81F3825
+Route116_Text_TrainerTipsBToStopEvolution: @ 81F3825
.string "TRAINER TIPS\p"
.string "If you want to stop a POKéMON from\n"
.string "evolving, press the B Button while it\l"
@@ -481,7 +481,7 @@ Route116_Text_1F3825: @ 81F3825
.string "The startled POKéMON will stop.\p"
.string "This is called an evolution cancel.$"
-Route116_Text_1F38D4: @ 81F38D4
+Route116_Text_TrainerTipsBagHasPockets: @ 81F38D4
.string "TRAINER TIPS\p"
.string "Your BAG has several POCKETS.\p"
.string "Items you obtain are automatically\n"
diff --git a/data/maps/Route117/map.json b/data/maps/Route117/map.json
index 12420784c..4bb513cdf 100644
--- a/data/maps/Route117/map.json
+++ b/data/maps/Route117/map.json
@@ -35,7 +35,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route117_EventScript_1F399A",
+ "script": "Route117_EventScript_Woman",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route117_EventScript_1F39A3",
+ "script": "Route117_EventScript_LittleBoy",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route117_EventScript_1F3A94",
+ "script": "Route117_EventScript_Dylan",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route117_EventScript_1F3A32",
+ "script": "Route117_EventScript_Lydia",
"flag": "0"
},
{
@@ -152,7 +152,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route117_EventScript_1F39D0",
+ "script": "Route117_EventScript_Isaac",
"flag": "0"
},
{
@@ -243,7 +243,7 @@
"movement_range_y": 2,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route117_EventScript_1F3AF6",
+ "script": "Route117_EventScript_Maria",
"flag": "0"
},
{
@@ -256,7 +256,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route117_EventScript_1F3B58",
+ "script": "Route117_EventScript_Derek",
"flag": "0"
},
{
@@ -269,7 +269,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route117_EventScript_1F3BD3",
+ "script": "Route117_EventScript_Meg",
"flag": "0"
},
{
@@ -282,7 +282,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route117_EventScript_1F3B6F",
+ "script": "Route117_EventScript_Anna",
"flag": "0"
},
{
@@ -295,7 +295,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route117_EventScript_1F39AC",
+ "script": "Route117_EventScript_Girl",
"flag": "0"
},
{
@@ -308,7 +308,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route117_EventScript_1F3C4E",
+ "script": "Route117_EventScript_Brandi",
"flag": "0"
},
{
@@ -321,7 +321,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route117_EventScript_1F3C65",
+ "script": "Route117_EventScript_Aisha",
"flag": "0"
},
{
@@ -334,7 +334,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route117_EventScript_1F3C37",
+ "script": "Route117_EventScript_Melina",
"flag": "0"
}
],
@@ -355,7 +355,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route117_EventScript_1F39B5"
+ "script": "Route117_EventScript_RouteSignVerdanturf"
},
{
"type": "sign",
@@ -363,7 +363,7 @@
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route117_EventScript_1F39BE"
+ "script": "Route117_EventScript_RouteSignMauville"
},
{
"type": "sign",
@@ -371,7 +371,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route117_EventScript_1F39C7"
+ "script": "Route117_EventScript_DayCareSign"
},
{
"type": "hidden_item",
diff --git a/data/maps/Route117/scripts.inc b/data/maps/Route117/scripts.inc
index 40d121fc7..47d8eced9 100644
--- a/data/maps/Route117/scripts.inc
+++ b/data/maps/Route117/scripts.inc
@@ -3,211 +3,210 @@ Route117_MapScripts:: @ 81F397D
.byte 0
Route117_OnTransition: @ 81F3983
- call Route117_EventScript_1F3989
+ call Route117_EventScript_TryMoveDayCareMan
end
-Route117_EventScript_1F3989:: @ 81F3989
- goto_if_unset FLAG_PENDING_DAYCARE_EGG, Route117_EventScript_1F3999
+Route117_EventScript_TryMoveDayCareMan:: @ 81F3989
+ goto_if_unset FLAG_PENDING_DAYCARE_EGG, Route117_EventScript_StopMoveDayCareMan
setobjectxyperm 3, 47, 6
-
-Route117_EventScript_1F3999:: @ 81F3999
+Route117_EventScript_StopMoveDayCareMan:: @ 81F3999
return
-Route117_EventScript_1F399A:: @ 81F399A
- msgbox Route117_Text_1F3CFD, MSGBOX_NPC
+Route117_EventScript_Woman:: @ 81F399A
+ msgbox Route117_Text_ArentTheseFlowersPretty, MSGBOX_NPC
end
-Route117_EventScript_1F39A3:: @ 81F39A3
- msgbox Route117_Text_1F3D41, MSGBOX_NPC
+Route117_EventScript_LittleBoy:: @ 81F39A3
+ msgbox Route117_Text_AirIsTastyHere, MSGBOX_NPC
end
-Route117_EventScript_1F39AC:: @ 81F39AC
- msgbox Route117_Text_1F3C7C, MSGBOX_NPC
+Route117_EventScript_Girl:: @ 81F39AC
+ msgbox Route117_Text_DayCarePokemonHadNewMove, MSGBOX_NPC
end
-Route117_EventScript_1F39B5:: @ 81F39B5
- msgbox Route117_Text_1F3D58, MSGBOX_SIGN
+Route117_EventScript_RouteSignVerdanturf:: @ 81F39B5
+ msgbox Route117_Text_RouteSignVerdanturf, MSGBOX_SIGN
end
-Route117_EventScript_1F39BE:: @ 81F39BE
- msgbox Route117_Text_1F3D74, MSGBOX_SIGN
+Route117_EventScript_RouteSignMauville:: @ 81F39BE
+ msgbox Route117_Text_RouteSignMauville, MSGBOX_SIGN
end
-Route117_EventScript_1F39C7:: @ 81F39C7
- msgbox Route117_Text_1F3D8E, MSGBOX_SIGN
+Route117_EventScript_DayCareSign:: @ 81F39C7
+ msgbox Route117_Text_DayCareSign, MSGBOX_SIGN
end
-Route117_EventScript_1F39D0:: @ 81F39D0
- trainerbattle_single TRAINER_ISAAC_1, Route117_Text_29C43F, Route117_Text_29C47A, Route117_EventScript_1F39FC
+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, 1
- goto_if_eq Route117_EventScript_1F3A1B
- msgbox Route117_Text_29C498, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route117_EventScript_RematchIsaac
+ msgbox Route117_Text_IsaacPostBattle, MSGBOX_DEFAULT
release
end
-Route117_EventScript_1F39FC:: @ 81F39FC
+Route117_EventScript_RegisterIsaac:: @ 81F39FC
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route117_Text_29C508, MSGBOX_DEFAULT
+ msgbox Route117_Text_IsaacRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ISAAC_1
release
end
-Route117_EventScript_1F3A1B:: @ 81F3A1B
- trainerbattle_rematch TRAINER_ISAAC_1, Route117_Text_29C549, Route117_Text_29C58B
- msgbox Route117_Text_29C5D0, MSGBOX_AUTOCLOSE
+Route117_EventScript_RematchIsaac:: @ 81F3A1B
+ trainerbattle_rematch TRAINER_ISAAC_1, Route117_Text_IsaacRematchIntro, Route117_Text_IsaacRematchDefeat
+ msgbox Route117_Text_IsaacPostRematch, MSGBOX_AUTOCLOSE
end
-Route117_EventScript_1F3A32:: @ 81F3A32
- trainerbattle_single TRAINER_LYDIA_1, Route117_Text_29C612, Route117_Text_29C659, Route117_EventScript_1F3A5E
+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, 1
- goto_if_eq Route117_EventScript_1F3A7D
- msgbox Route117_Text_29C679, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route117_EventScript_RematchLydia
+ msgbox Route117_Text_LydiaPostBattle, MSGBOX_DEFAULT
release
end
-Route117_EventScript_1F3A5E:: @ 81F3A5E
+Route117_EventScript_RegisterLydia:: @ 81F3A5E
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route117_Text_29C6BC, MSGBOX_DEFAULT
+ msgbox Route117_Text_LydiaRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_LYDIA_1
release
end
-Route117_EventScript_1F3A7D:: @ 81F3A7D
- trainerbattle_rematch TRAINER_LYDIA_1, Route117_Text_29C6FD, Route117_Text_29C73E
- msgbox Route117_Text_29C75A, MSGBOX_AUTOCLOSE
+Route117_EventScript_RematchLydia:: @ 81F3A7D
+ trainerbattle_rematch TRAINER_LYDIA_1, Route117_Text_LydiaRematchIntro, Route117_Text_LydiaRematchDefeat
+ msgbox Route117_Text_LydiaPostRematch, MSGBOX_AUTOCLOSE
end
-Route117_EventScript_1F3A94:: @ 81F3A94
- trainerbattle_single TRAINER_DYLAN_1, Route117_Text_29C7A5, Route117_Text_29C7EB, Route117_EventScript_1F3AC0
+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, 1
- goto_if_eq Route117_EventScript_1F3ADF
- msgbox Route117_Text_29C800, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route117_EventScript_RematchDylan
+ msgbox Route117_Text_DylanPostBattle, MSGBOX_DEFAULT
release
end
-Route117_EventScript_1F3AC0:: @ 81F3AC0
+Route117_EventScript_RegisterDylan:: @ 81F3AC0
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route117_Text_29C846, MSGBOX_DEFAULT
+ msgbox Route117_Text_DylanRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_DYLAN_1
release
end
-Route117_EventScript_1F3ADF:: @ 81F3ADF
- trainerbattle_rematch TRAINER_DYLAN_1, Route117_Text_29C880, Route117_Text_29C8E3
- msgbox Route117_Text_29C8FE, MSGBOX_AUTOCLOSE
+Route117_EventScript_RematchDylan:: @ 81F3ADF
+ trainerbattle_rematch TRAINER_DYLAN_1, Route117_Text_DylanRematchIntro, Route117_Text_DylanRematchDefeat
+ msgbox Route117_Text_DylanPostRematch, MSGBOX_AUTOCLOSE
end
-Route117_EventScript_1F3AF6:: @ 81F3AF6
- trainerbattle_single TRAINER_MARIA_1, Route117_Text_29C955, Route117_Text_29C9A6, Route117_EventScript_1F3B22
+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, 1
- goto_if_eq Route117_EventScript_1F3B41
- msgbox Route117_Text_29C9D0, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route117_EventScript_RematchMaria
+ msgbox Route117_Text_MariaPostBattle, MSGBOX_DEFAULT
release
end
-Route117_EventScript_1F3B22:: @ 81F3B22
+Route117_EventScript_RegisterMaria:: @ 81F3B22
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route117_Text_29CA32, MSGBOX_DEFAULT
+ msgbox Route117_Text_MariaRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_MARIA_1
release
end
-Route117_EventScript_1F3B41:: @ 81F3B41
- trainerbattle_rematch TRAINER_MARIA_1, Route117_Text_29CA7C, Route117_Text_29CACC
- msgbox Route117_Text_29CAF6, MSGBOX_AUTOCLOSE
+Route117_EventScript_RematchMaria:: @ 81F3B41
+ trainerbattle_rematch TRAINER_MARIA_1, Route117_Text_MariaRematchIntro, Route117_Text_MariaRematchDefeat
+ msgbox Route117_Text_MariaPostRematch, MSGBOX_AUTOCLOSE
end
-Route117_EventScript_1F3B58:: @ 81F3B58
- trainerbattle_single TRAINER_DEREK, Route117_Text_29CB32, Route117_Text_29CB87
- msgbox Route117_Text_29CBAD, MSGBOX_AUTOCLOSE
+Route117_EventScript_Derek:: @ 81F3B58
+ trainerbattle_single TRAINER_DEREK, Route117_Text_DerekIntro, Route117_Text_DerekDefeat
+ msgbox Route117_Text_DerekPostBattle, MSGBOX_AUTOCLOSE
end
-Route117_EventScript_1F3B6F:: @ 81F3B6F
- trainerbattle_double TRAINER_ANNA_AND_MEG_1, Route117_Text_29CC4A, Route117_Text_29CC8E, Route117_Text_29CD61, Route117_EventScript_1F3B9F
+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, 1
- goto_if_eq Route117_EventScript_1F3BB8
- msgbox Route117_Text_29CCCB, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route117_EventScript_RematchAnna
+ msgbox Route117_Text_AnnaPostBattle, MSGBOX_DEFAULT
release
end
-Route117_EventScript_1F3B9F:: @ 81F3B9F
- msgbox Route117_Text_29CD1D, MSGBOX_DEFAULT
+Route117_EventScript_RegisterAnna:: @ 81F3B9F
+ msgbox Route117_Text_AnnaAndMegRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ANNA_AND_MEG_1
release
end
-Route117_EventScript_1F3BB8:: @ 81F3BB8
- trainerbattle_rematch_double TRAINER_ANNA_AND_MEG_1, Route117_Text_29CEB6, Route117_Text_29CEF6, Route117_Text_29CF6E
- msgbox Route117_Text_29CF1C, MSGBOX_AUTOCLOSE
+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_1F3BD3:: @ 81F3BD3
- trainerbattle_double TRAINER_ANNA_AND_MEG_1, Route117_Text_29CD9D, Route117_Text_29CDE9, Route117_Text_29CE52, Route117_EventScript_1F3C03
+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, 1
- goto_if_eq Route117_EventScript_1F3C1C
- msgbox Route117_Text_29CE17, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route117_EventScript_RematchMeg
+ msgbox Route117_Text_MegPostBattle, MSGBOX_DEFAULT
release
end
-Route117_EventScript_1F3C03:: @ 81F3C03
- msgbox Route117_Text_29CD1D, MSGBOX_DEFAULT
+Route117_EventScript_RegisterMeg:: @ 81F3C03
+ msgbox Route117_Text_AnnaAndMegRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ANNA_AND_MEG_1
release
end
-Route117_EventScript_1F3C1C:: @ 81F3C1C
- trainerbattle_rematch_double TRAINER_ANNA_AND_MEG_1, Route117_Text_29CFAA, Route117_Text_29CFED, Route117_Text_29D053
- msgbox Route117_Text_29CFFE, MSGBOX_AUTOCLOSE
+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_1F3C37:: @ 81F3C37
- trainerbattle_single TRAINER_MELINA, Route117_Text_29D0B7, Route117_Text_29D0F1
- msgbox Route117_Text_29D10E, MSGBOX_AUTOCLOSE
+Route117_EventScript_Melina:: @ 81F3C37
+ trainerbattle_single TRAINER_MELINA, Route117_Text_MelinaIntro, Route117_Text_MelinaDefeat
+ msgbox Route117_Text_MelinaPostBattle, MSGBOX_AUTOCLOSE
end
-Route117_EventScript_1F3C4E:: @ 81F3C4E
- trainerbattle_single TRAINER_BRANDI, Route117_Text_29D14B, Route117_Text_29D189
- msgbox Route117_Text_29D196, MSGBOX_AUTOCLOSE
+Route117_EventScript_Brandi:: @ 81F3C4E
+ trainerbattle_single TRAINER_BRANDI, Route117_Text_BrandiIntro, Route117_Text_BrandiDefeat
+ msgbox Route117_Text_BrandiPostBattle, MSGBOX_AUTOCLOSE
end
-Route117_EventScript_1F3C65:: @ 81F3C65
- trainerbattle_single TRAINER_AISHA, Route117_Text_29D1D1, Route117_Text_29D206
- msgbox Route117_Text_29D24C, MSGBOX_AUTOCLOSE
+Route117_EventScript_Aisha:: @ 81F3C65
+ trainerbattle_single TRAINER_AISHA, Route117_Text_AishaIntro, Route117_Text_AishaDefeat
+ msgbox Route117_Text_AishaPostBattle, MSGBOX_AUTOCLOSE
end
-Route117_Text_1F3C7C: @ 81F3C7C
+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_1F3CFD: @ 81F3CFD
+Route117_Text_ArentTheseFlowersPretty: @ 81F3CFD
.string "What do you think?\n"
.string "Aren't these flowers pretty?\p"
.string "I planted them all!$"
-Route117_Text_1F3D41: @ 81F3D41
+Route117_Text_AirIsTastyHere: @ 81F3D41
.string "The air is tasty here!$"
-Route117_Text_1F3D58: @ 81F3D58
+Route117_Text_RouteSignVerdanturf: @ 81F3D58
.string "ROUTE 117\n"
.string "{LEFT_ARROW} VERDANTURF TOWN$"
-Route117_Text_1F3D74: @ 81F3D74
+Route117_Text_RouteSignMauville: @ 81F3D74
.string "ROUTE 117\n"
.string "{RIGHT_ARROW} MAUVILLE CITY$"
-Route117_Text_1F3D8E: @ 81F3D8E
+Route117_Text_DayCareSign: @ 81F3D8E
.string "POKéMON DAY CARE\n"
.string "“Let us raise your POKéMON.”$"
diff --git a/data/maps/Route118/map.json b/data/maps/Route118/map.json
index 40a988bad..d64adbb86 100644
--- a/data/maps/Route118/map.json
+++ b/data/maps/Route118/map.json
@@ -79,7 +79,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route118_EventScript_1F4079",
+ "script": "Route118_EventScript_Perry",
"flag": "0"
},
{
@@ -118,7 +118,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route118_EventScript_1F3E73",
+ "script": "Route118_EventScript_Girl",
"flag": "0"
},
{
@@ -131,7 +131,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route118_EventScript_GabbyBattle5",
+ "script": "GabbyAndTy_EventScript_GabbyBattle5",
"flag": "FLAG_HIDE_ROUTE_118_GABBY_AND_TY_2"
},
{
@@ -144,7 +144,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route118_EventScript_TyBattle5",
+ "script": "GabbyAndTy_EventScript_TyBattle5",
"flag": "FLAG_HIDE_ROUTE_118_GABBY_AND_TY_2"
},
{
@@ -196,7 +196,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route118_EventScript_1F3E14",
+ "script": "Route118_EventScript_GoodRodFisherman",
"flag": "0"
},
{
@@ -209,7 +209,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route118_EventScript_1F3F87",
+ "script": "Route118_EventScript_Rose",
"flag": "0"
},
{
@@ -222,7 +222,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route118_EventScript_1F4000",
+ "script": "Route118_EventScript_Wade",
"flag": "0"
},
{
@@ -235,7 +235,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route118_EventScript_1F4090",
+ "script": "Route118_EventScript_Chester",
"flag": "0"
},
{
@@ -248,7 +248,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route118_EventScript_1F3FE9",
+ "script": "Route118_EventScript_Barny",
"flag": "0"
},
{
@@ -261,7 +261,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route118_EventScript_1F4017",
+ "script": "Route118_EventScript_Dalton",
"flag": "0"
},
{
@@ -300,7 +300,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route118_EventScript_1F40A7",
+ "script": "Route118_EventScript_Deandre",
"flag": "0"
}
],
@@ -328,7 +328,7 @@
"elevation": 3,
"var": "VAR_ROUTE118_STATE",
"var_value": "0",
- "script": "Route118_EventScript_1F3E8E"
+ "script": "Route118_EventScript_StevenTrigger0"
},
{
"type": "trigger",
@@ -337,7 +337,7 @@
"elevation": 3,
"var": "VAR_ROUTE118_STATE",
"var_value": "0",
- "script": "Route118_EventScript_1F3EAE"
+ "script": "Route118_EventScript_StevenTrigger1"
},
{
"type": "trigger",
@@ -346,7 +346,7 @@
"elevation": 3,
"var": "VAR_ROUTE118_STATE",
"var_value": "0",
- "script": "Route118_EventScript_1F3EC4"
+ "script": "Route118_EventScript_StevenTrigger2"
}
],
"bg_events": [
@@ -363,7 +363,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route118_EventScript_1F3E7C"
+ "script": "Route118_EventScript_RouteSignMauville"
},
{
"type": "sign",
@@ -371,7 +371,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route118_EventScript_1F3E85"
+ "script": "Route118_EventScript_RouteSign119"
},
{
"type": "secret_base",
diff --git a/data/maps/Route118/scripts.inc b/data/maps/Route118/scripts.inc
index fe9c4137d..7b2326b13 100644
--- a/data/maps/Route118/scripts.inc
+++ b/data/maps/Route118/scripts.inc
@@ -1,7 +1,7 @@
Route118_MapScripts:: @ 81F3DBC
map_script MAP_SCRIPT_ON_TRANSITION, Route118_OnTransition
- map_script MAP_SCRIPT_ON_LOAD, Route118_MapScript1_1F3DF3
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route118_MapScript2_1F3E0A
+ map_script MAP_SCRIPT_ON_LOAD, Route118_OnLoad
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route118_OnFrame
.byte 0
Route118_OnTransition: @ 81F3DCC
@@ -14,142 +14,142 @@ Route118_OnTransition: @ 81F3DCC
call_if_eq UnusualWeather_StartGroudonWeather
end
-Route118_MapScript1_1F3DF3: @ 81F3DF3
+Route118_OnLoad: @ 81F3DF3
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_118_EAST
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute118East
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_118_WEST
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute118West
end
-Route118_MapScript2_1F3E0A: @ 81F3E0A
+Route118_OnFrame: @ 81F3E0A
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
-Route118_EventScript_1F3E14:: @ 81F3E14
+Route118_EventScript_GoodRodFisherman:: @ 81F3E14
lock
faceplayer
- goto_if_set FLAG_RECEIVED_GOOD_ROD, Route118_EventScript_1F3E69
- msgbox Route118_Text_1F427B, MSGBOX_YESNO
+ goto_if_set FLAG_RECEIVED_GOOD_ROD, Route118_EventScript_ReceivedGoodRod
+ msgbox Route118_Text_YouAgreeGoodRodIsGood, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq Route118_EventScript_1F3E3E
+ goto_if_eq Route118_EventScript_ReceiveGoodRod
compare VAR_RESULT, NO
- goto_if_eq Route118_EventScript_1F3E5F
+ goto_if_eq Route118_EventScript_DeclineGoodRod
end
-Route118_EventScript_1F3E3E:: @ 81F3E3E
- msgbox Route118_Text_1F42AF, MSGBOX_DEFAULT
+Route118_EventScript_ReceiveGoodRod:: @ 81F3E3E
+ msgbox Route118_Text_IdenticalMindsTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_GOOD_ROD
setflag FLAG_RECEIVED_GOOD_ROD
- msgbox Route118_Text_1F42E7, MSGBOX_DEFAULT
+ msgbox Route118_Text_TryYourLuckFishing, MSGBOX_DEFAULT
release
end
-Route118_EventScript_1F3E5F:: @ 81F3E5F
- msgbox Route118_Text_1F4319, MSGBOX_DEFAULT
+Route118_EventScript_DeclineGoodRod:: @ 81F3E5F
+ msgbox Route118_Text_DontYouLikeToFish, MSGBOX_DEFAULT
release
end
-Route118_EventScript_1F3E69:: @ 81F3E69
- msgbox Route118_Text_1F4331, MSGBOX_DEFAULT
+Route118_EventScript_ReceivedGoodRod:: @ 81F3E69
+ msgbox Route118_Text_TryCatchingMonWithGoodRod, MSGBOX_DEFAULT
release
end
-Route118_EventScript_1F3E73:: @ 81F3E73
- msgbox Route118_Text_1F4367, MSGBOX_NPC
+Route118_EventScript_Girl:: @ 81F3E73
+ msgbox Route118_Text_CanCrossRiversWithSurf, MSGBOX_NPC
end
-Route118_EventScript_1F3E7C:: @ 81F3E7C
- msgbox Route118_Text_1F43F4, MSGBOX_SIGN
+Route118_EventScript_RouteSignMauville:: @ 81F3E7C
+ msgbox Route118_Text_RouteSignMauville, MSGBOX_SIGN
end
-Route118_EventScript_1F3E85:: @ 81F3E85
- msgbox Route118_Text_1F440E, MSGBOX_SIGN
+Route118_EventScript_RouteSign119:: @ 81F3E85
+ msgbox Route118_Text_RouteSign119, MSGBOX_SIGN
end
-Route118_EventScript_1F3E8E:: @ 81F3E8E
+Route118_EventScript_StevenTrigger0:: @ 81F3E8E
lockall
setvar VAR_0x8008, 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_FaceUp
waitmovement 0
- applymovement 19, Route118_Movement_1F3F61
+ applymovement 19, Route118_Movement_StevenApproachLedge0
waitmovement 0
- goto Route118_EventScript_1F3EE4
+ goto Route118_EventScript_StevenTrigger
end
-Route118_EventScript_1F3EAE:: @ 81F3EAE
+Route118_EventScript_StevenTrigger1:: @ 81F3EAE
lockall
setvar VAR_0x8008, 1
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_FaceUp
waitmovement 0
- goto Route118_EventScript_1F3EE4
+ goto Route118_EventScript_StevenTrigger
end
-Route118_EventScript_1F3EC4:: @ 81F3EC4
+Route118_EventScript_StevenTrigger2:: @ 81F3EC4
lockall
setvar VAR_0x8008, 2
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_FaceUp
waitmovement 0
- applymovement 19, Route118_Movement_1F3F63
+ applymovement 19, Route118_Movement_StevenApproachLedge2
waitmovement 0
- goto Route118_EventScript_1F3EE4
+ goto Route118_EventScript_StevenTrigger
end
-Route118_EventScript_1F3EE4:: @ 81F3EE4
+Route118_EventScript_StevenTrigger:: @ 81F3EE4
playse SE_DANSA
- applymovement 19, Route118_Movement_1F3F65
+ applymovement 19, Route118_Movement_StevenJumpLedge
waitmovement 0
delay 30
- msgbox Route118_Text_1F40BE, MSGBOX_DEFAULT
+ msgbox Route118_Text_StevenQuestions, MSGBOX_DEFAULT
closemessage
compare VAR_0x8008, 0
- call_if_eq Route118_EventScript_1F3F28
+ call_if_eq Route118_EventScript_StevenExit0
compare VAR_0x8008, 1
- call_if_eq Route118_EventScript_1F3F3A
+ call_if_eq Route118_EventScript_StevenExit1
compare VAR_0x8008, 2
- call_if_eq Route118_EventScript_1F3F4C
+ call_if_eq Route118_EventScript_StevenExit2
setvar VAR_ROUTE118_STATE, 1
removeobject 19
releaseall
end
-Route118_EventScript_1F3F28:: @ 81F3F28
- applymovement EVENT_OBJ_ID_PLAYER, Route118_Movement_1F3F5E
- applymovement 19, Route118_Movement_1F3F69
+Route118_EventScript_StevenExit0:: @ 81F3F28
+ applymovement EVENT_OBJ_ID_PLAYER, Route118_Movement_PlayerWatchStevenExit
+ applymovement 19, Route118_Movement_StevenExit0
waitmovement 0
return
-Route118_EventScript_1F3F3A:: @ 81F3F3A
- applymovement EVENT_OBJ_ID_PLAYER, Route118_Movement_1F3F5E
- applymovement 19, Route118_Movement_1F3F74
+Route118_EventScript_StevenExit1:: @ 81F3F3A
+ applymovement EVENT_OBJ_ID_PLAYER, Route118_Movement_PlayerWatchStevenExit
+ applymovement 19, Route118_Movement_StevenExit1
waitmovement 0
return
-Route118_EventScript_1F3F4C:: @ 81F3F4C
- applymovement EVENT_OBJ_ID_PLAYER, Route118_Movement_1F3F5E
- applymovement 19, Route118_Movement_1F3F7E
+Route118_EventScript_StevenExit2:: @ 81F3F4C
+ applymovement EVENT_OBJ_ID_PLAYER, Route118_Movement_PlayerWatchStevenExit
+ applymovement 19, Route118_Movement_StevenExit2
waitmovement 0
return
-Route118_Movement_1F3F5E: @ 81F3F5E
+Route118_Movement_PlayerWatchStevenExit: @ 81F3F5E
delay_16
walk_in_place_fastest_right
step_end
-Route118_Movement_1F3F61: @ 81F3F61
+Route118_Movement_StevenApproachLedge0: @ 81F3F61
walk_left
step_end
-Route118_Movement_1F3F63: @ 81F3F63
+Route118_Movement_StevenApproachLedge2: @ 81F3F63
walk_right
step_end
-Route118_Movement_1F3F65: @ 81F3F65
+Route118_Movement_StevenJumpLedge: @ 81F3F65
jump_2_down
delay_16
walk_down
step_end
-Route118_Movement_1F3F69: @ 81F3F69
+Route118_Movement_StevenExit0: @ 81F3F69
walk_right
walk_right
walk_right
@@ -162,7 +162,7 @@ Route118_Movement_1F3F69: @ 81F3F69
walk_right
step_end
-Route118_Movement_1F3F74: @ 81F3F74
+Route118_Movement_StevenExit1: @ 81F3F74
walk_right
walk_right
walk_right
@@ -174,7 +174,7 @@ Route118_Movement_1F3F74: @ 81F3F74
walk_right
step_end
-Route118_Movement_1F3F7E: @ 81F3F7E
+Route118_Movement_StevenExit2: @ 81F3F7E
walk_right
walk_right
walk_right
@@ -185,76 +185,76 @@ Route118_Movement_1F3F7E: @ 81F3F7E
walk_right
step_end
-Route118_EventScript_1F3F87:: @ 81F3F87
- trainerbattle_single TRAINER_ROSE_1, Route118_Text_29D290, Route118_Text_29D2D8, Route118_EventScript_1F3FB3
+Route118_EventScript_Rose:: @ 81F3F87
+ trainerbattle_single TRAINER_ROSE_1, Route118_Text_RoseIntro, Route118_Text_RoseDefeat, Route118_EventScript_RegisterRose
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route118_EventScript_1F3FD2
- msgbox Route118_Text_29D2FA, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route118_EventScript_RematchRose
+ msgbox Route118_Text_RosePostBattle, MSGBOX_DEFAULT
release
end
-Route118_EventScript_1F3FB3:: @ 81F3FB3
+Route118_EventScript_RegisterRose:: @ 81F3FB3
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route118_Text_29D343, MSGBOX_DEFAULT
+ msgbox Route118_Text_RoseRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ROSE_1
release
end
-Route118_EventScript_1F3FD2:: @ 81F3FD2
- trainerbattle_rematch TRAINER_ROSE_1, Route118_Text_29D382, Route118_Text_29D3AA
- msgbox Route118_Text_29D3D9, MSGBOX_AUTOCLOSE
+Route118_EventScript_RematchRose:: @ 81F3FD2
+ trainerbattle_rematch TRAINER_ROSE_1, Route118_Text_RoseRematchIntro, Route118_Text_RoseRematchDefeat
+ msgbox Route118_Text_RosePostRematch, MSGBOX_AUTOCLOSE
end
-Route118_EventScript_1F3FE9:: @ 81F3FE9
- trainerbattle_single TRAINER_BARNY, Route118_Text_29D515, Route118_Text_29D55C
- msgbox Route118_Text_29D587, MSGBOX_AUTOCLOSE
+Route118_EventScript_Barny:: @ 81F3FE9
+ trainerbattle_single TRAINER_BARNY, Route118_Text_BarnyIntro, Route118_Text_BarnyDefeat
+ msgbox Route118_Text_BarnyPostBattle, MSGBOX_AUTOCLOSE
end
-Route118_EventScript_1F4000:: @ 81F4000
- trainerbattle_single TRAINER_WADE, Route118_Text_29D5DF, Route118_Text_29D64C
- msgbox Route118_Text_29D663, MSGBOX_AUTOCLOSE
+Route118_EventScript_Wade:: @ 81F4000
+ trainerbattle_single TRAINER_WADE, Route118_Text_WadeIntro, Route118_Text_WadeDefeat
+ msgbox Route118_Text_WadePostBattle, MSGBOX_AUTOCLOSE
end
-Route118_EventScript_1F4017:: @ 81F4017
- trainerbattle_single TRAINER_DALTON_1, Route118_Text_29D6AF, Route118_Text_29D6CD, Route118_EventScript_1F4043
+Route118_EventScript_Dalton:: @ 81F4017
+ trainerbattle_single TRAINER_DALTON_1, Route118_Text_DaltonIntro, Route118_Text_DaltonDefeat, Route118_EventScript_RegisterDalton
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route118_EventScript_1F4062
- msgbox Route118_Text_29D6D8, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route118_EventScript_RematchDalton
+ msgbox Route118_Text_DaltonPostBattle, MSGBOX_DEFAULT
release
end
-Route118_EventScript_1F4043:: @ 81F4043
+Route118_EventScript_RegisterDalton:: @ 81F4043
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route118_Text_29D74A, MSGBOX_DEFAULT
+ msgbox Route118_Text_DaltonRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_DALTON_1
release
end
-Route118_EventScript_1F4062:: @ 81F4062
- trainerbattle_rematch TRAINER_DALTON_1, Route118_Text_29D789, Route118_Text_29D7CA
- msgbox Route118_Text_29D7D5, MSGBOX_AUTOCLOSE
+Route118_EventScript_RematchDalton:: @ 81F4062
+ trainerbattle_rematch TRAINER_DALTON_1, Route118_Text_DaltonRematchIntro, Route118_Text_DaltonRematchDefeat
+ msgbox Route118_Text_DaltonPostRematch, MSGBOX_AUTOCLOSE
end
-Route118_EventScript_1F4079:: @ 81F4079
- trainerbattle_single TRAINER_PERRY, Route118_Text_29D41D, Route118_Text_29D45B
- msgbox Route118_Text_29D46C, MSGBOX_AUTOCLOSE
+Route118_EventScript_Perry:: @ 81F4079
+ trainerbattle_single TRAINER_PERRY, Route118_Text_PerryIntro, Route118_Text_PerryDefeat
+ msgbox Route118_Text_PerryPostBattle, MSGBOX_AUTOCLOSE
end
-Route118_EventScript_1F4090:: @ 81F4090
- trainerbattle_single TRAINER_CHESTER, Route118_Text_29D4A6, Route118_Text_29D4C4
- msgbox Route118_Text_29D4DA, MSGBOX_AUTOCLOSE
+Route118_EventScript_Chester:: @ 81F4090
+ trainerbattle_single TRAINER_CHESTER, Route118_Text_ChesterIntro, Route118_Text_ChesterDefeat
+ msgbox Route118_Text_ChesterPostBattle, MSGBOX_AUTOCLOSE
end
-Route118_EventScript_1F40A7:: @ 81F40A7
- trainerbattle_single TRAINER_DEANDRE, Route118_Text_29D81B, Route118_Text_29D83C
- msgbox Route118_Text_29D872, MSGBOX_AUTOCLOSE
+Route118_EventScript_Deandre:: @ 81F40A7
+ trainerbattle_single TRAINER_DEANDRE, Route118_Text_DeandreIntro, Route118_Text_DeandreDefeat
+ msgbox Route118_Text_DeandrePostBattle, MSGBOX_AUTOCLOSE
end
-Route118_Text_1F40BE: @ 81F40BE
+Route118_Text_StevenQuestions: @ 81F40BE
.string "STEVEN: Hi, {PLAYER}{KUN}!\p"
.string "It's me, STEVEN!\n"
.string "We met in the cave near DEWFORD.\p"
@@ -272,40 +272,40 @@ Route118_Text_1F40BE: @ 81F40BE
.string "It would be nice if we were to meet\n"
.string "again somewhere.$"
-Route118_Text_1F427B: @ 81F427B
+Route118_Text_YouAgreeGoodRodIsGood: @ 81F427B
.string "Hmm!\n"
.string "A GOOD ROD is really good!\p"
.string "Wouldn't you agree?$"
-Route118_Text_1F42AF: @ 81F42AF
+Route118_Text_IdenticalMindsTakeThis: @ 81F42AF
.string "Hmm!\n"
.string "We're of identical minds!\p"
.string "Hmm!\n"
.string "Take this GOOD ROD!$"
-Route118_Text_1F42E7: @ 81F42E7
+Route118_Text_TryYourLuckFishing: @ 81F42E7
.string "Wherever there's water, try your luck\n"
.string "at fishing.$"
-Route118_Text_1F4319: @ 81F4319
+Route118_Text_DontYouLikeToFish: @ 81F4319
.string "Don't you like to fish?$"
-Route118_Text_1F4331: @ 81F4331
+Route118_Text_TryCatchingMonWithGoodRod: @ 81F4331
.string "Try catching all sorts of POKéMON\n"
.string "with your GOOD ROD.$"
-Route118_Text_1F4367: @ 81F4367
+Route118_Text_CanCrossRiversWithSurf: @ 81F4367
.string "Even if there isn't a boat, you can\n"
.string "cross rivers and the sea if you have\l"
.string "a POKéMON that knows SURF.\p"
.string "POKéMON can be counted on to do so\n"
.string "much!$"
-Route118_Text_1F43F4: @ 81F43F4
+Route118_Text_RouteSignMauville: @ 81F43F4
.string "ROUTE 118\n"
.string "{LEFT_ARROW} MAUVILLE CITY$"
-Route118_Text_1F440E: @ 81F440E
+Route118_Text_RouteSign119: @ 81F440E
.string "ROUTE 118\n"
.string "{UP_ARROW} ROUTE 119$"
diff --git a/data/maps/Route119/map.json b/data/maps/Route119/map.json
index badd5d14e..2d1be0635 100644
--- a/data/maps/Route119/map.json
+++ b/data/maps/Route119/map.json
@@ -74,7 +74,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route119_EventScript_1F47E2",
+ "script": "Route119_EventScript_Greg",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route119_EventScript_1F47B4",
+ "script": "Route119_EventScript_Taylor",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route119_EventScript_1F479D",
+ "script": "Route119_EventScript_Donald",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route119_EventScript_1F4810",
+ "script": "Route119_EventScript_Jackson",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route119_EventScript_1F4786",
+ "script": "Route119_EventScript_Brent",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route119_EventScript_1F4872",
+ "script": "Route119_EventScript_Catherine",
"flag": "0"
},
{
@@ -152,7 +152,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route119_EventScript_1F47CB",
+ "script": "Route119_EventScript_Doug",
"flag": "0"
},
{
@@ -165,7 +165,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route119_EventScript_1F47F9",
+ "script": "Route119_EventScript_Kent",
"flag": "0"
},
{
@@ -178,7 +178,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route119_EventScript_1F4902",
+ "script": "Route119_EventScript_Yasu",
"flag": "0"
},
{
@@ -191,7 +191,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route119_EventScript_1F4919",
+ "script": "Route119_EventScript_Takashi",
"flag": "0"
},
{
@@ -204,7 +204,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route119_EventScript_1F48D4",
+ "script": "Route119_EventScript_Hugh",
"flag": "0"
},
{
@@ -217,7 +217,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route119_EventScript_1F48EB",
+ "script": "Route119_EventScript_Phil",
"flag": "0"
},
{
@@ -321,7 +321,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route119_EventScript_1F49A3",
+ "script": "Route119_EventScript_BridgeAquaGrunt1",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
},
{
@@ -334,7 +334,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route119_EventScript_1F49BA",
+ "script": "Route119_EventScript_BridgeAquaGrunt2",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
},
{
@@ -360,7 +360,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route119_EventScript_1F49D1",
+ "script": "Route119_EventScript_Boy1",
"flag": "0"
},
{
@@ -425,7 +425,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route119_EventScript_1F476B",
+ "script": "Route119_EventScript_CyclingTriathleteM",
"flag": "0"
},
{
@@ -451,7 +451,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route119_EventScript_1F49DA",
+ "script": "Route119_EventScript_Boy2",
"flag": "0"
},
{
@@ -464,7 +464,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route119_EventScript_1F4930",
+ "script": "Route119_EventScript_Hideo",
"flag": "0"
},
{
@@ -503,7 +503,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route119_EventScript_1F4947",
+ "script": "Route119_EventScript_Chris",
"flag": "0"
},
{
@@ -516,7 +516,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route119_EventScript_1F498C",
+ "script": "Route119_EventScript_Rachel",
"flag": "0"
},
{
@@ -529,7 +529,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route119_EventScript_1F4975",
+ "script": "Route119_EventScript_Dayton",
"flag": "0"
},
{
@@ -542,7 +542,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route119_EventScript_1F495E",
+ "script": "Route119_EventScript_Fabian",
"flag": "0"
},
{
@@ -609,7 +609,7 @@
"elevation": 0,
"var": "VAR_ROUTE119_STATE",
"var_value": "0",
- "script": "Route119_EventScript_1F4472"
+ "script": "Route119_EventScript_RivalTrigger1"
},
{
"type": "trigger",
@@ -618,7 +618,7 @@
"elevation": 0,
"var": "VAR_ROUTE119_STATE",
"var_value": "0",
- "script": "Route119_EventScript_1F447D"
+ "script": "Route119_EventScript_RivalTrigger2"
},
{
"type": "weather",
@@ -775,7 +775,7 @@
"y": 33,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route119_EventScript_1F477D"
+ "script": "Route119_EventScript_WeatherInstituteSign"
},
{
"type": "sign",
@@ -783,7 +783,7 @@
"y": 19,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route119_EventScript_1F4774"
+ "script": "Route119_EventScript_RouteSignFortree"
},
{
"type": "secret_base",
@@ -914,7 +914,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route119_EventScript_1F49E3"
+ "script": "Route119_EventScript_TrainerTipsDecoration"
}
]
} \ No newline at end of file
diff --git a/data/maps/Route119/scripts.inc b/data/maps/Route119/scripts.inc
index 4658c2407..36647e931 100644
--- a/data/maps/Route119/scripts.inc
+++ b/data/maps/Route119/scripts.inc
@@ -1,13 +1,13 @@
Route119_MapScripts:: @ 81F4424
- map_script MAP_SCRIPT_ON_RESUME, Route119_MapScript1_1F442F
+ map_script MAP_SCRIPT_ON_RESUME, Route119_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, Route119_OnTransition
.byte 0
-Route119_MapScript1_1F442F: @ 81F442F
- call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route119_EventScript_1F4439
+Route119_OnResume: @ 81F442F
+ call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route119_EventScript_TryRemoveKecleon
end
-Route119_EventScript_1F4439:: @ 81F4439
+Route119_EventScript_TryRemoveKecleon:: @ 81F4439
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
@@ -18,231 +18,231 @@ Route119_OnTransition: @ 81F444D
call Common_EventScript_SetupRivalGfxId
call Common_EventScript_SetupRivalOnBikeGfxId
compare VAR_WEATHER_INSTITUTE_STATE, 1
- call_if_eq Route119_EventScript_1F4466
+ call_if_eq Route119_EventScript_MoveInstituteWorkersDownstairs
special SetRoute119Weather
end
-Route119_EventScript_1F4466:: @ 81F4466
+Route119_EventScript_MoveInstituteWorkersDownstairs:: @ 81F4466
setflag FLAG_HIDE_WEATHER_INSTITUTE_2F_WORKERS
clearflag FLAG_HIDE_WEATHER_INSTITUTE_1F_WORKERS
setvar VAR_WEATHER_INSTITUTE_STATE, 2
return
-Route119_EventScript_1F4472:: @ 81F4472
+Route119_EventScript_RivalTrigger1:: @ 81F4472
setvar VAR_TEMP_1, 1
- goto Route119_EventScript_1F4488
+ goto Route119_EventScript_RivalEncounter
end
-Route119_EventScript_1F447D:: @ 81F447D
+Route119_EventScript_RivalTrigger2:: @ 81F447D
setvar VAR_TEMP_1, 2
- goto Route119_EventScript_1F4488
+ goto Route119_EventScript_RivalEncounter
end
-Route119_EventScript_1F4488:: @ 81F4488
+Route119_EventScript_RivalEncounter:: @ 81F4488
lockall
- addobject 25
+ addobject 25 @ Rival on bike
checkplayergender
compare VAR_RESULT, MALE
- call_if_eq Route119_EventScript_1F4501
+ call_if_eq Route119_EventScript_PlayMayMusic
compare VAR_RESULT, FEMALE
- call_if_eq Route119_EventScript_1F4506
+ call_if_eq Route119_EventScript_PlayBrendanMusic
delay 65
compare VAR_TEMP_1, 1
- call_if_eq Route119_EventScript_1F46C6
+ call_if_eq Route119_EventScript_RivalEnter1
compare VAR_TEMP_1, 2
- call_if_eq Route119_EventScript_1F46D1
+ call_if_eq Route119_EventScript_RivalEnter2
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
delay 30
compare VAR_TEMP_1, 1
- call_if_eq Route119_EventScript_1F4700
+ call_if_eq Route119_EventScript_SetRivalPos1
compare VAR_TEMP_1, 2
- call_if_eq Route119_EventScript_1F470F
+ call_if_eq Route119_EventScript_SetRivalPos2
removeobject 25
- addobject 16
+ addobject 16 @ Rival on foot
delay 30
checkplayergender
compare VAR_RESULT, MALE
- goto_if_eq Route119_EventScript_1F450B
+ goto_if_eq Route119_EventScript_BattleMay
compare VAR_RESULT, FEMALE
- goto_if_eq Route119_EventScript_1F4585
+ goto_if_eq Route119_EventScript_BattleBrendan
releaseall
end
-Route119_EventScript_1F4501:: @ 81F4501
+Route119_EventScript_PlayMayMusic:: @ 81F4501
playbgm MUS_GIRL_SUP, 1
return
-Route119_EventScript_1F4506:: @ 81F4506
+Route119_EventScript_PlayBrendanMusic:: @ 81F4506
playbgm MUS_BOY_SUP, 1
return
-Route119_EventScript_1F450B:: @ 81F450B
- msgbox Route119_Text_1F49FD, MSGBOX_DEFAULT
+Route119_EventScript_BattleMay:: @ 81F450B
+ msgbox Route119_Text_MayIntro, MSGBOX_DEFAULT
switch VAR_STARTER_MON
- case 0, Route119_EventScript_1F453A
- case 1, Route119_EventScript_1F454A
- case 2, Route119_EventScript_1F455A
+ case 0, Route119_EventScript_BattleMayTreecko
+ case 1, Route119_EventScript_BattleMayTorchic
+ case 2, Route119_EventScript_BattleMayMudkip
end
-Route119_EventScript_1F453A:: @ 81F453A
- trainerbattle_no_intro TRAINER_MAY_6, Route119_Text_1F4A98
- goto Route119_EventScript_1F456A
+Route119_EventScript_BattleMayTreecko:: @ 81F453A
+ trainerbattle_no_intro TRAINER_MAY_6, Route119_Text_MayDefeat
+ goto Route119_EventScript_DefeatedMay
end
-Route119_EventScript_1F454A:: @ 81F454A
- trainerbattle_no_intro TRAINER_MAY_9, Route119_Text_1F4A98
- goto Route119_EventScript_1F456A
+Route119_EventScript_BattleMayTorchic:: @ 81F454A
+ trainerbattle_no_intro TRAINER_MAY_9, Route119_Text_MayDefeat
+ goto Route119_EventScript_DefeatedMay
end
-Route119_EventScript_1F455A:: @ 81F455A
- trainerbattle_no_intro TRAINER_MAY_3, Route119_Text_1F4A98
- goto Route119_EventScript_1F456A
+Route119_EventScript_BattleMayMudkip:: @ 81F455A
+ trainerbattle_no_intro TRAINER_MAY_3, Route119_Text_MayDefeat
+ goto Route119_EventScript_DefeatedMay
end
-Route119_EventScript_1F456A:: @ 81F456A
- msgbox Route119_Text_1F4AF3, MSGBOX_DEFAULT
- call Route119_EventScript_1F45FF
- msgbox Route119_Text_1F4B56, MSGBOX_DEFAULT
- goto Route119_EventScript_1F460F
+Route119_EventScript_DefeatedMay:: @ 81F456A
+ msgbox Route119_Text_MayPresentForYou, MSGBOX_DEFAULT
+ call Route119_EventScript_GiveFlyHM
+ msgbox Route119_Text_MayExplainFly, MSGBOX_DEFAULT
+ goto Route119_EventScript_RivalExitScottArrive
end
-Route119_EventScript_1F4585:: @ 81F4585
- msgbox Route119_Text_1F4C9A, MSGBOX_DEFAULT
+Route119_EventScript_BattleBrendan:: @ 81F4585
+ msgbox Route119_Text_BrendanIntro, MSGBOX_DEFAULT
switch VAR_STARTER_MON
- case 0, Route119_EventScript_1F45B4
- case 1, Route119_EventScript_1F45C4
- case 2, Route119_EventScript_1F45D4
+ case 0, Route119_EventScript_BattleBrendanTreecko
+ case 1, Route119_EventScript_BattleBrendanTorchic
+ case 2, Route119_EventScript_BattleBrendanMudkip
end
-Route119_EventScript_1F45B4:: @ 81F45B4
- trainerbattle_no_intro TRAINER_BRENDAN_6, Route119_Text_1F4D24
- goto Route119_EventScript_1F45E4
+Route119_EventScript_BattleBrendanTreecko:: @ 81F45B4
+ trainerbattle_no_intro TRAINER_BRENDAN_6, Route119_Text_BrendanDefeat
+ goto Route119_EventScript_DefeatedBrendan
end
-Route119_EventScript_1F45C4:: @ 81F45C4
- trainerbattle_no_intro TRAINER_BRENDAN_9, Route119_Text_1F4D24
- goto Route119_EventScript_1F45E4
+Route119_EventScript_BattleBrendanTorchic:: @ 81F45C4
+ trainerbattle_no_intro TRAINER_BRENDAN_9, Route119_Text_BrendanDefeat
+ goto Route119_EventScript_DefeatedBrendan
end
-Route119_EventScript_1F45D4:: @ 81F45D4
- trainerbattle_no_intro TRAINER_BRENDAN_3, Route119_Text_1F4D24
- goto Route119_EventScript_1F45E4
+Route119_EventScript_BattleBrendanMudkip:: @ 81F45D4
+ trainerbattle_no_intro TRAINER_BRENDAN_3, Route119_Text_BrendanDefeat
+ goto Route119_EventScript_DefeatedBrendan
end
-Route119_EventScript_1F45E4:: @ 81F45E4
- msgbox Route119_Text_1F4D4B, MSGBOX_DEFAULT
- call Route119_EventScript_1F45FF
- msgbox Route119_Text_1F4DB5, MSGBOX_DEFAULT
- goto Route119_EventScript_1F460F
+Route119_EventScript_DefeatedBrendan:: @ 81F45E4
+ msgbox Route119_Text_BrendanIllGiveYouThis, MSGBOX_DEFAULT
+ call Route119_EventScript_GiveFlyHM
+ msgbox Route119_Text_BrendanExplainFly, MSGBOX_DEFAULT
+ goto Route119_EventScript_RivalExitScottArrive
end
-Route119_EventScript_1F45FF:: @ 81F45FF
+Route119_EventScript_GiveFlyHM:: @ 81F45FF
giveitem_std ITEM_HM02
setflag FLAG_RECEIVED_HM02
return
-Route119_EventScript_1F460F:: @ 81F460F
+Route119_EventScript_RivalExitScottArrive:: @ 81F460F
closemessage
compare VAR_TEMP_1, 1
- call_if_eq Route119_EventScript_1F4700
+ call_if_eq Route119_EventScript_SetRivalPos1
compare VAR_TEMP_1, 2
- call_if_eq Route119_EventScript_1F470F
- removeobject 16
- addobject 25
+ call_if_eq Route119_EventScript_SetRivalPos2
+ removeobject 16 @ Rival on foot
+ addobject 25 @ Rival on bike
delay 30
compare VAR_TEMP_1, 1
- call_if_eq Route119_EventScript_1F46DC
+ call_if_eq Route119_EventScript_RivalExit1
compare VAR_TEMP_1, 2
- call_if_eq Route119_EventScript_1F46EE
+ call_if_eq Route119_EventScript_RivalExit2
removeobject 25
setvar VAR_ROUTE119_STATE, 1
savebgm MUS_DUMMY
fadedefaultbgm
delay 60
compare VAR_TEMP_1, 1
- call_if_eq Route119_EventScript_1F46A0
+ call_if_eq Route119_EventScript_SetScottPos1
compare VAR_TEMP_1, 2
- call_if_eq Route119_EventScript_1F46A8
- addobject 43
- applymovement 43, Route119_Movement_1F4752
+ call_if_eq Route119_EventScript_SetScottPos2
+ addobject 43 @ Scott
+ applymovement 43, Route119_Movement_ScottEnter
waitmovement 0
addvar VAR_SCOTT_STATE, 1
- msgbox Route119_Text_1F4E60, MSGBOX_DEFAULT
+ msgbox Route119_Text_ScottWayToGoBeSeeingYou, MSGBOX_DEFAULT
closemessage
compare VAR_TEMP_1, 1
- call_if_eq Route119_EventScript_1F46B0
+ call_if_eq Route119_EventScript_ScottExit1
compare VAR_TEMP_1, 2
- call_if_eq Route119_EventScript_1F46BB
+ call_if_eq Route119_EventScript_ScottExit2
removeobject 43
releaseall
end
-Route119_EventScript_1F46A0:: @ 81F46A0
+Route119_EventScript_SetScottPos1:: @ 81F46A0
setobjectxyperm 43, 27, 25
return
-Route119_EventScript_1F46A8:: @ 81F46A8
+Route119_EventScript_SetScottPos2:: @ 81F46A8
setobjectxyperm 43, 28, 25
return
-Route119_EventScript_1F46B0:: @ 81F46B0
- applymovement 43, Route119_Movement_1F475A
+Route119_EventScript_ScottExit1:: @ 81F46B0
+ applymovement 43, Route119_Movement_ScottExit1
waitmovement 0
return
-Route119_EventScript_1F46BB:: @ 81F46BB
- applymovement 43, Route119_Movement_1F4763
+Route119_EventScript_ScottExit2:: @ 81F46BB
+ applymovement 43, Route119_Movement_ScottExit2
waitmovement 0
return
-Route119_EventScript_1F46C6:: @ 81F46C6
- applymovement 25, Route119_Movement_1F4728
+Route119_EventScript_RivalEnter1:: @ 81F46C6
+ applymovement 25, Route119_Movement_RivalEnter1
waitmovement 0
return
-Route119_EventScript_1F46D1:: @ 81F46D1
- applymovement 25, Route119_Movement_1F4732
+Route119_EventScript_RivalEnter2:: @ 81F46D1
+ applymovement 25, Route119_Movement_RivalEnter2
waitmovement 0
return
-Route119_EventScript_1F46DC:: @ 81F46DC
- applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_1F471E
- applymovement 25, Route119_Movement_1F473D
+Route119_EventScript_RivalExit1:: @ 81F46DC
+ applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_PlayerWatchRivalExit1
+ applymovement 25, Route119_Movement_RivalExit1
waitmovement 0
return
-Route119_EventScript_1F46EE:: @ 81F46EE
- applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_1F4723
- applymovement 25, Route119_Movement_1F4747
+Route119_EventScript_RivalExit2:: @ 81F46EE
+ applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_PlayerWatchRivalExit2
+ applymovement 25, Route119_Movement_RivalExit2
waitmovement 0
return
-Route119_EventScript_1F4700:: @ 81F4700
+Route119_EventScript_SetRivalPos1:: @ 81F4700
setobjectxyperm 16, 25, 32
setobjectxyperm 25, 25, 32
return
-Route119_EventScript_1F470F:: @ 81F470F
+Route119_EventScript_SetRivalPos2:: @ 81F470F
setobjectxyperm 16, 26, 32
setobjectxyperm 25, 26, 32
return
-Route119_Movement_1F471E: @ 81F471E
+Route119_Movement_PlayerWatchRivalExit1: @ 81F471E
delay_16
walk_in_place_fastest_right
delay_8
walk_in_place_fastest_up
step_end
-Route119_Movement_1F4723: @ 81F4723
+Route119_Movement_PlayerWatchRivalExit2: @ 81F4723
delay_16
walk_in_place_fastest_left
delay_8
walk_in_place_fastest_up
step_end
-Route119_Movement_1F4728: @ 81F4728
+Route119_Movement_RivalEnter1: @ 81F4728
walk_fast_right
walk_fast_right
walk_fast_right
@@ -254,7 +254,7 @@ Route119_Movement_1F4728: @ 81F4728
walk_fast_up
step_end
-Route119_Movement_1F4732: @ 81F4732
+Route119_Movement_RivalEnter2: @ 81F4732
walk_fast_right
walk_fast_right
walk_fast_right
@@ -267,7 +267,7 @@ Route119_Movement_1F4732: @ 81F4732
walk_fast_up
step_end
-Route119_Movement_1F473D: @ 81F473D
+Route119_Movement_RivalExit1: @ 81F473D
walk_fast_right
walk_fast_up
walk_fast_up
@@ -279,7 +279,7 @@ Route119_Movement_1F473D: @ 81F473D
walk_fast_up
step_end
-Route119_Movement_1F4747: @ 81F4747
+Route119_Movement_RivalExit2: @ 81F4747
walk_fast_left
walk_fast_up
walk_fast_up
@@ -292,7 +292,7 @@ Route119_Movement_1F4747: @ 81F4747
walk_fast_up
step_end
-Route119_Movement_1F4752: @ 81F4752
+Route119_Movement_ScottEnter: @ 81F4752
walk_down
walk_down
walk_down
@@ -302,7 +302,7 @@ Route119_Movement_1F4752: @ 81F4752
walk_down
step_end
-Route119_Movement_1F475A: @ 81F475A
+Route119_Movement_ScottExit1: @ 81F475A
walk_up
walk_right
walk_right
@@ -313,7 +313,7 @@ Route119_Movement_1F475A: @ 81F475A
walk_up
step_end
-Route119_Movement_1F4763: @ 81F4763
+Route119_Movement_ScottExit2: @ 81F4763
walk_up
walk_right
walk_up
@@ -323,179 +323,179 @@ Route119_Movement_1F4763: @ 81F4763
walk_up
step_end
-Route119_EventScript_1F476B:: @ 81F476B
- msgbox Route119_Text_1F5261, MSGBOX_NPC
+Route119_EventScript_CyclingTriathleteM:: @ 81F476B
+ msgbox Route119_Text_TallGrassSnaresBikeTires, MSGBOX_NPC
end
-Route119_EventScript_1F4774:: @ 81F4774
- msgbox Route119_Text_1F530E, MSGBOX_SIGN
+Route119_EventScript_RouteSignFortree:: @ 81F4774
+ msgbox Route119_Text_RouteSignFortree, MSGBOX_SIGN
end
-Route119_EventScript_1F477D:: @ 81F477D
- msgbox Route119_Text_1F5327, MSGBOX_SIGN
+Route119_EventScript_WeatherInstituteSign:: @ 81F477D
+ msgbox Route119_Text_WeatherInstitute, MSGBOX_SIGN
end
-Route119_EventScript_1F4786:: @ 81F4786
- trainerbattle_single TRAINER_BRENT, Route119_Text_29D8C2, Route119_Text_29D8F0
- msgbox Route119_Text_29D902, MSGBOX_AUTOCLOSE
+Route119_EventScript_Brent:: @ 81F4786
+ trainerbattle_single TRAINER_BRENT, Route119_Text_BrentIntro, Route119_Text_BrentDefeat
+ msgbox Route119_Text_BrentPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F479D:: @ 81F479D
- trainerbattle_single TRAINER_DONALD, Route119_Text_29D941, Route119_Text_29D97C
- msgbox Route119_Text_29D993, MSGBOX_AUTOCLOSE
+Route119_EventScript_Donald:: @ 81F479D
+ trainerbattle_single TRAINER_DONALD, Route119_Text_DonaldIntro, Route119_Text_DonaldDefeat
+ msgbox Route119_Text_DonaldPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F47B4:: @ 81F47B4
- trainerbattle_single TRAINER_TAYLOR, Route119_Text_29D9CD, Route119_Text_29DA14
- msgbox Route119_Text_29DA2C, MSGBOX_AUTOCLOSE
+Route119_EventScript_Taylor:: @ 81F47B4
+ trainerbattle_single TRAINER_TAYLOR, Route119_Text_TaylorIntro, Route119_Text_TaylorDefeat
+ msgbox Route119_Text_TaylorPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F47CB:: @ 81F47CB
- trainerbattle_single TRAINER_DOUG, Route119_Text_29DA7D, Route119_Text_29DABC
- msgbox Route119_Text_29DADB, MSGBOX_AUTOCLOSE
+Route119_EventScript_Doug:: @ 81F47CB
+ trainerbattle_single TRAINER_DOUG, Route119_Text_DougIntro, Route119_Text_DougDefeat
+ msgbox Route119_Text_DougPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F47E2:: @ 81F47E2
- trainerbattle_single TRAINER_GREG, Route119_Text_29DB17, Route119_Text_29DB66
- msgbox Route119_Text_29DB7C, MSGBOX_AUTOCLOSE
+Route119_EventScript_Greg:: @ 81F47E2
+ trainerbattle_single TRAINER_GREG, Route119_Text_GregIntro, Route119_Text_GregDefeat
+ msgbox Route119_Text_GregPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F47F9:: @ 81F47F9
- trainerbattle_single TRAINER_KENT, Route119_Text_29DBC2, Route119_Text_29DC20
- msgbox Route119_Text_29DC2B, MSGBOX_AUTOCLOSE
+Route119_EventScript_Kent:: @ 81F47F9
+ trainerbattle_single TRAINER_KENT, Route119_Text_KentIntro, Route119_Text_KentDefeat
+ msgbox Route119_Text_KentPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F4810:: @ 81F4810
- trainerbattle_single TRAINER_JACKSON_1, Route119_Text_29DC4C, Route119_Text_29DC9F, Route119_EventScript_1F483C
+Route119_EventScript_Jackson:: @ 81F4810
+ trainerbattle_single TRAINER_JACKSON_1, Route119_Text_JacksonIntro, Route119_Text_JacksonDefeat, Route119_EventScript_RegisterJackson
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route119_EventScript_1F485B
- msgbox Route119_Text_29DCC6, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route119_EventScript_RematchJackson
+ msgbox Route119_Text_JacksonPostBattle, MSGBOX_DEFAULT
release
end
-Route119_EventScript_1F483C:: @ 81F483C
+Route119_EventScript_RegisterJackson:: @ 81F483C
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route119_Text_29DD1C, MSGBOX_DEFAULT
+ msgbox Route119_Text_JacksonRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JACKSON_1
release
end
-Route119_EventScript_1F485B:: @ 81F485B
- trainerbattle_rematch TRAINER_JACKSON_1, Route119_Text_29DD62, Route119_Text_29DDA5
- msgbox Route119_Text_29DDBD, MSGBOX_AUTOCLOSE
+Route119_EventScript_RematchJackson:: @ 81F485B
+ trainerbattle_rematch TRAINER_JACKSON_1, Route119_Text_JacksonRematchIntro, Route119_Text_JacksonRematchDefeat
+ msgbox Route119_Text_JacksonPostRematch, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F4872:: @ 81F4872
- trainerbattle_single TRAINER_CATHERINE_1, Route119_Text_29DE0F, Route119_Text_29DE5D, Route119_EventScript_1F489E
+Route119_EventScript_Catherine:: @ 81F4872
+ trainerbattle_single TRAINER_CATHERINE_1, Route119_Text_CatherineIntro, Route119_Text_CatherineDefeat, Route119_EventScript_RegisterCatherine
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route119_EventScript_1F48BD
- msgbox Route119_Text_29DE88, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route119_EventScript_RematchCatherine
+ msgbox Route119_Text_CatherinePostBattle, MSGBOX_DEFAULT
release
end
-Route119_EventScript_1F489E:: @ 81F489E
+Route119_EventScript_RegisterCatherine:: @ 81F489E
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route119_Text_29DEF7, MSGBOX_DEFAULT
+ msgbox Route119_Text_CatherineRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CATHERINE_1
release
end
-Route119_EventScript_1F48BD:: @ 81F48BD
- trainerbattle_rematch TRAINER_CATHERINE_1, Route119_Text_29DF6B, Route119_Text_29DF92
- msgbox Route119_Text_29DFAF, MSGBOX_AUTOCLOSE
+Route119_EventScript_RematchCatherine:: @ 81F48BD
+ trainerbattle_rematch TRAINER_CATHERINE_1, Route119_Text_CatherineRematchIntro, Route119_Text_CatherineRematchDefeat
+ msgbox Route119_Text_CatherinePostRematch, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F48D4:: @ 81F48D4
- trainerbattle_single TRAINER_HUGH, Route119_Text_29E007, Route119_Text_29E063
- msgbox Route119_Text_29E071, MSGBOX_AUTOCLOSE
+Route119_EventScript_Hugh:: @ 81F48D4
+ trainerbattle_single TRAINER_HUGH, Route119_Text_HughIntro, Route119_Text_HughDefeat
+ msgbox Route119_Text_HughPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F48EB:: @ 81F48EB
- trainerbattle_single TRAINER_PHIL, Route119_Text_29E0A5, Route119_Text_29E0E1
- msgbox Route119_Text_29E0F6, MSGBOX_AUTOCLOSE
+Route119_EventScript_Phil:: @ 81F48EB
+ trainerbattle_single TRAINER_PHIL, Route119_Text_PhilIntro, Route119_Text_PhilDefeat
+ msgbox Route119_Text_PhilPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F4902:: @ 81F4902
- trainerbattle_single TRAINER_YASU, Route119_Text_29E134, Route119_Text_29E18D
- msgbox Route119_Text_29E19D, MSGBOX_AUTOCLOSE
+Route119_EventScript_Yasu:: @ 81F4902
+ trainerbattle_single TRAINER_YASU, Route119_Text_YasuIntro, Route119_Text_YasuDefeat
+ msgbox Route119_Text_YasuPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F4919:: @ 81F4919
- trainerbattle_single TRAINER_TAKASHI, Route119_Text_29E1F5, Route119_Text_29E22B
- msgbox Route119_Text_29E245, MSGBOX_AUTOCLOSE
+Route119_EventScript_Takashi:: @ 81F4919
+ trainerbattle_single TRAINER_TAKASHI, Route119_Text_TakashiIntro, Route119_Text_TakashiDefeat
+ msgbox Route119_Text_TakashiPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F4930:: @ 81F4930
- trainerbattle_single TRAINER_HIDEO, Route119_Text_29E26A, Route119_Text_29E288
- msgbox Route119_Text_29E2A3, MSGBOX_AUTOCLOSE
+Route119_EventScript_Hideo:: @ 81F4930
+ trainerbattle_single TRAINER_HIDEO, Route119_Text_HideoIntro, Route119_Text_HideoDefeat
+ msgbox Route119_Text_HideoPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F4947:: @ 81F4947
- trainerbattle_single TRAINER_CHRIS, Route119_Text_29E30D, Route119_Text_29E372
- msgbox Route119_Text_29E3A2, MSGBOX_AUTOCLOSE
+Route119_EventScript_Chris:: @ 81F4947
+ trainerbattle_single TRAINER_CHRIS, Route119_Text_ChrisIntro, Route119_Text_ChrisDefeat
+ msgbox Route119_Text_ChrisPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F495E:: @ 81F495E
- trainerbattle_single TRAINER_FABIAN, Route119_Text_29E3FF, Route119_Text_29E44F
- msgbox Route119_Text_29E492, MSGBOX_AUTOCLOSE
+Route119_EventScript_Fabian:: @ 81F495E
+ trainerbattle_single TRAINER_FABIAN, Route119_Text_FabianIntro, Route119_Text_FabianDefeat
+ msgbox Route119_Text_FabianPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F4975:: @ 81F4975
- trainerbattle_single TRAINER_DAYTON, Route119_Text_29E4DF, Route119_Text_29E513
- msgbox Route119_Text_29E532, MSGBOX_AUTOCLOSE
+Route119_EventScript_Dayton:: @ 81F4975
+ trainerbattle_single TRAINER_DAYTON, Route119_Text_DaytonIntro, Route119_Text_DaytonDefeat
+ msgbox Route119_Text_DaytonPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F498C:: @ 81F498C
- trainerbattle_single TRAINER_RACHEL, Route119_Text_29E56F, Route119_Text_29E5B1
- msgbox Route119_Text_29E5CB, MSGBOX_AUTOCLOSE
+Route119_EventScript_Rachel:: @ 81F498C
+ trainerbattle_single TRAINER_RACHEL, Route119_Text_RachelIntro, Route119_Text_RachelDefeat
+ msgbox Route119_Text_RachelPostBattle, MSGBOX_AUTOCLOSE
end
-Route119_EventScript_1F49A3:: @ 81F49A3
+Route119_EventScript_BridgeAquaGrunt1:: @ 81F49A3
lock
faceplayer
- msgbox Route119_Text_1F50EB, MSGBOX_DEFAULT
+ msgbox Route119_Text_StayAwayFromWeatherInstitute, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
-Route119_EventScript_1F49BA:: @ 81F49BA
+Route119_EventScript_BridgeAquaGrunt2:: @ 81F49BA
lock
faceplayer
- msgbox Route119_Text_1F5147, MSGBOX_DEFAULT
+ msgbox Route119_Text_DontGoNearWeatherInstitute, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
-Route119_EventScript_1F49D1:: @ 81F49D1
- msgbox Route119_Text_1F51A2, MSGBOX_NPC
+Route119_EventScript_Boy1:: @ 81F49D1
+ msgbox Route119_Text_ThoughtFlyByCatchingBirdMons, MSGBOX_NPC
end
-Route119_EventScript_1F49DA:: @ 81F49DA
- msgbox Route119_Text_1F52B9, MSGBOX_NPC
+Route119_EventScript_Boy2:: @ 81F49DA
+ msgbox Route119_Text_CanYourMonMakeSecretBase, MSGBOX_NPC
end
-Route119_EventScript_1F49E3:: @ 81F49E3
- msgbox Route119_Text_1F5339, MSGBOX_SIGN
+Route119_EventScript_TrainerTipsDecoration:: @ 81F49E3
+ msgbox Route119_Text_TrainerTipsDecoration, MSGBOX_SIGN
end
-Route119_EventScript_1F49EC:: @ 81F49EC
+Route119_EventScript_ScottWonAtFortreeGymCall:: @ 81F49EC
lockall
- pokenavcall Route119_Text_1F4FBA
+ pokenavcall Route119_Text_ScottYouWonAtFortreeGym
waitmessage
- clearflag FLAG_REGISTER_WINONA_POKENAV
+ clearflag FLAG_SCOTT_CALL_FORTREE_GYM
addvar VAR_SCOTT_STATE, 1
releaseall
end
-Route119_Text_1F49FD: @ 81F49FD
+Route119_Text_MayIntro: @ 81F49FD
.string "MAY: {PLAYER}{KUN}!\n"
.string "Where were you? I was looking for you!\p"
.string "How much stronger have you gotten?\n"
@@ -503,18 +503,18 @@ Route119_Text_1F49FD: @ 81F49FD
.string "Ready with your POKéMON?\n"
.string "Of course you are! Go!$"
-Route119_Text_1F4A98: @ 81F4A98
+Route119_Text_MayDefeat: @ 81F4A98
.string "Achah!\n"
.string "{PLAYER}{KUN}, you're strong!\p"
.string "I was worried that you might be\n"
.string "struggling with your training.$"
-Route119_Text_1F4AF3: @ 81F4AF3
+Route119_Text_MayPresentForYou: @ 81F4AF3
.string "MAY: But I had absolutely nothing to\n"
.string "worry about! Keep it up!\p"
.string "And, here! I have a present for you.$"
-Route119_Text_1F4B56: @ 81F4B56
+Route119_Text_MayExplainFly: @ 81F4B56
.string "MAY: Use FLY, and your POKéMON will\n"
.string "instantly carry you to any town you've\l"
.string "already visited.\p"
@@ -527,7 +527,7 @@ Route119_Text_1F4B56: @ 81F4B56
.string "{PLAYER}{KUN}.\p"
.string "Well, let's meet again somewhere!$"
-Route119_Text_1F4C9A: @ 81F4C9A
+Route119_Text_BrendanIntro: @ 81F4C9A
.string "BRENDAN: {PLAYER}! So this is where\n"
.string "you've been looking for POKéMON?\p"
.string "Let me see how good you got.\n"
@@ -535,17 +535,17 @@ Route119_Text_1F4C9A: @ 81F4C9A
.string "Now!\n"
.string "It's a battle, so battle!$"
-Route119_Text_1F4D24: @ 81F4D24
+Route119_Text_BrendanDefeat: @ 81F4D24
.string "Hmm…\n"
.string "You've gotten pretty darn decent.$"
-Route119_Text_1F4D4B: @ 81F4D4B
+Route119_Text_BrendanIllGiveYouThis: @ 81F4D4B
.string "BRENDAN: I'd say you're good enough\n"
.string "to search for POKéMON anywhere.\p"
.string "Here, I'll give you this.\n"
.string "Try it out.$"
-Route119_Text_1F4DB5: @ 81F4DB5
+Route119_Text_BrendanExplainFly: @ 81F4DB5
.string "BRENDAN: Use FLY, and your POKéMON\n"
.string "instantly carries you to any town\l"
.string "you've already visited.\p"
@@ -553,7 +553,7 @@ Route119_Text_1F4DB5: @ 81F4DB5
.string "to do that.\p"
.string "Anyway, I have to move along.$"
-Route119_Text_1F4E60: @ 81F4E60
+Route119_Text_ScottWayToGoBeSeeingYou: @ 81F4E60
.string "SCOTT: Hahahah!\n"
.string "Way to go, {PLAYER}{KUN}!\p"
.string "I just passed by a TRAINER riding\n"
@@ -568,7 +568,7 @@ Route119_Text_1F4E60: @ 81F4E60
.string "Well, I'll be seeing you!$"
-Route119_Text_1F4FBA: @ 81F4FBA
+Route119_Text_ScottYouWonAtFortreeGym: @ 81F4FBA
.string "… … … … … …\n"
.string "… … … … … Beep!\p"
.string "SCOTT: Hiya, {PLAYER}{KUN}, it's me!\p"
@@ -583,17 +583,17 @@ Route119_Text_1F4FBA: @ 81F4FBA
.string "… … … … … …\n"
.string "… … … … … Click!$"
-Route119_Text_1F50EB: @ 81F50EB
+Route119_Text_StayAwayFromWeatherInstitute: @ 81F50EB
.string "We're standing lookout here.\p"
.string "Hey, you! Stay away from the WEATHER\n"
.string "INSTITUTE. It's not safe.$"
-Route119_Text_1F5147: @ 81F5147
+Route119_Text_DontGoNearWeatherInstitute: @ 81F5147
.string "Lookout duty is surprisingly boring.\p"
.string "Hey, you! Please don't go near the\n"
.string "WEATHER INSTITUTE.$"
-Route119_Text_1F51A2: @ 81F51A2
+Route119_Text_ThoughtFlyByCatchingBirdMons: @ 81F51A2
.string "I thought you FLY by catching a whole\n"
.string "flock of BIRD POKéMON, and then\l"
.string "hanging on to them somehow.\p"
@@ -602,25 +602,25 @@ Route119_Text_1F51A2: @ 81F51A2
.string "I wish I'd known about that a long\n"
.string "time ago…$"
-Route119_Text_1F5261: @ 81F5261
+Route119_Text_TallGrassSnaresBikeTires: @ 81F5261
.string "Tch…\n"
.string "It's a no-go…\p"
.string "The tall grass snares BIKE tires.\n"
.string "There's no way you can cycle here.$"
-Route119_Text_1F52B9: @ 81F52B9
+Route119_Text_CanYourMonMakeSecretBase: @ 81F52B9
.string "Can your POKéMON use its SECRET POWER\n"
.string "on a big pile of grass and make a\l"
.string "SECRET BASE?$"
-Route119_Text_1F530E: @ 81F530E
+Route119_Text_RouteSignFortree: @ 81F530E
.string "ROUTE 119\n"
.string "{RIGHT_ARROW} FORTREE CITY$"
-Route119_Text_1F5327: @ 81F5327
+Route119_Text_WeatherInstitute: @ 81F5327
.string "WEATHER INSTITUTE$"
-Route119_Text_1F5339: @ 81F5339
+Route119_Text_TrainerTipsDecoration: @ 81F5339
.string "TRAINER TIPS\p"
.string "Up to sixteen decorations and\n"
.string "furniture items can be placed in\l"
diff --git a/data/maps/Route120/map.json b/data/maps/Route120/map.json
index 8bcfafc72..61e7d2892 100644
--- a/data/maps/Route120/map.json
+++ b/data/maps/Route120/map.json
@@ -165,7 +165,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route120_EventScript_1F57D7",
+ "script": "Route120_EventScript_Colin",
"flag": "0"
},
{
@@ -178,7 +178,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route120_EventScript_1F57EE",
+ "script": "Route120_EventScript_Robert",
"flag": "0"
},
{
@@ -191,7 +191,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route120_EventScript_1F5850",
+ "script": "Route120_EventScript_Lorenzo",
"flag": "0"
},
{
@@ -204,7 +204,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route120_EventScript_1F5867",
+ "script": "Route120_EventScript_Jenna",
"flag": "0"
},
{
@@ -217,7 +217,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route120_EventScript_1F587E",
+ "script": "Route120_EventScript_Jeffrey",
"flag": "0"
},
{
@@ -321,7 +321,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route120_EventScript_1F5527",
+ "script": "Route120_EventScript_BerryBeauty",
"flag": "0"
},
{
@@ -334,7 +334,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route120_EventScript_1F58E0",
+ "script": "Route120_EventScript_Jennifer",
"flag": "0"
},
{
@@ -347,7 +347,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route120_EventScript_1F58F7",
+ "script": "Route120_EventScript_Chip",
"flag": "0"
},
{
@@ -360,7 +360,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route120_EventScript_1F590E",
+ "script": "Route120_EventScript_Clarissa",
"flag": "0"
},
{
@@ -373,7 +373,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route120_EventScript_1F5925",
+ "script": "Route120_EventScript_Angelica",
"flag": "0"
},
{
@@ -464,7 +464,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route120_EventScript_1F593C",
+ "script": "Route120_EventScript_Keigo",
"flag": "0"
},
{
@@ -477,7 +477,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route120_EventScript_1F5953",
+ "script": "Route120_EventScript_Riley",
"flag": "0"
},
{
@@ -568,7 +568,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route120_EventScript_1F5981",
+ "script": "Route120_EventScript_Callie",
"flag": "0"
},
{
@@ -581,7 +581,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route120_EventScript_1F596A",
+ "script": "Route120_EventScript_Leonel",
"flag": "0"
},
{
@@ -756,7 +756,7 @@
"y": 3,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route120_EventScript_1F57C5"
+ "script": "Route120_EventScript_RouteSignFortree"
},
{
"type": "sign",
@@ -764,7 +764,7 @@
"y": 88,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route120_EventScript_1F57CE"
+ "script": "Route120_EventScript_RouteSign121"
},
{
"type": "secret_base",
diff --git a/data/maps/Route120/scripts.inc b/data/maps/Route120/scripts.inc
index 9ef80e893..f4ef4da87 100644
--- a/data/maps/Route120/scripts.inc
+++ b/data/maps/Route120/scripts.inc
@@ -39,137 +39,137 @@ Route120_EventScript_RemoveKecleon:: @ 81F5460
return
Route120_OnLoad: @ 81F5474
- call_if_unset FLAG_REGI_DOORS_OPENED, Route120_EventScript_1F5490
- call_if_set FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_1F54A3
- call_if_unset FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_1F54C8
+ call_if_unset FLAG_REGI_DOORS_OPENED, Route120_EventScript_CloseAncientTomb
+ call_if_set FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_SetBridgeClearMetatiles
+ call_if_unset FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_SetBridgeKecleonMovement
end
-Route120_EventScript_1F5490:: @ 81F5490
+Route120_EventScript_CloseAncientTomb:: @ 81F5490
setmetatile 7, 54, METATILE_General_RockWall_RockBase, 1
setmetatile 7, 55, METATILE_General_RockWall_SandBase, 1
return
-Route120_EventScript_1F54A3:: @ 81F54A3
- setmetatile 13, 15, METATILE_Fortree_WoodBridge_Kecleon0, 0
- setmetatile 12, 16, METATILE_Fortree_WoodBridge_Kecleon1, 0
+Route120_EventScript_SetBridgeClearMetatiles:: @ 81F54A3
+ setmetatile 13, 15, METATILE_Fortree_WoodBridge1_Top, 0
+ setmetatile 12, 16, METATILE_Fortree_WoodBridge1_Bottom, 0
setmetatile 12, 17, METATILE_General_ReflectiveWater, 0
setmetatile 13, 17, METATILE_General_ReflectiveWater, 0
return
-Route120_EventScript_1F54C8:: @ 81F54C8
+Route120_EventScript_SetBridgeKecleonMovement:: @ 81F54C8
setobjectmovementtype 36, MOVEMENT_TYPE_FACE_RIGHT
return
Route120_OnTransition: @ 81F54CD
call GabbyAndTy_EventScript_UpdateLocation
- call Route120_EventScript_1F54D8
+ call Route120_EventScript_SetWeather
end
-Route120_EventScript_1F54D8:: @ 81F54D8
+Route120_EventScript_SetWeather:: @ 81F54D8
getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_1, 14
- goto_if_le Route120_EventScript_1F5503
+ goto_if_le Route120_EventScript_SetSunnyWeather
compare VAR_TEMP_1, 60
- goto_if_le Route120_EventScript_1F5507
+ goto_if_le Route120_EventScript_TrySetRainyWeather
compare VAR_TEMP_1, 61
- goto_if_ge Route120_EventScript_1F54FF
+ goto_if_ge Route120_EventScript_SetCloudyWeather
return
-Route120_EventScript_1F54FF:: @ 81F54FF
+Route120_EventScript_SetCloudyWeather:: @ 81F54FF
setweather WEATHER_CLOUDS
return
-Route120_EventScript_1F5503:: @ 81F5503
+Route120_EventScript_SetSunnyWeather:: @ 81F5503
setweather WEATHER_SUNNY
return
-Route120_EventScript_1F5507:: @ 81F5507
+Route120_EventScript_TrySetRainyWeather:: @ 81F5507
compare VAR_TEMP_0, 7
- goto_if_le Route120_EventScript_1F5523
+ goto_if_le Route120_EventScript_SetRainyWeather
compare VAR_TEMP_0, 19
- goto_if_le Route120_EventScript_1F5503
- goto Route120_EventScript_1F5523
+ goto_if_le Route120_EventScript_SetSunnyWeather
+ goto Route120_EventScript_SetRainyWeather
end
-Route120_EventScript_1F5523:: @ 81F5523
+Route120_EventScript_SetRainyWeather:: @ 81F5523
setweather WEATHER_RAIN_LIGHT
return
-Route120_EventScript_1F5527:: @ 81F5527
+Route120_EventScript_BerryBeauty:: @ 81F5527
lock
faceplayer
dotimebasedevents
- goto_if_set FLAG_DAILY_ROUTE_120_RECEIVED_BERRY, Route120_EventScript_1F5625
- msgbox Route120_Text_2A70C7, MSGBOX_YESNO
+ goto_if_set FLAG_DAILY_ROUTE_120_RECEIVED_BERRY, Route120_EventScript_ReceivedBerry
+ msgbox Route120_Text_BerriesExpressionOfLoveIsntIt, MSGBOX_YESNO
compare VAR_RESULT, YES
- call_if_eq Route120_EventScript_1F562F
+ call_if_eq Route120_EventScript_BerryLove
compare VAR_RESULT, NO
- call_if_eq Route120_EventScript_1F5638
+ call_if_eq Route120_EventScript_BerryNotLove
specialvar VAR_RESULT, GetPlayerTrainerIdOnesDigit
switch VAR_RESULT
- case 0, Route120_EventScript_1F55CA
- case 5, Route120_EventScript_1F55CA
- case 1, Route120_EventScript_1F55D5
- case 6, Route120_EventScript_1F55D5
- case 2, Route120_EventScript_1F55E0
- case 7, Route120_EventScript_1F55E0
- case 3, Route120_EventScript_1F55EB
- case 8, Route120_EventScript_1F55EB
- case 4, Route120_EventScript_1F55F6
- case 9, Route120_EventScript_1F55F6
- end
-
-Route120_EventScript_1F55CA:: @ 81F55CA
+ case 0, Route120_EventScript_GiveFigyBerry
+ case 5, Route120_EventScript_GiveFigyBerry
+ case 1, Route120_EventScript_GiveWikiBerry
+ case 6, Route120_EventScript_GiveWikiBerry
+ case 2, Route120_EventScript_GiveMagoBerry
+ case 7, Route120_EventScript_GiveMagoBerry
+ case 3, Route120_EventScript_GiveAguavBerry
+ case 8, Route120_EventScript_GiveAguavBerry
+ case 4, Route120_EventScript_GiveIapapaBerry
+ case 9, Route120_EventScript_GiveIapapaBerry
+ end
+
+Route120_EventScript_GiveFigyBerry:: @ 81F55CA
setvar VAR_0x8004, ITEM_FIGY_BERRY
- goto Route120_EventScript_1F5601
+ goto Route120_EventScript_GiveBerry
end
-Route120_EventScript_1F55D5:: @ 81F55D5
+Route120_EventScript_GiveWikiBerry:: @ 81F55D5
setvar VAR_0x8004, ITEM_WIKI_BERRY
- goto Route120_EventScript_1F5601
+ goto Route120_EventScript_GiveBerry
end
-Route120_EventScript_1F55E0:: @ 81F55E0
+Route120_EventScript_GiveMagoBerry:: @ 81F55E0
setvar VAR_0x8004, ITEM_MAGO_BERRY
- goto Route120_EventScript_1F5601
+ goto Route120_EventScript_GiveBerry
end
-Route120_EventScript_1F55EB:: @ 81F55EB
+Route120_EventScript_GiveAguavBerry:: @ 81F55EB
setvar VAR_0x8004, ITEM_AGUAV_BERRY
- goto Route120_EventScript_1F5601
+ goto Route120_EventScript_GiveBerry
end
-Route120_EventScript_1F55F6:: @ 81F55F6
+Route120_EventScript_GiveIapapaBerry:: @ 81F55F6
setvar VAR_0x8004, ITEM_IAPAPA_BERRY
- goto Route120_EventScript_1F5601
+ goto Route120_EventScript_GiveBerry
end
-Route120_EventScript_1F5601:: @ 81F5601
+Route120_EventScript_GiveBerry:: @ 81F5601
giveitem_std VAR_0x8004
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_DAILY_ROUTE_120_RECEIVED_BERRY
- msgbox Route120_Text_2A71D5, MSGBOX_DEFAULT
+ msgbox Route120_Text_BerryIsRareRaiseItWithCare, MSGBOX_DEFAULT
release
end
-Route120_EventScript_1F5625:: @ 81F5625
- msgbox Route120_Text_2A7217, MSGBOX_DEFAULT
+Route120_EventScript_ReceivedBerry:: @ 81F5625
+ msgbox Route120_Text_IllGetMoreBerriesFromBerryMaster, MSGBOX_DEFAULT
release
end
-Route120_EventScript_1F562F:: @ 81F562F
- msgbox Route120_Text_2A7147, MSGBOX_DEFAULT
+Route120_EventScript_BerryLove:: @ 81F562F
+ msgbox Route120_Text_YesYouUnderstand, MSGBOX_DEFAULT
return
-Route120_EventScript_1F5638:: @ 81F5638
- msgbox Route120_Text_2A7183, MSGBOX_DEFAULT
+Route120_EventScript_BerryNotLove:: @ 81F5638
+ msgbox Route120_Text_MakeYourOwnImpressions, MSGBOX_DEFAULT
return
Route120_EventScript_Steven:: @ 81F5641
lock
faceplayer
- goto_if_set FLAG_NOT_READY_FOR_BATTLE_ROUTE_120, Route120_EventScript_1F5672
+ goto_if_set FLAG_NOT_READY_FOR_BATTLE_ROUTE_120, Route120_EventScript_StevenAskReadyForBattle
msgbox Route120_Text_StevenGreeting, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Route120_EventScript_StevenNotReady
@@ -177,12 +177,12 @@ Route120_EventScript_Steven:: @ 81F5641
end
Route120_EventScript_StevenNotReady:: @ 81F5665
- msgbox Route120_Text_1F5AAC, MSGBOX_DEFAULT
+ msgbox Route120_Text_StevenIllWaitHere, MSGBOX_DEFAULT
setflag FLAG_NOT_READY_FOR_BATTLE_ROUTE_120
release
end
-Route120_EventScript_1F5672:: @ 81F5672
+Route120_EventScript_StevenAskReadyForBattle:: @ 81F5672
msgbox Route120_Text_StevenReadyForBattle, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Route120_EventScript_StevenNotReady
@@ -249,8 +249,8 @@ Route120_EventScript_StevenGiveDeconScope:: @ 81F572C
delay 15
removeobject 31
waitfieldeffect FLDEFF_NPCFLY_OUT
- setmetatile 13, 15, METATILE_Fortree_WoodBridge_Kecleon0, 0
- setmetatile 12, 16, METATILE_Fortree_WoodBridge_Kecleon1, 0
+ setmetatile 13, 15, METATILE_Fortree_WoodBridge1_Top, 0
+ setmetatile 12, 16, METATILE_Fortree_WoodBridge1_Bottom, 0
setmetatile 12, 17, METATILE_General_ReflectiveWater, 0
setmetatile 13, 17, METATILE_General_ReflectiveWater, 0
special DrawWholeMapView
@@ -276,111 +276,111 @@ Route120_EventScript_InvisibleBridgeKecleon:: @ 81F57BC
msgbox Kecleon_Text_SomethingUnseeable, MSGBOX_NPC
end
-Route120_EventScript_1F57C5:: @ 81F57C5
- msgbox Route120_Text_1F5DCB, MSGBOX_SIGN
+Route120_EventScript_RouteSignFortree:: @ 81F57C5
+ msgbox Route120_Text_RouteSignFortree, MSGBOX_SIGN
end
-Route120_EventScript_1F57CE:: @ 81F57CE
- msgbox Route120_Text_1F5DE4, MSGBOX_SIGN
+Route120_EventScript_RouteSign121:: @ 81F57CE
+ msgbox Route120_Text_RouteSign121, MSGBOX_SIGN
end
-Route120_EventScript_1F57D7:: @ 81F57D7
- trainerbattle_single TRAINER_COLIN, Route120_Text_29E62D, Route120_Text_29E665
- msgbox Route120_Text_29E67A, MSGBOX_AUTOCLOSE
+Route120_EventScript_Colin:: @ 81F57D7
+ trainerbattle_single TRAINER_COLIN, Route120_Text_ColinIntro, Route120_Text_ColinDefeat
+ msgbox Route120_Text_ColinPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F57EE:: @ 81F57EE
- trainerbattle_single TRAINER_ROBERT_1, Route120_Text_29E6E3, Route120_Text_29E70A, Route120_EventScript_1F581A
+Route120_EventScript_Robert:: @ 81F57EE
+ trainerbattle_single TRAINER_ROBERT_1, Route120_Text_RobertIntro, Route120_Text_RobertDefeat, Route120_EventScript_RegisterRobert
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route120_EventScript_1F5839
- msgbox Route120_Text_29E726, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route120_EventScript_RematchRobert
+ msgbox Route120_Text_RobertPostBattle, MSGBOX_DEFAULT
release
end
-Route120_EventScript_1F581A:: @ 81F581A
+Route120_EventScript_RegisterRobert:: @ 81F581A
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route120_Text_29E75D, MSGBOX_DEFAULT
+ msgbox Route120_Text_RobertRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ROBERT_1
release
end
-Route120_EventScript_1F5839:: @ 81F5839
- trainerbattle_rematch TRAINER_ROBERT_1, Route120_Text_29E7AA, Route120_Text_29E7E1
- msgbox Route120_Text_29E804, MSGBOX_AUTOCLOSE
+Route120_EventScript_RematchRobert:: @ 81F5839
+ trainerbattle_rematch TRAINER_ROBERT_1, Route120_Text_RobertRematchIntro, Route120_Text_RobertRematchDefeat
+ msgbox Route120_Text_RobertPostRematch, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F5850:: @ 81F5850
- trainerbattle_single TRAINER_LORENZO, Route120_Text_29E843, Route120_Text_29E884
- msgbox Route120_Text_29E8C5, MSGBOX_AUTOCLOSE
+Route120_EventScript_Lorenzo:: @ 81F5850
+ trainerbattle_single TRAINER_LORENZO, Route120_Text_LorenzoIntro, Route120_Text_LorenzoDefeat
+ msgbox Route120_Text_LorenzoPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F5867:: @ 81F5867
- trainerbattle_single TRAINER_JENNA, Route120_Text_29E91C, Route120_Text_29E980
- msgbox Route120_Text_29E996, MSGBOX_AUTOCLOSE
+Route120_EventScript_Jenna:: @ 81F5867
+ trainerbattle_single TRAINER_JENNA, Route120_Text_JennaIntro, Route120_Text_JennaDefeat
+ msgbox Route120_Text_JennaPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F587E:: @ 81F587E
- trainerbattle_single TRAINER_JEFFREY_1, Route120_Text_29E9D7, Route120_Text_29E9FF, Route120_EventScript_1F58AA
+Route120_EventScript_Jeffrey:: @ 81F587E
+ trainerbattle_single TRAINER_JEFFREY_1, Route120_Text_JeffreyIntro, Route120_Text_JeffreyDefeat, Route120_EventScript_RegisterJeffrey
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route120_EventScript_1F58C9
- msgbox Route120_Text_29EA08, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route120_EventScript_RematchJeffrey
+ msgbox Route120_Text_JeffreyPostBattle, MSGBOX_DEFAULT
release
end
-Route120_EventScript_1F58AA:: @ 81F58AA
+Route120_EventScript_RegisterJeffrey:: @ 81F58AA
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route120_Text_29EA31, MSGBOX_DEFAULT
+ msgbox Route120_Text_JeffreyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JEFFREY_1
release
end
-Route120_EventScript_1F58C9:: @ 81F58C9
- trainerbattle_rematch TRAINER_JEFFREY_1, Route120_Text_29EA61, Route120_Text_29EA8F
- msgbox Route120_Text_29EAA9, MSGBOX_AUTOCLOSE
+Route120_EventScript_RematchJeffrey:: @ 81F58C9
+ trainerbattle_rematch TRAINER_JEFFREY_1, Route120_Text_JeffreyRematchIntro, Route120_Text_JeffreyRematchDefeat
+ msgbox Route120_Text_JeffreyPostRematch, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F58E0:: @ 81F58E0
- trainerbattle_single TRAINER_JENNIFER, Route120_Text_29EAEF, Route120_Text_29EB53
- msgbox Route120_Text_29EB6E, MSGBOX_AUTOCLOSE
+Route120_EventScript_Jennifer:: @ 81F58E0
+ trainerbattle_single TRAINER_JENNIFER, Route120_Text_JenniferIntro, Route120_Text_JenniferDefeat
+ msgbox Route120_Text_JenniferPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F58F7:: @ 81F58F7
- trainerbattle_single TRAINER_CHIP, Route120_Text_29EBAF, Route120_Text_29EC25
- msgbox Route120_Text_29EC41, MSGBOX_AUTOCLOSE
+Route120_EventScript_Chip:: @ 81F58F7
+ trainerbattle_single TRAINER_CHIP, Route120_Text_ChipIntro, Route120_Text_ChipDefeat
+ msgbox Route120_Text_ChipPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F590E:: @ 81F590E
- trainerbattle_single TRAINER_CLARISSA, Route120_Text_29ECA6, Route120_Text_29ECEF
- msgbox Route120_Text_29ED19, MSGBOX_AUTOCLOSE
+Route120_EventScript_Clarissa:: @ 81F590E
+ trainerbattle_single TRAINER_CLARISSA, Route120_Text_ClarissaIntro, Route120_Text_ClarissaDefeat
+ msgbox Route120_Text_ClarissaPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F5925:: @ 81F5925
- trainerbattle_single TRAINER_ANGELICA, Route120_Text_29ED71, Route120_Text_29EDD3
- msgbox Route120_Text_29EDF7, MSGBOX_AUTOCLOSE
+Route120_EventScript_Angelica:: @ 81F5925
+ trainerbattle_single TRAINER_ANGELICA, Route120_Text_AngelicaIntro, Route120_Text_AngelicaDefeat
+ msgbox Route120_Text_AngelicaPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F593C:: @ 81F593C
- trainerbattle_single TRAINER_KEIGO, Route120_Text_29EE50, Route120_Text_29EE97
- msgbox Route120_Text_29EED4, MSGBOX_AUTOCLOSE
+Route120_EventScript_Keigo:: @ 81F593C
+ trainerbattle_single TRAINER_KEIGO, Route120_Text_KeigoIntro, Route120_Text_KeigoDefeat
+ msgbox Route120_Text_KeigoPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F5953:: @ 81F5953
- trainerbattle_single TRAINER_RILEY, Route120_Text_29EF08, Route120_Text_29EF63
- msgbox Route120_Text_29EF89, MSGBOX_AUTOCLOSE
+Route120_EventScript_Riley:: @ 81F5953
+ trainerbattle_single TRAINER_RILEY, Route120_Text_RileyIntro, Route120_Text_RileyDefeat
+ msgbox Route120_Text_RileyPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F596A:: @ 81F596A
- trainerbattle_single TRAINER_LEONEL, Route120_Text_29F04F, Route120_Text_29F080
- msgbox Route120_Text_29F0A1, MSGBOX_AUTOCLOSE
+Route120_EventScript_Leonel:: @ 81F596A
+ trainerbattle_single TRAINER_LEONEL, Route120_Text_LeonelIntro, Route120_Text_LeonelDefeat
+ msgbox Route120_Text_LeonelPostBattle, MSGBOX_AUTOCLOSE
end
-Route120_EventScript_1F5981:: @ 81F5981
- trainerbattle_single TRAINER_CALLIE, Route120_Text_29EFB1, Route120_Text_29EFE1
- msgbox Route120_Text_29F002, MSGBOX_AUTOCLOSE
+Route120_EventScript_Callie:: @ 81F5981
+ trainerbattle_single TRAINER_CALLIE, Route120_Text_CallieIntro, Route120_Text_CallieDefeat
+ msgbox Route120_Text_CalliePostBattle, MSGBOX_AUTOCLOSE
end
Route120_Text_StevenGreeting: @ 81F5998
@@ -396,7 +396,7 @@ Route120_Text_StevenGreeting: @ 81F5998
.string "{PLAYER}{KUN}, are your POKéMON ready for\n"
.string "battle?$"
-Route120_Text_1F5AAC: @ 81F5AAC
+Route120_Text_StevenIllWaitHere: @ 81F5AAC
.string "STEVEN: No?\p"
.string "I'll wait here, so you can get ready.$"
@@ -444,10 +444,10 @@ Kecleon_Text_UseDevonScopeMonAttacked: @ 81F5D63
.string "visible!\p"
.string "The startled POKéMON attacked!$"
-Route120_Text_1F5DCB: @ 81F5DCB
+Route120_Text_RouteSignFortree: @ 81F5DCB
.string "ROUTE 120\n"
.string "{LEFT_ARROW} FORTREE CITY$"
-Route120_Text_1F5DE4: @ 81F5DE4
+Route120_Text_RouteSign121: @ 81F5DE4
.string "{RIGHT_ARROW} ROUTE 121\n"
.string "{LEFT_ARROW} ROUTE 120$"
diff --git a/data/maps/Route121/map.json b/data/maps/Route121/map.json
index 9382ab375..9d91c47d1 100644
--- a/data/maps/Route121/map.json
+++ b/data/maps/Route121/map.json
@@ -40,7 +40,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route121_EventScript_1F5DFD",
+ "script": "Route121_EventScript_Woman",
"flag": "0"
},
{
@@ -157,7 +157,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route121_EventScript_1F5F04",
+ "script": "Route121_EventScript_Kate",
"flag": "0"
},
{
@@ -170,7 +170,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route121_EventScript_1F5F1F",
+ "script": "Route121_EventScript_Joy",
"flag": "0"
},
{
@@ -248,7 +248,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route121_EventScript_1F5E74",
+ "script": "Route121_EventScript_Vanessa",
"flag": "0"
},
{
@@ -261,7 +261,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route121_EventScript_1F5E8B",
+ "script": "Route121_EventScript_Walter",
"flag": "0"
},
{
@@ -274,7 +274,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route121_EventScript_1F5EED",
+ "script": "Route121_EventScript_Tammy",
"flag": "0"
},
{
@@ -287,7 +287,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route121_EventScript_1F5F3A",
+ "script": "Route121_EventScript_Jessica",
"flag": "0"
},
{
@@ -326,7 +326,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route121_EventScript_1F5F9C",
+ "script": "Route121_EventScript_Cale",
"flag": "0"
},
{
@@ -339,7 +339,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route121_EventScript_1F5FB3",
+ "script": "Route121_EventScript_Myles",
"flag": "0"
},
{
@@ -352,7 +352,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route121_EventScript_1F5FCA",
+ "script": "Route121_EventScript_Pat",
"flag": "0"
},
{
@@ -365,7 +365,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route121_EventScript_1F5FE1",
+ "script": "Route121_EventScript_Marcel",
"flag": "0"
},
{
@@ -378,7 +378,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route121_EventScript_1F5FF8",
+ "script": "Route121_EventScript_Cristin",
"flag": "0"
},
{
@@ -425,7 +425,7 @@
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
- "script": "Route121_EventScript_1F5E18"
+ "script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
@@ -434,7 +434,7 @@
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
- "script": "Route121_EventScript_1F5E18"
+ "script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
@@ -443,7 +443,7 @@
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
- "script": "Route121_EventScript_1F5E18"
+ "script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
@@ -452,7 +452,7 @@
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
- "script": "Route121_EventScript_1F5E18"
+ "script": "Route121_EventScript_AquaGruntsMoveOut"
}
],
"bg_events": [
@@ -462,7 +462,7 @@
"y": 14,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route121_EventScript_1F5E06"
+ "script": "Route121_EventScript_MtPyrePierSign"
},
{
"type": "secret_base",
@@ -498,7 +498,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route121_EventScript_1F5E0F"
+ "script": "Route121_EventScript_SafariZoneSign"
},
{
"type": "hidden_item",
diff --git a/data/maps/Route121/scripts.inc b/data/maps/Route121/scripts.inc
index 06862972c..81330b6e8 100644
--- a/data/maps/Route121/scripts.inc
+++ b/data/maps/Route121/scripts.inc
@@ -1,28 +1,28 @@
Route121_MapScripts:: @ 81F5DFC
.byte 0
-Route121_EventScript_1F5DFD:: @ 81F5DFD
- msgbox Route121_Text_1F607F, MSGBOX_NPC
+Route121_EventScript_Woman:: @ 81F5DFD
+ msgbox Route121_Text_AheadLoomsMtPyre, MSGBOX_NPC
end
-Route121_EventScript_1F5E06:: @ 81F5E06
- msgbox Route121_Text_1F60D3, MSGBOX_SIGN
+Route121_EventScript_MtPyrePierSign:: @ 81F5E06
+ msgbox Route121_Text_MtPyrePierSign, MSGBOX_SIGN
end
-Route121_EventScript_1F5E0F:: @ 81F5E0F
- msgbox Route121_Text_1F611E, MSGBOX_SIGN
+Route121_EventScript_SafariZoneSign:: @ 81F5E0F
+ msgbox Route121_Text_SafariZoneSign, MSGBOX_SIGN
end
-Route121_EventScript_1F5E18:: @ 81F5E18
+Route121_EventScript_AquaGruntsMoveOut:: @ 81F5E18
lockall
playbgm MUS_AQA_0, 0
applymovement 13, Common_Movement_WalkInPlaceRight
waitmovement 0
- msgbox Route121_Text_1F605A, MSGBOX_DEFAULT
+ msgbox Route121_Text_OkayMoveOutToMtPyre, MSGBOX_DEFAULT
closemessage
- applymovement 12, Route121_Movement_1F5E59
- applymovement 13, Route121_Movement_1F5E62
- applymovement 14, Route121_Movement_1F5E6B
+ applymovement 12, Route121_Movement_Grunt1Exit
+ applymovement 13, Route121_Movement_Grunt2Exit
+ applymovement 14, Route121_Movement_Grunt3Exit
waitmovement 0
fadedefaultbgm
removeobject 12
@@ -32,7 +32,7 @@ Route121_EventScript_1F5E18:: @ 81F5E18
releaseall
end
-Route121_Movement_1F5E59: @ 81F5E59
+Route121_Movement_Grunt1Exit: @ 81F5E59
walk_down
walk_down
walk_down
@@ -43,7 +43,7 @@ Route121_Movement_1F5E59: @ 81F5E59
walk_down
step_end
-Route121_Movement_1F5E62: @ 81F5E62
+Route121_Movement_Grunt2Exit: @ 81F5E62
walk_down
walk_down
walk_down
@@ -54,7 +54,7 @@ Route121_Movement_1F5E62: @ 81F5E62
walk_down
step_end
-Route121_Movement_1F5E6B: @ 81F5E6B
+Route121_Movement_Grunt3Exit: @ 81F5E6B
walk_down
walk_down
walk_down
@@ -65,127 +65,127 @@ Route121_Movement_1F5E6B: @ 81F5E6B
walk_down
step_end
-Route121_EventScript_1F5E74:: @ 81F5E74
- trainerbattle_single TRAINER_VANESSA, Route121_Text_29F0EC, Route121_Text_29F11F
- msgbox Route121_Text_29F138, MSGBOX_AUTOCLOSE
+Route121_EventScript_Vanessa:: @ 81F5E74
+ trainerbattle_single TRAINER_VANESSA, Route121_Text_VanessaIntro, Route121_Text_VanessaDefeat
+ msgbox Route121_Text_VanessaPostBattle, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5E8B:: @ 81F5E8B
- trainerbattle_single TRAINER_WALTER_1, Route121_Text_29F199, Route121_Text_29F20D, Route121_EventScript_1F5EB7
+Route121_EventScript_Walter:: @ 81F5E8B
+ trainerbattle_single TRAINER_WALTER_1, Route121_Text_WalterIntro, Route121_Text_WalterDefeat, Route121_EventScript_RegisterWalter
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route121_EventScript_1F5ED6
- msgbox Route121_Text_29F21E, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route121_EventScript_RematchWalter
+ msgbox Route121_Text_WalterPostBattle, MSGBOX_DEFAULT
release
end
-Route121_EventScript_1F5EB7:: @ 81F5EB7
+Route121_EventScript_RegisterWalter:: @ 81F5EB7
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route121_Text_29F25B, MSGBOX_DEFAULT
+ msgbox Route121_Text_WalterRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_WALTER_1
release
end
-Route121_EventScript_1F5ED6:: @ 81F5ED6
- trainerbattle_rematch TRAINER_WALTER_1, Route121_Text_29F2A6, Route121_Text_29F31A
- msgbox Route121_Text_29F32B, MSGBOX_AUTOCLOSE
+Route121_EventScript_RematchWalter:: @ 81F5ED6
+ trainerbattle_rematch TRAINER_WALTER_1, Route121_Text_WalterRematchIntro, Route121_Text_WalterRematchDefeat
+ msgbox Route121_Text_WalterPostRematch, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5EED:: @ 81F5EED
- trainerbattle_single TRAINER_TAMMY, Route121_Text_29F381, Route121_Text_29F3B9
- msgbox Route121_Text_29F3C6, MSGBOX_AUTOCLOSE
+Route121_EventScript_Tammy:: @ 81F5EED
+ trainerbattle_single TRAINER_TAMMY, Route121_Text_TammyIntro, Route121_Text_TammyDefeat
+ msgbox Route121_Text_TammyPostBattle, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5F04:: @ 81F5F04
- trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_29F3FB, Route121_Text_29F43F, Route121_Text_29F4C9
- msgbox Route121_Text_29F476, MSGBOX_AUTOCLOSE
+Route121_EventScript_Kate:: @ 81F5F04
+ trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_KateIntro, Route121_Text_KateDefeat, Route121_Text_KateNotEnoughMons
+ msgbox Route121_Text_KatePostBattle, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5F1F:: @ 81F5F1F
- trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_29F521, Route121_Text_29F564, Route121_Text_29F5CE
- msgbox Route121_Text_29F582, MSGBOX_AUTOCLOSE
+Route121_EventScript_Joy:: @ 81F5F1F
+ trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_JoyIntro, Route121_Text_JoyDefeat, Route121_Text_JoyNotEnoughMons
+ msgbox Route121_Text_JoyPostBattle, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5F3A:: @ 81F5F3A
- trainerbattle_single TRAINER_JESSICA_1, Route121_Text_29F612, Route121_Text_29F641, Route121_EventScript_1F5F66
+Route121_EventScript_Jessica:: @ 81F5F3A
+ trainerbattle_single TRAINER_JESSICA_1, Route121_Text_JessicaIntro, Route121_Text_JessicaDefeat, Route121_EventScript_RegisterJessica
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route121_EventScript_1F5F85
- msgbox Route121_Text_29F66F, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route121_EventScript_RematchJessica
+ msgbox Route121_Text_JessicaPostBattle, MSGBOX_DEFAULT
release
end
-Route121_EventScript_1F5F66:: @ 81F5F66
+Route121_EventScript_RegisterJessica:: @ 81F5F66
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route121_Text_29F69F, MSGBOX_DEFAULT
+ msgbox Route121_Text_JessicaRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JESSICA_1
release
end
-Route121_EventScript_1F5F85:: @ 81F5F85
- trainerbattle_rematch TRAINER_JESSICA_1, Route121_Text_29F6E4, Route121_Text_29F710
- msgbox Route121_Text_29F740, MSGBOX_AUTOCLOSE
+Route121_EventScript_RematchJessica:: @ 81F5F85
+ trainerbattle_rematch TRAINER_JESSICA_1, Route121_Text_JessicaRematchIntro, Route121_Text_JessicaRematchDefeat
+ msgbox Route121_Text_JessicaPostRematch, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5F9C:: @ 81F5F9C
- trainerbattle_single TRAINER_CALE, Route121_Text_29F91A, Route121_Text_29F97B
- msgbox Route121_Text_29F9AE, MSGBOX_AUTOCLOSE
+Route121_EventScript_Cale:: @ 81F5F9C
+ trainerbattle_single TRAINER_CALE, Route121_Text_CaleIntro, Route121_Text_CaleDefeat
+ msgbox Route121_Text_CalePostBattle, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5FB3:: @ 81F5FB3
- trainerbattle_single TRAINER_MYLES, Route121_Text_29FA1E, Route121_Text_29FA64
- msgbox Route121_Text_29FA73, MSGBOX_AUTOCLOSE
+Route121_EventScript_Myles:: @ 81F5FB3
+ trainerbattle_single TRAINER_MYLES, Route121_Text_MylesIntro, Route121_Text_MylesDefeat
+ msgbox Route121_Text_MylesPostBattle, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5FCA:: @ 81F5FCA
- trainerbattle_single TRAINER_PAT, Route121_Text_29FAA7, Route121_Text_29FAD8
- msgbox Route121_Text_29FAEA, MSGBOX_AUTOCLOSE
+Route121_EventScript_Pat:: @ 81F5FCA
+ trainerbattle_single TRAINER_PAT, Route121_Text_PatIntro, Route121_Text_PatDefeat
+ msgbox Route121_Text_PatPostBattle, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5FE1:: @ 81F5FE1
- trainerbattle_single TRAINER_MARCEL, Route121_Text_29FB35, Route121_Text_29FB8C
- msgbox Route121_Text_29FBA8, MSGBOX_AUTOCLOSE
+Route121_EventScript_Marcel:: @ 81F5FE1
+ trainerbattle_single TRAINER_MARCEL, Route121_Text_MarcelIntro, Route121_Text_MarcelDefeat
+ msgbox Route121_Text_MarcelPostBattle, MSGBOX_AUTOCLOSE
end
-Route121_EventScript_1F5FF8:: @ 81F5FF8
- trainerbattle_single TRAINER_CRISTIN_1, Route121_Text_29F770, Route121_Text_29F7C1, Route121_EventScript_1F6024
+Route121_EventScript_Cristin:: @ 81F5FF8
+ trainerbattle_single TRAINER_CRISTIN_1, Route121_Text_CristinIntro, Route121_Text_CristinDefeat, Route121_EventScript_RegisterCristin
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route121_EventScript_1F6043
- msgbox Route121_Text_29F7D4, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route121_EventScript_RematchCristin
+ msgbox Route121_Text_CristinPostBattle, MSGBOX_DEFAULT
release
end
-Route121_EventScript_1F6024:: @ 81F6024
+Route121_EventScript_RegisterCristin:: @ 81F6024
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route121_Text_29F80D, MSGBOX_DEFAULT
+ msgbox Route121_Text_CristinRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CRISTIN_1
release
end
-Route121_EventScript_1F6043:: @ 81F6043
- trainerbattle_rematch TRAINER_CRISTIN_1, Route121_Text_29F855, Route121_Text_29F8A8
- msgbox Route121_Text_29F8D0, MSGBOX_AUTOCLOSE
+Route121_EventScript_RematchCristin:: @ 81F6043
+ trainerbattle_rematch TRAINER_CRISTIN_1, Route121_Text_CristinRematchIntro, Route121_Text_CristinRematchDefeat
+ msgbox Route121_Text_CristinPostRematch, MSGBOX_AUTOCLOSE
end
-Route121_Text_1F605A: @ 81F605A
+Route121_Text_OkayMoveOutToMtPyre: @ 81F605A
.string "Okay!\n"
.string "We're to move out to MT. PYRE!$"
-Route121_Text_1F607F: @ 81F607F
+Route121_Text_AheadLoomsMtPyre: @ 81F607F
.string "Ahead looms MT. PYRE…\p"
.string "It is a natural monument to the spirits \n"
.string "of departed POKéMON…$"
-Route121_Text_1F60D3: @ 81F60D3
+Route121_Text_MtPyrePierSign: @ 81F60D3
.string "MT. PYRE PIER\p"
.string "…The sign is old and worn out.\n"
.string "The words are barely legible…$"
-Route121_Text_1F611E: @ 81F611E
+Route121_Text_SafariZoneSign: @ 81F611E
.string "“Filled with rare POKéMON!”\n"
.string "SAFARI ZONE$"
diff --git a/data/maps/Route123/map.json b/data/maps/Route123/map.json
index c13d17a0c..fc4af6b3c 100644
--- a/data/maps/Route123/map.json
+++ b/data/maps/Route123/map.json
@@ -126,7 +126,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route123_EventScript_1F61C5",
+ "script": "Route123_EventScript_Wendy",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route123_EventScript_1F61DC",
+ "script": "Route123_EventScript_Braxton",
"flag": "0"
},
{
@@ -308,7 +308,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route123_EventScript_1F6151",
+ "script": "Route123_EventScript_GigaDrainGirl",
"flag": "0"
},
{
@@ -360,7 +360,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route123_EventScript_1F61F3",
+ "script": "Route123_EventScript_Violet",
"flag": "0"
},
{
@@ -373,7 +373,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route123_EventScript_1F62E9",
+ "script": "Route123_EventScript_Yuki",
"flag": "0"
},
{
@@ -386,7 +386,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route123_EventScript_1F62CE",
+ "script": "Route123_EventScript_Miu",
"flag": "0"
},
{
@@ -399,7 +399,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route123_EventScript_1F620A",
+ "script": "Route123_EventScript_Cameron",
"flag": "0"
},
{
@@ -412,7 +412,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route123_EventScript_1F626C",
+ "script": "Route123_EventScript_Jacki",
"flag": "0"
},
{
@@ -425,7 +425,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route123_EventScript_1F6304",
+ "script": "Route123_EventScript_Kindra",
"flag": "0"
},
{
@@ -464,7 +464,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route123_EventScript_1F6377",
+ "script": "Route123_EventScript_Jonas",
"flag": "0"
},
{
@@ -477,7 +477,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route123_EventScript_1F6360",
+ "script": "Route123_EventScript_Kayley",
"flag": "0"
},
{
@@ -490,7 +490,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route123_EventScript_1F6349",
+ "script": "Route123_EventScript_Ed",
"flag": "0"
},
{
@@ -503,7 +503,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route123_EventScript_1F63BC",
+ "script": "Route123_EventScript_Fernando",
"flag": "0"
},
{
@@ -516,7 +516,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route123_EventScript_1F6332",
+ "script": "Route123_EventScript_Alberto",
"flag": "0"
},
{
@@ -529,7 +529,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route123_EventScript_1F631B",
+ "script": "Route123_EventScript_Frederick",
"flag": "0"
},
{
@@ -555,7 +555,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route123_EventScript_1F638E",
+ "script": "Route123_EventScript_Jazmyn",
"flag": "0"
},
{
@@ -568,7 +568,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route123_EventScript_1F63A5",
+ "script": "Route123_EventScript_Davis",
"flag": "0"
},
{
@@ -757,7 +757,7 @@
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route123_EventScript_1F61B3"
+ "script": "Route123_EventScript_RouteSignMtPyre"
},
{
"type": "secret_base",
@@ -779,7 +779,7 @@
"y": 12,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route123_EventScript_1F61AA"
+ "script": "Route123_EventScript_RouteSign"
},
{
"type": "hidden_item",
@@ -795,7 +795,7 @@
"y": 7,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route123_EventScript_1F61BC"
+ "script": "Route123_EventScript_BerryMastersHouseSign"
},
{
"type": "secret_base",
diff --git a/data/maps/Route123/scripts.inc b/data/maps/Route123/scripts.inc
index b5b3e6179..b74b16865 100644
--- a/data/maps/Route123/scripts.inc
+++ b/data/maps/Route123/scripts.inc
@@ -6,198 +6,198 @@ Route123_OnTransition: @ 81F614D
special SetRoute123Weather
end
-Route123_EventScript_1F6151:: @ 81F6151
+Route123_EventScript_GigaDrainGirl:: @ 81F6151
lock
faceplayer
- goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_1F61A0
- msgbox Route123_Text_1F641E, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_ReceivedGigaDrain
+ msgbox Route123_Text_LoveGrassMonsHaveAny, MSGBOX_DEFAULT
special IsGrassTypeInParty
- compare VAR_RESULT, 0
- goto_if_eq Route123_EventScript_1F619E
- msgbox Route123_Text_1F645D, MSGBOX_DEFAULT
+ compare VAR_RESULT, FALSE
+ goto_if_eq Route123_EventScript_NoGrassMons
+ msgbox Route123_Text_YouLikeGrassMonsTooHaveThis, MSGBOX_DEFAULT
giveitem_std ITEM_TM19
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM19
- msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT
+ msgbox Route123_Text_CheckTreesWithMyGrassMon, MSGBOX_DEFAULT
release
end
-Route123_EventScript_1F619E:: @ 81F619E
+Route123_EventScript_NoGrassMons:: @ 81F619E
release
end
-Route123_EventScript_1F61A0:: @ 81F61A0
- msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT
+Route123_EventScript_ReceivedGigaDrain:: @ 81F61A0
+ msgbox Route123_Text_CheckTreesWithMyGrassMon, MSGBOX_DEFAULT
release
end
-Route123_EventScript_1F61AA:: @ 81F61AA
- msgbox Route123_Text_1F6511, MSGBOX_SIGN
+Route123_EventScript_RouteSign:: @ 81F61AA
+ msgbox Route123_Text_RouteSign, MSGBOX_SIGN
end
-Route123_EventScript_1F61B3:: @ 81F61B3
- msgbox Route123_Text_1F6529, MSGBOX_SIGN
+Route123_EventScript_RouteSignMtPyre:: @ 81F61B3
+ msgbox Route123_Text_RouteSignMtPyre, MSGBOX_SIGN
end
-Route123_EventScript_1F61BC:: @ 81F61BC
- msgbox Route123_Text_1F6557, MSGBOX_SIGN
+Route123_EventScript_BerryMastersHouseSign:: @ 81F61BC
+ msgbox Route123_Text_BerryMastersHouse, MSGBOX_SIGN
end
-Route123_EventScript_1F61C5:: @ 81F61C5
- trainerbattle_single TRAINER_WENDY, Route123_Text_29FBEB, Route123_Text_29FC23
- msgbox Route123_Text_29FC42, MSGBOX_AUTOCLOSE
+Route123_EventScript_Wendy:: @ 81F61C5
+ trainerbattle_single TRAINER_WENDY, Route123_Text_WendyIntro, Route123_Text_WendyDefeat
+ msgbox Route123_Text_WendyPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F61DC:: @ 81F61DC
- trainerbattle_single TRAINER_BRAXTON, Route123_Text_29FC6F, Route123_Text_29FCD6
- msgbox Route123_Text_29FCF4, MSGBOX_AUTOCLOSE
+Route123_EventScript_Braxton:: @ 81F61DC
+ trainerbattle_single TRAINER_BRAXTON, Route123_Text_BraxtonIntro, Route123_Text_BraxtonDefeat
+ msgbox Route123_Text_BraxtonPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F61F3:: @ 81F61F3
- trainerbattle_single TRAINER_VIOLET, Route123_Text_29FD1D, Route123_Text_29FD53
- msgbox Route123_Text_29FD7B, MSGBOX_AUTOCLOSE
+Route123_EventScript_Violet:: @ 81F61F3
+ trainerbattle_single TRAINER_VIOLET, Route123_Text_VioletIntro, Route123_Text_VioletDefeat
+ msgbox Route123_Text_VioletPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F620A:: @ 81F620A
- trainerbattle_single TRAINER_CAMERON_1, Route123_Text_29FDBA, Route123_Text_29FE1E, Route123_EventScript_1F6236
+Route123_EventScript_Cameron:: @ 81F620A
+ trainerbattle_single TRAINER_CAMERON_1, Route123_Text_CameronIntro, Route123_Text_CameronDefeat, Route123_EventScript_RegisterCameron
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route123_EventScript_1F6255
- msgbox Route123_Text_29FE2A, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route123_EventScript_RematchCameron
+ msgbox Route123_Text_CameronPostBattle, MSGBOX_DEFAULT
release
end
-Route123_EventScript_1F6236:: @ 81F6236
+Route123_EventScript_RegisterCameron:: @ 81F6236
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route123_Text_29FE70, MSGBOX_DEFAULT
+ msgbox Route123_Text_CameronRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CAMERON_1
release
end
-Route123_EventScript_1F6255:: @ 81F6255
- trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_29FED4, Route123_Text_29FF1B
- msgbox Route123_Text_29FF27, MSGBOX_AUTOCLOSE
+Route123_EventScript_RematchCameron:: @ 81F6255
+ trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_CameronRematchIntro, Route123_Text_CameronRematchDefeat
+ msgbox Route123_Text_CameronPostRematch, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F626C:: @ 81F626C
- trainerbattle_single TRAINER_JACKI_1, Route123_Text_29FF61, Route123_Text_29FFD8, Route123_EventScript_1F6298
+Route123_EventScript_Jacki:: @ 81F626C
+ trainerbattle_single TRAINER_JACKI_1, Route123_Text_JackiIntro, Route123_Text_JackiDefeat, Route123_EventScript_RegisterJacki
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route123_EventScript_1F62B7
- msgbox Route123_Text_29FFE5, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route123_EventScript_RematchJacki
+ msgbox Route123_Text_JackiPostBattle, MSGBOX_DEFAULT
release
end
-Route123_EventScript_1F6298:: @ 81F6298
+Route123_EventScript_RegisterJacki:: @ 81F6298
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route123_Text_2A0027, MSGBOX_DEFAULT
+ msgbox Route123_Text_JackiRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JACKI_1
release
end
-Route123_EventScript_1F62B7:: @ 81F62B7
- trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_2A005E, Route123_Text_2A008D
- msgbox Route123_Text_2A0099, MSGBOX_AUTOCLOSE
+Route123_EventScript_RematchJacki:: @ 81F62B7
+ trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_JackiRematchIntro, Route123_Text_JackiRematchDefeat
+ msgbox Route123_Text_JackiPostRematch, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F62CE:: @ 81F62CE
- trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_2A00D6, Route123_Text_2A0119, Route123_Text_2A016D
- msgbox Route123_Text_2A012E, MSGBOX_AUTOCLOSE
+Route123_EventScript_Miu:: @ 81F62CE
+ trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_MiuIntro, Route123_Text_MiuDefeat, Route123_Text_MiuNotEnoughMons
+ msgbox Route123_Text_MiuPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F62E9:: @ 81F62E9
- trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_2A01A7, Route123_Text_2A01D8, Route123_Text_2A0224
- msgbox Route123_Text_2A01EE, MSGBOX_AUTOCLOSE
+Route123_EventScript_Yuki:: @ 81F62E9
+ trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_YukiIntro, Route123_Text_YukiDefeat, Route123_Text_YukiNotEnoughMons
+ msgbox Route123_Text_YukiPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F6304:: @ 81F6304
- trainerbattle_single TRAINER_KINDRA, Route123_Text_2A025F, Route123_Text_2A02A6
- msgbox Route123_Text_2A02C1, MSGBOX_AUTOCLOSE
+Route123_EventScript_Kindra:: @ 81F6304
+ trainerbattle_single TRAINER_KINDRA, Route123_Text_KindraIntro, Route123_Text_KindraDefeat
+ msgbox Route123_Text_KindraPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F631B:: @ 81F631B
- trainerbattle_single TRAINER_FREDRICK, Route123_Text_2A060A, Route123_Text_2A0631
- msgbox Route123_Text_2A0672, MSGBOX_AUTOCLOSE
+Route123_EventScript_Frederick:: @ 81F631B
+ trainerbattle_single TRAINER_FREDRICK, Route123_Text_FrederickIntro, Route123_Text_FrederickDefeat
+ msgbox Route123_Text_FrederickPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F6332:: @ 81F6332
- trainerbattle_single TRAINER_ALBERTO, Route123_Text_2A06AF, Route123_Text_2A0704
- msgbox Route123_Text_2A072B, MSGBOX_AUTOCLOSE
+Route123_EventScript_Alberto:: @ 81F6332
+ trainerbattle_single TRAINER_ALBERTO, Route123_Text_AlbertoIntro, Route123_Text_AlbertoDefeat
+ msgbox Route123_Text_AlbertoPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F6349:: @ 81F6349
- trainerbattle_single TRAINER_ED, Route123_Text_2A079B, Route123_Text_2A07F0
- msgbox Route123_Text_2A080D, MSGBOX_AUTOCLOSE
+Route123_EventScript_Ed:: @ 81F6349
+ trainerbattle_single TRAINER_ED, Route123_Text_EdIntro, Route123_Text_EdDefeat
+ msgbox Route123_Text_EdPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F6360:: @ 81F6360
- trainerbattle_single TRAINER_KAYLEY, Route123_Text_2A0902, Route123_Text_2A0943
- msgbox Route123_Text_2A096E, MSGBOX_AUTOCLOSE
+Route123_EventScript_Kayley:: @ 81F6360
+ trainerbattle_single TRAINER_KAYLEY, Route123_Text_KayleyIntro, Route123_Text_KayleyDefeat
+ msgbox Route123_Text_KayleyPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F6377:: @ 81F6377
- trainerbattle_single TRAINER_JONAS, Route123_Text_2A0854, Route123_Text_2A088A
- msgbox Route123_Text_2A08CA, MSGBOX_AUTOCLOSE
+Route123_EventScript_Jonas:: @ 81F6377
+ trainerbattle_single TRAINER_JONAS, Route123_Text_JonasIntro, Route123_Text_JonasDefeat
+ msgbox Route123_Text_JonasPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F638E:: @ 81F638E
- trainerbattle_single TRAINER_JAZMYN, Route123_Text_2A054E, Route123_Text_2A0592
- msgbox Route123_Text_2A05AC, MSGBOX_AUTOCLOSE
+Route123_EventScript_Jazmyn:: @ 81F638E
+ trainerbattle_single TRAINER_JAZMYN, Route123_Text_JazmynIntro, Route123_Text_JazmynDefeat
+ msgbox Route123_Text_JazmynPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F63A5:: @ 81F63A5
- trainerbattle_single TRAINER_DAVIS, Route123_Text_2A04C0, Route123_Text_2A04FE
- msgbox Route123_Text_2A0512, MSGBOX_AUTOCLOSE
+Route123_EventScript_Davis:: @ 81F63A5
+ trainerbattle_single TRAINER_DAVIS, Route123_Text_DavisIntro, Route123_Text_DavisDefeat
+ msgbox Route123_Text_DavisPostBattle, MSGBOX_AUTOCLOSE
end
-Route123_EventScript_1F63BC:: @ 81F63BC
- trainerbattle_single TRAINER_FERNANDO_1, Route123_Text_2A0323, Route123_Text_2A035C, Route123_EventScript_1F63E8
+Route123_EventScript_Fernando:: @ 81F63BC
+ trainerbattle_single TRAINER_FERNANDO_1, Route123_Text_FernandoIntro, Route123_Text_FernandoDefeat, Route123_EventScript_RegisterFernando
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route123_EventScript_1F6407
- msgbox Route123_Text_2A0389, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route123_EventScript_RematchFernando
+ msgbox Route123_Text_FernandoPostBattle, MSGBOX_DEFAULT
release
end
-Route123_EventScript_1F63E8:: @ 81F63E8
+Route123_EventScript_RegisterFernando:: @ 81F63E8
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route123_Text_2A03C1, MSGBOX_DEFAULT
+ msgbox Route123_Text_FernandoRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_FERNANDO_1
release
end
-Route123_EventScript_1F6407:: @ 81F6407
- trainerbattle_rematch TRAINER_FERNANDO_1, Route123_Text_2A03FB, Route123_Text_2A045A
- msgbox Route123_Text_2A0487, MSGBOX_AUTOCLOSE
+Route123_EventScript_RematchFernando:: @ 81F6407
+ trainerbattle_rematch TRAINER_FERNANDO_1, Route123_Text_FernandoRematchIntro, Route123_Text_FernandoRematchDefeat
+ msgbox Route123_Text_FernandoPostRematch, MSGBOX_AUTOCLOSE
end
-Route123_Text_1F641E: @ 81F641E
+Route123_Text_LoveGrassMonsHaveAny: @ 81F641E
.string "I love GRASS-type POKéMON!\p"
.string "Do you have any GRASS-type POKéMON?$"
-Route123_Text_1F645D: @ 81F645D
+Route123_Text_YouLikeGrassMonsTooHaveThis: @ 81F645D
.string "Oh?\p"
.string "You like GRASS-type POKéMON, too,\n"
.string "don't you?\p"
.string "I'm so happy, you can have this!\n"
.string "It's a token of our friendship.$"
-Route123_Text_1F64CF: @ 81F64CF
+Route123_Text_CheckTreesWithMyGrassMon: @ 81F64CF
.string "I check trees with my GRASS-type\n"
.string "POKéMON. I'm like a tree doctor.$"
-Route123_Text_1F6511: @ 81F6511
+Route123_Text_RouteSign: @ 81F6511
.string "{RIGHT_ARROW} ROUTE 123\n"
.string "{LEFT_ARROW} ROUTE 118$"
-Route123_Text_1F6529: @ 81F6529
+Route123_Text_RouteSignMtPyre: @ 81F6529
.string "{UP_ARROW} MT. PYRE\n"
.string "“Forbidden to the faint of heart.”$"
-Route123_Text_1F6557: @ 81F6557
+Route123_Text_BerryMastersHouse: @ 81F6557
.string "BERRY MASTER'S HOUSE$"
diff --git a/data/maps/Route124/map.json b/data/maps/Route124/map.json
index 913208954..01bc84377 100644
--- a/data/maps/Route124/map.json
+++ b/data/maps/Route124/map.json
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route124_EventScript_1F6585",
+ "script": "Route124_EventScript_Spencer",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route124_EventScript_1F659C",
+ "script": "Route124_EventScript_Roland",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route124_EventScript_1F65B3",
+ "script": "Route124_EventScript_Jenny",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 8,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route124_EventScript_1F6615",
+ "script": "Route124_EventScript_Grace",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route124_EventScript_1F662C",
+ "script": "Route124_EventScript_Chad",
"flag": "0"
},
{
@@ -154,7 +154,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route124_EventScript_1F6643",
+ "script": "Route124_EventScript_Lila",
"flag": "0"
},
{
@@ -167,7 +167,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route124_EventScript_1F66A7",
+ "script": "Route124_EventScript_Roy",
"flag": "0"
},
{
@@ -180,7 +180,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route124_EventScript_1F670B",
+ "script": "Route124_EventScript_Declan",
"flag": "0"
},
{
@@ -193,7 +193,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route124_EventScript_1F6722",
+ "script": "Route124_EventScript_Isabella",
"flag": "0"
}
],
@@ -214,7 +214,7 @@
"y": 48,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "Route124_EventScript_1F657C"
+ "script": "Route124_EventScript_HuntersHouseSign"
}
]
} \ No newline at end of file
diff --git a/data/maps/Route124/scripts.inc b/data/maps/Route124/scripts.inc
index 23dd174f6..8d0837320 100644
--- a/data/maps/Route124/scripts.inc
+++ b/data/maps/Route124/scripts.inc
@@ -6,102 +6,102 @@ Route124_OnTransition: @ 81F6572
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAlternatingWeather
end
-Route124_EventScript_1F657C:: @ 81F657C
- msgbox Route124_Text_1F6739, MSGBOX_SIGN
+Route124_EventScript_HuntersHouseSign:: @ 81F657C
+ msgbox Route124_Text_HuntersHouse, MSGBOX_SIGN
end
-Route124_EventScript_1F6585:: @ 81F6585
- trainerbattle_single TRAINER_SPENCER, Route124_Text_2A09B1, Route124_Text_2A0A02
- msgbox Route124_Text_2A0A20, MSGBOX_AUTOCLOSE
+Route124_EventScript_Spencer:: @ 81F6585
+ trainerbattle_single TRAINER_SPENCER, Route124_Text_SpencerIntro, Route124_Text_SpencerDefeat
+ msgbox Route124_Text_SpencerPostBattle, MSGBOX_AUTOCLOSE
end
-Route124_EventScript_1F659C:: @ 81F659C
- trainerbattle_single TRAINER_ROLAND, Route124_Text_2A0A84, Route124_Text_2A0ACC
- msgbox Route124_Text_2A0AD9, MSGBOX_AUTOCLOSE
+Route124_EventScript_Roland:: @ 81F659C
+ trainerbattle_single TRAINER_ROLAND, Route124_Text_RolandIntro, Route124_Text_RolandDefeat
+ msgbox Route124_Text_RolandPostBattle, MSGBOX_AUTOCLOSE
end
-Route124_EventScript_1F65B3:: @ 81F65B3
- trainerbattle_single TRAINER_JENNY_1, Route124_Text_2A0B37, Route124_Text_2A0B7C, Route124_EventScript_1F65DF
+Route124_EventScript_Jenny:: @ 81F65B3
+ trainerbattle_single TRAINER_JENNY_1, Route124_Text_JennyIntro, Route124_Text_JennyDefeat, Route124_EventScript_RegisterJenny
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route124_EventScript_1F65FE
- msgbox Route124_Text_2A0B9A, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route124_EventScript_RematchJenny
+ msgbox Route124_Text_JennyPostBattle, MSGBOX_DEFAULT
release
end
-Route124_EventScript_1F65DF:: @ 81F65DF
+Route124_EventScript_RegisterJenny:: @ 81F65DF
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route124_Text_2A0C14, MSGBOX_DEFAULT
+ msgbox Route124_Text_JennyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JENNY_1
release
end
-Route124_EventScript_1F65FE:: @ 81F65FE
- trainerbattle_rematch TRAINER_JENNY_1, Route124_Text_2A0C60, Route124_Text_2A0CA0
- msgbox Route124_Text_2A0CBE, MSGBOX_AUTOCLOSE
+Route124_EventScript_RematchJenny:: @ 81F65FE
+ trainerbattle_rematch TRAINER_JENNY_1, Route124_Text_JennyRematchIntro, Route124_Text_JennyRematchDefeat
+ msgbox Route124_Text_JennyPostRematch, MSGBOX_AUTOCLOSE
end
-Route124_EventScript_1F6615:: @ 81F6615
- trainerbattle_single TRAINER_GRACE, Route124_Text_2A0D0A, Route124_Text_2A0D3D
- msgbox Route124_Text_2A0D66, MSGBOX_AUTOCLOSE
+Route124_EventScript_Grace:: @ 81F6615
+ trainerbattle_single TRAINER_GRACE, Route124_Text_GraceIntro, Route124_Text_GraceDefeat
+ msgbox Route124_Text_GracePostBattle, MSGBOX_AUTOCLOSE
end
-Route124_EventScript_1F662C:: @ 81F662C
- trainerbattle_single TRAINER_CHAD, Route124_Text_2A0DA0, Route124_Text_2A0DFF
- msgbox Route124_Text_2A0E1E, MSGBOX_AUTOCLOSE
+Route124_EventScript_Chad:: @ 81F662C
+ trainerbattle_single TRAINER_CHAD, Route124_Text_ChadIntro, Route124_Text_ChadDefeat
+ msgbox Route124_Text_ChadPostBattle, MSGBOX_AUTOCLOSE
end
-Route124_EventScript_1F6643:: @ 81F6643
- trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_2A0E87, Route124_Text_2A0EFE, Route124_Text_2A0F8C, Route124_EventScript_1F6673
+Route124_EventScript_Lila:: @ 81F6643
+ trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_LilaIntro, Route124_Text_LilaDefeat, Route124_Text_LilaNotEnoughMons, Route124_EventScript_RegisterLila
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route124_EventScript_1F668C
- msgbox Route124_Text_2A0F3A, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route124_EventScript_RematchLila
+ msgbox Route124_Text_LilaPostBattle, MSGBOX_DEFAULT
release
end
-Route124_EventScript_1F6673:: @ 81F6673
- msgbox Route124_Text_2A109F, MSGBOX_DEFAULT
+Route124_EventScript_RegisterLila:: @ 81F6673
+ msgbox Route124_Text_LilaRoyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_LILA_AND_ROY_1
release
end
-Route124_EventScript_1F668C:: @ 81F668C
- trainerbattle_rematch_double TRAINER_LILA_AND_ROY_1, Route124_Text_2A111E, Route124_Text_2A11B2, Route124_Text_2A1255
- msgbox Route124_Text_2A1203, MSGBOX_AUTOCLOSE
+Route124_EventScript_RematchLila:: @ 81F668C
+ trainerbattle_rematch_double TRAINER_LILA_AND_ROY_1, Route124_Text_LilaRematchIntro, Route124_Text_LilaRematchDefeat, Route124_Text_LilaRematchNotEnoughMons
+ msgbox Route124_Text_LilaPostRematch, MSGBOX_AUTOCLOSE
end
-Route124_EventScript_1F66A7:: @ 81F66A7
- trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_2A0FD1, Route124_Text_2A1012, Route124_Text_2A10E5, Route124_EventScript_1F66D7
+Route124_EventScript_Roy:: @ 81F66A7
+ trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_RoyIntro, Route124_Text_RoyDefeat, Route124_Text_RoyNotEnoughMons, Route124_EventScript_RegisterRoy
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route124_EventScript_1F66F0
- msgbox Route124_Text_2A103E, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route124_EventScript_RematchRoy
+ msgbox Route124_Text_RoyPostBattle, MSGBOX_DEFAULT
release
end
-Route124_EventScript_1F66D7:: @ 81F66D7
- msgbox Route124_Text_2A109F, MSGBOX_DEFAULT
+Route124_EventScript_RegisterRoy:: @ 81F66D7
+ msgbox Route124_Text_LilaRoyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_LILA_AND_ROY_1
release
end
-Route124_EventScript_1F66F0:: @ 81F66F0
- trainerbattle_rematch_double TRAINER_LILA_AND_ROY_1, Route124_Text_2A129A, Route124_Text_2A12DD, Route124_Text_2A1384
- msgbox Route124_Text_2A130F, MSGBOX_AUTOCLOSE
+Route124_EventScript_RematchRoy:: @ 81F66F0
+ trainerbattle_rematch_double TRAINER_LILA_AND_ROY_1, Route124_Text_RoyRematchIntro, Route124_Text_RoyRematchDefeat, Route124_Text_RoyRematchNotEnoughMons
+ msgbox Route124_Text_RoyPostRematch, MSGBOX_AUTOCLOSE
end
-Route124_EventScript_1F670B:: @ 81F670B
- trainerbattle_single TRAINER_DECLAN, Route124_Text_2A13BD, Route124_Text_2A142C
- msgbox Route124_Text_2A144F, MSGBOX_AUTOCLOSE
+Route124_EventScript_Declan:: @ 81F670B
+ trainerbattle_single TRAINER_DECLAN, Route124_Text_DeclanIntro, Route124_Text_DeclanDefeat
+ msgbox Route124_Text_DeclanPostBattle, MSGBOX_AUTOCLOSE
end
-Route124_EventScript_1F6722:: @ 81F6722
- trainerbattle_single TRAINER_ISABELLA, Route124_Text_2A148E, Route124_Text_2A14BC
- msgbox Route124_Text_2A14ED, MSGBOX_AUTOCLOSE
+Route124_EventScript_Isabella:: @ 81F6722
+ trainerbattle_single TRAINER_ISABELLA, Route124_Text_IsabellaIntro, Route124_Text_IsabellaDefeat
+ msgbox Route124_Text_IsabellaPostBattle, MSGBOX_AUTOCLOSE
end
-Route124_Text_1F6739: @ 81F6739
+Route124_Text_HuntersHouse: @ 81F6739
.string "HUNTER'S HOUSE$"
diff --git a/data/maps/Route125/map.json b/data/maps/Route125/map.json
index 27615a521..402c42932 100644
--- a/data/maps/Route125/map.json
+++ b/data/maps/Route125/map.json
@@ -40,7 +40,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route125_EventScript_1F67A4",
+ "script": "Route125_EventScript_Nolen",
"flag": "0"
},
{
@@ -53,7 +53,7 @@
"movement_range_y": 5,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route125_EventScript_1F67BB",
+ "script": "Route125_EventScript_Stan",
"flag": "0"
},
{
@@ -66,7 +66,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route125_EventScript_1F67D2",
+ "script": "Route125_EventScript_Tanya",
"flag": "0"
},
{
@@ -79,7 +79,7 @@
"movement_range_y": 9,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route125_EventScript_1F67E9",
+ "script": "Route125_EventScript_Sharon",
"flag": "0"
},
{
@@ -92,7 +92,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route125_EventScript_1F6800",
+ "script": "Route125_EventScript_Ernest",
"flag": "0"
},
{
@@ -105,7 +105,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route125_EventScript_1F6862",
+ "script": "Route125_EventScript_Kim",
"flag": "0"
},
{
@@ -118,7 +118,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route125_EventScript_1F687D",
+ "script": "Route125_EventScript_Iris",
"flag": "0"
},
{
@@ -131,7 +131,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route125_EventScript_1F6898",
+ "script": "Route125_EventScript_Presley",
"flag": "0"
},
{
@@ -144,7 +144,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route125_EventScript_1F68AF",
+ "script": "Route125_EventScript_Auron",
"flag": "0"
},
{
diff --git a/data/maps/Route125/scripts.inc b/data/maps/Route125/scripts.inc
index bf845c152..5489c929e 100644
--- a/data/maps/Route125/scripts.inc
+++ b/data/maps/Route125/scripts.inc
@@ -1,7 +1,7 @@
Route125_MapScripts:: @ 81F6748
map_script MAP_SCRIPT_ON_TRANSITION, Route125_OnTransition
- map_script MAP_SCRIPT_ON_LOAD, Route125_MapScript1_1F6783
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route125_MapScript2_1F679A
+ map_script MAP_SCRIPT_ON_LOAD, Route125_OnLoad
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route125_OnFrame
.byte 0
Route125_OnTransition: @ 81F6758
@@ -14,76 +14,76 @@ Route125_OnTransition: @ 81F6758
call_if_eq UnusualWeather_StartKyogreWeather
end
-Route125_MapScript1_1F6783: @ 81F6783
+Route125_OnLoad: @ 81F6783
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_WEST
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute125West
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_EAST
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute125East
end
-Route125_MapScript2_1F679A: @ 81F679A
+Route125_OnFrame: @ 81F679A
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
-Route125_EventScript_1F67A4:: @ 81F67A4
- trainerbattle_single TRAINER_NOLEN, Route125_Text_2A1527, Route125_Text_2A155A
- msgbox Route125_Text_2A1567, MSGBOX_AUTOCLOSE
+Route125_EventScript_Nolen:: @ 81F67A4
+ trainerbattle_single TRAINER_NOLEN, Route125_Text_NolenIntro, Route125_Text_NolenDefeat
+ msgbox Route125_Text_NolenPostBattle, MSGBOX_AUTOCLOSE
end
-Route125_EventScript_1F67BB:: @ 81F67BB
- trainerbattle_single TRAINER_STAN, Route125_Text_2A159F, Route125_Text_2A15C7
- msgbox Route125_Text_2A15D5, MSGBOX_AUTOCLOSE
+Route125_EventScript_Stan:: @ 81F67BB
+ trainerbattle_single TRAINER_STAN, Route125_Text_StanIntro, Route125_Text_StanDefeat
+ msgbox Route125_Text_StanPostBattle, MSGBOX_AUTOCLOSE
end
-Route125_EventScript_1F67D2:: @ 81F67D2
- trainerbattle_single TRAINER_TANYA, Route125_Text_2A1615, Route125_Text_2A164D
- msgbox Route125_Text_2A165E, MSGBOX_AUTOCLOSE
+Route125_EventScript_Tanya:: @ 81F67D2
+ trainerbattle_single TRAINER_TANYA, Route125_Text_TanyaIntro, Route125_Text_TanyaDefeat
+ msgbox Route125_Text_TanyaPostBattle, MSGBOX_AUTOCLOSE
end
-Route125_EventScript_1F67E9:: @ 81F67E9
- trainerbattle_single TRAINER_SHARON, Route125_Text_2A1686, Route125_Text_2A16C5
- msgbox Route125_Text_2A16CE, MSGBOX_AUTOCLOSE
+Route125_EventScript_Sharon:: @ 81F67E9
+ trainerbattle_single TRAINER_SHARON, Route125_Text_SharonIntro, Route125_Text_SharonDefeat
+ msgbox Route125_Text_SharonPostBattle, MSGBOX_AUTOCLOSE
end
-Route125_EventScript_1F6800:: @ 81F6800
- trainerbattle_single TRAINER_ERNEST_1, Route125_Text_2A16FC, Route125_Text_2A173A, Route125_EventScript_1F682C
+Route125_EventScript_Ernest:: @ 81F6800
+ trainerbattle_single TRAINER_ERNEST_1, Route125_Text_ErnestIntro, Route125_Text_ErnestDefeat, Route125_EventScript_RegisterErnest
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route125_EventScript_1F684B
- msgbox Route125_Text_2A1755, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route125_EventScript_RematchErnest
+ msgbox Route125_Text_ErnestPostBattle, MSGBOX_DEFAULT
release
end
-Route125_EventScript_1F682C:: @ 81F682C
+Route125_EventScript_RegisterErnest:: @ 81F682C
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route125_Text_2A17CF, MSGBOX_DEFAULT
+ msgbox Route125_Text_ErnestRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ERNEST_1
release
end
-Route125_EventScript_1F684B:: @ 81F684B
- trainerbattle_rematch TRAINER_ERNEST_1, Route125_Text_2A180E, Route125_Text_2A1851
- msgbox Route125_Text_2A187A, MSGBOX_AUTOCLOSE
+Route125_EventScript_RematchErnest:: @ 81F684B
+ trainerbattle_rematch TRAINER_ERNEST_1, Route125_Text_ErnestRematchIntro, Route125_Text_ErnestRematchDefeat
+ msgbox Route125_Text_ErnestRematchPostBattle, MSGBOX_AUTOCLOSE
end
-Route125_EventScript_1F6862:: @ 81F6862
- trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_2A192B, Route125_Text_2A1989, Route125_Text_2A19F8
- msgbox Route125_Text_2A19A6, MSGBOX_AUTOCLOSE
+Route125_EventScript_Kim:: @ 81F6862
+ trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_KimIntro, Route125_Text_KimDefeat, Route125_Text_KimNotEnoughMons
+ msgbox Route125_Text_KimPostBattle, MSGBOX_AUTOCLOSE
end
-Route125_EventScript_1F687D:: @ 81F687D
- trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_2A1A35, Route125_Text_2A1A71, Route125_Text_2A1AD9
- msgbox Route125_Text_2A1A92, MSGBOX_AUTOCLOSE
+Route125_EventScript_Iris:: @ 81F687D
+ trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_IrisIntro, Route125_Text_IrisDefeat, Route125_Text_IrisNotEnoughMons
+ msgbox Route125_Text_IrisPostBattle, MSGBOX_AUTOCLOSE
end
-Route125_EventScript_1F6898:: @ 81F6898
- trainerbattle_single TRAINER_PRESLEY, Route125_Text_2A1B1A, Route125_Text_2A1B4E
- msgbox Route125_Text_2A1B70, MSGBOX_AUTOCLOSE
+Route125_EventScript_Presley:: @ 81F6898
+ trainerbattle_single TRAINER_PRESLEY, Route125_Text_PresleyIntro, Route125_Text_PresleyDefeat
+ msgbox Route125_Text_PresleyPostBattle, MSGBOX_AUTOCLOSE
end
-Route125_EventScript_1F68AF:: @ 81F68AF
- trainerbattle_single TRAINER_AURON, Route125_Text_2A1BCE, Route125_Text_2A1BFD
- msgbox Route125_Text_2A1C2A, MSGBOX_AUTOCLOSE
+Route125_EventScript_Auron:: @ 81F68AF
+ trainerbattle_single TRAINER_AURON, Route125_Text_AuronIntro, Route125_Text_AuronDefeat
+ msgbox Route125_Text_AuronPostBattle, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route126/map.json b/data/maps/Route126/map.json
index b8359bd84..db01091ac 100644
--- a/data/maps/Route126/map.json
+++ b/data/maps/Route126/map.json
@@ -40,7 +40,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route126_EventScript_1F68D6",
+ "script": "Route126_EventScript_Barry",
"flag": "0"
},
{
@@ -53,7 +53,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route126_EventScript_1F68ED",
+ "script": "Route126_EventScript_Dean",
"flag": "0"
},
{
@@ -66,7 +66,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route126_EventScript_1F6904",
+ "script": "Route126_EventScript_Nikki",
"flag": "0"
},
{
@@ -79,7 +79,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route126_EventScript_1F691B",
+ "script": "Route126_EventScript_Brenda",
"flag": "0"
},
{
@@ -105,7 +105,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route126_EventScript_1F6960",
+ "script": "Route126_EventScript_Sienna",
"flag": "0"
},
{
@@ -118,7 +118,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route126_EventScript_1F6977",
+ "script": "Route126_EventScript_Pablo",
"flag": "0"
},
{
@@ -131,7 +131,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route126_EventScript_1F6949",
+ "script": "Route126_EventScript_Isobel",
"flag": "0"
},
{
@@ -144,7 +144,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route126_EventScript_1F6932",
+ "script": "Route126_EventScript_Leonardo",
"flag": "0"
}
],
diff --git a/data/maps/Route126/scripts.inc b/data/maps/Route126/scripts.inc
index d1a2ff0f3..3624cc8a5 100644
--- a/data/maps/Route126/scripts.inc
+++ b/data/maps/Route126/scripts.inc
@@ -6,60 +6,60 @@ Route126_OnTransition: @ 81F68CC
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAlternatingWeather
end
-Route126_EventScript_1F68D6:: @ 81F68D6
- trainerbattle_single TRAINER_BARRY, Route126_Text_2A1C95, Route126_Text_2A1CC8
- msgbox Route126_Text_2A1CDD, MSGBOX_AUTOCLOSE
+Route126_EventScript_Barry:: @ 81F68D6
+ trainerbattle_single TRAINER_BARRY, Route126_Text_BarryIntro, Route126_Text_BarryDefeat
+ msgbox Route126_Text_BarryPostBattle, MSGBOX_AUTOCLOSE
end
-Route126_EventScript_1F68ED:: @ 81F68ED
- trainerbattle_single TRAINER_DEAN, Route126_Text_2A1D2A, Route126_Text_2A1D63
- msgbox Route126_Text_2A1D72, MSGBOX_AUTOCLOSE
+Route126_EventScript_Dean:: @ 81F68ED
+ trainerbattle_single TRAINER_DEAN, Route126_Text_DeanIntro, Route126_Text_DeanDefeat
+ msgbox Route126_Text_DeanPostBattle, MSGBOX_AUTOCLOSE
end
-Route126_EventScript_1F6904:: @ 81F6904
- trainerbattle_single TRAINER_NIKKI, Route126_Text_2A1DAE, Route126_Text_2A1DC8
- msgbox Route126_Text_2A1E03, MSGBOX_AUTOCLOSE
+Route126_EventScript_Nikki:: @ 81F6904
+ trainerbattle_single TRAINER_NIKKI, Route126_Text_NikkiIntro, Route126_Text_NikkiDefeat
+ msgbox Route126_Text_NikkiPostBattle, MSGBOX_AUTOCLOSE
end
-Route126_EventScript_1F691B:: @ 81F691B
- trainerbattle_single TRAINER_BRENDA, Route126_Text_2A1E3E, Route126_Text_2A1E63
- msgbox Route126_Text_2A1E70, MSGBOX_AUTOCLOSE
+Route126_EventScript_Brenda:: @ 81F691B
+ trainerbattle_single TRAINER_BRENDA, Route126_Text_BrendaIntro, Route126_Text_BrendaDefeat
+ msgbox Route126_Text_BrendaPostBattle, MSGBOX_AUTOCLOSE
end
-Route126_EventScript_1F6932:: @ 81F6932
- trainerbattle_single TRAINER_LEONARDO, Route126_Text_2A2063, Route126_Text_2A20C6
- msgbox Route126_Text_2A20F7, MSGBOX_AUTOCLOSE
+Route126_EventScript_Leonardo:: @ 81F6932
+ trainerbattle_single TRAINER_LEONARDO, Route126_Text_LeonardoIntro, Route126_Text_LeonardoDefeat
+ msgbox Route126_Text_LeonardoPostBattle, MSGBOX_AUTOCLOSE
end
-Route126_EventScript_1F6949:: @ 81F6949
- trainerbattle_single TRAINER_ISOBEL, Route126_Text_2A216A, Route126_Text_2A21A3
- msgbox Route126_Text_2A21B8, MSGBOX_AUTOCLOSE
+Route126_EventScript_Isobel:: @ 81F6949
+ trainerbattle_single TRAINER_ISOBEL, Route126_Text_IsobelIntro, Route126_Text_IsobelDefeat
+ msgbox Route126_Text_IsobelPostBattle, MSGBOX_AUTOCLOSE
end
-Route126_EventScript_1F6960:: @ 81F6960
- trainerbattle_single TRAINER_SIENNA, Route126_Text_2A21EF, Route126_Text_2A2216
- msgbox Route126_Text_2A222A, MSGBOX_AUTOCLOSE
+Route126_EventScript_Sienna:: @ 81F6960
+ trainerbattle_single TRAINER_SIENNA, Route126_Text_SiennaIntro, Route126_Text_SiennaDefeat
+ msgbox Route126_Text_SiennaPostBattle, MSGBOX_AUTOCLOSE
end
-Route126_EventScript_1F6977:: @ 81F6977
- trainerbattle_single TRAINER_PABLO_1, Route126_Text_2A1EA5, Route126_Text_2A1EE3, Route126_EventScript_1F69A3
+Route126_EventScript_Pablo:: @ 81F6977
+ trainerbattle_single TRAINER_PABLO_1, Route126_Text_PabloIntro, Route126_Text_PabloDefeat, Route126_EventScript_RegisterPablo
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route126_EventScript_1F69C2
- msgbox Route126_Text_2A1F10, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route126_EventScript_RematchPablo
+ msgbox Route126_Text_PabloPostBattle, MSGBOX_DEFAULT
release
end
-Route126_EventScript_1F69A3:: @ 81F69A3
+Route126_EventScript_RegisterPablo:: @ 81F69A3
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route126_Text_2A1F5A, MSGBOX_DEFAULT
+ msgbox Route126_Text_PabloRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_PABLO_1
release
end
-Route126_EventScript_1F69C2:: @ 81F69C2
- trainerbattle_rematch TRAINER_PABLO_1, Route126_Text_2A1F98, Route126_Text_2A1FD8
- msgbox Route126_Text_2A200C, MSGBOX_AUTOCLOSE
+Route126_EventScript_RematchPablo:: @ 81F69C2
+ trainerbattle_rematch TRAINER_PABLO_1, Route126_Text_PabloRematchIntro, Route126_Text_PabloRematchDefeat
+ msgbox Route126_Text_PabloPostRematch, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route127/map.json b/data/maps/Route127/map.json
index 08d39d971..626982ca2 100644
--- a/data/maps/Route127/map.json
+++ b/data/maps/Route127/map.json
@@ -45,7 +45,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route127_EventScript_1F6A35",
+ "script": "Route127_EventScript_Camden",
"flag": "0"
},
{
@@ -58,7 +58,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route127_EventScript_1F6A4C",
+ "script": "Route127_EventScript_Donny",
"flag": "0"
},
{
@@ -97,7 +97,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route127_EventScript_1F6A63",
+ "script": "Route127_EventScript_Jonah",
"flag": "0"
},
{
@@ -110,7 +110,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route127_EventScript_1F6A91",
+ "script": "Route127_EventScript_Roger",
"flag": "0"
},
{
@@ -123,7 +123,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route127_EventScript_1F6A7A",
+ "script": "Route127_EventScript_Henry",
"flag": "0"
},
{
@@ -136,7 +136,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route127_EventScript_1F6AA8",
+ "script": "Route127_EventScript_Aidan",
"flag": "0"
},
{
@@ -149,7 +149,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route127_EventScript_1F6AD6",
+ "script": "Route127_EventScript_Koji",
"flag": "0"
},
{
@@ -162,7 +162,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route127_EventScript_1F6ABF",
+ "script": "Route127_EventScript_Athena",
"flag": "0"
},
{
diff --git a/data/maps/Route127/scripts.inc b/data/maps/Route127/scripts.inc
index db0fd0644..09d37dd7c 100644
--- a/data/maps/Route127/scripts.inc
+++ b/data/maps/Route127/scripts.inc
@@ -1,7 +1,7 @@
Route127_MapScripts:: @ 81F69D9
map_script MAP_SCRIPT_ON_TRANSITION, Route127_OnTransition
- map_script MAP_SCRIPT_ON_LOAD, Route127_MapScript1_1F6A14
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route127_MapScript2_1F6A2B
+ map_script MAP_SCRIPT_ON_LOAD, Route127_OnLoad
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route127_OnFrame
.byte 0
Route127_OnTransition: @ 81F69E9
@@ -14,71 +14,71 @@ Route127_OnTransition: @ 81F69E9
call_if_eq UnusualWeather_StartKyogreWeather
end
-Route127_MapScript1_1F6A14: @ 81F6A14
+Route127_OnLoad: @ 81F6A14
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_127_NORTH
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute127North
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_127_SOUTH
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute127South
end
-Route127_MapScript2_1F6A2B: @ 81F6A2B
+Route127_OnFrame: @ 81F6A2B
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
-Route127_EventScript_1F6A35:: @ 81F6A35
- trainerbattle_single TRAINER_CAMDEN, Route127_Text_2A225F, Route127_Text_2A2294
- msgbox Route127_Text_2A22A1, MSGBOX_AUTOCLOSE
+Route127_EventScript_Camden:: @ 81F6A35
+ trainerbattle_single TRAINER_CAMDEN, Route127_Text_CamdenIntro, Route127_Text_CamdenDefeat
+ msgbox Route127_Text_CamdenPostBattle, MSGBOX_AUTOCLOSE
end
-Route127_EventScript_1F6A4C:: @ 81F6A4C
- trainerbattle_single TRAINER_DONNY, Route127_Text_2A22DD, Route127_Text_2A2315
- msgbox Route127_Text_2A232C, MSGBOX_AUTOCLOSE
+Route127_EventScript_Donny:: @ 81F6A4C
+ trainerbattle_single TRAINER_DONNY, Route127_Text_DonnyIntro, Route127_Text_DonnyDefeat
+ msgbox Route127_Text_DonnyPostBattle, MSGBOX_AUTOCLOSE
end
-Route127_EventScript_1F6A63:: @ 81F6A63
- trainerbattle_single TRAINER_JONAH, Route127_Text_2A2381, Route127_Text_2A23E1
- msgbox Route127_Text_2A240C, MSGBOX_AUTOCLOSE
+Route127_EventScript_Jonah:: @ 81F6A63
+ trainerbattle_single TRAINER_JONAH, Route127_Text_JonahIntro, Route127_Text_JonahDefeat
+ msgbox Route127_Text_JonahPostBattle, MSGBOX_AUTOCLOSE
end
-Route127_EventScript_1F6A7A:: @ 81F6A7A
- trainerbattle_single TRAINER_HENRY, Route127_Text_2A2450, Route127_Text_2A2483
- msgbox Route127_Text_2A2494, MSGBOX_AUTOCLOSE
+Route127_EventScript_Henry:: @ 81F6A7A
+ trainerbattle_single TRAINER_HENRY, Route127_Text_HenryIntro, Route127_Text_HenryDefeat
+ msgbox Route127_Text_HenryPostBattle, MSGBOX_AUTOCLOSE
end
-Route127_EventScript_1F6A91:: @ 81F6A91
- trainerbattle_single TRAINER_ROGER, Route127_Text_2A24C6, Route127_Text_2A250B
- msgbox Route127_Text_2A2538, MSGBOX_AUTOCLOSE
+Route127_EventScript_Roger:: @ 81F6A91
+ trainerbattle_single TRAINER_ROGER, Route127_Text_RogerIntro, Route127_Text_RogerDefeat
+ msgbox Route127_Text_RogerPostBattle, MSGBOX_AUTOCLOSE
end
-Route127_EventScript_1F6AA8:: @ 81F6AA8
- trainerbattle_single TRAINER_AIDAN, Route127_Text_2A257A, Route127_Text_2A25C1
- msgbox Route127_Text_2A25D2, MSGBOX_AUTOCLOSE
+Route127_EventScript_Aidan:: @ 81F6AA8
+ trainerbattle_single TRAINER_AIDAN, Route127_Text_AidanIntro, Route127_Text_AidanDefeat
+ msgbox Route127_Text_AidanPostBattle, MSGBOX_AUTOCLOSE
end
-Route127_EventScript_1F6ABF:: @ 81F6ABF
- trainerbattle_single TRAINER_ATHENA, Route127_Text_2A27D0, Route127_Text_2A27FC
- msgbox Route127_Text_2A2832, MSGBOX_AUTOCLOSE
+Route127_EventScript_Athena:: @ 81F6ABF
+ trainerbattle_single TRAINER_ATHENA, Route127_Text_AthenaIntro, Route127_Text_AthenaDefeat
+ msgbox Route127_Text_AthenaPostBattle, MSGBOX_AUTOCLOSE
end
-Route127_EventScript_1F6AD6:: @ 81F6AD6
- trainerbattle_single TRAINER_KOJI_1, Route127_Text_2A264D, Route127_Text_2A2685, Route127_EventScript_1F6B02
+Route127_EventScript_Koji:: @ 81F6AD6
+ trainerbattle_single TRAINER_KOJI_1, Route127_Text_KojiIntro, Route127_Text_KojiDefeat, Route127_EventScript_RegisterKoji
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route127_EventScript_1F6B21
- msgbox Route127_Text_2A26AC, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route127_EventScript_RematchKoji
+ msgbox Route127_Text_KojiPostBattle, MSGBOX_DEFAULT
release
end
-Route127_EventScript_1F6B02:: @ 81F6B02
+Route127_EventScript_RegisterKoji:: @ 81F6B02
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route127_Text_2A26EE, MSGBOX_DEFAULT
+ msgbox Route127_Text_KojiRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_KOJI_1
release
end
-Route127_EventScript_1F6B21:: @ 81F6B21
- trainerbattle_rematch TRAINER_KOJI_1, Route127_Text_2A2734, Route127_Text_2A276B
- msgbox Route127_Text_2A278E, MSGBOX_AUTOCLOSE
+Route127_EventScript_RematchKoji:: @ 81F6B21
+ trainerbattle_rematch TRAINER_KOJI_1, Route127_Text_KojiRematchIntro, Route127_Text_KojiRematchDefeat
+ msgbox Route127_Text_KojiPostRematch, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route128/map.json b/data/maps/Route128/map.json
index 58246c247..a7de8ed19 100644
--- a/data/maps/Route128/map.json
+++ b/data/maps/Route128/map.json
@@ -45,7 +45,7 @@
"movement_range_y": 5,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route128_EventScript_1F6CBE",
+ "script": "Route128_EventScript_Isaiah",
"flag": "0"
},
{
@@ -58,7 +58,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
- "script": "Route128_EventScript_1F6D20",
+ "script": "Route128_EventScript_Katelyn",
"flag": "0"
},
{
@@ -110,7 +110,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "Route128_EventScript_1F6DB0",
+ "script": "Route128_EventScript_Wayne",
"flag": "0"
},
{
@@ -123,7 +123,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route128_EventScript_1F6D99",
+ "script": "Route128_EventScript_Ruben",
"flag": "0"
},
{
@@ -136,7 +136,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route128_EventScript_1F6D82",
+ "script": "Route128_EventScript_Alexa",
"flag": "0"
},
{
@@ -149,7 +149,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route128_EventScript_1F6DDE",
+ "script": "Route128_EventScript_Carlee",
"flag": "0"
},
{
@@ -162,7 +162,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route128_EventScript_1F6DC7",
+ "script": "Route128_EventScript_Harrison",
"flag": "0"
}
],
diff --git a/data/maps/Route128/scripts.inc b/data/maps/Route128/scripts.inc
index 10397be89..16b1294fc 100644
--- a/data/maps/Route128/scripts.inc
+++ b/data/maps/Route128/scripts.inc
@@ -1,48 +1,48 @@
Route128_MapScripts:: @ 81F6B38
map_script MAP_SCRIPT_ON_TRANSITION, Route128_OnTransition
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route128_MapScript2_1F6B4D
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route128_OnFrame
.byte 0
Route128_OnTransition: @ 81F6B43
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAlternatingWeather
end
-Route128_MapScript2_1F6B4D: @ 81F6B4D
- map_script_2 VAR_ROUTE128_STATE, 1, Route128_EventScript_1F6B57
+Route128_OnFrame: @ 81F6B4D
+ map_script_2 VAR_ROUTE128_STATE, 1, Route128_EventScript_KyogreAwakenedScene
.2byte 0
-Route128_EventScript_1F6B57:: @ 81F6B57
+Route128_EventScript_KyogreAwakenedScene:: @ 81F6B57
lockall
delay 20
- applymovement 4, Route128_Movement_1F6C89
+ applymovement 4, Route128_Movement_ArchieLookAround
waitmovement 0
- msgbox Route128_Text_1F6DF5, MSGBOX_DEFAULT
+ msgbox Route128_Text_ArchieWhatHappened, MSGBOX_DEFAULT
closemessage
- applymovement 4, Route128_Movement_1F6C91
+ applymovement 4, Route128_Movement_ArchieBackUp
waitmovement 0
- msgbox Route128_Text_1F6E48, MSGBOX_DEFAULT
+ msgbox Route128_Text_ArchieIOnlyWanted, MSGBOX_DEFAULT
closemessage
- applymovement 5, Route128_Movement_1F6CAD
+ applymovement 5, Route128_Movement_MaxieApproachArchie
waitmovement 0
applymovement 4, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
- msgbox Route128_Text_1F6E5A, MSGBOX_DEFAULT
+ msgbox Route128_Text_MaxieDoYouUnderstandNow, MSGBOX_DEFAULT
closemessage
- applymovement 5, Route128_Movement_1F6CBB
+ applymovement 5, Route128_Movement_MaxieApproachPlayer
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
- msgbox Route128_Text_1F6F1E, MSGBOX_DEFAULT
+ msgbox Route128_Text_MaxieResposibilityFallsToArchieAndMe, MSGBOX_DEFAULT
closemessage
- applymovement 4, Route128_Movement_1F6C96
+ applymovement 4, Route128_Movement_ArchieRunLeft
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
- applymovement 5, Route128_Movement_1F6CA8
+ applymovement 5, Route128_Movement_MaxieWalkLeft
waitmovement 0
- msgbox Route128_Text_1F704F, MSGBOX_DEFAULT
+ msgbox Route128_Text_MaxieThisDefiesBelief, MSGBOX_DEFAULT
closemessage
delay 40
- applymovement 5, Route128_Movement_1F6CB0
- applymovement 4, Route128_Movement_1F6C9B
+ applymovement 5, Route128_Movement_MaxieExit
+ applymovement 4, Route128_Movement_ArchieExit
waitmovement 0
removeobject 5
removeobject 4
@@ -51,19 +51,19 @@ Route128_EventScript_1F6B57:: @ 81F6B57
dofieldeffect FLDEFF_NPCFLY_OUT
waitfieldeffect FLDEFF_NPCFLY_OUT
addobject 3
- applymovement 3, Route128_Movement_1F6C87
+ applymovement 3, Route128_Movement_StevenApproachPlayer
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
- msgbox Route128_Text_1F70C9, MSGBOX_DEFAULT
+ msgbox Route128_Text_StevenWhatIsHappening, MSGBOX_DEFAULT
closemessage
- applymovement 3, Route128_Movement_1F6C85
+ applymovement 3, Route128_Movement_StevenWalkUp
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
- msgbox Route128_Text_1F70EA, MSGBOX_DEFAULT
+ msgbox Route128_Text_StevenWholeWorldWillDrown, MSGBOX_DEFAULT
applymovement 3, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
- msgbox Route128_Text_1F721B, MSGBOX_DEFAULT
+ msgbox Route128_Text_StevenImGoingToSootopolis, MSGBOX_DEFAULT
closemessage
applymovement 3, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
@@ -78,10 +78,12 @@ Route128_EventScript_1F6B57:: @ 81F6B57
releaseall
end
+@ Unused
Route128_Movement_1F6C76: @ 81F6C76
walk_fast_left
step_end
+@ Unused
Route128_Movement_1F6C78: @ 81F6C78
walk_left
walk_left
@@ -97,15 +99,15 @@ Route128_Movement_1F6C78: @ 81F6C78
walk_up
step_end
-Route128_Movement_1F6C85: @ 81F6C85
+Route128_Movement_StevenWalkUp: @ 81F6C85
walk_up
step_end
-Route128_Movement_1F6C87: @ 81F6C87
+Route128_Movement_StevenApproachPlayer: @ 81F6C87
walk_fast_left
step_end
-Route128_Movement_1F6C89: @ 81F6C89
+Route128_Movement_ArchieLookAround: @ 81F6C89
walk_fast_down
walk_in_place_fastest_left
delay_16
@@ -115,21 +117,21 @@ Route128_Movement_1F6C89: @ 81F6C89
walk_in_place_fastest_down
step_end
-Route128_Movement_1F6C91: @ 81F6C91
+Route128_Movement_ArchieBackUp: @ 81F6C91
lock_facing_direction
walk_slow_up
delay_16
unlock_facing_direction
step_end
-Route128_Movement_1F6C96: @ 81F6C96
+Route128_Movement_ArchieRunLeft: @ 81F6C96
walk_fast_left
walk_fast_left
walk_fast_left
walk_in_place_fastest_right
step_end
-Route128_Movement_1F6C9B: @ 81F6C9B
+Route128_Movement_ArchieExit: @ 81F6C9B
delay_16
delay_16
walk_fast_up
@@ -144,19 +146,19 @@ Route128_Movement_1F6C9B: @ 81F6C9B
walk_fast_up
step_end
-Route128_Movement_1F6CA8: @ 81F6CA8
+Route128_Movement_MaxieWalkLeft: @ 81F6CA8
walk_left
walk_left
delay_8
delay_4
step_end
-Route128_Movement_1F6CAD: @ 81F6CAD
+Route128_Movement_MaxieApproachArchie: @ 81F6CAD
walk_left
walk_in_place_fastest_down
step_end
-Route128_Movement_1F6CB0: @ 81F6CB0
+Route128_Movement_MaxieExit: @ 81F6CB0
walk_fast_left
walk_fast_left
walk_fast_left
@@ -169,90 +171,90 @@ Route128_Movement_1F6CB0: @ 81F6CB0
walk_fast_up
step_end
-Route128_Movement_1F6CBB: @ 81F6CBB
+Route128_Movement_MaxieApproachPlayer: @ 81F6CBB
walk_right
walk_in_place_fastest_down
step_end
-Route128_EventScript_1F6CBE:: @ 81F6CBE
- trainerbattle_single TRAINER_ISAIAH_1, Route128_Text_2A287F, Route128_Text_2A28AB, Route128_EventScript_1F6CEA
+Route128_EventScript_Isaiah:: @ 81F6CBE
+ trainerbattle_single TRAINER_ISAIAH_1, Route128_Text_IsaiahIntro, Route128_Text_IsaiahDefeat, Route128_EventScript_RegisterIsaiah
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route128_EventScript_1F6D09
- msgbox Route128_Text_2A28D7, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route128_EventScript_RematchIsaiah
+ msgbox Route128_Text_IsaiahPostBattle, MSGBOX_DEFAULT
release
end
-Route128_EventScript_1F6CEA:: @ 81F6CEA
+Route128_EventScript_RegisterIsaiah:: @ 81F6CEA
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route128_Text_2A2916, MSGBOX_DEFAULT
+ msgbox Route128_Text_IsaiahRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ISAIAH_1
release
end
-Route128_EventScript_1F6D09:: @ 81F6D09
- trainerbattle_rematch TRAINER_ISAIAH_1, Route128_Text_2A2975, Route128_Text_2A29B8
- msgbox Route128_Text_2A29DC, MSGBOX_AUTOCLOSE
+Route128_EventScript_RematchIsaiah:: @ 81F6D09
+ trainerbattle_rematch TRAINER_ISAIAH_1, Route128_Text_IsaiahRematchIntro, Route128_Text_IsaiahRematchDefeat
+ msgbox Route128_Text_IsaiahPostRematch, MSGBOX_AUTOCLOSE
end
-Route128_EventScript_1F6D20:: @ 81F6D20
- trainerbattle_single TRAINER_KATELYN_1, Route128_Text_2A2A1F, Route128_Text_2A2A94, Route128_EventScript_1F6D4C
+Route128_EventScript_Katelyn:: @ 81F6D20
+ trainerbattle_single TRAINER_KATELYN_1, Route128_Text_KatelynIntro, Route128_Text_KatelynDefeat, Route128_EventScript_RegisterKatelyn
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route128_EventScript_1F6D6B
- msgbox Route128_Text_2A2AB7, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route128_EventScript_RematchKatelyn
+ msgbox Route128_Text_KatelynPostBattle, MSGBOX_DEFAULT
release
end
-Route128_EventScript_1F6D4C:: @ 81F6D4C
+Route128_EventScript_RegisterKatelyn:: @ 81F6D4C
special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route128_Text_2A2AF9, MSGBOX_DEFAULT
+ msgbox Route128_Text_KatelynRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_KATELYN_1
release
end
-Route128_EventScript_1F6D6B:: @ 81F6D6B
- trainerbattle_rematch TRAINER_KATELYN_1, Route128_Text_2A2B41, Route128_Text_2A2BAB
- msgbox Route128_Text_2A2BDD, MSGBOX_AUTOCLOSE
+Route128_EventScript_RematchKatelyn:: @ 81F6D6B
+ trainerbattle_rematch TRAINER_KATELYN_1, Route128_Text_KatelynRematchIntro, Route128_Text_KatelynRematchDefeat
+ msgbox Route128_Text_KatelynPostRematch, MSGBOX_AUTOCLOSE
end
-Route128_EventScript_1F6D82:: @ 81F6D82
- trainerbattle_single TRAINER_ALEXA, Route128_Text_2A2C1C, Route128_Text_2A2C79
- msgbox Route128_Text_2A2C95, MSGBOX_AUTOCLOSE
+Route128_EventScript_Alexa:: @ 81F6D82
+ trainerbattle_single TRAINER_ALEXA, Route128_Text_AlexaIntro, Route128_Text_AlexaDefeat
+ msgbox Route128_Text_AlexaPostBattle, MSGBOX_AUTOCLOSE
end
-Route128_EventScript_1F6D99:: @ 81F6D99
- trainerbattle_single TRAINER_RUBEN, Route128_Text_2A2CD9, Route128_Text_2A2CFE
- msgbox Route128_Text_2A2D0D, MSGBOX_AUTOCLOSE
+Route128_EventScript_Ruben:: @ 81F6D99
+ trainerbattle_single TRAINER_RUBEN, Route128_Text_RubenIntro, Route128_Text_RubenDefeat
+ msgbox Route128_Text_RubenPostBattle, MSGBOX_AUTOCLOSE
end
-Route128_EventScript_1F6DB0:: @ 81F6DB0
- trainerbattle_single TRAINER_WAYNE, Route128_Text_2A2D3D, Route128_Text_2A2DA9
- msgbox Route128_Text_2A2DBA, MSGBOX_AUTOCLOSE
+Route128_EventScript_Wayne:: @ 81F6DB0
+ trainerbattle_single TRAINER_WAYNE, Route128_Text_WayneIntro, Route128_Text_WayneDefeat
+ msgbox Route128_Text_WaynePostBattle, MSGBOX_AUTOCLOSE
end
-Route128_EventScript_1F6DC7:: @ 81F6DC7
- trainerbattle_single TRAINER_HARRISON, Route128_Text_2A2E0F, Route128_Text_2A2E44
- msgbox Route128_Text_2A2E6C, MSGBOX_AUTOCLOSE
+Route128_EventScript_Harrison:: @ 81F6DC7
+ trainerbattle_single TRAINER_HARRISON, Route128_Text_HarrisonIntro, Route128_Text_HarrisonDefeat
+ msgbox Route128_Text_HarrisonPostBattle, MSGBOX_AUTOCLOSE
end
-Route128_EventScript_1F6DDE:: @ 81F6DDE
- trainerbattle_single TRAINER_CARLEE, Route128_Text_2A2EC8, Route128_Text_2A2EFA
- msgbox Route128_Text_2A2F2F, MSGBOX_AUTOCLOSE
+Route128_EventScript_Carlee:: @ 81F6DDE
+ trainerbattle_single TRAINER_CARLEE, Route128_Text_CarleeIntro, Route128_Text_CarleeDefeat
+ msgbox Route128_Text_CarleePostBattle, MSGBOX_AUTOCLOSE
end
-Route128_Text_1F6DF5: @ 81F6DF5
+Route128_Text_ArchieWhatHappened: @ 81F6DF5
.string "ARCHIE: What happened…\n"
.string "What is this wretched scene…\p"
.string "Did I…make a horrible mistake?$"
-Route128_Text_1F6E48: @ 81F6E48
+Route128_Text_ArchieIOnlyWanted: @ 81F6E48
.string "I…\n"
.string "I only wanted…$"
-Route128_Text_1F6E5A: @ 81F6E5A
+Route128_Text_MaxieDoYouUnderstandNow: @ 81F6E5A
.string "MAXIE: Do you understand now,\n"
.string "ARCHIE?\p"
.string "Do you finally see how disastrous\n"
@@ -261,7 +263,7 @@ Route128_Text_1F6E5A: @ 81F6E5A
.string "something before the situation goes\l"
.string "completely out of control!$"
-Route128_Text_1F6F1E: @ 81F6F1E
+Route128_Text_MaxieResposibilityFallsToArchieAndMe: @ 81F6F1E
.string "MAXIE: {PLAYER}, don't say anything.\p"
.string "I know that I have no right to be\n"
.string "critical of ARCHIE…\p"
@@ -273,17 +275,17 @@ Route128_Text_1F6F1E: @ 81F6F1E
.string "The responsibility for putting an end\n"
.string "to this falls to ARCHIE and me…$"
-Route128_Text_1F704F: @ 81F704F
+Route128_Text_MaxieThisDefiesBelief: @ 81F704F
.string "MAXIE: This defies belief…\p"
.string "Those super-ancient POKéMON…\p"
.string "Their power is unbelievable.\n"
.string "They've upset the balance of nature…$"
-Route128_Text_1F70C9: @ 81F70C9
+Route128_Text_StevenWhatIsHappening: @ 81F70C9
.string "STEVEN: {PLAYER}{KUN}!\n"
.string "What is happening?$"
-Route128_Text_1F70EA: @ 81F70EA
+Route128_Text_StevenWholeWorldWillDrown: @ 81F70EA
.string "This is terrible…\p"
.string "After the scorching heat wave ended,\n"
.string "this deluge began.\p"
@@ -295,7 +297,7 @@ Route128_Text_1F70EA: @ 81F70EA
.string "There's no point arguing here…\n"
.string "SOOTOPOLIS might provide answers…$"
-Route128_Text_1F721B: @ 81F721B
+Route128_Text_StevenImGoingToSootopolis: @ 81F721B
.string "{PLAYER}{KUN}…\n"
.string "I don't know what you intend to do,\l"
.string "but don't do anything reckless.\p"
diff --git a/data/maps/Route129/map.json b/data/maps/Route129/map.json
index 3183f9821..6b19cc320 100644
--- a/data/maps/Route129/map.json
+++ b/data/maps/Route129/map.json
@@ -40,7 +40,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route129_EventScript_1F72EC",
+ "script": "Route129_EventScript_Chase",
"flag": "0"
},
{
@@ -53,7 +53,7 @@
"movement_range_y": 2,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route129_EventScript_1F7303",
+ "script": "Route129_EventScript_Allison",
"flag": "0"
},
{
@@ -66,7 +66,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route129_EventScript_1F7331",
+ "script": "Route129_EventScript_Tisha",
"flag": "0"
},
{
@@ -79,7 +79,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route129_EventScript_1F731A",
+ "script": "Route129_EventScript_Reed",
"flag": "0"
},
{
@@ -92,7 +92,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route129_EventScript_1F7348",
+ "script": "Route129_EventScript_Clarence",
"flag": "0"
}
],
diff --git a/data/maps/Route129/scripts.inc b/data/maps/Route129/scripts.inc
index 0245db703..ae6c67e87 100644
--- a/data/maps/Route129/scripts.inc
+++ b/data/maps/Route129/scripts.inc
@@ -1,10 +1,10 @@
Route129_MapScripts:: @ 81F7284
map_script MAP_SCRIPT_ON_TRANSITION, Route129_OnTransition
- map_script MAP_SCRIPT_ON_LOAD, Route129_MapScript1_1F7294
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route129_MapScript2_1F72E2
+ map_script MAP_SCRIPT_ON_LOAD, Route129_OnLoad
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route129_OnFrame
.byte 0
-Route129_MapScript1_1F7294: @ 81F7294
+Route129_OnLoad: @ 81F7294
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_129_WEST
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute129West
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_129_EAST
@@ -15,43 +15,43 @@ Route129_OnTransition: @ 81F72AB
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
call_if_eq UnusualWeather_EventScript_HideMapNamePopup
compare VAR_SOOTOPOLIS_CITY_STATE, 4
- call_if_ge Route129_EventScript_1F72D8
+ call_if_ge Route129_EventScript_CheckSetAlternatingWeather
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_129_WEST
call_if_eq UnusualWeather_StartKyogreWeather
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_129_EAST
call_if_eq UnusualWeather_StartKyogreWeather
end
-Route129_EventScript_1F72D8:: @ 81F72D8
+Route129_EventScript_CheckSetAlternatingWeather:: @ 81F72D8
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAlternatingWeather
return
-Route129_MapScript2_1F72E2: @ 81F72E2
+Route129_OnFrame: @ 81F72E2
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
-Route129_EventScript_1F72EC:: @ 81F72EC
- trainerbattle_single TRAINER_CHASE, Route129_Text_2A2F66, Route129_Text_2A2F9D
- msgbox Route129_Text_2A2FB9, MSGBOX_AUTOCLOSE
+Route129_EventScript_Chase:: @ 81F72EC
+ trainerbattle_single TRAINER_CHASE, Route129_Text_ChaseIntro, Route129_Text_ChaseDefeat
+ msgbox Route129_Text_ChasePostBattle, MSGBOX_AUTOCLOSE
end
-Route129_EventScript_1F7303:: @ 81F7303
- trainerbattle_single TRAINER_ALLISON, Route129_Text_2A2FF2, Route129_Text_2A3034
- msgbox Route129_Text_2A3048, MSGBOX_AUTOCLOSE
+Route129_EventScript_Allison:: @ 81F7303
+ trainerbattle_single TRAINER_ALLISON, Route129_Text_AllisonIntro, Route129_Text_AllisonDefeat
+ msgbox Route129_Text_AllisonPostBattle, MSGBOX_AUTOCLOSE
end
-Route129_EventScript_1F731A:: @ 81F731A
- trainerbattle_single TRAINER_REED, Route129_Text_2A30CD, Route129_Text_2A30F1
- msgbox Route129_Text_2A3114, MSGBOX_AUTOCLOSE
+Route129_EventScript_Reed:: @ 81F731A
+ trainerbattle_single TRAINER_REED, Route129_Text_ReedIntro, Route129_Text_ReedDefeat
+ msgbox Route129_Text_ReedPostBattle, MSGBOX_AUTOCLOSE
end
-Route129_EventScript_1F7331:: @ 81F7331
- trainerbattle_single TRAINER_TISHA, Route129_Text_2A314E, Route129_Text_2A317D
- msgbox Route129_Text_2A31A6, MSGBOX_AUTOCLOSE
+Route129_EventScript_Tisha:: @ 81F7331
+ trainerbattle_single TRAINER_TISHA, Route129_Text_TishaIntro, Route129_Text_TishaDefeat
+ msgbox Route129_Text_TishaPostBattle, MSGBOX_AUTOCLOSE
end
-Route129_EventScript_1F7348:: @ 81F7348
- trainerbattle_single TRAINER_CLARENCE, Route129_Text_2A3204, Route129_Text_2A3239
- msgbox Route129_Text_2A3252, MSGBOX_AUTOCLOSE
+Route129_EventScript_Clarence:: @ 81F7348
+ trainerbattle_single TRAINER_CLARENCE, Route129_Text_ClarenceIntro, Route129_Text_ClarenceDefeat
+ msgbox Route129_Text_ClarencePostBattle, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route130/map.json b/data/maps/Route130/map.json
index 18d168b17..c0b92a1a5 100644
--- a/data/maps/Route130/map.json
+++ b/data/maps/Route130/map.json
@@ -35,7 +35,7 @@
"movement_range_y": 6,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route130_EventScript_1F73BF",
+ "script": "Route130_EventScript_Rodney",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route130_EventScript_1F73D6",
+ "script": "Route130_EventScript_Katie",
"flag": "0"
},
{
@@ -74,7 +74,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route130_EventScript_1F73ED",
+ "script": "Route130_EventScript_Santiago",
"flag": "0"
}
],
diff --git a/data/maps/Route130/scripts.inc b/data/maps/Route130/scripts.inc
index 9362e1d5d..f5bd7e051 100644
--- a/data/maps/Route130/scripts.inc
+++ b/data/maps/Route130/scripts.inc
@@ -4,10 +4,10 @@ Route130_MapScripts:: @ 81F735F
Route130_OnTransition: @ 81F7365
compare VAR_SOOTOPOLIS_CITY_STATE, 4
- call_if_ge Route130_EventScript_1F73B5
+ call_if_ge Route130_EventScript_CheckSetAlternatingWeather
specialvar VAR_RESULT, IsMirageIslandPresent
- compare VAR_RESULT, 1
- goto_if_eq Route130_EventScript_1F73B1
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route130_EventScript_SetMirageIslandLayout
setflag FLAG_TEMP_11
setflag FLAG_TEMP_12
setflag FLAG_TEMP_13
@@ -26,26 +26,26 @@ Route130_OnTransition: @ 81F7365
setmaplayoutindex LAYOUT_ROUTE130
end
-Route130_EventScript_1F73B1:: @ 81F73B1
+Route130_EventScript_SetMirageIslandLayout:: @ 81F73B1
setmaplayoutindex LAYOUT_ROUTE130_MIRAGE_ISLAND
end
-Route130_EventScript_1F73B5:: @ 81F73B5
+Route130_EventScript_CheckSetAlternatingWeather:: @ 81F73B5
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAlternatingWeather
return
-Route130_EventScript_1F73BF:: @ 81F73BF
- trainerbattle_single TRAINER_RODNEY, Route130_Text_2A328A, Route130_Text_2A32E6
- msgbox Route130_Text_2A3300, MSGBOX_AUTOCLOSE
+Route130_EventScript_Rodney:: @ 81F73BF
+ trainerbattle_single TRAINER_RODNEY, Route130_Text_RodneyIntro, Route130_Text_RodneyDefeat
+ msgbox Route130_Text_RodneyPostBattle, MSGBOX_AUTOCLOSE
end
-Route130_EventScript_1F73D6:: @ 81F73D6
- trainerbattle_single TRAINER_KATIE, Route130_Text_2A3363, Route130_Text_2A33AC
- msgbox Route130_Text_2A33F5, MSGBOX_AUTOCLOSE
+Route130_EventScript_Katie:: @ 81F73D6
+ trainerbattle_single TRAINER_KATIE, Route130_Text_KatieIntro, Route130_Text_KatieDefeat
+ msgbox Route130_Text_KatiePostBattle, MSGBOX_AUTOCLOSE
end
-Route130_EventScript_1F73ED:: @ 81F73ED
- trainerbattle_single TRAINER_SANTIAGO, Route130_Text_2A343A, Route130_Text_2A346D
- msgbox Route130_Text_2A3494, MSGBOX_AUTOCLOSE
+Route130_EventScript_Santiago:: @ 81F73ED
+ trainerbattle_single TRAINER_SANTIAGO, Route130_Text_SantiagoIntro, Route130_Text_SantiagoDefeat
+ msgbox Route130_Text_SantiagoPostBattle, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route131/map.json b/data/maps/Route131/map.json
index 379b15b3d..af73808b6 100644
--- a/data/maps/Route131/map.json
+++ b/data/maps/Route131/map.json
@@ -35,7 +35,7 @@
"movement_range_y": 7,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route131_EventScript_1F7429",
+ "script": "Route131_EventScript_Richard",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 7,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route131_EventScript_1F7440",
+ "script": "Route131_EventScript_Herman",
"flag": "0"
},
{
@@ -61,7 +61,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route131_EventScript_1F7457",
+ "script": "Route131_EventScript_Susie",
"flag": "0"
},
{
@@ -74,7 +74,7 @@
"movement_range_y": 5,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route131_EventScript_1F746E",
+ "script": "Route131_EventScript_Kara",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route131_EventScript_1F7485",
+ "script": "Route131_EventScript_Reli",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route131_EventScript_1F74A0",
+ "script": "Route131_EventScript_Ian",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route131_EventScript_1F74D2",
+ "script": "Route131_EventScript_Kevin",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route131_EventScript_1F74BB",
+ "script": "Route131_EventScript_Talia",
"flag": "0"
}
],
diff --git a/data/maps/Route131/scripts.inc b/data/maps/Route131/scripts.inc
index 1bb8cfdbc..d26100a10 100644
--- a/data/maps/Route131/scripts.inc
+++ b/data/maps/Route131/scripts.inc
@@ -4,55 +4,55 @@ Route131_MapScripts:: @ 81F7404
Route131_OnTransition: @ 81F740A
compare VAR_SOOTOPOLIS_CITY_STATE, 4
- call_if_ge Route131_EventScript_1F741F
- call Route131_EventScript_1F741B
+ call_if_ge Route131_EventScript_CheckSetAlternatingWeather
+ call Route131_EventScript_SetLayout
end
-Route131_EventScript_1F741B:: @ 81F741B
+Route131_EventScript_SetLayout:: @ 81F741B
setmaplayoutindex LAYOUT_ROUTE131_SKY_PILLAR
return
-Route131_EventScript_1F741F:: @ 81F741F
+Route131_EventScript_CheckSetAlternatingWeather:: @ 81F741F
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAlternatingWeather
return
-Route131_EventScript_1F7429:: @ 81F7429
- trainerbattle_single TRAINER_RICHARD, Route131_Text_2A34C8, Route131_Text_2A350D
- msgbox Route131_Text_2A353D, MSGBOX_AUTOCLOSE
+Route131_EventScript_Richard:: @ 81F7429
+ trainerbattle_single TRAINER_RICHARD, Route131_Text_RichardIntro, Route131_Text_RichardDefeat
+ msgbox Route131_Text_RichardPostBattle, MSGBOX_AUTOCLOSE
end
-Route131_EventScript_1F7440:: @ 81F7440
- trainerbattle_single TRAINER_HERMAN, Route131_Text_2A35C6, Route131_Text_2A3626
- msgbox Route131_Text_2A362D, MSGBOX_AUTOCLOSE
+Route131_EventScript_Herman:: @ 81F7440
+ trainerbattle_single TRAINER_HERMAN, Route131_Text_HermanIntro, Route131_Text_HermanDefeat
+ msgbox Route131_Text_HermanPostBattle, MSGBOX_AUTOCLOSE
end
-Route131_EventScript_1F7457:: @ 81F7457
- trainerbattle_single TRAINER_SUSIE, Route131_Text_2A367B, Route131_Text_2A36AB
- msgbox Route131_Text_2A36D6, MSGBOX_AUTOCLOSE
+Route131_EventScript_Susie:: @ 81F7457
+ trainerbattle_single TRAINER_SUSIE, Route131_Text_SusieIntro, Route131_Text_SusieDefeat
+ msgbox Route131_Text_SusiePostBattle, MSGBOX_AUTOCLOSE
end
-Route131_EventScript_1F746E:: @ 81F746E
- trainerbattle_single TRAINER_KARA, Route131_Text_2A3751, Route131_Text_2A378A
- msgbox Route131_Text_2A379F, MSGBOX_AUTOCLOSE
+Route131_EventScript_Kara:: @ 81F746E
+ trainerbattle_single TRAINER_KARA, Route131_Text_KaraIntro, Route131_Text_KaraDefeat
+ msgbox Route131_Text_KaraPostBattle, MSGBOX_AUTOCLOSE
end
-Route131_EventScript_1F7485:: @ 81F7485
- trainerbattle_double TRAINER_RELI_AND_IAN, Route131_Text_2A37E9, Route131_Text_2A381F, Route131_Text_2A38B7
- msgbox Route131_Text_2A3855, MSGBOX_AUTOCLOSE
+Route131_EventScript_Reli:: @ 81F7485
+ trainerbattle_double TRAINER_RELI_AND_IAN, Route131_Text_ReliIntro, Route131_Text_ReliDefeat, Route131_Text_ReliNotEnoughMons
+ msgbox Route131_Text_ReliPostBattle, MSGBOX_AUTOCLOSE
end
-Route131_EventScript_1F74A0:: @ 81F74A0
- trainerbattle_double TRAINER_RELI_AND_IAN, Route131_Text_2A38F8, Route131_Text_2A3925, Route131_Text_2A39CD
- msgbox Route131_Text_2A3960, MSGBOX_AUTOCLOSE
+Route131_EventScript_Ian:: @ 81F74A0
+ trainerbattle_double TRAINER_RELI_AND_IAN, Route131_Text_IanIntro, Route131_Text_IanDefeat, Route131_Text_IanNotEnoughMons
+ msgbox Route131_Text_IanPostBattle, MSGBOX_AUTOCLOSE
end
-Route131_EventScript_1F74BB:: @ 81F74BB
- trainerbattle_single TRAINER_TALIA, Route131_Text_2A39FE, Route131_Text_2A3A38
- msgbox Route131_Text_2A3A48, MSGBOX_AUTOCLOSE
+Route131_EventScript_Talia:: @ 81F74BB
+ trainerbattle_single TRAINER_TALIA, Route131_Text_TaliaIntro, Route131_Text_TaliaDefeat
+ msgbox Route131_Text_TaliaPostBattle, MSGBOX_AUTOCLOSE
end
-Route131_EventScript_1F74D2:: @ 81F74D2
- trainerbattle_single TRAINER_KEVIN, Route131_Text_2A3AA0, Route131_Text_2A3AFC
- msgbox Route131_Text_2A3B02, MSGBOX_AUTOCLOSE
+Route131_EventScript_Kevin:: @ 81F74D2
+ trainerbattle_single TRAINER_KEVIN, Route131_Text_KevinIntro, Route131_Text_KevinDefeat
+ msgbox Route131_Text_KevinPostBattle, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route132/map.json b/data/maps/Route132/map.json
index 8a7597826..947f8d9cf 100644
--- a/data/maps/Route132/map.json
+++ b/data/maps/Route132/map.json
@@ -35,7 +35,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route132_EventScript_1F74EA",
+ "script": "Route132_EventScript_Gilbert",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route132_EventScript_1F7501",
+ "script": "Route132_EventScript_Dana",
"flag": "0"
},
{
@@ -74,7 +74,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route132_EventScript_1F752F",
+ "script": "Route132_EventScript_Kiyo",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "Route132_EventScript_1F7518",
+ "script": "Route132_EventScript_Ronald",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route132_EventScript_1F7546",
+ "script": "Route132_EventScript_Paxton",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route132_EventScript_1F755D",
+ "script": "Route132_EventScript_Darcy",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route132_EventScript_1F758B",
+ "script": "Route132_EventScript_Makayla",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route132_EventScript_1F7574",
+ "script": "Route132_EventScript_Jonathan",
"flag": "0"
},
{
diff --git a/data/maps/Route132/scripts.inc b/data/maps/Route132/scripts.inc
index aed4d0673..6b82102be 100644
--- a/data/maps/Route132/scripts.inc
+++ b/data/maps/Route132/scripts.inc
@@ -1,43 +1,43 @@
Route132_MapScripts:: @ 81F74E9
.byte 0
-Route132_EventScript_1F74EA:: @ 81F74EA
- trainerbattle_single TRAINER_GILBERT, Route132_Text_2A3B4C, Route132_Text_2A3BAC
- msgbox Route132_Text_2A3BC0, MSGBOX_AUTOCLOSE
+Route132_EventScript_Gilbert:: @ 81F74EA
+ trainerbattle_single TRAINER_GILBERT, Route132_Text_GilbertIntro, Route132_Text_GilbertDefeat
+ msgbox Route132_Text_GilbertPostBattle, MSGBOX_AUTOCLOSE
end
-Route132_EventScript_1F7501:: @ 81F7501
- trainerbattle_single TRAINER_DANA, Route132_Text_2A3C04, Route132_Text_2A3C39
- msgbox Route132_Text_2A3C49, MSGBOX_AUTOCLOSE
+Route132_EventScript_Dana:: @ 81F7501
+ trainerbattle_single TRAINER_DANA, Route132_Text_DanaIntro, Route132_Text_DanaDefeat
+ msgbox Route132_Text_DanaPostBattle, MSGBOX_AUTOCLOSE
end
-Route132_EventScript_1F7518:: @ 81F7518
- trainerbattle_single TRAINER_RONALD, Route132_Text_2A3C7F, Route132_Text_2A3CAD
- msgbox Route132_Text_2A3CC5, MSGBOX_AUTOCLOSE
+Route132_EventScript_Ronald:: @ 81F7518
+ trainerbattle_single TRAINER_RONALD, Route132_Text_RonaldIntro, Route132_Text_RonaldDefeat
+ msgbox Route132_Text_RonaldPostBattle, MSGBOX_AUTOCLOSE
end
-Route132_EventScript_1F752F:: @ 81F752F
- trainerbattle_single TRAINER_KIYO, Route132_Text_2A3D26, Route132_Text_2A3D6C
- msgbox Route132_Text_2A3D8B, MSGBOX_AUTOCLOSE
+Route132_EventScript_Kiyo:: @ 81F752F
+ trainerbattle_single TRAINER_KIYO, Route132_Text_KiyoIntro, Route132_Text_KiyoDefeat
+ msgbox Route132_Text_KiyoPostBattle, MSGBOX_AUTOCLOSE
end
-Route132_EventScript_1F7546:: @ 81F7546
- trainerbattle_single TRAINER_PAXTON, Route132_Text_2A3F4F, Route132_Text_2A3FA8
- msgbox Route132_Text_2A3FE5, MSGBOX_AUTOCLOSE
+Route132_EventScript_Paxton:: @ 81F7546
+ trainerbattle_single TRAINER_PAXTON, Route132_Text_PaxtonIntro, Route132_Text_PaxtonDefeat
+ msgbox Route132_Text_PaxtonPostBattle, MSGBOX_AUTOCLOSE
end
-Route132_EventScript_1F755D:: @ 81F755D
- trainerbattle_single TRAINER_DARCY, Route132_Text_2A4026, Route132_Text_2A406E
- msgbox Route132_Text_2A40A4, MSGBOX_AUTOCLOSE
+Route132_EventScript_Darcy:: @ 81F755D
+ trainerbattle_single TRAINER_DARCY, Route132_Text_DarcyIntro, Route132_Text_DarcyDefeat
+ msgbox Route132_Text_DarcyPostBattle, MSGBOX_AUTOCLOSE
end
-Route132_EventScript_1F7574:: @ 81F7574
- trainerbattle_single TRAINER_JONATHAN, Route132_Text_2A3EAC, Route132_Text_2A3EDD
- msgbox Route132_Text_2A3F03, MSGBOX_AUTOCLOSE
+Route132_EventScript_Jonathan:: @ 81F7574
+ trainerbattle_single TRAINER_JONATHAN, Route132_Text_JonathanIntro, Route132_Text_JonathanDefeat
+ msgbox Route132_Text_JonathanPostBattle, MSGBOX_AUTOCLOSE
end
-Route132_EventScript_1F758B:: @ 81F758B
- trainerbattle_single TRAINER_MAKAYLA, Route132_Text_2A3DF0, Route132_Text_2A3E2C
- msgbox Route132_Text_2A3E4E, MSGBOX_AUTOCLOSE
+Route132_EventScript_Makayla:: @ 81F758B
+ trainerbattle_single TRAINER_MAKAYLA, Route132_Text_MakaylaIntro, Route132_Text_MakaylaDefeat
+ msgbox Route132_Text_MakaylaPostBattle, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route133/map.json b/data/maps/Route133/map.json
index 8622515f0..fe492458a 100644
--- a/data/maps/Route133/map.json
+++ b/data/maps/Route133/map.json
@@ -35,7 +35,7 @@
"movement_range_y": 2,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route133_EventScript_1F75A3",
+ "script": "Route133_EventScript_Franklin",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route133_EventScript_1F75D1",
+ "script": "Route133_EventScript_Linda",
"flag": "0"
},
{
@@ -61,7 +61,7 @@
"movement_range_y": 2,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route133_EventScript_1F75BA",
+ "script": "Route133_EventScript_Debra",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route133_EventScript_1F75FF",
+ "script": "Route133_EventScript_Beck",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
- "script": "Route133_EventScript_1F75E8",
+ "script": "Route133_EventScript_Warren",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route133_EventScript_1F7616",
+ "script": "Route133_EventScript_Mollie",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route133_EventScript_1F762D",
+ "script": "Route133_EventScript_Conor",
"flag": "0"
},
{
diff --git a/data/maps/Route133/scripts.inc b/data/maps/Route133/scripts.inc
index a91eeead3..ebe28f5db 100644
--- a/data/maps/Route133/scripts.inc
+++ b/data/maps/Route133/scripts.inc
@@ -1,38 +1,38 @@
Route133_MapScripts:: @ 81F75A2
.byte 0
-Route133_EventScript_1F75A3:: @ 81F75A3
- trainerbattle_single TRAINER_FRANKLIN, Route133_Text_2A40F0, Route133_Text_2A413F
- msgbox Route133_Text_2A4154, MSGBOX_AUTOCLOSE
+Route133_EventScript_Franklin:: @ 81F75A3
+ trainerbattle_single TRAINER_FRANKLIN, Route133_Text_FranklinIntro, Route133_Text_FranklinDefeat
+ msgbox Route133_Text_FranklinPostBattle, MSGBOX_AUTOCLOSE
end
-Route133_EventScript_1F75BA:: @ 81F75BA
- trainerbattle_single TRAINER_DEBRA, Route133_Text_2A41A8, Route133_Text_2A4200
- msgbox Route133_Text_2A420E, MSGBOX_AUTOCLOSE
+Route133_EventScript_Debra:: @ 81F75BA
+ trainerbattle_single TRAINER_DEBRA, Route133_Text_DebraIntro, Route133_Text_DebraDefeat
+ msgbox Route133_Text_DebraPostBattle, MSGBOX_AUTOCLOSE
end
-Route133_EventScript_1F75D1:: @ 81F75D1
- trainerbattle_single TRAINER_LINDA, Route133_Text_2A4236, Route133_Text_2A4258
- msgbox Route133_Text_2A4264, MSGBOX_AUTOCLOSE
+Route133_EventScript_Linda:: @ 81F75D1
+ trainerbattle_single TRAINER_LINDA, Route133_Text_LindaIntro, Route133_Text_LindaDefeat
+ msgbox Route133_Text_LindaPostBattle, MSGBOX_AUTOCLOSE
end
-Route133_EventScript_1F75E8:: @ 81F75E8
- trainerbattle_single TRAINER_WARREN, Route133_Text_2A4290, Route133_Text_2A42E0
- msgbox Route133_Text_2A4304, MSGBOX_AUTOCLOSE
+Route133_EventScript_Warren:: @ 81F75E8
+ trainerbattle_single TRAINER_WARREN, Route133_Text_WarrenIntro, Route133_Text_WarrenDefeat
+ msgbox Route133_Text_WarrenPostBattle, MSGBOX_AUTOCLOSE
end
-Route133_EventScript_1F75FF:: @ 81F75FF
- trainerbattle_single TRAINER_BECK, Route133_Text_2A436A, Route133_Text_2A439C
- msgbox Route133_Text_2A43B9, MSGBOX_AUTOCLOSE
+Route133_EventScript_Beck:: @ 81F75FF
+ trainerbattle_single TRAINER_BECK, Route133_Text_BeckIntro, Route133_Text_BeckDefeat
+ msgbox Route133_Text_BeckPostBattle, MSGBOX_AUTOCLOSE
end
-Route133_EventScript_1F7616:: @ 81F7616
- trainerbattle_single TRAINER_MOLLIE, Route133_Text_2A4401, Route133_Text_2A443A
- msgbox Route133_Text_2A4477, MSGBOX_AUTOCLOSE
+Route133_EventScript_Mollie:: @ 81F7616
+ trainerbattle_single TRAINER_MOLLIE, Route133_Text_MollieIntro, Route133_Text_MollieDefeat
+ msgbox Route133_Text_MolliePostBattle, MSGBOX_AUTOCLOSE
end
-Route133_EventScript_1F762D:: @ 81F762D
- trainerbattle_single TRAINER_CONOR, Route133_Text_2A44BA, Route133_Text_2A4505
- msgbox Route133_Text_2A4527, MSGBOX_AUTOCLOSE
+Route133_EventScript_Conor:: @ 81F762D
+ trainerbattle_single TRAINER_CONOR, Route133_Text_ConorIntro, Route133_Text_ConorDefeat
+ msgbox Route133_Text_ConorPostBattle, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/Route134/map.json b/data/maps/Route134/map.json
index e45920576..fb4da1f92 100644
--- a/data/maps/Route134/map.json
+++ b/data/maps/Route134/map.json
@@ -35,7 +35,7 @@
"movement_range_y": 5,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route134_EventScript_1F7653",
+ "script": "Route134_EventScript_Jack",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route134_EventScript_1F766A",
+ "script": "Route134_EventScript_Laurel",
"flag": "0"
},
{
@@ -61,7 +61,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route134_EventScript_1F7698",
+ "script": "Route134_EventScript_Aaron",
"flag": "0"
},
{
@@ -74,7 +74,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route134_EventScript_1F7681",
+ "script": "Route134_EventScript_Alex",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route134_EventScript_1F76AF",
+ "script": "Route134_EventScript_Hitoshi",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
- "script": "Route134_EventScript_1F76F4",
+ "script": "Route134_EventScript_Marley",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
- "script": "Route134_EventScript_1F770B",
+ "script": "Route134_EventScript_Kelvin",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
- "script": "Route134_EventScript_1F76DD",
+ "script": "Route134_EventScript_Reyna",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "Route134_EventScript_1F76C6",
+ "script": "Route134_EventScript_Hudson",
"flag": "0"
},
{
diff --git a/data/maps/Route134/scripts.inc b/data/maps/Route134/scripts.inc
index a941e19b5..3da2781b9 100644
--- a/data/maps/Route134/scripts.inc
+++ b/data/maps/Route134/scripts.inc
@@ -1,53 +1,53 @@
Route134_MapScripts:: @ 81F7644
- map_script MAP_SCRIPT_ON_RESUME, Route134_MapScript1_1F764A
+ map_script MAP_SCRIPT_ON_RESUME, Route134_OnResume
.byte 0
-Route134_MapScript1_1F764A: @ 81F764A
+Route134_OnResume: @ 81F764A
setdivewarp MAP_UNDERWATER_ROUTE134, 255, 8, 6
end
-Route134_EventScript_1F7653:: @ 81F7653
- trainerbattle_single TRAINER_JACK, Route134_Text_2A4571, Route134_Text_2A45BB
- msgbox Route134_Text_2A45C5, MSGBOX_AUTOCLOSE
+Route134_EventScript_Jack:: @ 81F7653
+ trainerbattle_single TRAINER_JACK, Route134_Text_JackIntro, Route134_Text_JackDefeat
+ msgbox Route134_Text_JackPostBattle, MSGBOX_AUTOCLOSE
end
-Route134_EventScript_1F766A:: @ 81F766A
- trainerbattle_single TRAINER_LAUREL, Route134_Text_2A4609, Route134_Text_2A4643
- msgbox Route134_Text_2A464B, MSGBOX_AUTOCLOSE
+Route134_EventScript_Laurel:: @ 81F766A
+ trainerbattle_single TRAINER_LAUREL, Route134_Text_LaurelIntro, Route134_Text_LaurelDefeat
+ msgbox Route134_Text_LaurelPostBattle, MSGBOX_AUTOCLOSE
end
-Route134_EventScript_1F7681:: @ 81F7681
- trainerbattle_single TRAINER_ALEX, Route134_Text_2A4682, Route134_Text_2A46BE
- msgbox Route134_Text_2A46D2, MSGBOX_AUTOCLOSE
+Route134_EventScript_Alex:: @ 81F7681
+ trainerbattle_single TRAINER_ALEX, Route134_Text_AlexIntro, Route134_Text_AlexDefeat
+ msgbox Route134_Text_AlexPostBattle, MSGBOX_AUTOCLOSE
end
-Route134_EventScript_1F7698:: @ 81F7698
- trainerbattle_single TRAINER_AARON, Route134_Text_2A479E, Route134_Text_2A47E1
- msgbox Route134_Text_2A47FD, MSGBOX_AUTOCLOSE
+Route134_EventScript_Aaron:: @ 81F7698
+ trainerbattle_single TRAINER_AARON, Route134_Text_AaronIntro, Route134_Text_AaronDefeat
+ msgbox Route134_Text_AaronPostBattle, MSGBOX_AUTOCLOSE
end
-Route134_EventScript_1F76AF:: @ 81F76AF
- trainerbattle_single TRAINER_HITOSHI, Route134_Text_2A4709, Route134_Text_2A4745
- msgbox Route134_Text_2A475D, MSGBOX_AUTOCLOSE
+Route134_EventScript_Hitoshi:: @ 81F76AF
+ trainerbattle_single TRAINER_HITOSHI, Route134_Text_HitoshiIntro, Route134_Text_HitoshiDefeat
+ msgbox Route134_Text_HitoshiPostBattle, MSGBOX_AUTOCLOSE
end
-Route134_EventScript_1F76C6:: @ 81F76C6
- trainerbattle_single TRAINER_HUDSON, Route134_Text_2A4A8F, Route134_Text_2A4AC1
- msgbox Route134_Text_2A4AD8, MSGBOX_AUTOCLOSE
+Route134_EventScript_Hudson:: @ 81F76C6
+ trainerbattle_single TRAINER_HUDSON, Route134_Text_HudsonIntro, Route134_Text_HudsonDefeat
+ msgbox Route134_Text_HudsonPostBattle, MSGBOX_AUTOCLOSE
end
-Route134_EventScript_1F76DD:: @ 81F76DD
- trainerbattle_single TRAINER_REYNA, Route134_Text_2A49E9, Route134_Text_2A4A10
- msgbox Route134_Text_2A4A34, MSGBOX_AUTOCLOSE
+Route134_EventScript_Reyna:: @ 81F76DD
+ trainerbattle_single TRAINER_REYNA, Route134_Text_ReynaIntro, Route134_Text_ReynaDefeat
+ msgbox Route134_Text_ReynaPostBattle, MSGBOX_AUTOCLOSE
end
-Route134_EventScript_1F76F4:: @ 81F76F4
- trainerbattle_single TRAINER_MARLEY, Route134_Text_2A4937, Route134_Text_2A496B
- msgbox Route134_Text_2A49B1, MSGBOX_AUTOCLOSE
+Route134_EventScript_Marley:: @ 81F76F4
+ trainerbattle_single TRAINER_MARLEY, Route134_Text_MarleyIntro, Route134_Text_MarleyDefeat
+ msgbox Route134_Text_MarleyPostBattle, MSGBOX_AUTOCLOSE
end
-Route134_EventScript_1F770B:: @ 81F770B
- trainerbattle_single TRAINER_KELVIN, Route134_Text_2A4875, Route134_Text_2A489B
- msgbox Route134_Text_2A48BD, MSGBOX_AUTOCLOSE
+Route134_EventScript_Kelvin:: @ 81F770B
+ trainerbattle_single TRAINER_KELVIN, Route134_Text_KelvinIntro, Route134_Text_KelvinDefeat
+ msgbox Route134_Text_KelvinPostBattle, MSGBOX_AUTOCLOSE
end
diff --git a/data/maps/RustboroCity_DevonCorp_3F/scripts.inc b/data/maps/RustboroCity_DevonCorp_3F/scripts.inc
index 349ec616e..143ff4543 100644
--- a/data/maps/RustboroCity_DevonCorp_3F/scripts.inc
+++ b/data/maps/RustboroCity_DevonCorp_3F/scripts.inc
@@ -60,7 +60,7 @@ RustboroCity_DevonCorp_3F_EventScript_MeetPresident:: @ 821246E
closemessage
call Common_EventScript_OutOfCenterPartyHeal
msgbox RustboroCity_DevonCorp_3F_Text_MrStoneGoWithCautionAndCare, MSGBOX_DEFAULT
- setflag FLAG_HIDE_ROUTE_116_TUNNELER
+ setflag FLAG_HIDE_ROUTE_116_WANDAS_BOYFRIEND
clearflag FLAG_HIDE_RUSTURF_TUNNEL_WANDAS_BOYFRIEND
clearflag FLAG_HIDE_RUSTURF_TUNNEL_WANDA
clearflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
diff --git a/data/maps/SSTidalCorridor/map.json b/data/maps/SSTidalCorridor/map.json
index ce6c3d2d0..3cf4b2cd0 100644
--- a/data/maps/SSTidalCorridor/map.json
+++ b/data/maps/SSTidalCorridor/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SSTidalCorridor_EventScript_23C119",
+ "script": "SSTidalCorridor_EventScript_ExitSailor",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SSTidalCorridor_EventScript_23C1A3",
+ "script": "SSTidalCorridor_EventScript_Sailor",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SSTidalCorridor_EventScript_23C0D9",
+ "script": "SSTidalCorridor_EventScript_Briney",
"flag": "FLAG_HIDE_SS_TIDAL_CORRIDOR_MR_BRINEY"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SSTidalCorridor_EventScript_23C0E2",
+ "script": "SSTidalCorridor_EventScript_Peeko",
"flag": "FLAG_HIDE_SS_TIDAL_CORRIDOR_MR_BRINEY"
},
{
@@ -153,7 +153,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalCorridor_EventScript_23C17D"
+ "script": "SSTidalCorridor_EventScript_Porthole"
},
{
"type": "sign",
@@ -161,7 +161,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalCorridor_EventScript_23C17D"
+ "script": "SSTidalCorridor_EventScript_Porthole"
},
{
"type": "sign",
@@ -169,7 +169,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalCorridor_EventScript_23C17D"
+ "script": "SSTidalCorridor_EventScript_Porthole"
},
{
"type": "sign",
@@ -177,7 +177,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalCorridor_EventScript_23C17D"
+ "script": "SSTidalCorridor_EventScript_Porthole"
},
{
"type": "sign",
@@ -185,7 +185,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalCorridor_EventScript_23C17D"
+ "script": "SSTidalCorridor_EventScript_Porthole"
},
{
"type": "sign",
@@ -193,7 +193,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalCorridor_EventScript_23C17D"
+ "script": "SSTidalCorridor_EventScript_Porthole"
},
{
"type": "sign",
@@ -201,7 +201,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalCorridor_EventScript_23C17D"
+ "script": "SSTidalCorridor_EventScript_Porthole"
},
{
"type": "sign",
@@ -209,7 +209,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalCorridor_EventScript_23C17D"
+ "script": "SSTidalCorridor_EventScript_Porthole"
},
{
"type": "sign",
@@ -217,7 +217,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "SSTidalCorridor_EventScript_23C0F5"
+ "script": "SSTidalCorridor_EventScript_Cabin1Sign"
},
{
"type": "sign",
@@ -225,7 +225,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "SSTidalCorridor_EventScript_23C0FE"
+ "script": "SSTidalCorridor_EventScript_Cabin2Sign"
},
{
"type": "sign",
@@ -233,7 +233,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "SSTidalCorridor_EventScript_23C107"
+ "script": "SSTidalCorridor_EventScript_Cabin3Sign"
},
{
"type": "sign",
@@ -241,7 +241,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "SSTidalCorridor_EventScript_23C110"
+ "script": "SSTidalCorridor_EventScript_Cabin4Sign"
}
]
} \ No newline at end of file
diff --git a/data/maps/SSTidalCorridor/scripts.inc b/data/maps/SSTidalCorridor/scripts.inc
index f91cc6a3b..6b88b7ae1 100644
--- a/data/maps/SSTidalCorridor/scripts.inc
+++ b/data/maps/SSTidalCorridor/scripts.inc
@@ -1,218 +1,218 @@
SSTidalCorridor_MapScripts:: @ 823BFCF
- map_script MAP_SCRIPT_ON_FRAME_TABLE, SSTidalCorridor_MapScript2_23BFD5
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, SSTidalCorridor_OnFrame
.byte 0
-SSTidalCorridor_MapScript2_23BFD5: @ 823BFD5
- map_script_2 VAR_SS_TIDAL_SCOTT_STATE, 0, SSTidalCorridor_EventScript_23C219
- map_script_2 VAR_PORTHOLE_STATE, 1, SSTidalCorridor_EventScript_23BFFF
- map_script_2 VAR_PORTHOLE_STATE, 5, SSTidalCorridor_EventScript_23C015
- map_script_2 VAR_PORTHOLE_STATE, 9, SSTidalCorridor_EventScript_23C067
- map_script_2 VAR_PORTHOLE_STATE, 10, SSTidalCorridor_EventScript_23C07D
+SSTidalCorridor_OnFrame: @ 823BFD5
+ map_script_2 VAR_SS_TIDAL_SCOTT_STATE, 0, SSTidalCorridor_EventScript_ScottScene
+ map_script_2 VAR_SS_TIDAL_STATE, SS_TIDAL_BOARD_SLATEPORT, SSTidalCorridor_EventScript_DepartSlateportForLilycove
+ map_script_2 VAR_SS_TIDAL_STATE, SS_TIDAL_BOARD_LILYCOVE, SSTidalCorridor_EventScript_DepartLilycoveForSlateport
+ map_script_2 VAR_SS_TIDAL_STATE, SS_TIDAL_EXIT_CURRENTS_RIGHT, SSTidalCorridor_EventScript_HalfwayToLilycove
+ map_script_2 VAR_SS_TIDAL_STATE, SS_TIDAL_EXIT_CURRENTS_LEFT, SSTidalCorridor_EventScript_ArrivedInSlateport
.2byte 0
-SSTidalCorridor_EventScript_23BFFF:: @ 823BFFF
+SSTidalCorridor_EventScript_DepartSlateportForLilycove:: @ 823BFFF
special SetSSTidalFlag
- setvar VAR_PORTHOLE_STATE, 2
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_DEPART_SLATEPORT
lockall
playse SE_PINPON
- msgbox SSTidalCorridor_Text_23C462, MSGBOX_DEFAULT
+ msgbox SSTidal_Text_FastCurrentsHopeYouEnjoyVoyage, MSGBOX_DEFAULT
releaseall
end
-SSTidalCorridor_EventScript_23C015:: @ 823C015
- setvar VAR_PORTHOLE_STATE, 6
+SSTidalCorridor_EventScript_DepartLilycoveForSlateport:: @ 823C015
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_DEPART_LILYCOVE
lockall
playse SE_PINPON
- msgbox SSTidalCorridor_Text_23C4E3, MSGBOX_DEFAULT
+ msgbox SSTidal_Text_HopeYouEnjoyVoyage, MSGBOX_DEFAULT
releaseall
end
-SSTidalRooms_EventScript_23C028:: @ 823C028
+SSTidalRooms_EventScript_HalfwayToSlateport:: @ 823C028
special SetSSTidalFlag
- setvar VAR_PORTHOLE_STATE, 7
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_HALFWAY_SLATEPORT
playse SE_PINPON
- msgbox SSTidalRooms_Text_23C462, MSGBOX_DEFAULT
+ msgbox SSTidal_Text_FastCurrentsHopeYouEnjoyVoyage, MSGBOX_DEFAULT
return
-SSTidalRooms_EventScript_23C03C:: @ 823C03C
+SSTidalRooms_EventScript_ArrivedInLilycove:: @ 823C03C
special ResetSSTidalFlag
- setvar VAR_PORTHOLE_STATE, 4
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_LAND_LILYCOVE
playse SE_PINPON
- msgbox SSTidalRooms_Text_23C553, MSGBOX_DEFAULT
+ msgbox SSTidal_Text_MadeLandInLilycove, MSGBOX_DEFAULT
return
-SSTidalCorridor_EventScript_23C050:: @ 823C050
- compare VAR_PORTHOLE_STATE, 2
- goto_if_eq SSTidalCorridor_EventScript_23C067
- compare VAR_PORTHOLE_STATE, 7
- goto_if_eq SSTidalCorridor_EventScript_23C07D
+SSTidalCorridor_EventScript_ReachedStepCount:: @ 823C050
+ compare VAR_SS_TIDAL_STATE, SS_TIDAL_DEPART_SLATEPORT
+ goto_if_eq SSTidalCorridor_EventScript_HalfwayToLilycove
+ compare VAR_SS_TIDAL_STATE, SS_TIDAL_HALFWAY_SLATEPORT
+ goto_if_eq SSTidalCorridor_EventScript_ArrivedInSlateport
end
-SSTidalCorridor_EventScript_23C067:: @ 823C067
+SSTidalCorridor_EventScript_HalfwayToLilycove:: @ 823C067
special ResetSSTidalFlag
- setvar VAR_PORTHOLE_STATE, 3
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_HALFWAY_LILYCOVE
lockall
playse SE_PINPON
- msgbox SSTidalCorridor_Text_23C4E3, MSGBOX_DEFAULT
+ msgbox SSTidal_Text_HopeYouEnjoyVoyage, MSGBOX_DEFAULT
releaseall
end
-SSTidalCorridor_EventScript_23C07D:: @ 823C07D
+SSTidalCorridor_EventScript_ArrivedInSlateport:: @ 823C07D
special ResetSSTidalFlag
- setvar VAR_PORTHOLE_STATE, 8
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_LAND_SLATEPORT
lockall
playse SE_PINPON
- msgbox SSTidalCorridor_Text_23C50F, MSGBOX_DEFAULT
+ msgbox SSTidal_Text_MadeLandInSlateport, MSGBOX_DEFAULT
releaseall
end
-SSTidalRooms_EventScript_23C093:: @ 823C093
+SSTidalRooms_EventScript_ArrivedInSlateport:: @ 823C093
special ResetSSTidalFlag
- setvar VAR_PORTHOLE_STATE, 8
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_LAND_SLATEPORT
playse SE_PINPON
- msgbox SSTidalRooms_Text_23C50F, MSGBOX_DEFAULT
+ msgbox SSTidal_Text_MadeLandInSlateport, MSGBOX_DEFAULT
return
-SSTidalRooms_EventScript_23C0A7:: @ 823C0A7
- switch VAR_PORTHOLE_STATE
- case 2, SSTidalRooms_EventScript_23C03C
- case 3, SSTidalRooms_EventScript_23C03C
- case 6, SSTidalRooms_EventScript_23C028
- case 7, SSTidalRooms_EventScript_23C093
+SSTidalRooms_EventScript_ProgessCruiseAfterBed:: @ 823C0A7
+ switch VAR_SS_TIDAL_STATE
+ case SS_TIDAL_DEPART_SLATEPORT, SSTidalRooms_EventScript_ArrivedInLilycove
+ case SS_TIDAL_HALFWAY_LILYCOVE, SSTidalRooms_EventScript_ArrivedInLilycove
+ case SS_TIDAL_DEPART_LILYCOVE, SSTidalRooms_EventScript_HalfwayToSlateport
+ case SS_TIDAL_HALFWAY_SLATEPORT, SSTidalRooms_EventScript_ArrivedInSlateport
return
-SSTidalCorridor_EventScript_23C0D9:: @ 823C0D9
- msgbox SSTidalCorridor_Text_23C6EC, MSGBOX_NPC
+SSTidalCorridor_EventScript_Briney:: @ 823C0D9
+ msgbox SSTidalCorridor_Text_BrineyWelcomeAboard, MSGBOX_NPC
end
-SSTidalCorridor_EventScript_23C0E2:: @ 823C0E2
+SSTidalCorridor_EventScript_Peeko:: @ 823C0E2
lock
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
- msgbox SSTidalCorridor_Text_23C7E1, MSGBOX_DEFAULT
+ msgbox SSTidalCorridor_Text_Peeko, MSGBOX_DEFAULT
waitmoncry
release
end
-SSTidalCorridor_EventScript_23C0F5:: @ 823C0F5
- msgbox SSTidalCorridor_Text_23C7F8, MSGBOX_SIGN
+SSTidalCorridor_EventScript_Cabin1Sign:: @ 823C0F5
+ msgbox SSTidalCorridor_Text_Cabin1, MSGBOX_SIGN
end
-SSTidalCorridor_EventScript_23C0FE:: @ 823C0FE
- msgbox SSTidalCorridor_Text_23C800, MSGBOX_SIGN
+SSTidalCorridor_EventScript_Cabin2Sign:: @ 823C0FE
+ msgbox SSTidalCorridor_Text_Cabin2, MSGBOX_SIGN
end
-SSTidalCorridor_EventScript_23C107:: @ 823C107
- msgbox SSTidalCorridor_Text_23C808, MSGBOX_SIGN
+SSTidalCorridor_EventScript_Cabin3Sign:: @ 823C107
+ msgbox SSTidalCorridor_Text_Cabin3, MSGBOX_SIGN
end
-SSTidalCorridor_EventScript_23C110:: @ 823C110
- msgbox SSTidalCorridor_Text_23C810, MSGBOX_SIGN
+SSTidalCorridor_EventScript_Cabin4Sign:: @ 823C110
+ msgbox SSTidalCorridor_Text_Cabin4, MSGBOX_SIGN
end
-SSTidalCorridor_EventScript_23C119:: @ 823C119
+SSTidalCorridor_EventScript_ExitSailor:: @ 823C119
lock
faceplayer
- compare VAR_PORTHOLE_STATE, 4
- goto_if_eq SSTidalCorridor_EventScript_23C13B
- compare VAR_PORTHOLE_STATE, 8
- goto_if_eq SSTidalCorridor_EventScript_23C15A
- msgbox SSTidalCorridor_Text_23C596, MSGBOX_DEFAULT
+ compare VAR_SS_TIDAL_STATE, SS_TIDAL_LAND_LILYCOVE
+ goto_if_eq SSTidalCorridor_EventScript_ExitLilycove
+ compare VAR_SS_TIDAL_STATE, SS_TIDAL_LAND_SLATEPORT
+ goto_if_eq SSTidalCorridor_EventScript_ExitSlateport
+ msgbox SSTidalCorridor_Text_CanRestInCabin2, MSGBOX_DEFAULT
release
end
-SSTidalCorridor_EventScript_23C13B:: @ 823C13B
+SSTidalCorridor_EventScript_ExitLilycove:: @ 823C13B
setrespawn HEAL_LOCATION_LILYCOVE_CITY
- msgbox SSTidalCorridor_Text_23C64F, MSGBOX_DEFAULT
- call_if_set FLAG_RECEIVED_TM49, SSTidalCorridor_EventScript_23C179
+ msgbox SSTidalCorridor_Text_WeveArrived, MSGBOX_DEFAULT
+ call_if_set FLAG_RECEIVED_TM49, SSTidalCorridor_EventScript_HideSnatchGiver
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
release
end
-SSTidalCorridor_EventScript_23C15A:: @ 823C15A
+SSTidalCorridor_EventScript_ExitSlateport:: @ 823C15A
setrespawn HEAL_LOCATION_SLATEPORT_CITY
- msgbox SSTidalCorridor_Text_23C64F, MSGBOX_DEFAULT
- call_if_set FLAG_RECEIVED_TM49, SSTidalCorridor_EventScript_23C179
+ msgbox SSTidalCorridor_Text_WeveArrived, MSGBOX_DEFAULT
+ call_if_set FLAG_RECEIVED_TM49, SSTidalCorridor_EventScript_HideSnatchGiver
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
waitstate
release
end
-SSTidalCorridor_EventScript_23C179:: @ 823C179
+SSTidalCorridor_EventScript_HideSnatchGiver:: @ 823C179
setflag FLAG_HIDE_SS_TIDAL_ROOMS_SNATCH_GIVER
return
-SSTidalCorridor_EventScript_23C17D:: @ 823C17D
+SSTidalCorridor_EventScript_Porthole:: @ 823C17D
lockall
- compare VAR_PORTHOLE_STATE, 2
- goto_if_eq SSTidalCorridor_EventScript_23C19E
- compare VAR_PORTHOLE_STATE, 7
- goto_if_eq SSTidalCorridor_EventScript_23C19E
- msgbox SSTidalCorridor_Text_23C6C3, MSGBOX_DEFAULT
+ compare VAR_SS_TIDAL_STATE, SS_TIDAL_DEPART_SLATEPORT
+ goto_if_eq SSTidalCorridor_EventScript_LookThroughPorthole
+ compare VAR_SS_TIDAL_STATE, SS_TIDAL_HALFWAY_SLATEPORT
+ goto_if_eq SSTidalCorridor_EventScript_LookThroughPorthole
+ msgbox SSTidalCorridor_Text_HorizonSpreadsBeyondPorthole, MSGBOX_DEFAULT
releaseall
end
-SSTidalCorridor_EventScript_23C19E:: @ 823C19E
- special sub_80FB7A4
+SSTidalCorridor_EventScript_LookThroughPorthole:: @ 823C19E
+ special LookThroughPorthole
waitstate
end
-SSTidalCorridor_EventScript_23C1A3:: @ 823C1A3
+SSTidalCorridor_EventScript_Sailor:: @ 823C1A3
lock
faceplayer
- goto_if_set FLAG_DEFEATED_SS_TIDAL_TRAINERS, SSTidalCorridor_EventScript_23C1BD
- call SSTidalCorridor_EventScript_23C1C7
- msgbox SSTidalCorridor_Text_23C65E, MSGBOX_DEFAULT
+ goto_if_set FLAG_DEFEATED_SS_TIDAL_TRAINERS, SSTidalCorridor_EventScript_EnjoyYourCruise
+ call SSTidalCorridor_EventScript_CheckIfTrainersDefeated
+ msgbox SSTidalCorridor_Text_VisitOtherCabins, MSGBOX_DEFAULT
release
end
-SSTidalCorridor_EventScript_23C1BD:: @ 823C1BD
- msgbox SSTidalCorridor_Text_23C6B0, MSGBOX_DEFAULT
+SSTidalCorridor_EventScript_EnjoyYourCruise:: @ 823C1BD
+ msgbox SSTidalCorridor_Text_EnjoyYourCruise, MSGBOX_DEFAULT
release
end
-SSTidalCorridor_EventScript_23C1C7:: @ 823C1C7
+SSTidalCorridor_EventScript_CheckIfTrainersDefeated:: @ 823C1C7
checktrainerflag TRAINER_PHILLIP
- goto_if_lt SSTidalCorridor_EventScript_23C218
+ goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
checktrainerflag TRAINER_LEONARD
- goto_if_lt SSTidalCorridor_EventScript_23C218
+ goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
checktrainerflag TRAINER_COLTON
- goto_if_lt SSTidalCorridor_EventScript_23C218
+ goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
checktrainerflag TRAINER_MICAH
- goto_if_lt SSTidalCorridor_EventScript_23C218
+ goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
checktrainerflag TRAINER_THOMAS
- goto_if_lt SSTidalCorridor_EventScript_23C218
+ goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
checktrainerflag TRAINER_LEA_AND_JED
- goto_if_lt SSTidalCorridor_EventScript_23C218
+ goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
checktrainerflag TRAINER_GARRET
- goto_if_lt SSTidalCorridor_EventScript_23C218
+ goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
checktrainerflag TRAINER_NAOMI
- goto_if_lt SSTidalCorridor_EventScript_23C218
+ goto_if_lt SSTidalCorridor_EventScript_TrainerNotDefeated
setflag FLAG_DEFEATED_SS_TIDAL_TRAINERS
- goto SSTidalCorridor_EventScript_23C1BD
+ goto SSTidalCorridor_EventScript_EnjoyYourCruise
return
-SSTidalCorridor_EventScript_23C218:: @ 823C218
+SSTidalCorridor_EventScript_TrainerNotDefeated:: @ 823C218
return
-SSTidalCorridor_EventScript_23C219:: @ 823C219
+SSTidalCorridor_EventScript_ScottScene:: @ 823C219
lockall
- applymovement 5, SSTidalCorridor_Movement_23C26D
+ applymovement 5, SSTidalCorridor_Movement_ScottApproachPlayer
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
- msgbox SSTidalCorridor_Text_23C28F, MSGBOX_DEFAULT
+ msgbox SSTidalCorridor_Text_ScottBattleFrontierInvite, MSGBOX_DEFAULT
closemessage
- applymovement EVENT_OBJ_ID_PLAYER, SSTidalCorridor_Movement_23C27D
- applymovement 1, SSTidalCorridor_Movement_23C284
- applymovement 5, SSTidalCorridor_Movement_23C275
+ applymovement EVENT_OBJ_ID_PLAYER, SSTidalCorridor_Movement_PlayerWatchScottExit
+ applymovement 1, SSTidalCorridor_Movement_SailorMoveForScott
+ applymovement 5, SSTidalCorridor_Movement_ScottExit
waitmovement 0
playse SE_KAIDAN
waitse
removeobject 5
- applymovement 1, SSTidalCorridor_Movement_23C28B
+ applymovement 1, SSTidalCorridor_Movement_SailorReturn
waitmovement 0
delay 30
setflag FLAG_MET_SCOTT_ON_SS_TIDAL
@@ -220,7 +220,7 @@ SSTidalCorridor_EventScript_23C219:: @ 823C219
releaseall
end
-SSTidalCorridor_Movement_23C26D: @ 823C26D
+SSTidalCorridor_Movement_ScottApproachPlayer: @ 823C26D
walk_left
walk_left
walk_left
@@ -230,7 +230,7 @@ SSTidalCorridor_Movement_23C26D: @ 823C26D
walk_left
step_end
-SSTidalCorridor_Movement_23C275: @ 823C275
+SSTidalCorridor_Movement_ScottExit: @ 823C275
walk_in_place_fastest_down
delay_16
delay_16
@@ -240,7 +240,7 @@ SSTidalCorridor_Movement_23C275: @ 823C275
walk_left
step_end
-SSTidalCorridor_Movement_23C27D: @ 823C27D
+SSTidalCorridor_Movement_PlayerWatchScottExit: @ 823C27D
delay_16
delay_16
delay_16
@@ -249,7 +249,7 @@ SSTidalCorridor_Movement_23C27D: @ 823C27D
walk_in_place_fastest_down
step_end
-SSTidalCorridor_Movement_23C284: @ 823C284
+SSTidalCorridor_Movement_SailorMoveForScott: @ 823C284
delay_16
walk_right
walk_right
@@ -258,13 +258,13 @@ SSTidalCorridor_Movement_23C284: @ 823C284
walk_in_place_fastest_left
step_end
-SSTidalCorridor_Movement_23C28B: @ 823C28B
+SSTidalCorridor_Movement_SailorReturn: @ 823C28B
walk_left
walk_left
walk_in_place_fastest_up
step_end
-SSTidalCorridor_Text_23C28F: @ 823C28F
+SSTidalCorridor_Text_ScottBattleFrontierInvite: @ 823C28F
.string "SCOTT: Well, hi, hi!\n"
.string "{PLAYER}{KUN}, {PLAYER}{KUN}!\p"
.string "Something's come up, so I have to\n"
@@ -284,27 +284,25 @@ SSTidalCorridor_Text_23C28F: @ 823C28F
.string "Okay, {PLAYER}{KUN}, I'll be waiting for you\n"
.string "at the BATTLE FRONTIER!$"
-SSTidalCorridor_Text_23C462: @ 823C462
-SSTidalRooms_Text_23C462: @ 823C462
+SSTidal_Text_FastCurrentsHopeYouEnjoyVoyage: @ 823C462
.string "This ferry is built to plow through\n"
.string "fast-running currents.\p"
.string "We hope you enjoy your voyage with us.\n"
.string "Feel free to explore the ship.$"
-SSTidalCorridor_Text_23C4E3: @ 823C4E3
+SSTidal_Text_HopeYouEnjoyVoyage: @ 823C4E3
.string "We hope you enjoy your voyage on\n"
.string "our ferry.$"
-SSTidalCorridor_Text_23C50F: @ 823C50F
-SSTidalRooms_Text_23C50F: @ 823C50F
+SSTidal_Text_MadeLandInSlateport: @ 823C50F
.string "We have made land in SLATEPORT CITY.\n"
.string "Thank you for sailing with us.$"
-SSTidalRooms_Text_23C553: @ 823C553
+SSTidal_Text_MadeLandInLilycove: @ 823C553
.string "We have made land in LILYCOVE CITY.\n"
.string "Thank you for sailing with us.$"
-SSTidalCorridor_Text_23C596: @ 823C596
+SSTidalCorridor_Text_CanRestInCabin2: @ 823C596
.string "It'll be some time before we make land,\n"
.string "I reckon.\p"
.string "You can rest up in your cabin if you'd\n"
@@ -312,22 +310,22 @@ SSTidalCorridor_Text_23C596: @ 823C596
.string "The bed in there is soft and plushy.\n"
.string "I can attest to how comfy it is!$"
-SSTidalCorridor_Text_23C64F: @ 823C64F
+SSTidalCorridor_Text_WeveArrived: @ 823C64F
.string "We've arrived!$"
-SSTidalCorridor_Text_23C65E: @ 823C65E
+SSTidalCorridor_Text_VisitOtherCabins: @ 823C65E
.string "Go visit other cabins.\n"
.string "TRAINERS bored of the boat trip will\l"
.string "be itching to battle.$"
-SSTidalCorridor_Text_23C6B0: @ 823C6B0
+SSTidalCorridor_Text_EnjoyYourCruise: @ 823C6B0
.string "Enjoy your cruise!$"
-SSTidalCorridor_Text_23C6C3: @ 823C6C3
+SSTidalCorridor_Text_HorizonSpreadsBeyondPorthole: @ 823C6C3
.string "The horizon spreads beyond\n"
.string "the porthole.$"
-SSTidalCorridor_Text_23C6EC: @ 823C6EC
+SSTidalCorridor_Text_BrineyWelcomeAboard: @ 823C6EC
.string "MR. BRINEY: Welcome aboard, {PLAYER}{KUN}!\p"
.string "They made me honorary captain of\n"
.string "the S.S. TIDAL!\p"
@@ -337,17 +335,17 @@ SSTidalCorridor_Text_23C6EC: @ 823C6EC
.string "Let me just say, it stirred my sleeping\n"
.string "soul as a sailor!$"
-SSTidalCorridor_Text_23C7E1: @ 823C7E1
+SSTidalCorridor_Text_Peeko: @ 823C7E1
.string "PEEKO: Pihyo pihyohyo…$"
-SSTidalCorridor_Text_23C7F8: @ 823C7F8
+SSTidalCorridor_Text_Cabin1: @ 823C7F8
.string "Cabin 1$"
-SSTidalCorridor_Text_23C800: @ 823C800
+SSTidalCorridor_Text_Cabin2: @ 823C800
.string "Cabin 2$"
-SSTidalCorridor_Text_23C808: @ 823C808
+SSTidalCorridor_Text_Cabin3: @ 823C808
.string "Cabin 3$"
-SSTidalCorridor_Text_23C810: @ 823C810
+SSTidalCorridor_Text_Cabin4: @ 823C810
.string "Cabin 4$"
diff --git a/data/maps/SSTidalLowerDeck/map.json b/data/maps/SSTidalLowerDeck/map.json
index 3e678ca8c..45610454a 100644
--- a/data/maps/SSTidalLowerDeck/map.json
+++ b/data/maps/SSTidalLowerDeck/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "SSTidalLowerDeck_EventScript_23C819",
+ "script": "SSTidalLowerDeck_EventScript_Phillip",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "SSTidalLowerDeck_EventScript_23C830",
+ "script": "SSTidalLowerDeck_EventScript_Leonard",
"flag": "0"
}
],
diff --git a/data/maps/SSTidalLowerDeck/scripts.inc b/data/maps/SSTidalLowerDeck/scripts.inc
index 68761376d..c90366c23 100644
--- a/data/maps/SSTidalLowerDeck/scripts.inc
+++ b/data/maps/SSTidalLowerDeck/scripts.inc
@@ -1,38 +1,38 @@
SSTidalLowerDeck_MapScripts:: @ 823C818
.byte 0
-SSTidalLowerDeck_EventScript_23C819:: @ 823C819
- trainerbattle_single TRAINER_PHILLIP, SSTidalLowerDeck_Text_23C847, SSTidalLowerDeck_Text_23C8A0
- msgbox SSTidalLowerDeck_Text_23C8B4, MSGBOX_AUTOCLOSE
+SSTidalLowerDeck_EventScript_Phillip:: @ 823C819
+ trainerbattle_single TRAINER_PHILLIP, SSTidalLowerDeck_Text_PhillipIntro, SSTidalLowerDeck_Text_PhillipDefeat
+ msgbox SSTidalLowerDeck_Text_PhillipPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalLowerDeck_EventScript_23C830:: @ 823C830
- trainerbattle_single TRAINER_LEONARD, SSTidalLowerDeck_Text_23C917, SSTidalLowerDeck_Text_23C97D
- msgbox SSTidalLowerDeck_Text_23C98E, MSGBOX_AUTOCLOSE
+SSTidalLowerDeck_EventScript_Leonard:: @ 823C830
+ trainerbattle_single TRAINER_LEONARD, SSTidalLowerDeck_Text_LeonardIntro, SSTidalLowerDeck_Text_LeonardDefeat
+ msgbox SSTidalLowerDeck_Text_LeonardPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalLowerDeck_Text_23C847: @ 823C847
+SSTidalLowerDeck_Text_PhillipIntro: @ 823C847
.string "Arrrgh! I'm fed up and dog-tired of\n"
.string "cleaning this huge place!\p"
.string "Let's have a quick battle!$"
-SSTidalLowerDeck_Text_23C8A0: @ 823C8A0
+SSTidalLowerDeck_Text_PhillipDefeat: @ 823C8A0
.string "Little bro, I lost!$"
-SSTidalLowerDeck_Text_23C8B4: @ 823C8B4
+SSTidalLowerDeck_Text_PhillipPostBattle: @ 823C8B4
.string "We're the CLEANUP BROTHERS!\p"
.string "The old one dumps the detergent,\n"
.string "and the young one does the scrubbing!$"
-SSTidalLowerDeck_Text_23C917: @ 823C917
+SSTidalLowerDeck_Text_LeonardIntro: @ 823C917
.string "This is the bottom of the ship's hull.\n"
.string "There's plenty of room.\l"
.string "It'll be alright for a POKéMON battle.$"
-SSTidalLowerDeck_Text_23C97D: @ 823C97D
+SSTidalLowerDeck_Text_LeonardDefeat: @ 823C97D
.string "Big bro, I lost!$"
-SSTidalLowerDeck_Text_23C98E: @ 823C98E
+SSTidalLowerDeck_Text_LeonardPostBattle: @ 823C98E
.string "We're the CLEANUP BROTHERS!\p"
.string "The old one dumps the detergent,\n"
.string "and the young one does the scrubbing!$"
diff --git a/data/maps/SSTidalRooms/map.json b/data/maps/SSTidalRooms/map.json
index 8fb4bd05d..b2da534c3 100644
--- a/data/maps/SSTidalRooms/map.json
+++ b/data/maps/SSTidalRooms/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SSTidalRooms_EventScript_23CA49",
+ "script": "SSTidalRooms_EventScript_Colton",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "SSTidalRooms_EventScript_23CA60",
+ "script": "SSTidalRooms_EventScript_Micah",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SSTidalRooms_EventScript_23CA77",
+ "script": "SSTidalRooms_EventScript_Thomas",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "SSTidalRooms_EventScript_23CA8E",
+ "script": "SSTidalRooms_EventScript_Jed",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
- "script": "SSTidalRooms_EventScript_23CAA9",
+ "script": "SSTidalRooms_EventScript_Lea",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
- "script": "SSTidalRooms_EventScript_23CAC4",
+ "script": "SSTidalRooms_EventScript_Garret",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SSTidalRooms_EventScript_23CADB",
+ "script": "SSTidalRooms_EventScript_Naomi",
"flag": "0"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SSTidalRooms_EventScript_23C9F2",
+ "script": "SSTidalRooms_EventScript_SnatchGiver",
"flag": "FLAG_HIDE_SS_TIDAL_ROOMS_SNATCH_GIVER"
}
],
@@ -213,7 +213,7 @@
"y": 11,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalRooms_EventScript_23CA33"
+ "script": "SSTidalRooms_EventScript_Bed"
},
{
"type": "sign",
@@ -221,7 +221,7 @@
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
- "script": "SSTidalRooms_EventScript_23CA33"
+ "script": "SSTidalRooms_EventScript_Bed"
}
]
} \ No newline at end of file
diff --git a/data/maps/SSTidalRooms/scripts.inc b/data/maps/SSTidalRooms/scripts.inc
index 3b8df90a3..bf2c5e36b 100644
--- a/data/maps/SSTidalRooms/scripts.inc
+++ b/data/maps/SSTidalRooms/scripts.inc
@@ -1,175 +1,175 @@
SSTidalRooms_MapScripts:: @ 823C9F1
.byte 0
-SSTidalRooms_EventScript_23C9F2:: @ 823C9F2
+SSTidalRooms_EventScript_SnatchGiver:: @ 823C9F2
lock
faceplayer
- goto_if_set FLAG_RECEIVED_TM49, SSTidalRooms_EventScript_23CA29
- msgbox SSTidalRooms_Text_23D098, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECEIVED_TM49, SSTidalRooms_EventScript_ExplainSnatch
+ msgbox SSTidalRooms_Text_NotSuspiciousTakeThis, MSGBOX_DEFAULT
giveitem_std ITEM_TM49
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM49
- msgbox SSTidalRooms_Text_23D145, MSGBOX_DEFAULT
+ msgbox SSTidalRooms_Text_ExplainSnatch, MSGBOX_DEFAULT
release
end
-SSTidalRooms_EventScript_23CA29:: @ 823CA29
- msgbox SSTidalRooms_Text_23D145, MSGBOX_DEFAULT
+SSTidalRooms_EventScript_ExplainSnatch:: @ 823CA29
+ msgbox SSTidalRooms_Text_ExplainSnatch, MSGBOX_DEFAULT
release
end
-SSTidalRooms_EventScript_23CA33:: @ 823CA33
+SSTidalRooms_EventScript_Bed:: @ 823CA33
lockall
- msgbox SSTidalRooms_Text_23CAF2, MSGBOX_DEFAULT
+ msgbox SSTidalRooms_Text_TakeRestOnBed, MSGBOX_DEFAULT
closemessage
call Common_EventScript_OutOfCenterPartyHeal
- call SSTidalRooms_EventScript_23C0A7
+ call SSTidalRooms_EventScript_ProgessCruiseAfterBed
releaseall
end
-SSTidalRooms_EventScript_23CA49:: @ 823CA49
- trainerbattle_single TRAINER_COLTON, SSTidalRooms_Text_23CB14, SSTidalRooms_Text_23CB58
- msgbox SSTidalRooms_Text_23CB75, MSGBOX_AUTOCLOSE
+SSTidalRooms_EventScript_Colton:: @ 823CA49
+ trainerbattle_single TRAINER_COLTON, SSTidalRooms_Text_ColtonIntro, SSTidalRooms_Text_ColtonDefeat
+ msgbox SSTidalRooms_Text_ColtonPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalRooms_EventScript_23CA60:: @ 823CA60
- trainerbattle_single TRAINER_MICAH, SSTidalRooms_Text_23CBEB, SSTidalRooms_Text_23CC04
- msgbox SSTidalRooms_Text_23CC26, MSGBOX_AUTOCLOSE
+SSTidalRooms_EventScript_Micah:: @ 823CA60
+ trainerbattle_single TRAINER_MICAH, SSTidalRooms_Text_MicahIntro, SSTidalRooms_Text_MicahDefeat
+ msgbox SSTidalRooms_Text_MicahPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalRooms_EventScript_23CA77:: @ 823CA77
- trainerbattle_single TRAINER_THOMAS, SSTidalRooms_Text_23CC68, SSTidalRooms_Text_23CC8A
- msgbox SSTidalRooms_Text_23CCBB, MSGBOX_AUTOCLOSE
+SSTidalRooms_EventScript_Thomas:: @ 823CA77
+ trainerbattle_single TRAINER_THOMAS, SSTidalRooms_Text_ThomasIntro, SSTidalRooms_Text_ThomasDefeat
+ msgbox SSTidalRooms_Text_ThomasPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalRooms_EventScript_23CA8E:: @ 823CA8E
- trainerbattle_double TRAINER_LEA_AND_JED, SSTidalRooms_Text_23CD04, SSTidalRooms_Text_23CD54, SSTidalRooms_Text_23CDC6
- msgbox SSTidalRooms_Text_23CD5F, MSGBOX_AUTOCLOSE
+SSTidalRooms_EventScript_Jed:: @ 823CA8E
+ trainerbattle_double TRAINER_LEA_AND_JED, SSTidalRooms_Text_JedIntro, SSTidalRooms_Text_JedDefeat, SSTidalRooms_Text_JedNotEnoughMons
+ msgbox SSTidalRooms_Text_JedPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalRooms_EventScript_23CAA9:: @ 823CAA9
- trainerbattle_double TRAINER_LEA_AND_JED, SSTidalRooms_Text_23CE04, SSTidalRooms_Text_23CE4B, SSTidalRooms_Text_23CEB0
- msgbox SSTidalRooms_Text_23CE59, MSGBOX_AUTOCLOSE
+SSTidalRooms_EventScript_Lea:: @ 823CAA9
+ trainerbattle_double TRAINER_LEA_AND_JED, SSTidalRooms_Text_LeaIntro, SSTidalRooms_Text_LeaDefeat, SSTidalRooms_Text_LeaNotEnoughMons
+ msgbox SSTidalRooms_Text_LeaPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalRooms_EventScript_23CAC4:: @ 823CAC4
- trainerbattle_single TRAINER_GARRET, SSTidalRooms_Text_23CEEE, SSTidalRooms_Text_23CF36
- msgbox SSTidalRooms_Text_23CF45, MSGBOX_AUTOCLOSE
+SSTidalRooms_EventScript_Garret:: @ 823CAC4
+ trainerbattle_single TRAINER_GARRET, SSTidalRooms_Text_GarretIntro, SSTidalRooms_Text_GarretDefeat
+ msgbox SSTidalRooms_Text_GarretPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalRooms_EventScript_23CADB:: @ 823CADB
- trainerbattle_single TRAINER_NAOMI, SSTidalRooms_Text_23CF97, SSTidalRooms_Text_23CFF4
- msgbox SSTidalRooms_Text_23D013, MSGBOX_AUTOCLOSE
+SSTidalRooms_EventScript_Naomi:: @ 823CADB
+ trainerbattle_single TRAINER_NAOMI, SSTidalRooms_Text_NaomiIntro, SSTidalRooms_Text_NaomiDefeat
+ msgbox SSTidalRooms_Text_NaomiPostBattle, MSGBOX_AUTOCLOSE
end
-SSTidalRooms_Text_23CAF2: @ 823CAF2
+SSTidalRooms_Text_TakeRestOnBed: @ 823CAF2
.string "There's a bed…\n"
.string "Let's take a rest.$"
-SSTidalRooms_Text_23CB14: @ 823CB14
+SSTidalRooms_Text_ColtonIntro: @ 823CB14
.string "I often sail to LILYCOVE CITY.\p"
.string "I enjoy attending CONTESTS,\n"
.string "you see.$"
-SSTidalRooms_Text_23CB58: @ 823CB58
+SSTidalRooms_Text_ColtonDefeat: @ 823CB58
.string "That was an enjoyable match!$"
-SSTidalRooms_Text_23CB75: @ 823CB75
+SSTidalRooms_Text_ColtonPostBattle: @ 823CB75
.string "I get so excited imagining what kinds\n"
.string "of POKéMON I'll get to see in the next\l"
.string "CONTEST. The anticipation of it thrills!$"
-SSTidalRooms_Text_23CBEB: @ 823CBEB
+SSTidalRooms_Text_MicahIntro: @ 823CBEB
.string "Are your friends strong?$"
-SSTidalRooms_Text_23CC04: @ 823CC04
+SSTidalRooms_Text_MicahDefeat: @ 823CC04
.string "Your friends are, indeed, strong.$"
-SSTidalRooms_Text_23CC26: @ 823CC26
+SSTidalRooms_Text_MicahPostBattle: @ 823CC26
.string "Friends need not be human.\n"
.string "For me, POKéMON are treasured friends!$"
-SSTidalRooms_Text_23CC68: @ 823CC68
+SSTidalRooms_Text_ThomasIntro: @ 823CC68
.string "Child…\n"
.string "Did you knock on the door?$"
-SSTidalRooms_Text_23CC8A: @ 823CC8A
+SSTidalRooms_Text_ThomasDefeat: @ 823CC8A
.string "A loss is to be accepted without haste\n"
.string "or panic.$"
-SSTidalRooms_Text_23CCBB: @ 823CCBB
+SSTidalRooms_Text_ThomasPostBattle: @ 823CCBB
.string "To be never ruffled in any situation is\n"
.string "the GENTLEMAN's code of conduct.$"
-SSTidalRooms_Text_23CD04: @ 823CD04
+SSTidalRooms_Text_JedIntro: @ 823CD04
.string "JED: I feel a little shy about this, but…\n"
.string "We'll show you our lovey-dovey power!$"
-SSTidalRooms_Text_23CD54: @ 823CD54
+SSTidalRooms_Text_JedDefeat: @ 823CD54
.string "JED: Sigh…$"
-SSTidalRooms_Text_23CD5F: @ 823CD5F
+SSTidalRooms_Text_JedPostBattle: @ 823CD5F
.string "JED: It's the first time that our lovey-\n"
.string "dovey power couldn't prevail!\l"
.string "You must be an awesome TRAINER!$"
-SSTidalRooms_Text_23CDC6: @ 823CDC6
+SSTidalRooms_Text_JedNotEnoughMons: @ 823CDC6
.string "JED: You only have one POKéMON?\n"
.string "Isn't that just too lonesome?$"
-SSTidalRooms_Text_23CE04: @ 823CE04
+SSTidalRooms_Text_LeaIntro: @ 823CE04
.string "LEA: I feel a little silly, but…\n"
.string "We'll show you our lovey-dovey power!$"
-SSTidalRooms_Text_23CE4B: @ 823CE4B
+SSTidalRooms_Text_LeaDefeat: @ 823CE4B
.string "LEA: Oh, boo!$"
-SSTidalRooms_Text_23CE59: @ 823CE59
+SSTidalRooms_Text_LeaPostBattle: @ 823CE59
.string "LEA: I can't believe it!\n"
.string "Our lovey-dovey power failed…\l"
.string "You must be an awesome TRAINER!$"
-SSTidalRooms_Text_23CEB0: @ 823CEB0
+SSTidalRooms_Text_LeaNotEnoughMons: @ 823CEB0
.string "LEA: I wanted to battle…\n"
.string "But you don't even have two POKéMON…$"
-SSTidalRooms_Text_23CEEE: @ 823CEEE
+SSTidalRooms_Text_GarretIntro: @ 823CEEE
.string "Ah, you've come just in time.\p"
.string "I'm bored, you see.\n"
.string "You may entertain me.$"
-SSTidalRooms_Text_23CF36: @ 823CF36
+SSTidalRooms_Text_GarretDefeat: @ 823CF36
.string "…That will do.$"
-SSTidalRooms_Text_23CF45: @ 823CF45
+SSTidalRooms_Text_GarretPostBattle: @ 823CF45
.string "Perhaps I shall get Father to acquire\n"
.string "a yacht for me.\l"
.string "A yacht for me and POKéMON!$"
-SSTidalRooms_Text_23CF97: @ 823CF97
+SSTidalRooms_Text_NaomiIntro: @ 823CF97
.string "Oh, you're such an adorable TRAINER.\n"
.string "Would you like to have tea?\l"
.string "Or would you rather battle?$"
-SSTidalRooms_Text_23CFF4: @ 823CFF4
+SSTidalRooms_Text_NaomiDefeat: @ 823CFF4
.string "I see.\n"
.string "You're the active sort.$"
-SSTidalRooms_Text_23D013: @ 823D013
+SSTidalRooms_Text_NaomiPostBattle: @ 823D013
.string "A world cruise on a luxury liner has its\n"
.string "charms, I must say…\p"
.string "But, I will admit there is an appealing\n"
.string "side to touring HOENN by ferry.$"
-SSTidalRooms_Text_23D098: @ 823D098
+SSTidalRooms_Text_NotSuspiciousTakeThis: @ 823D098
.string "Uh… Hi! I… I'm not acting suspicious!\n"
.string "Uh… You can have this! For free!\p"
.string "It… Honestly, I didn't SNATCH it from\n"
.string "someone! I'd never do such a thing!\l"
.string "It's clean! You can use it!$"
-SSTidalRooms_Text_23D145: @ 823D145
+SSTidalRooms_Text_ExplainSnatch: @ 823D145
.string "SNATCH steals the beneficial effects\n"
.string "of certain moves before they can be\l"
.string "used by a foe or ally.$"
diff --git a/data/maps/SeafloorCavern_Room9/scripts.inc b/data/maps/SeafloorCavern_Room9/scripts.inc
index 68db475cd..43c503682 100644
--- a/data/maps/SeafloorCavern_Room9/scripts.inc
+++ b/data/maps/SeafloorCavern_Room9/scripts.inc
@@ -37,10 +37,7 @@ SeafloorCavern_Room9_EventScript_ArchieAwakenKyogre:: @ 8234DC9
waitstate
setvar VAR_RESULT, 1
playse SE_W197
- setfieldeffectargument 0, 16
- setfieldeffectargument 1, 42
- setfieldeffectargument 2, 0
- dofieldeffect FLDEFF_SPARKLE
+ dofieldeffectsparkle 16, 42, 0
waitfieldeffect FLDEFF_SPARKLE
closemessage
setvar VAR_RESULT, 0
diff --git a/data/maps/SlateportCity_Harbor/scripts.inc b/data/maps/SlateportCity_Harbor/scripts.inc
index bf30da747..1abb66b57 100644
--- a/data/maps/SlateportCity_Harbor/scripts.inc
+++ b/data/maps/SlateportCity_Harbor/scripts.inc
@@ -202,7 +202,7 @@ SlateportCity_Harbor_EventScript_Lilycove:: @ 820CB92
msgbox SlateportCity_Harbor_Text_LilycoveItIs, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq SlateportCity_Harbor_EventScript_ChooseNewDestination
- setvar VAR_PORTHOLE_STATE, 1
+ setvar VAR_SS_TIDAL_STATE, SS_TIDAL_BOARD_SLATEPORT
call SlateportCity_Harbor_EventScript_BoardFerry
warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10
waitstate
diff --git a/data/maps/TrainerHill_1F/scripts.inc b/data/maps/TrainerHill_1F/scripts.inc
index e726f8566..59f90b8bd 100644
--- a/data/maps/TrainerHill_1F/scripts.inc
+++ b/data/maps/TrainerHill_1F/scripts.inc
@@ -1,6 +1,6 @@
TrainerHill_1F_MapScripts:: @ 8268F71
- map_script MAP_SCRIPT_ON_RESUME, TrainerHill_1F_MapScript1_2C8336
- map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, TrainerHill_1F_MapScript2_2C8372
- map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_1F_MapScript2_2C8381
+ map_script MAP_SCRIPT_ON_RESUME, TrainerHill_OnResume
+ map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, TrainerHill_OnWarp
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_OnFrame
.byte 0
diff --git a/data/maps/TrainerHill_2F/scripts.inc b/data/maps/TrainerHill_2F/scripts.inc
index dd1f356de..0e8775cd5 100644
--- a/data/maps/TrainerHill_2F/scripts.inc
+++ b/data/maps/TrainerHill_2F/scripts.inc
@@ -1,6 +1,6 @@
TrainerHill_2F_MapScripts:: @ 8268F81
- map_script MAP_SCRIPT_ON_RESUME, TrainerHill_2F_MapScript1_2C8336
- map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, TrainerHill_2F_MapScript2_2C8372
- map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_2F_MapScript2_2C8381
+ map_script MAP_SCRIPT_ON_RESUME, TrainerHill_OnResume
+ map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, TrainerHill_OnWarp
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_OnFrame
.byte 0
diff --git a/data/maps/TrainerHill_3F/scripts.inc b/data/maps/TrainerHill_3F/scripts.inc
index b4793f457..eee6bd99d 100644
--- a/data/maps/TrainerHill_3F/scripts.inc
+++ b/data/maps/TrainerHill_3F/scripts.inc
@@ -1,5 +1,5 @@
TrainerHill_3F_MapScripts:: @ 8268F91
- map_script MAP_SCRIPT_ON_RESUME, TrainerHill_3F_MapScript1_2C8336
- map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_3F_MapScript2_2C8381
+ map_script MAP_SCRIPT_ON_RESUME, TrainerHill_OnResume
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_OnFrame
.byte 0
diff --git a/data/maps/TrainerHill_4F/scripts.inc b/data/maps/TrainerHill_4F/scripts.inc
index 66b8ed3bb..74ce0bf08 100644
--- a/data/maps/TrainerHill_4F/scripts.inc
+++ b/data/maps/TrainerHill_4F/scripts.inc
@@ -1,5 +1,5 @@
TrainerHill_4F_MapScripts:: @ 8268F9C
- map_script MAP_SCRIPT_ON_RESUME, TrainerHill_4F_MapScript1_2C8336
- map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_4F_MapScript2_2C8381
+ map_script MAP_SCRIPT_ON_RESUME, TrainerHill_OnResume
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_OnFrame
.byte 0
diff --git a/data/maps/TrainerHill_Elevator/map.json b/data/maps/TrainerHill_Elevator/map.json
index 03354b0da..07cdaa80d 100644
--- a/data/maps/TrainerHill_Elevator/map.json
+++ b/data/maps/TrainerHill_Elevator/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "TrainerHill_Elevator_EventScript_26935F",
+ "script": "TrainerHill_Elevator_EventScript_Attendant",
"flag": "0"
}
],
diff --git a/data/maps/TrainerHill_Elevator/scripts.inc b/data/maps/TrainerHill_Elevator/scripts.inc
index 39fa51db4..498f7a3c0 100644
--- a/data/maps/TrainerHill_Elevator/scripts.inc
+++ b/data/maps/TrainerHill_Elevator/scripts.inc
@@ -1,89 +1,89 @@
TrainerHill_Elevator_MapScripts:: @ 826934F
- map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_Elevator_MapScript2_269355
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_Elevator_OnFrame
.byte 0
-TrainerHill_Elevator_MapScript2_269355: @ 8269355
- map_script_2 VAR_TEMP_4, 0, TrainerHill_Elevator_EventScript_269375
+TrainerHill_Elevator_OnFrame: @ 8269355
+ map_script_2 VAR_TEMP_4, 0, TrainerHill_Elevator_EventScript_EnterElevator
.2byte 0
-TrainerHill_Elevator_EventScript_26935F:: @ 826935F
+TrainerHill_Elevator_EventScript_Attendant:: @ 826935F
end
-TrainerHill_Elevator_EventScript_269360:: @ 8269360
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_2693EB
+TrainerHill_Elevator_EventScript_ExitToRoof:: @ 8269360
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_PlayerExitElevatorToRoof
waitmovement 0
releaseall
warp MAP_TRAINER_HILL_ROOF, 255, 15, 5
waitstate
end
-TrainerHill_Elevator_EventScript_269375:: @ 8269375
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_2693E4
+TrainerHill_Elevator_EventScript_EnterElevator:: @ 8269375
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_PlayerApproachAttendant
waitmovement 0
- applymovement 1, TrainerHill_Elevator_Movement_2693EE
+ applymovement 1, TrainerHill_Elevator_Movement_AttendantFacePlayer
waitmovement 0
lockall
- msgbox TrainerHill_Elevator_Text_268F3E, MSGBOX_YESNO
+ msgbox TrainerHill_Elevator_Text_ReturnToReception, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq TrainerHill_Elevator_EventScript_269360
+ goto_if_eq TrainerHill_Elevator_EventScript_ExitToRoof
releaseall
- applymovement 1, TrainerHill_Elevator_Movement_2693F0
+ applymovement 1, TrainerHill_Elevator_Movement_AttendantFaceDown
waitmovement 0
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_2693DF
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_PlayerMoveToCenterOfElevator
waitmovement 0
- call TrainerHill_Elevator_EventScript_2693D9
+ call TrainerHill_Elevator_EventScript_MoveElevator
delay 25
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_2693E7
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_PlayerExitElevator
waitmovement 0
warp MAP_TRAINER_HILL_ENTRANCE, 255, 17, 8
waitstate
end
@ Unused
-TrainerHill_Elevator_EventScript_2693CE:: @ 82693CE
- goto TrainerHill_Elevator_EventScript_2693D4
+TrainerHill_Elevator_EventScript_ExitFloorSelect:: @ 82693CE
+ goto TrainerHill_Elevator_EventScript_CloseFloorSelect
end
@ Functionally unused
-TrainerHill_Elevator_EventScript_2693D4:: @ 82693D4
+TrainerHill_Elevator_EventScript_CloseFloorSelect:: @ 82693D4
special CloseDeptStoreElevatorWindow
releaseall
end
-TrainerHill_Elevator_EventScript_2693D9:: @ 82693D9
+TrainerHill_Elevator_EventScript_MoveElevator:: @ 82693D9
waitse
special MoveElevator
waitstate
return
-TrainerHill_Elevator_Movement_2693DF: @ 82693DF
+TrainerHill_Elevator_Movement_PlayerMoveToCenterOfElevator: @ 82693DF
walk_up
walk_up
walk_right
face_down
step_end
-TrainerHill_Elevator_Movement_2693E4: @ 82693E4
+TrainerHill_Elevator_Movement_PlayerApproachAttendant: @ 82693E4
delay_16
walk_left
step_end
-TrainerHill_Elevator_Movement_2693E7: @ 82693E7
+TrainerHill_Elevator_Movement_PlayerExitElevator: @ 82693E7
delay_16
walk_down
walk_down
step_end
-TrainerHill_Elevator_Movement_2693EB: @ 82693EB
+TrainerHill_Elevator_Movement_PlayerExitElevatorToRoof: @ 82693EB
face_down
delay_16
step_end
-TrainerHill_Elevator_Movement_2693EE: @ 82693EE
+TrainerHill_Elevator_Movement_AttendantFacePlayer: @ 82693EE
face_right
step_end
-TrainerHill_Elevator_Movement_2693F0: @ 82693F0
+TrainerHill_Elevator_Movement_AttendantFaceDown: @ 82693F0
face_down
step_end
diff --git a/data/maps/TrainerHill_Entrance/map.json b/data/maps/TrainerHill_Entrance/map.json
index 42f1daa9d..f581988b6 100644
--- a/data/maps/TrainerHill_Entrance/map.json
+++ b/data/maps/TrainerHill_Entrance/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "TrainerHill_Entrance_EventScript_2681FD",
+ "script": "TrainerHill_Entrance_EventScript_Attendant",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "TrainerHill_Entrance_EventScript_2681EF",
+ "script": "TrainerHill_Entrance_EventScript_Nurse",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "TrainerHill_Entrance_EventScript_2683C7",
+ "script": "TrainerHill_Entrance_EventScript_Clerk",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "TrainerHill_Entrance_EventScript_2683AC",
+ "script": "TrainerHill_Entrance_EventScript_Girl",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "TrainerHill_Entrance_EventScript_268391",
+ "script": "TrainerHill_Entrance_EventScript_Man",
"flag": "0"
}
],
@@ -111,7 +111,7 @@
"elevation": 3,
"var": "VAR_TRAINER_HILL_IS_ACTIVE",
"var_value": "0",
- "script": "TrainerHill_Entrance_EventScript_268229"
+ "script": "TrainerHill_Entrance_EventScript_EntryTrigger"
}
],
"bg_events": [
@@ -121,7 +121,7 @@
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "TrainerHill_Entrance_EventScript_268388"
+ "script": "TrainerHill_Entrance_EventScript_Records"
}
]
} \ No newline at end of file
diff --git a/data/maps/TrainerHill_Entrance/scripts.inc b/data/maps/TrainerHill_Entrance/scripts.inc
index 3b9fb77a4..909aaaf9f 100644
--- a/data/maps/TrainerHill_Entrance/scripts.inc
+++ b/data/maps/TrainerHill_Entrance/scripts.inc
@@ -1,9 +1,9 @@
TrainerHill_Entrance_MapScripts:: @ 82680AC
- map_script MAP_SCRIPT_ON_RESUME, TrainerHill_Entrance_MapScript1_2680D0
- map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, TrainerHill_Entrance_MapScript1_26811B
+ map_script MAP_SCRIPT_ON_RESUME, TrainerHill_Entrance_OnResume
+ map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, TrainerHill_Entrance_OnReturn
map_script MAP_SCRIPT_ON_TRANSITION, TrainerHill_Entrance_OnTransition
- map_script MAP_SCRIPT_ON_LOAD, TrainerHill_Entrance_MapScript1_268128
- map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_Entrance_MapScript2_26813E
+ map_script MAP_SCRIPT_ON_LOAD, TrainerHill_Entrance_OnLoad
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_Entrance_OnFrame
.byte 0
TrainerHill_Entrance_OnTransition: @ 82680C6
@@ -11,58 +11,59 @@ TrainerHill_Entrance_OnTransition: @ 82680C6
getplayerxy VAR_TEMP_D, VAR_RESULT
end
-TrainerHill_Entrance_MapScript1_2680CF: @ 82680CF
+@ Unused
+TrainerHill_Entrance_OnWarp: @ 82680CF
end
-TrainerHill_Entrance_MapScript1_2680D0: @ 82680D0
+TrainerHill_Entrance_OnResume: @ 82680D0
setvar VAR_0x8004, TRAINER_HILL_FUNC_RESUME_TIMER
special CallTrainerHillFunction
setvar VAR_TEMP_0, 0
- setvar VAR_0x8004, TRAINER_HILL_FUNC_9
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_CLEAR_RESULT
special CallTrainerHillFunction
- compare VAR_RESULT, 0
- goto_if_eq TrainerHill_Entrance_EventScript_2680FF
+ compare VAR_RESULT, 0 @ VAR_RESULT always 0 here
+ goto_if_eq TrainerHill_Entrance_EventScript_TryFaceAttendant
setobjectxy EVENT_OBJ_ID_PLAYER, 9, 6
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_26837F
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PlayerFaceAttendant
end
-TrainerHill_Entrance_EventScript_2680FF:: @ 82680FF
- setvar VAR_0x8004, TRAINER_HILL_FUNC_16
+TrainerHill_Entrance_EventScript_TryFaceAttendant:: @ 82680FF
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_WON
special CallTrainerHillFunction
- compare VAR_RESULT, 1
- goto_if_eq TrainerHill_Entrance_EventScript_26811A
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_26837F
+ compare VAR_RESULT, TRUE
+ goto_if_eq TrainerHill_Entrance_EventScript_PlayerDontFaceAttendant
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PlayerFaceAttendant
end
-TrainerHill_Entrance_EventScript_26811A:: @ 826811A
+TrainerHill_Entrance_EventScript_PlayerDontFaceAttendant:: @ 826811A
end
-TrainerHill_Entrance_MapScript1_26811B: @ 826811B
+TrainerHill_Entrance_OnReturn: @ 826811B
addobject 2
addobject 1
addobject 5
addobject 4
end
-TrainerHill_Entrance_MapScript1_268128: @ 8268128
+TrainerHill_Entrance_OnLoad: @ 8268128
compare VAR_TEMP_D, 17
- call_if_eq TrainerHill_Entrance_EventScript_268134
+ call_if_eq TrainerHill_Entrance_EventScript_OpenCounterDoor
end
-TrainerHill_Entrance_EventScript_268134:: @ 8268134
+TrainerHill_Entrance_EventScript_OpenCounterDoor:: @ 8268134
setmetatile 17, 10, METATILE_TrainerHill_GreenFloorTile, 0
return
-TrainerHill_Entrance_MapScript2_26813E: @ 826813E
- map_script_2 VAR_TEMP_0, 0, TrainerHill_Entrance_EventScript_268182
- map_script_2 VAR_TEMP_D, 17, TrainerHill_Entrance_EventScript_268160
- map_script_2 VAR_TEMP_5, 1, TrainerHill_Entrance_EventScript_268229
- map_script_2 VAR_TEMP_1, 1, TrainerHill_Entrance_EventScript_2C83DF
+TrainerHill_Entrance_OnFrame: @ 826813E
+ map_script_2 VAR_TEMP_0, 0, TrainerHill_Entrance_EventScript_ExitChallenge
+ map_script_2 VAR_TEMP_D, 17, TrainerHill_Entrance_EventScript_ExitElevator
+ map_script_2 VAR_TEMP_5, 1, TrainerHill_Entrance_EventScript_EntryTrigger
+ map_script_2 VAR_TEMP_1, 1, TrainerHill_EventScript_WarpToEntranceCounter
.2byte 0
-TrainerHill_Entrance_EventScript_268160:: @ 8268160
+TrainerHill_Entrance_EventScript_ExitElevator:: @ 8268160
lockall
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_268385
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PlayerExitElevator
waitmovement 0
setmetatile 17, 10, METATILE_TrainerHill_CounterDoor, 1
special DrawWholeMapView
@@ -72,38 +73,36 @@ TrainerHill_Entrance_EventScript_268160:: @ 8268160
releaseall
end
-TrainerHill_Entrance_EventScript_268182:: @ 8268182
+TrainerHill_Entrance_EventScript_ExitChallenge:: @ 8268182
setvar VAR_TEMP_0, 1
setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_CHALLENGE_STATUS
special CallTrainerHillFunction
switch VAR_RESULT
- case TRAINER_HILL_PLAYER_STATUS_LOST, TrainerHill_Entrance_EventScript_2681B5
- case TRAINER_HILL_PLAYER_STATUS_ECARD_SCANNED, TrainerHill_Entrance_EventScript_2681CA
- case TRAINER_HILL_PLAYER_STATUS_NORMAL, TrainerHill_Entrance_EventScript_2681EE
+ case TRAINER_HILL_PLAYER_STATUS_LOST, TrainerHill_Entrance_EventScript_ExitChallengeLost
+ case TRAINER_HILL_PLAYER_STATUS_ECARD_SCANNED, TrainerHill_Entrance_EventScript_ExitChallengeECard
+ case TRAINER_HILL_PLAYER_STATUS_NORMAL, TrainerHill_Entrance_EventScript_EndExitChallenge
-TrainerHill_Entrance_EventScript_2681B5:: @ 82681B5
+TrainerHill_Entrance_EventScript_ExitChallengeLost:: @ 82681B5
lockall
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_26837F
- msgbox TrainerHill_Entrance_Text_268689, MSGBOX_DEFAULT
- goto TrainerHill_Entrance_EventScript_2681DA
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PlayerFaceAttendant
+ msgbox TrainerHill_Entrance_Text_TooBadTremendousEffort, MSGBOX_DEFAULT
+ goto TrainerHill_Entrance_EventScript_PlayerExitChallenge
-TrainerHill_Entrance_EventScript_2681CA:: @ 82681CA
+TrainerHill_Entrance_EventScript_ExitChallengeECard:: @ 82681CA
lockall
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_26837F
- msgbox TrainerHill_Entrance_Text_268712, MSGBOX_DEFAULT
-
-TrainerHill_Entrance_EventScript_2681DA:: @ 82681DA
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PlayerFaceAttendant
+ msgbox TrainerHill_Entrance_Text_MovedReceptionHereForSwitch, MSGBOX_DEFAULT
+TrainerHill_Entrance_EventScript_PlayerExitChallenge:: @ 82681DA
closemessage
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_268381
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PushPlayerBackFromCounter
waitmovement 0
setvar VAR_TRAINER_HILL_IS_ACTIVE, 0
special HealPlayerParty
releaseall
-
-TrainerHill_Entrance_EventScript_2681EE:: @ 82681EE
+TrainerHill_Entrance_EventScript_EndExitChallenge:: @ 82681EE
end
-TrainerHill_Entrance_EventScript_2681EF:: @ 82681EF
+TrainerHill_Entrance_EventScript_Nurse:: @ 82681EF
setvar VAR_0x800B, 2
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -111,128 +110,127 @@ TrainerHill_Entrance_EventScript_2681EF:: @ 82681EF
release
end
-TrainerHill_Entrance_EventScript_2681FD:: @ 82681FD
+TrainerHill_Entrance_EventScript_Attendant:: @ 82681FD
lock
faceplayer
- setvar VAR_0x8004, TRAINER_HILL_FUNC_IS_IN
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_IN_CHALLENGE
special CallTrainerHillFunction
- compare VAR_RESULT, 0
- goto_if_eq TrainerHill_Entrance_EventScript_26821F
- msgbox TrainerHill_Entrance_Text_2686F4, MSGBOX_DEFAULT
- goto TrainerHill_Entrance_EventScript_268227
-
-TrainerHill_Entrance_EventScript_26821F:: @ 826821F
- msgbox TrainerHill_Entrance_Text_2687AC, MSGBOX_DEFAULT
-
-TrainerHill_Entrance_EventScript_268227:: @ 8268227
+ compare VAR_RESULT, FALSE
+ goto_if_eq TrainerHill_Entrance_EventScript_ThanksForPlaying
+ msgbox TrainerHill_Entrance_Text_HopeYouGiveItYourBest, MSGBOX_DEFAULT
+ goto TrainerHill_Entrance_EventScript_AttendantEnd
+
+TrainerHill_Entrance_EventScript_ThanksForPlaying:: @ 826821F
+ msgbox TrainerHill_Entrance_Text_ThankYouForPlaying, MSGBOX_DEFAULT
+TrainerHill_Entrance_EventScript_AttendantEnd:: @ 8268227
release
end
-TrainerHill_Entrance_EventScript_268229:: @ 8268229
+TrainerHill_Entrance_EventScript_EntryTrigger:: @ 8268229
lockall
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_26837F
- goto_if_unset FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_26836A
- msgbox TrainerHill_Entrance_Text_2684C6, MSGBOX_DEFAULT
- setvar VAR_0x8004, TRAINER_HILL_FUNC_13
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PlayerFaceAttendant
+ goto_if_unset FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_Closed
+ msgbox TrainerHill_Entrance_Text_WelcomeToTrainerHill, MSGBOX_DEFAULT
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_GAME_SAVED
special CallTrainerHillFunction
- compare VAR_RESULT, 0
- call_if_eq TrainerHill_Entrance_EventScript_26832E
- setvar VAR_0x8004, TRAINER_HILL_FUNC_8
+ compare VAR_RESULT, FALSE
+ call_if_eq TrainerHill_Entrance_EventScript_SaveGame
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_ALL_FLOORS_USED
special CallTrainerHillFunction
- compare VAR_RESULT, 1
- goto_if_eq TrainerHill_Entrance_EventScript_268275
- msgbox TrainerHill_Entrance_Text_268564, MSGBOX_DEFAULT
- goto TrainerHill_Entrance_EventScript_26827D
-
-TrainerHill_Entrance_EventScript_268275:: @ 8268275
- msgbox TrainerHill_Entrance_Text_26859E, MSGBOX_DEFAULT
-
-TrainerHill_Entrance_EventScript_26827D:: @ 826827D
- message TrainerHill_Entrance_Text_2685F8
+ compare VAR_RESULT, TRUE
+ goto_if_eq TrainerHill_Entrance_EventScript_AllFloorsUsed
+ msgbox TrainerHill_Entrance_Text_TrainersUpToFloorX, MSGBOX_DEFAULT
+ goto TrainerHill_Entrance_EventScript_AskChallengeTrainers
+
+TrainerHill_Entrance_EventScript_AllFloorsUsed:: @ 8268275
+ msgbox TrainerHill_Entrance_Text_TrainersInEveryRoom, MSGBOX_DEFAULT
+TrainerHill_Entrance_EventScript_AskChallengeTrainers:: @ 826827D
+ message TrainerHill_Entrance_Text_LikeToChallengeTrainers
waitmessage
multichoice 15, 6, MULTI_YESNOINFO, 0
switch VAR_RESULT
- case 0, TrainerHill_Entrance_EventScript_2682C8
- case 1, TrainerHill_Entrance_EventScript_268314
- case 2, TrainerHill_Entrance_EventScript_2682BA
- case MULTI_B_PRESSED, TrainerHill_Entrance_EventScript_268314
+ case 0, TrainerHill_Entrance_EventScript_ChooseChallenge
+ case 1, TrainerHill_Entrance_EventScript_CancelEntry
+ case 2, TrainerHill_Entrance_EventScript_Info
+ case MULTI_B_PRESSED, TrainerHill_Entrance_EventScript_CancelEntry
end
-TrainerHill_Entrance_EventScript_2682BA:: @ 82682BA
- msgbox TrainerHill_Entrance_Text_2687C3, MSGBOX_DEFAULT
- goto TrainerHill_Entrance_EventScript_26827D
+TrainerHill_Entrance_EventScript_Info:: @ 82682BA
+ msgbox TrainerHill_Entrance_Text_ExplainTrainerHill, MSGBOX_DEFAULT
+ goto TrainerHill_Entrance_EventScript_AskChallengeTrainers
end
-TrainerHill_Entrance_EventScript_2682C8:: @ 82682C8
+TrainerHill_Entrance_EventScript_ChooseChallenge:: @ 82682C8
multichoice 13, 2, MULTI_TAG_MATCH_TYPE, 0
switch VAR_RESULT
- case 4, TrainerHill_Entrance_EventScript_268314
- case MULTI_B_PRESSED, TrainerHill_Entrance_EventScript_268314
+ case 4, TrainerHill_Entrance_EventScript_CancelEntry
+ case MULTI_B_PRESSED, TrainerHill_Entrance_EventScript_CancelEntry
setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_TAG
copyvar VAR_0x8005, VAR_RESULT
special CallTrainerHillFunction
setvar VAR_TRAINER_HILL_IS_ACTIVE, 1
setvar VAR_TEMP_5, 0
special HealPlayerParty
- msgbox TrainerHill_Entrance_Text_26862A, MSGBOX_DEFAULT
+ msgbox TrainerHill_Entrance_Text_TimeProgessGetSetGo, MSGBOX_DEFAULT
setvar VAR_0x8004, TRAINER_HILL_FUNC_START
special CallTrainerHillFunction
releaseall
end
-TrainerHill_Entrance_EventScript_268314:: @ 8268314
+TrainerHill_Entrance_EventScript_CancelEntry:: @ 8268314
setvar VAR_TEMP_5, 0
- msgbox TrainerHill_Entrance_Text_26866F, MSGBOX_DEFAULT
+ msgbox TrainerHill_Entrance_Text_PleaseVisitUsAgain, MSGBOX_DEFAULT
closemessage
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_268381
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PushPlayerBackFromCounter
waitmovement 0
releaseall
end
-TrainerHill_Entrance_EventScript_26832E:: @ 826832E
- msgbox TrainerHill_Entrance_Text_26851C, MSGBOX_DEFAULT
- setvar VAR_0x8004, TRAINER_HILL_FUNC_14
+TrainerHill_Entrance_EventScript_SaveGame:: @ 826832E
+ msgbox TrainerHill_Entrance_Text_SaveGameBeforeEnter, MSGBOX_DEFAULT
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_GAME_SAVED
special CallTrainerHillFunction
setvar VAR_TEMP_5, 1
call Common_EventScript_SaveGame
- compare VAR_RESULT, 0
- goto_if_eq TrainerHill_Entrance_EventScript_26835C
- setvar VAR_0x8004, TRAINER_HILL_FUNC_14
+ compare VAR_RESULT, FALSE
+ goto_if_eq TrainerHill_Entrance_EventScript_SaveFailed
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_GAME_SAVED
special CallTrainerHillFunction
return
-TrainerHill_Entrance_EventScript_26835C:: @ 826835C
- setvar VAR_0x8004, TRAINER_HILL_FUNC_15
+TrainerHill_Entrance_EventScript_SaveFailed:: @ 826835C
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_CLEAR_GAME_SAVED
special CallTrainerHillFunction
- goto TrainerHill_Entrance_EventScript_268314
+ goto TrainerHill_Entrance_EventScript_CancelEntry
end
-TrainerHill_Entrance_EventScript_26836A:: @ 826836A
- msgbox TrainerHill_Entrance_Text_268430, MSGBOX_DEFAULT
+TrainerHill_Entrance_EventScript_Closed:: @ 826836A
+ msgbox TrainerHill_Entrance_Text_StillGettingReady, MSGBOX_DEFAULT
closemessage
- applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_268381
+ applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Entrance_Movement_PushPlayerBackFromCounter
waitmovement 0
releaseall
end
-TrainerHill_Entrance_Movement_26837F: @ 826837F
+TrainerHill_Entrance_Movement_PlayerFaceAttendant: @ 826837F
face_right
step_end
-TrainerHill_Entrance_Movement_268381: @ 8268381
+TrainerHill_Entrance_Movement_PushPlayerBackFromCounter: @ 8268381
walk_down
step_end
-TrainerHill_Entrance_Movement_268383: @ 8268383
+@ Unused
+TrainerHill_Entrance_Movement_FaceUp: @ 8268383
face_up
step_end
-TrainerHill_Entrance_Movement_268385: @ 8268385
+TrainerHill_Entrance_Movement_PlayerExitElevator: @ 8268385
walk_down
walk_down
step_end
-TrainerHill_Entrance_EventScript_268388:: @ 8268388
+TrainerHill_Entrance_EventScript_Records:: @ 8268388
lockall
fadescreen 1
special ShowTrainerHillRecords
@@ -240,37 +238,37 @@ TrainerHill_Entrance_EventScript_268388:: @ 8268388
releaseall
end
-TrainerHill_Entrance_EventScript_268391:: @ 8268391
- goto_if_unset FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_2683A3
- msgbox TrainerHill_Entrance_Text_268D5A, MSGBOX_NPC
+TrainerHill_Entrance_EventScript_Man:: @ 8268391
+ goto_if_unset FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_ManTrainerHillClosed
+ msgbox TrainerHill_Entrance_Text_WhatSortOfTrainersAreAhead, MSGBOX_NPC
end
-TrainerHill_Entrance_EventScript_2683A3:: @ 82683A3
- msgbox TrainerHill_Entrance_Text_268DDA, MSGBOX_NPC
+TrainerHill_Entrance_EventScript_ManTrainerHillClosed:: @ 82683A3
+ msgbox TrainerHill_Entrance_Text_CantWaitToTestTheWaters, MSGBOX_NPC
end
-TrainerHill_Entrance_EventScript_2683AC:: @ 82683AC
- goto_if_unset FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_2683BE
- msgbox TrainerHill_Entrance_Text_268E6A, MSGBOX_NPC
+TrainerHill_Entrance_EventScript_Girl:: @ 82683AC
+ goto_if_unset FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_GirlTrainerHillClosed
+ msgbox TrainerHill_Entrance_Text_FriendsTryingToReachTimeBoardTop, MSGBOX_NPC
end
-TrainerHill_Entrance_EventScript_2683BE:: @ 82683BE
- msgbox TrainerHill_Entrance_Text_268EDC, MSGBOX_NPC
+TrainerHill_Entrance_EventScript_GirlTrainerHillClosed:: @ 82683BE
+ msgbox TrainerHill_Entrance_Text_DoYouKnowWhenTheyOpen, MSGBOX_NPC
end
-TrainerHill_Entrance_EventScript_2683C7:: @ 82683C7
+TrainerHill_Entrance_EventScript_Clerk:: @ 82683C7
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
- goto_if_set FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_268402
- pokemart TrainerHill_Entrance_Pokemart_2683E8
+ goto_if_set FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_ExpandedPokemart
+ pokemart TrainerHill_Entrance_Pokemart_Basic
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
-TrainerHill_Entrance_Pokemart_2683E8: @ 82683E8
+TrainerHill_Entrance_Pokemart_Basic: @ 82683E8
.2byte ITEM_SUPER_POTION
.2byte ITEM_ANTIDOTE
.2byte ITEM_PARALYZE_HEAL
@@ -286,14 +284,14 @@ TrainerHill_Entrance_Pokemart_2683E8: @ 82683E8
release
end
-TrainerHill_Entrance_EventScript_268402:: @ 8268402
- pokemart TrainerHill_Entrance_Pokemart_268414
+TrainerHill_Entrance_EventScript_ExpandedPokemart:: @ 8268402
+ pokemart TrainerHill_Entrance_Pokemart_Expanded
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
-TrainerHill_Entrance_Pokemart_268414: @ 8268414
+TrainerHill_Entrance_Pokemart_Expanded: @ 8268414
.2byte ITEM_HYPER_POTION
.2byte ITEM_MAX_POTION
.2byte ITEM_FULL_RESTORE
@@ -310,69 +308,69 @@ TrainerHill_Entrance_Pokemart_268414: @ 8268414
release
end
-TrainerHill_Entrance_Text_268430: @ 8268430
+TrainerHill_Entrance_Text_StillGettingReady: @ 8268430
.string "This is the TRAINER HILL where\n"
.string "you may enjoy tag battles with many\l"
.string "TRAINERS.\p"
.string "Unfortunately, we're still getting\n"
.string "things ready. Please come back later!$"
-TrainerHill_Entrance_Text_2684C6: @ 82684C6
+TrainerHill_Entrance_Text_WelcomeToTrainerHill: @ 82684C6
.string "Welcome!\p"
.string "This is the TRAINER HILL where\n"
.string "you may enjoy tag battles with many\l"
.string "TRAINERS!$"
-TrainerHill_Entrance_Text_26851C: @ 826851C
+TrainerHill_Entrance_Text_SaveGameBeforeEnter: @ 826851C
.string "Is this your first visit here?\p"
.string "Before you enter, please save\n"
.string "your game.$"
-TrainerHill_Entrance_Text_268564: @ 8268564
+TrainerHill_Entrance_Text_TrainersUpToFloorX: @ 8268564
.string "Let's see…\n"
.string "The TRAINERS here now are…\p"
.string "Up to floor no. {STR_VAR_1}.$"
-TrainerHill_Entrance_Text_26859E: @ 826859E
+TrainerHill_Entrance_Text_TrainersInEveryRoom: @ 826859E
.string "Let's see…\n"
.string "The TRAINERS here now are…\p"
.string "There appear to be TRAINERS gathered\n"
.string "in every room.$"
-TrainerHill_Entrance_Text_2685F8: @ 82685F8
+TrainerHill_Entrance_Text_LikeToChallengeTrainers: @ 82685F8
.string "Would you like to challenge the\n"
.string "waiting TRAINERS?$"
-TrainerHill_Entrance_Text_26862A: @ 826862A
+TrainerHill_Entrance_Text_TimeProgessGetSetGo: @ 826862A
.string "I will time your progress.\n"
.string "Best of luck!\p"
.string "On your marks…\p"
.string "Get set…\p"
.string "Go!$"
-TrainerHill_Entrance_Text_26866F: @ 826866F
+TrainerHill_Entrance_Text_PleaseVisitUsAgain: @ 826866F
.string "Please do visit us again!$"
-TrainerHill_Entrance_Text_268689: @ 8268689
+TrainerHill_Entrance_Text_TooBadTremendousEffort: @ 8268689
.string "That was too bad.\p"
.string "I think you put in a tremendous\n"
.string "effort in your battling.\p"
.string "Please come back and try again!$"
-TrainerHill_Entrance_Text_2686F4: @ 82686F4
+TrainerHill_Entrance_Text_HopeYouGiveItYourBest: @ 82686F4
.string "I hope you give it your best.$"
-TrainerHill_Entrance_Text_268712: @ 8268712
+TrainerHill_Entrance_Text_MovedReceptionHereForSwitch: @ 8268712
.string "When the TRAINERS switch places,\n"
.string "the movement can be hectic.\p"
.string "To avoid the stampede, we moved\n"
.string "the reception counter here.\p"
.string "I'm sorry for the inconvenience.$"
-TrainerHill_Entrance_Text_2687AC: @ 82687AC
+TrainerHill_Entrance_Text_ThankYouForPlaying: @ 82687AC
.string "Thank you for playing!$"
-TrainerHill_Entrance_Text_2687C3: @ 82687C3
+TrainerHill_Entrance_Text_ExplainTrainerHill: @ 82687C3
.string "Here at the TRAINER HILL, we conduct\n"
.string "an event called the Time Attack.\p"
.string "It is a race that measures how long\n"
@@ -385,13 +383,14 @@ TrainerHill_Entrance_Text_2687C3: @ 82687C3
.string "neither Exp. Points nor money will\l"
.string "be awarded.$"
-TrainerHill_Entrance_Text_26890D: @ 826890D
+@ Unused
+TrainerHill_Entrance_Text_NeedAtLeastTwoPokemon: @ 826890D
.string "Oh, I'm sorry, but you appear to have\n"
.string "only one POKéMON with you.\p"
.string "You will need at least two POKéMON\n"
.string "to enter this event.$"
-TrainerHill_Roof_Text_268986: @ 8268986
+TrainerHill_Roof_Text_YouFinallyCameBravo: @ 8268986
.string "Hm! Hm!\p"
.string "You finally came!\n"
.string "Yes, you have arrived!\p"
@@ -407,15 +406,15 @@ TrainerHill_Roof_Text_268986: @ 8268986
.string "Anyway, I watched you on your way up.\n"
.string "Marvelous battling! Bravo, indeed!$"
-TrainerHill_Roof_Text_268AC5: @ 8268AC5
+TrainerHill_Roof_Text_HaveTheMostMarvelousGift: @ 8268AC5
.string "For a marvelous someone like you,\n"
.string "I have the most marvelous gift!$"
-TrainerHill_Roof_Text_268B07: @ 8268B07
+TrainerHill_Roof_Text_FullUpBeBackLaterForThis: @ 8268B07
.string "Oh, no, full up with things!\n"
.string "You'll be back later for this!$"
-TrainerHill_Roof_Text_268B43: @ 8268B43
+TrainerHill_Roof_Text_GotHereMarvelouslyQuickly: @ 8268B43
.string "Oh, hold on here! Did you possibly get\n"
.string "here marvelously quickly?\p"
.string "How splendid! You needn't have\n"
@@ -423,50 +422,51 @@ TrainerHill_Roof_Text_268B43: @ 8268B43
.string "That is so delightful. I'll have the Time\n"
.string "Board at the reception updated!$"
-TrainerHill_Roof_Text_268C03: @ 8268C03
+TrainerHill_Roof_Text_YouWerentVeryQuick: @ 8268C03
.string "But, oh…\n"
.string "You weren't very quick getting here.$"
-TrainerHill_Roof_Text_268C31: @ 8268C31
+TrainerHill_Roof_Text_ArriveZippierNextTime: @ 8268C31
.string "Perhaps it would please me more if you\n"
.string "arrived zippier next time.\p"
.string "Then, I should be pleased to form\n"
.string "a tag team with you!\p"
.string "Until we meet again, amigo!$"
-TrainerHill_Roof_Text_268CC6: @ 8268CC6
+@ Unused
+TrainerHill_Roof_Text_BuiltTrainerHillToFindPartner: @ 8268CC6
.string "I had the TRAINER HILL built for but\n"
.string "one reason and one only!\p"
.string "To find the most suitable partner\n"
.string "with whom I may form a tag team!$"
-TrainerHill_Entrance_Text_268D47: @ 8268D47
+TrainerHill_Entrance_Text_ChallengeTime: @ 8268D47
.string "{STR_VAR_1} min. {STR_VAR_2}.{STR_VAR_3} sec.$"
-TrainerHill_Entrance_Text_268D5A: @ 8268D5A
+TrainerHill_Entrance_Text_WhatSortOfTrainersAreAhead: @ 8268D5A
.string "Who knows what sort of TRAINERS\n"
.string "and POKéMON combos are ahead?\p"
.string "All I know is that I'll knock aside\n"
.string "anyone that stands in my way!$"
-TrainerHill_Entrance_Text_268DDA: @ 8268DDA
+TrainerHill_Entrance_Text_CantWaitToTestTheWaters: @ 8268DDA
.string "I heard tough TRAINERS come to this\n"
.string "TRAINER HILL from all over.\p"
.string "I can't wait to test the waters!\p"
.string "I'll knock aside anyone that stands\n"
.string "in my way!$"
-TrainerHill_Entrance_Text_268E6A: @ 8268E6A
+TrainerHill_Entrance_Text_FriendsTryingToReachTimeBoardTop: @ 8268E6A
.string "Do you see the Time Board over there?\p"
.string "My friends and I are trying to see who\n"
.string "can reach the top in the least time.$"
-TrainerHill_Entrance_Text_268EDC: @ 8268EDC
+TrainerHill_Entrance_Text_DoYouKnowWhenTheyOpen: @ 8268EDC
.string "Do you know when they're opening\n"
.string "this place up?\p"
.string "I'm waiting here to be the first\n"
.string "challenger ever!$"
-TrainerHill_Elevator_Text_268F3E: @ 8268F3E
+TrainerHill_Elevator_Text_ReturnToReception: @ 8268F3E
.string "Would you like to return to\n"
.string "the reception counter?$"
diff --git a/data/maps/TrainerHill_Roof/map.json b/data/maps/TrainerHill_Roof/map.json
index 8a623028e..280494788 100644
--- a/data/maps/TrainerHill_Roof/map.json
+++ b/data/maps/TrainerHill_Roof/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "TrainerHill_Roof_EventScript_268FB2",
+ "script": "TrainerHill_Roof_EventScript_Owner",
"flag": "0"
}
],
diff --git a/data/maps/TrainerHill_Roof/scripts.inc b/data/maps/TrainerHill_Roof/scripts.inc
index f7ced5d07..af4c9ea5a 100644
--- a/data/maps/TrainerHill_Roof/scripts.inc
+++ b/data/maps/TrainerHill_Roof/scripts.inc
@@ -1,70 +1,66 @@
TrainerHill_Roof_MapScripts:: @ 8268FA7
- map_script MAP_SCRIPT_ON_RESUME, TrainerHill_Roof_MapScript1_2C8336
- map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_Roof_MapScript2_2C8381
+ map_script MAP_SCRIPT_ON_RESUME, TrainerHill_OnResume
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerHill_OnFrame
.byte 0
-TrainerHill_Roof_EventScript_268FB2:: @ 8268FB2
- setvar VAR_0x8004, TRAINER_HILL_FUNC_12
+TrainerHill_Roof_EventScript_Owner:: @ 8268FB2
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_ALL_TRAINER_FLAGS
special CallTrainerHillFunction
lock
faceplayer
- setvar VAR_0x8004, TRAINER_HILL_FUNC_1
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_OWNER_STATE
special CallTrainerHillFunction
switch VAR_RESULT
- case 0, TrainerHill_Roof_EventScript_268FEA
- case 1, TrainerHill_Roof_EventScript_268FF2
- case 2, TrainerHill_Roof_EventScript_2690A8
-
-TrainerHill_Roof_EventScript_268FEA:: @ 8268FEA
- msgbox TrainerHill_Roof_Text_268986, MSGBOX_DEFAULT
-
-TrainerHill_Roof_EventScript_268FF2:: @ 8268FF2
- setvar VAR_0x8004, TRAINER_HILL_FUNC_2
+ case 0, TrainerHill_Roof_EventScript_Arrived
+ case 1, TrainerHill_Roof_EventScript_GivePrize
+ case 2, TrainerHill_Roof_EventScript_AlreadyReceivedPrize
+TrainerHill_Roof_EventScript_Arrived:: @ 8268FEA
+ msgbox TrainerHill_Roof_Text_YouFinallyCameBravo, MSGBOX_DEFAULT
+TrainerHill_Roof_EventScript_GivePrize:: @ 8268FF2
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_GIVE_PRIZE
special CallTrainerHillFunction
switch VAR_RESULT
- case 0, TrainerHill_Roof_EventScript_269020
- case 1, TrainerHill_Roof_EventScript_269037
- case 2, TrainerHill_Roof_EventScript_269054
-
-TrainerHill_Roof_EventScript_269020:: @ 8269020
- msgbox TrainerHill_Roof_Text_268AC5, MSGBOX_DEFAULT
+ case 0, TrainerHill_Roof_EventScript_ReceivePrize
+ case 1, TrainerHill_Roof_EventScript_NoRoomForPrize
+ case 2, TrainerHill_Roof_EventScript_CheckFinalTime
+TrainerHill_Roof_EventScript_ReceivePrize:: @ 8269020
+ msgbox TrainerHill_Roof_Text_HaveTheMostMarvelousGift, MSGBOX_DEFAULT
playfanfare MUS_FANFA1
message gText_ObtainedTheItem
waitfanfare
waitmessage
- goto TrainerHill_Roof_EventScript_269054
+ goto TrainerHill_Roof_EventScript_CheckFinalTime
-TrainerHill_Roof_EventScript_269037:: @ 8269037
- msgbox TrainerHill_Roof_Text_268AC5, MSGBOX_DEFAULT
+TrainerHill_Roof_EventScript_NoRoomForPrize:: @ 8269037
+ msgbox TrainerHill_Roof_Text_HaveTheMostMarvelousGift, MSGBOX_DEFAULT
msgbox gText_TheBagIsFull, MSGBOX_DEFAULT
- msgbox TrainerHill_Roof_Text_268B07, MSGBOX_DEFAULT
- goto TrainerHill_Roof_EventScript_269054
+ msgbox TrainerHill_Roof_Text_FullUpBeBackLaterForThis, MSGBOX_DEFAULT
+ goto TrainerHill_Roof_EventScript_CheckFinalTime
-TrainerHill_Roof_EventScript_269054:: @ 8269054
- setvar VAR_0x8004, TRAINER_HILL_FUNC_3
+TrainerHill_Roof_EventScript_CheckFinalTime:: @ 8269054
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_CHECK_FINAL_TIME
special CallTrainerHillFunction
switch VAR_RESULT
- case 0, TrainerHill_Roof_EventScript_269082
- case 1, TrainerHill_Roof_EventScript_269090
- case 2, TrainerHill_Roof_EventScript_26909E
-
-TrainerHill_Roof_EventScript_269082:: @ 8269082
- msgbox TrainerHill_Roof_Text_268B43, MSGBOX_DEFAULT
- goto TrainerHill_Roof_EventScript_26909E
+ case 0, TrainerHill_Roof_EventScript_NewRecord
+ case 1, TrainerHill_Roof_EventScript_NoNewRecord
+ case 2, TrainerHill_Roof_EventScript_EndSpeakToOwner
+TrainerHill_Roof_EventScript_NewRecord:: @ 8269082
+ msgbox TrainerHill_Roof_Text_GotHereMarvelouslyQuickly, MSGBOX_DEFAULT
+ goto TrainerHill_Roof_EventScript_EndSpeakToOwner
end
-TrainerHill_Roof_EventScript_269090:: @ 8269090
- msgbox TrainerHill_Roof_Text_268C03, MSGBOX_DEFAULT
- goto TrainerHill_Roof_EventScript_26909E
+TrainerHill_Roof_EventScript_NoNewRecord:: @ 8269090
+ msgbox TrainerHill_Roof_Text_YouWerentVeryQuick, MSGBOX_DEFAULT
+ goto TrainerHill_Roof_EventScript_EndSpeakToOwner
end
-TrainerHill_Roof_EventScript_26909E:: @ 826909E
- msgbox TrainerHill_Roof_Text_268C31, MSGBOX_DEFAULT
+TrainerHill_Roof_EventScript_EndSpeakToOwner:: @ 826909E
+ msgbox TrainerHill_Roof_Text_ArriveZippierNextTime, MSGBOX_DEFAULT
release
end
-TrainerHill_Roof_EventScript_2690A8:: @ 82690A8
- msgbox TrainerHill_Roof_Text_268C31, MSGBOX_DEFAULT
+TrainerHill_Roof_EventScript_AlreadyReceivedPrize:: @ 82690A8
+ msgbox TrainerHill_Roof_Text_ArriveZippierNextTime, MSGBOX_DEFAULT
release
end
diff --git a/data/maps/UnionRoom/map.json b/data/maps/UnionRoom/map.json
index c42cd362c..4c7b487fb 100644
--- a/data/maps/UnionRoom/map.json
+++ b/data/maps/UnionRoom/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D236",
+ "script": "UnionRoom_EventScript_Attendant",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D204",
+ "script": "UnionRoom_EventScript_Player4",
"flag": "FLAG_HIDE_UNION_ROOM_PLAYER_4"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D22C",
+ "script": "UnionRoom_EventScript_Player8",
"flag": "FLAG_HIDE_UNION_ROOM_PLAYER_8"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D222",
+ "script": "UnionRoom_EventScript_Player7",
"flag": "FLAG_HIDE_UNION_ROOM_PLAYER_7"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D218",
+ "script": "UnionRoom_EventScript_Player6",
"flag": "FLAG_HIDE_UNION_ROOM_PLAYER_6"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D20E",
+ "script": "UnionRoom_EventScript_Player5",
"flag": "FLAG_HIDE_UNION_ROOM_PLAYER_5"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D1FA",
+ "script": "UnionRoom_EventScript_Player3",
"flag": "FLAG_HIDE_UNION_ROOM_PLAYER_3"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D1F0",
+ "script": "UnionRoom_EventScript_Player2",
"flag": "FLAG_HIDE_UNION_ROOM_PLAYER_2"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "UnionRoom_EventScript_23D1E6",
+ "script": "UnionRoom_EventScript_Player1",
"flag": "FLAG_HIDE_UNION_ROOM_PLAYER_1"
}
],
diff --git a/data/maps/UnionRoom/scripts.inc b/data/maps/UnionRoom/scripts.inc
index c2f375e0f..eac27fb5c 100644
--- a/data/maps/UnionRoom/scripts.inc
+++ b/data/maps/UnionRoom/scripts.inc
@@ -1,9 +1,9 @@
UnionRoom_MapScripts:: @ 823D1A6
- map_script MAP_SCRIPT_ON_RESUME, UnionRoom_MapScript1_23D1B1
+ map_script MAP_SCRIPT_ON_RESUME, UnionRoom_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, UnionRoom_OnTransition
.byte 0
-UnionRoom_MapScript1_23D1B1: @ 823D1B1
+UnionRoom_OnResume: @ 823D1B1
setflag FLAG_HIDE_UNION_ROOM_PLAYER_1
setflag FLAG_HIDE_UNION_ROOM_PLAYER_2
setflag FLAG_HIDE_UNION_ROOM_PLAYER_3
@@ -26,7 +26,7 @@ UnionRoom_MapScript1_23D1B1: @ 823D1B1
UnionRoom_OnTransition: @ 823D1E5
end
-UnionRoom_EventScript_23D1E6:: @ 823D1E6
+UnionRoom_EventScript_Player1:: @ 823D1E6
lock
faceplayer
setvar VAR_RESULT, 1
@@ -34,7 +34,7 @@ UnionRoom_EventScript_23D1E6:: @ 823D1E6
release
end
-UnionRoom_EventScript_23D1F0:: @ 823D1F0
+UnionRoom_EventScript_Player2:: @ 823D1F0
lock
faceplayer
setvar VAR_RESULT, 2
@@ -42,7 +42,7 @@ UnionRoom_EventScript_23D1F0:: @ 823D1F0
release
end
-UnionRoom_EventScript_23D1FA:: @ 823D1FA
+UnionRoom_EventScript_Player3:: @ 823D1FA
lock
faceplayer
setvar VAR_RESULT, 3
@@ -50,7 +50,7 @@ UnionRoom_EventScript_23D1FA:: @ 823D1FA
release
end
-UnionRoom_EventScript_23D204:: @ 823D204
+UnionRoom_EventScript_Player4:: @ 823D204
lock
faceplayer
setvar VAR_RESULT, 4
@@ -58,7 +58,7 @@ UnionRoom_EventScript_23D204:: @ 823D204
release
end
-UnionRoom_EventScript_23D20E:: @ 823D20E
+UnionRoom_EventScript_Player5:: @ 823D20E
lock
faceplayer
setvar VAR_RESULT, 5
@@ -66,7 +66,7 @@ UnionRoom_EventScript_23D20E:: @ 823D20E
release
end
-UnionRoom_EventScript_23D218:: @ 823D218
+UnionRoom_EventScript_Player6:: @ 823D218
lock
faceplayer
setvar VAR_RESULT, 6
@@ -74,7 +74,7 @@ UnionRoom_EventScript_23D218:: @ 823D218
release
end
-UnionRoom_EventScript_23D222:: @ 823D222
+UnionRoom_EventScript_Player7:: @ 823D222
lock
faceplayer
setvar VAR_RESULT, 7
@@ -82,7 +82,7 @@ UnionRoom_EventScript_23D222:: @ 823D222
release
end
-UnionRoom_EventScript_23D22C:: @ 823D22C
+UnionRoom_EventScript_Player8:: @ 823D22C
lock
faceplayer
setvar VAR_RESULT, 8
@@ -90,7 +90,7 @@ UnionRoom_EventScript_23D22C:: @ 823D22C
release
end
-UnionRoom_EventScript_23D236:: @ 823D236
+UnionRoom_EventScript_Attendant:: @ 823D236
lock
faceplayer
setvar VAR_RESULT, 9
@@ -98,7 +98,7 @@ UnionRoom_EventScript_23D236:: @ 823D236
release
end
-UnionRoom_EventScript_23D240:: @ 823D240
+UnionRoom_EventScript_Unused:: @ 823D240
lockall
setvar VAR_RESULT, 10
waitstate
diff --git a/data/maps/VerdanturfTown_BattleTentBattleRoom/scripts.inc b/data/maps/VerdanturfTown_BattleTentBattleRoom/scripts.inc
index b2c900e31..e7d7d2fb4 100644
--- a/data/maps/VerdanturfTown_BattleTentBattleRoom/scripts.inc
+++ b/data/maps/VerdanturfTown_BattleTentBattleRoom/scripts.inc
@@ -41,8 +41,8 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_202348:: @ 8202348
goto_if_ne VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
VerdanturfTown_BattleTentBattleRoom_EventScript_20236F:: @ 820236F
- setvar VAR_0x8004, 3
- special sub_8161F74
+ setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
+ special CallBattleTowerFunc
addobject 2
applymovement 2, VerdanturfTown_BattleTentBattleRoom_Movement_20257B
waitmovement 0
diff --git a/data/maps/map_groups.json b/data/maps/map_groups.json
index cc4b5b137..4035bc3f3 100644
--- a/data/maps/map_groups.json
+++ b/data/maps/map_groups.json
@@ -537,7 +537,7 @@
"BattleFrontier_BattlePikeRandomRoom3",
"BattleFrontier_RankingHall",
"BattleFrontier_Lounge1",
- "BattleFrontier_BattlePointExchangeServiceCorner",
+ "BattleFrontier_ExchangeServiceCorner",
"BattleFrontier_Lounge2",
"BattleFrontier_Lounge3",
"BattleFrontier_Lounge4",
diff --git a/data/scripts/day_care.inc b/data/scripts/day_care.inc
index b4c23a694..61763ba17 100644
--- a/data/scripts/day_care.inc
+++ b/data/scripts/day_care.inc
@@ -90,7 +90,7 @@ Route117_PokemonDayCare_EventScript_DaycareWoman:: @ 8291D11
msgbox Route117_PokemonDayCare_Text_WouldYouLikeUsToRaiseAMon, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route117_PokemonDayCare_EventScript_GiveMonToRaise
- msgbox Route117_PokemonDayCare_Text_292416, MSGBOX_DEFAULT
+ msgbox Route117_PokemonDayCare_Text_FineThenComeAgain, MSGBOX_DEFAULT
release
end
@@ -375,7 +375,7 @@ Route117_PokemonDayCare_Text_WeCanRaiseOneMore: @ 82923AF
Route117_PokemonDayCare_Text_HusbandWasLookingForYou: @ 82923F6
.string "My husband was looking for you.$"
-Route117_PokemonDayCare_Text_292416: @ 8292416
+Route117_PokemonDayCare_Text_FineThenComeAgain: @ 8292416
.string "Oh, fine, then.\n"
.string "Come again.$"
@@ -402,7 +402,8 @@ Route117_PokemonDayCare_Text_YourTeamIsFull: @ 82924EF
.string "Your POKéMON team is full.\n"
.string "Make room, then come see me.$"
-Route117_PokemonDayCare_Text_292527: @ 8292527
+@ Unused
+Route117_PokemonDayCare_Text_TakeBackWhichMon: @ 8292527
.string "Which POKéMON will you take back?$"
Route117_PokemonDayCare_Text_ItWillCostX: @ 8292549
diff --git a/data/scripts/field_poison.inc b/data/scripts/field_poison.inc
index 40b4cf658..d45b480d1 100644
--- a/data/scripts/field_poison.inc
+++ b/data/scripts/field_poison.inc
@@ -39,7 +39,7 @@ EventScript_FrontierFieldWhiteOut:: @ 82736F8
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
- setvar VAR_0x8004, TRAINER_HILL_FUNC_IS_IN
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_IN_CHALLENGE
special CallTrainerHillFunction
compare VAR_RESULT, 1
goto_if_eq TrainerHill_1F_EventScript_Lost
diff --git a/data/scripts/gabby_and_ty.inc b/data/scripts/gabby_and_ty.inc
index f61b9d6db..456f56f45 100644
--- a/data/scripts/gabby_and_ty.inc
+++ b/data/scripts/gabby_and_ty.inc
@@ -184,13 +184,13 @@ GabbyAndTy_EventScript_TyBattle4:: @ 828CEB6
release
end
-Route118_EventScript_GabbyBattle5:: @ 828CED6
+GabbyAndTy_EventScript_GabbyBattle5:: @ 828CED6
trainerbattle_double TRAINER_GABBY_AND_TY_5, GabbyAndTy_Text_GabbyPreBattle, GabbyAndTy_Text_GabbyDefeat, GabbyAndTy_Text_GabbyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview
msgbox GabbyAndTy_Text_KeepingAnEyeOutForYou, MSGBOX_DEFAULT
release
end
-Route118_EventScript_TyBattle5:: @ 828CEF6
+GabbyAndTy_EventScript_TyBattle5:: @ 828CEF6
trainerbattle_double TRAINER_GABBY_AND_TY_5, GabbyAndTy_Text_TyPreBattle, GabbyAndTy_Text_TyDefeat, GabbyAndTy_Text_TyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview
msgbox GabbyAndTy_Text_TyPostBattle, MSGBOX_DEFAULT
release
diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc
index 2ae93ce70..f968577f3 100644
--- a/data/scripts/interview.inc
+++ b/data/scripts/interview.inc
@@ -1,27 +1,25 @@
-BattleFrontier_BattleTowerLobby_EventScript_28C7E9:: @ 828C7E9
-LilycoveCity_ContestLobby_EventScript_28C7E9:: @ 828C7E9
-SlateportCity_OceanicMuseum_1F_EventScript_28C7E9:: @ 828C7E9
-SlateportCity_PokemonFanClub_EventScript_28C7E9:: @ 828C7E9
+Interview_EventScript_EndInterview:: @ 828C7E9
special InterviewAfter
incrementgamestat GAME_STAT_GOT_INTERVIEWED
release
end
-SlateportCity_PokemonFanClub_EventScript_28C7F0:: @ 828C7F0
- setvar VAR_0x8005, 1
+@ Shares reporter object with TVSHOW_PKMN_FAN_CLUB_OPINIONS
+SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname:: @ 828C7F0
+ setvar VAR_0x8005, TVSHOW_FAN_CLUB_LETTER
special InterviewBefore
- compare VAR_RESULT, 1
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C879
+ compare VAR_RESULT, TRUE
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed2
copyvar VAR_0x8009, VAR_0x8006
- msgbox SlateportCity_PokemonFanClub_Text_280674, MSGBOX_YESNO
+ msgbox SlateportCity_PokemonFanClub_Text_InterviewRequest, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C827
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_AcceptInterview2
compare VAR_RESULT, NO
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview2
end
-SlateportCity_PokemonFanClub_EventScript_28C827:: @ 828C827
- msgbox SlateportCity_PokemonFanClub_Text_28073B, MSGBOX_DEFAULT
+SlateportCity_PokemonFanClub_EventScript_AcceptInterview2:: @ 828C827
+ msgbox SlateportCity_PokemonFanClub_Text_TellMeAnythingAboutYourMon, MSGBOX_DEFAULT
setvar VAR_0x8004, EASY_CHAT_TYPE_INTERVIEW
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, EASY_CHAT_PERSON_REPORTER_FEMALE
@@ -29,54 +27,54 @@ SlateportCity_PokemonFanClub_EventScript_28C827:: @ 828C827
lock
faceplayer
compare VAR_RESULT, 1
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C866
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_SubmitResponse2
compare VAR_RESULT, 0
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C85C
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview2
end
-SlateportCity_PokemonFanClub_EventScript_28C85C:: @ 828C85C
- msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT
+SlateportCity_PokemonFanClub_EventScript_DeclineInterview2:: @ 828C85C
+ msgbox SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe, MSGBOX_DEFAULT
release
end
-SlateportCity_PokemonFanClub_EventScript_28C866:: @ 828C866
- msgbox SlateportCity_PokemonFanClub_Text_280789, MSGBOX_DEFAULT
- setvar VAR_0x8005, 1
- goto SlateportCity_PokemonFanClub_EventScript_28C7E9
+SlateportCity_PokemonFanClub_EventScript_SubmitResponse2:: @ 828C866
+ msgbox SlateportCity_PokemonFanClub_Text_ThatsAllForInterview2, MSGBOX_DEFAULT
+ setvar VAR_0x8005, TVSHOW_FAN_CLUB_LETTER
+ goto Interview_EventScript_EndInterview
end
-SlateportCity_PokemonFanClub_EventScript_28C879:: @ 828C879
- msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT
+SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed2:: @ 828C879
+ msgbox SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews, MSGBOX_DEFAULT
release
end
SlateportCity_OceanicMuseum_1F_EventScript_Reporter:: @ 828C883
lock
faceplayer
- setvar VAR_0x8005, 2
+ setvar VAR_0x8005, TVSHOW_RECENT_HAPPENINGS
special InterviewBefore
- compare VAR_RESULT, 1
- goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C939
+ compare VAR_RESULT, TRUE
+ goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_AlreadyInterviewed
copyvar VAR_0x8009, VAR_0x8006
- goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_28C8C8
+ goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort
setflag FLAG_OCEANIC_MUSEUM_MET_REPORTER
- msgbox SlateportCity_OceanicMuseum_1F_Text_2811A0, MSGBOX_YESNO
+ msgbox SlateportCity_OceanicMuseum_1F_Text_InterviewRequest, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7
+ goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview
compare VAR_RESULT, NO
- goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C
+ goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview
end
-SlateportCity_OceanicMuseum_1F_EventScript_28C8C8:: @ 828C8C8
- msgbox SlateportCity_OceanicMuseum_1F_Text_28126D, MSGBOX_YESNO
+SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort:: @ 828C8C8
+ msgbox SlateportCity_OceanicMuseum_1F_Text_InterviewRequestShort, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C8E7
+ goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview
compare VAR_RESULT, NO
- goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C
+ goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview
end
-SlateportCity_OceanicMuseum_1F_EventScript_28C8E7:: @ 828C8E7
- msgbox SlateportCity_OceanicMuseum_1F_Text_2812F2, MSGBOX_DEFAULT
+SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview:: @ 828C8E7
+ msgbox SlateportCity_OceanicMuseum_1F_Text_TellMeExperienceInvolvingPokemon, MSGBOX_DEFAULT
setvar VAR_0x8004, EASY_CHAT_TYPE_INTERVIEW
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, EASY_CHAT_PERSON_REPORTER_MALE
@@ -84,71 +82,71 @@ SlateportCity_OceanicMuseum_1F_EventScript_28C8E7:: @ 828C8E7
lock
faceplayer
compare VAR_RESULT, 1
- goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C926
+ goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_SubmitResponse
compare VAR_RESULT, 0
- goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_28C91C
+ goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview
end
-SlateportCity_OceanicMuseum_1F_EventScript_28C91C:: @ 828C91C
- msgbox SlateportCity_OceanicMuseum_1F_Text_281367, MSGBOX_DEFAULT
+SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview:: @ 828C91C
+ msgbox SlateportCity_OceanicMuseum_1F_Text_LetMeKnowIfYouHaveStory, MSGBOX_DEFAULT
release
end
-SlateportCity_OceanicMuseum_1F_EventScript_28C926:: @ 828C926
- msgbox SlateportCity_OceanicMuseum_1F_Text_2813B9, MSGBOX_DEFAULT
- setvar VAR_0x8005, 2
- goto SlateportCity_OceanicMuseum_1F_EventScript_28C7E9
+SlateportCity_OceanicMuseum_1F_EventScript_SubmitResponse:: @ 828C926
+ msgbox SlateportCity_OceanicMuseum_1F_Text_ThatsAllForInterview, MSGBOX_DEFAULT
+ setvar VAR_0x8005, TVSHOW_RECENT_HAPPENINGS
+ goto Interview_EventScript_EndInterview
end
-SlateportCity_OceanicMuseum_1F_EventScript_28C939:: @ 828C939
- msgbox SlateportCity_OceanicMuseum_1F_Text_28144D, MSGBOX_DEFAULT
+SlateportCity_OceanicMuseum_1F_EventScript_AlreadyInterviewed:: @ 828C939
+ msgbox SlateportCity_OceanicMuseum_1F_Text_BetterWriteUpStory, MSGBOX_DEFAULT
release
end
SlateportCity_PokemonFanClub_EventScript_Reporter:: @ 828C943
lock
faceplayer
- specialvar VAR_RESULT, sub_80EF8F8
- compare VAR_RESULT, 0
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C7F0
- setvar VAR_0x8005, 3
+ specialvar VAR_RESULT, IsLeadMonNicknamedOrNotEnglish
+ compare VAR_RESULT, FALSE
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname
+ setvar VAR_0x8005, TVSHOW_PKMN_FAN_CLUB_OPINIONS
special InterviewBefore
- compare VAR_RESULT, 1
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA4F
+ compare VAR_RESULT, TRUE
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed
copyvar VAR_0x8009, VAR_0x8006
- msgbox SlateportCity_PokemonFanClub_Text_280270, MSGBOX_YESNO
+ msgbox SlateportCity_PokemonFanClub_Text_InterviewRequestHasName, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28C98C
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_AcceptInterview
compare VAR_RESULT, NO
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview
end
-SlateportCity_PokemonFanClub_EventScript_28C98C:: @ 828C98C
- msgbox SlateportCity_PokemonFanClub_Text_28034F, MSGBOX_DEFAULT
+SlateportCity_PokemonFanClub_EventScript_AcceptInterview:: @ 828C98C
+ msgbox SlateportCity_PokemonFanClub_Text_HereGoesQuickAnswers, MSGBOX_DEFAULT
random 3
copyvar VAR_0x800A, VAR_RESULT
switch VAR_RESULT
- case 0, SlateportCity_PokemonFanClub_EventScript_28C9C3
- case 1, SlateportCity_PokemonFanClub_EventScript_28C9D1
- case 2, SlateportCity_PokemonFanClub_EventScript_28C9DF
+ case 0, SlateportCity_PokemonFanClub_EventScript_RandomQuestion1
+ case 1, SlateportCity_PokemonFanClub_EventScript_RandomQuestion2
+ case 2, SlateportCity_PokemonFanClub_EventScript_RandomQuestion3
end
-SlateportCity_PokemonFanClub_EventScript_28C9C3:: @ 828C9C3
- msgbox SlateportCity_PokemonFanClub_Text_280393, MSGBOX_DEFAULT
- goto SlateportCity_PokemonFanClub_EventScript_28C9ED
+SlateportCity_PokemonFanClub_EventScript_RandomQuestion1:: @ 828C9C3
+ msgbox SlateportCity_PokemonFanClub_Text_DescribeFeelingsFirstMetMon, MSGBOX_DEFAULT
+ goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview
end
-SlateportCity_PokemonFanClub_EventScript_28C9D1:: @ 828C9D1
- msgbox SlateportCity_PokemonFanClub_Text_2803EF, MSGBOX_DEFAULT
- goto SlateportCity_PokemonFanClub_EventScript_28C9ED
+SlateportCity_PokemonFanClub_EventScript_RandomQuestion2:: @ 828C9D1
+ msgbox SlateportCity_PokemonFanClub_Text_LikenMonToSomethingYouLike, MSGBOX_DEFAULT
+ goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview
end
-SlateportCity_PokemonFanClub_EventScript_28C9DF:: @ 828C9DF
- msgbox SlateportCity_PokemonFanClub_Text_280454, MSGBOX_DEFAULT
- goto SlateportCity_PokemonFanClub_EventScript_28C9ED
+SlateportCity_PokemonFanClub_EventScript_RandomQuestion3:: @ 828C9DF
+ msgbox SlateportCity_PokemonFanClub_Text_WhatAttractedYouAboutMon, MSGBOX_DEFAULT
+ goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview
end
-SlateportCity_PokemonFanClub_EventScript_28C9ED:: @ 828C9ED
+SlateportCity_PokemonFanClub_EventScript_ContinueInterview:: @ 828C9ED
setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_CLUB
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 0
@@ -156,48 +154,48 @@ SlateportCity_PokemonFanClub_EventScript_28C9ED:: @ 828C9ED
lock
faceplayer
compare VAR_RESULT, 0
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45
- msgbox SlateportCity_PokemonFanClub_Text_2804AC, MSGBOX_DEFAULT
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview
+ msgbox SlateportCity_PokemonFanClub_Text_WhatDoPokemonMeanToYou, MSGBOX_DEFAULT
setvar VAR_0x8006, 1
call Common_ShowEasyChatScreen
lock
faceplayer
compare VAR_RESULT, 0
- goto_if_eq SlateportCity_PokemonFanClub_EventScript_28CA45
- msgbox SlateportCity_PokemonFanClub_Text_280523, MSGBOX_DEFAULT
+ goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview
+ msgbox SlateportCity_PokemonFanClub_Text_ThatsAllForInterview, MSGBOX_DEFAULT
copyvar VAR_0x8007, VAR_0x800A
- setvar VAR_0x8005, 3
- goto SlateportCity_PokemonFanClub_EventScript_28C7E9
+ setvar VAR_0x8005, TVSHOW_PKMN_FAN_CLUB_OPINIONS
+ goto Interview_EventScript_EndInterview
end
-SlateportCity_PokemonFanClub_EventScript_28CA45:: @ 828CA45
- msgbox SlateportCity_PokemonFanClub_Text_2805E2, MSGBOX_DEFAULT
+SlateportCity_PokemonFanClub_EventScript_DeclineInterview:: @ 828CA45
+ msgbox SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe, MSGBOX_DEFAULT
release
end
-SlateportCity_PokemonFanClub_EventScript_28CA4F:: @ 828CA4F
- msgbox SlateportCity_PokemonFanClub_Text_28062E, MSGBOX_DEFAULT
+SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed:: @ 828CA4F
+ msgbox SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews, MSGBOX_DEFAULT
release
end
LilycoveCity_ContestLobby_EventScript_Reporter:: @ 828CA59
lock
faceplayer
- goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_28CB21
- setvar VAR_0x8005, 6
+ goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed
+ setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE
special InterviewBefore
- compare VAR_RESULT, 1
- goto_if_eq LilycoveCity_ContestLobby_EventScript_28CB21
+ compare VAR_RESULT, TRUE
+ goto_if_eq LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed
copyvar VAR_0x8009, VAR_0x8006
- msgbox LilycoveCity_ContestLobby_Text_27EF15, MSGBOX_YESNO
+ msgbox LilycoveCity_ContestLobby_Text_InterviewRequest, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq LilycoveCity_ContestLobby_EventScript_28CA9B
+ goto_if_eq LilycoveCity_ContestLobby_EventScript_AcceptInterview
compare VAR_RESULT, NO
- goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0
+ goto_if_eq LilycoveCity_ContestLobby_EventScript_DeclineInterview
end
-LilycoveCity_ContestLobby_EventScript_28CA9B:: @ 828CA9B
- msgbox LilycoveCity_ContestLobby_Text_27EFE7, MSGBOX_DEFAULT
+LilycoveCity_ContestLobby_EventScript_AcceptInterview:: @ 828CA9B
+ msgbox LilycoveCity_ContestLobby_Text_DescribeContest, MSGBOX_DEFAULT
setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 0
@@ -205,20 +203,20 @@ LilycoveCity_ContestLobby_EventScript_28CA9B:: @ 828CA9B
lock
faceplayer
compare VAR_RESULT, 1
- goto_if_eq LilycoveCity_ContestLobby_EventScript_28CADA
+ goto_if_eq LilycoveCity_ContestLobby_EventScript_SubmitResponse
compare VAR_RESULT, 0
- goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0
+ goto_if_eq LilycoveCity_ContestLobby_EventScript_DeclineInterview
end
-LilycoveCity_ContestLobby_EventScript_28CAD0:: @ 828CAD0
- msgbox LilycoveCity_ContestLobby_Text_27F1EF, MSGBOX_DEFAULT
+LilycoveCity_ContestLobby_EventScript_DeclineInterview:: @ 828CAD0
+ msgbox LilycoveCity_ContestLobby_Text_PleaseDoShareStoryWithMe, MSGBOX_DEFAULT
release
end
-LilycoveCity_ContestLobby_EventScript_28CADA:: @ 828CADA
+LilycoveCity_ContestLobby_EventScript_SubmitResponse:: @ 828CADA
setvar VAR_0x8004, 24
special SetContestCategoryStringVarForInterview
- msgbox LilycoveCity_ContestLobby_Text_27F03E, MSGBOX_DEFAULT
+ msgbox LilycoveCity_ContestLobby_Text_WhatImageWhenYouHearX, MSGBOX_DEFAULT
setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW
copyvar VAR_0x8005, VAR_0x8009
setvar VAR_0x8006, 1
@@ -226,22 +224,22 @@ LilycoveCity_ContestLobby_EventScript_28CADA:: @ 828CADA
lock
faceplayer
compare VAR_RESULT, 0
- goto_if_eq LilycoveCity_ContestLobby_EventScript_28CAD0
- msgbox LilycoveCity_ContestLobby_Text_27F0EC, MSGBOX_DEFAULT
+ goto_if_eq LilycoveCity_ContestLobby_EventScript_DeclineInterview
+ msgbox LilycoveCity_ContestLobby_Text_ThatsAllForInterview, MSGBOX_DEFAULT
setflag FLAG_TEMP_2
- setvar VAR_0x8005, 6
- goto LilycoveCity_ContestLobby_EventScript_28C7E9
+ setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE
+ goto Interview_EventScript_EndInterview
end
-LilycoveCity_ContestLobby_EventScript_28CB21:: @ 828CB21
- msgbox LilycoveCity_ContestLobby_Text_27F23F, MSGBOX_DEFAULT
+LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed:: @ 828CB21
+ msgbox LilycoveCity_ContestLobby_Text_LookingForwardToNextContest, MSGBOX_DEFAULT
release
end
LilycoveCity_ContestLobby_EventScript_TryShowContestReporter:: @ 828CB2B
compare VAR_CONTEST_HALL_STATE, 2
goto_if_ne LilycoveCity_ContestLobby_EventScript_DontShowContestReporter
- setvar VAR_0x8005, 6
+ setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE
special InterviewBefore
compare VAR_RESULT, TRUE
goto_if_eq LilycoveCity_ContestLobby_EventScript_DontShowContestReporter
@@ -261,86 +259,86 @@ LilycoveCity_ContestLobby_EventScript_ShowContestReporter:: @ 828CB91
LilycoveCity_ContestLobby_EventScript_DontShowContestReporter:: @ 828CB95
return
-BattleFrontier_BattleTowerLobby_EventScript_28CB96:: @ 828CB96
+BattleFrontier_BattleTowerLobby_EventScript_Reporter:: @ 828CB96
lock
faceplayer
- goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_28CC7A
- setvar VAR_0x8005, 7
+ goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed
+ setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE
special InterviewBefore
- compare VAR_RESULT, 1
- goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC7A
+ compare VAR_RESULT, TRUE
+ goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed
copyvar VAR_0x8009, VAR_0x8006
- msgbox BattleFrontier_BattleTowerLobby_Text_27F704, MSGBOX_YESNO
+ msgbox BattleFrontier_BattleTowerLobby_Text_InterviewRequest, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CBD8
+ goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview
compare VAR_RESULT, NO
- goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC2E
+ goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview
end
-BattleFrontier_BattleTowerLobby_EventScript_28CBD8:: @ 828CBD8
- message BattleFrontier_BattleTowerLobby_Text_27F7BA
+BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview:: @ 828CBD8
+ message BattleFrontier_BattleTowerLobby_Text_HowDidBattleTowerTurnOut
waitmessage
multichoice 20, 8, MULTI_SATISFACTION, 1
copyvar VAR_0x8008, VAR_RESULT
compare VAR_RESULT, 0
- call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC38
+ call_if_eq BattleFrontier_BattleTowerLobby_EventScript_Satisfied
compare VAR_RESULT, 1
- call_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC41
- msgbox BattleFrontier_BattleTowerLobby_Text_27F97A, MSGBOX_DEFAULT
+ call_if_eq BattleFrontier_BattleTowerLobby_EventScript_Dissatisfied
+ msgbox BattleFrontier_BattleTowerLobby_Text_DescribeYourBattle, MSGBOX_DEFAULT
setvar VAR_0x8004, EASY_CHAT_TYPE_BATTLE_TOWER_INTERVIEW
copyvar VAR_0x8005, VAR_0x8009
call Common_ShowEasyChatScreen
lock
faceplayer
compare VAR_RESULT, 1
- goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC4A
+ goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse
compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70
+ goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_CancelInterview
end
-BattleFrontier_BattleTowerLobby_EventScript_28CC2E:: @ 828CC2E
- msgbox BattleFrontier_BattleTowerLobby_Text_27F84C, MSGBOX_DEFAULT
+BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview:: @ 828CC2E
+ msgbox BattleFrontier_BattleTowerLobby_Text_SorryWeDisturbedYou, MSGBOX_DEFAULT
release
end
-BattleFrontier_BattleTowerLobby_EventScript_28CC38:: @ 828CC38
- msgbox BattleFrontier_BattleTowerLobby_Text_27F8AE, MSGBOX_DEFAULT
+BattleFrontier_BattleTowerLobby_EventScript_Satisfied:: @ 828CC38
+ msgbox BattleFrontier_BattleTowerLobby_Text_ObviousYouHadGreatBattle, MSGBOX_DEFAULT
return
-BattleFrontier_BattleTowerLobby_EventScript_28CC41:: @ 828CC41
- msgbox BattleFrontier_BattleTowerLobby_Text_27F921, MSGBOX_DEFAULT
+BattleFrontier_BattleTowerLobby_EventScript_Dissatisfied:: @ 828CC41
+ msgbox BattleFrontier_BattleTowerLobby_Text_DifficultToMakeBattleTurnOutAsPlanned, MSGBOX_DEFAULT
return
-BattleFrontier_BattleTowerLobby_EventScript_28CC4A:: @ 828CC4A
+BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse:: @ 828CC4A
compare VAR_RESULT, 0
- goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CC70
- msgbox BattleFrontier_BattleTowerLobby_Text_27F9FD, MSGBOX_DEFAULT
+ goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_CancelInterview
+ msgbox BattleFrontier_BattleTowerLobby_Text_ThatsGreatLine, MSGBOX_DEFAULT
setflag FLAG_TEMP_2
copyvar VAR_0x8004, VAR_0x8008
- setvar VAR_0x8005, 7
- goto BattleFrontier_BattleTowerLobby_EventScript_28C7E9
+ setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE
+ goto Interview_EventScript_EndInterview
end
-BattleFrontier_BattleTowerLobby_EventScript_28CC70:: @ 828CC70
- msgbox BattleFrontier_BattleTowerLobby_Text_27FA6F, MSGBOX_DEFAULT
+BattleFrontier_BattleTowerLobby_EventScript_CancelInterview:: @ 828CC70
+ msgbox BattleFrontier_BattleTowerLobby_Text_SilentType, MSGBOX_DEFAULT
release
end
-BattleFrontier_BattleTowerLobby_EventScript_28CC7A:: @ 828CC7A
- msgbox BattleFrontier_BattleTowerLobby_Text_27FAF3, MSGBOX_DEFAULT
+BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed:: @ 828CC7A
+ msgbox BattleFrontier_BattleTowerLobby_Text_LookingForwardToNextBattle, MSGBOX_DEFAULT
release
end
-BattleFrontier_BattleTowerLobby_EventScript_28CC84:: @ 828CC84
+BattleFrontier_BattleTowerLobby_EventScript_ShowOrHideReporter:: @ 828CC84
compare VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
- goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6
- setvar VAR_0x8005, 7
+ goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_HideReporter
+ setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE
special InterviewBefore
- compare VAR_RESULT, 1
- goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_28CCA6
+ compare VAR_RESULT, TRUE
+ goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_HideReporter
clearflag FLAG_HIDE_BATTLE_TOWER_REPORTER
return
-BattleFrontier_BattleTowerLobby_EventScript_28CCA6:: @ 828CCA6
+BattleFrontier_BattleTowerLobby_EventScript_HideReporter:: @ 828CCA6
setflag FLAG_HIDE_BATTLE_TOWER_REPORTER
return
diff --git a/data/scripts/lilycove_lady.inc b/data/scripts/lilycove_lady.inc
index b7b9d514a..f553ea0ad 100644
--- a/data/scripts/lilycove_lady.inc
+++ b/data/scripts/lilycove_lady.inc
@@ -298,7 +298,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_GivePrize:: @ 82A8724
special BufferQuizPrizeItem
special SetQuizLadyState_Complete
giveitem_std VAR_0x8005
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_NoSpaceForQuizPrize
goto LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz
end
diff --git a/data/scripts/pc_transfer.inc b/data/scripts/pc_transfer.inc
index 594956a31..cc583022d 100644
--- a/data/scripts/pc_transfer.inc
+++ b/data/scripts/pc_transfer.inc
@@ -35,7 +35,7 @@ EventScript_SomeonesPCBoxFull:: @ 82737D4
EventScript_TransferredLanettesPC:: @ 82737E6
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
- compare VAR_RESULT, 1
+ compare VAR_RESULT, TRUE
goto_if_eq EventScript_LanettesPCBoxFull
msgbox gText_PkmnTransferredLanettesPC, MSGBOX_DEFAULT
return
diff --git a/data/scripts/pkmn_center_nurse.inc b/data/scripts/pkmn_center_nurse.inc
index 18b203d61..a26e9e22a 100644
--- a/data/scripts/pkmn_center_nurse.inc
+++ b/data/scripts/pkmn_center_nurse.inc
@@ -91,9 +91,9 @@ EventScript_PkmnCenterNurse_PlayerWaitingInUnionRoom:: @ 8271A19
EventScript_PkmnCenterNurse_CheckPokerus:: @ 8271A43
specialvar VAR_RESULT, IsPokerusInParty
- compare VAR_RESULT, 1
+ compare VAR_RESULT, TRUE
goto_if_eq EventScript_PkmnCenterNurse_ExplainPokerus
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom
end
diff --git a/data/scripts/players_house.inc b/data/scripts/players_house.inc
index 3a0675e5e..1b706e603 100644
--- a/data/scripts/players_house.inc
+++ b/data/scripts/players_house.inc
@@ -346,7 +346,7 @@ PlayersHouse_1F_EventScript_TryGiveAmuletCoin:: @ 8292A51
goto_if_set FLAG_RECEIVED_AMULET_COIN, PlayersHouse_1F_EventScript_MomHealsParty
msgbox PlayersHouse_1F_Text_GotDadsBadgeHeresSomethingFromMom, MSGBOX_DEFAULT
giveitem_std ITEM_AMULET_COIN
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
msgbox PlayersHouse_1F_Text_DontPushYourselfTooHard, MSGBOX_DEFAULT
setflag FLAG_RECEIVED_AMULET_COIN
diff --git a/data/scripts/roulette.inc b/data/scripts/roulette.inc
index 791069088..9aea65054 100644
--- a/data/scripts/roulette.inc
+++ b/data/scripts/roulette.inc
@@ -1,10 +1,10 @@
Roulette_EventScript_Table1:: @ 82A5AB1
checkitem ITEM_COIN_CASE, 1
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq MauvilleCity_GameCorner_EventScript_NoCoinCase
setvar VAR_0x8004, 0
getpricereduction POKENEWS_GAME_CORNER
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Roulette_EventScript_Play
addvar VAR_0x8004, 128
goto Roulette_EventScript_Play
@@ -12,11 +12,11 @@ Roulette_EventScript_Table1:: @ 82A5AB1
Roulette_EventScript_Table2:: @ 82A5ADF
checkitem ITEM_COIN_CASE, 1
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq MauvilleCity_GameCorner_EventScript_NoCoinCase
setvar VAR_0x8004, 1
getpricereduction POKENEWS_GAME_CORNER
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Roulette_EventScript_Play
addvar VAR_0x8004, 128
goto Roulette_EventScript_Play
diff --git a/data/scripts/secret_base.inc b/data/scripts/secret_base.inc
index 04fab5598..617b19b42 100644
--- a/data/scripts/secret_base.inc
+++ b/data/scripts/secret_base.inc
@@ -27,7 +27,7 @@ SecretBase_Text_DiscoveredSmallEntrance: @ 8274883
SecretBase_EventScript_CheckEntrance:: @ 82759F1
special GetSecretBaseTypeInFrontOfPlayer
special CheckPlayerHasSecretBase
- compare VAR_RESULT, 1
+ compare VAR_RESULT, TRUE
goto_if_eq SecretBase_EventScript_AlreadyHasSecretBase
checkpartymove MOVE_SECRET_POWER
setfieldeffectargument 0, VAR_RESULT
@@ -185,7 +185,7 @@ SecretBase_EventScript_Enter:: @ 8275BB7
setvar VAR_INIT_SECRET_BASE, 1
playse SE_KAIDAN
special IsCurSecretBaseOwnedByAnotherPlayer
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq SecretBase_EventScript_EnterPlayersBase
clearflag FLAG_DECORATION_0
special EnterSecretBase
diff --git a/data/scripts/shared_secret_base.inc b/data/scripts/shared_secret_base.inc
index 3a4c044a3..de5dcc703 100644
--- a/data/scripts/shared_secret_base.inc
+++ b/data/scripts/shared_secret_base.inc
@@ -1,25 +1,25 @@
SecretBase_MapScripts::
- map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SecretBase_MapScript2_OnWarp
- map_script MAP_SCRIPT_ON_TRANSITION, SecretBase_MapScript1_OnTransition
- map_script MAP_SCRIPT_ON_FRAME_TABLE, SecretBase_MapScript2_OnFrame
- map_script MAP_SCRIPT_ON_RESUME, SecretBase_MapScript1_OnResume
+ map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SecretBase_OnWarp
+ map_script MAP_SCRIPT_ON_TRANSITION, SecretBase_OnTransition
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, SecretBase_OnFrame
+ map_script MAP_SCRIPT_ON_RESUME, SecretBase_OnResume
.byte 0
-SecretBase_MapScript2_OnWarp: @ 823B498
+SecretBase_OnWarp: @ 823B498
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, SecretBase_EventScript_InitDecorations
.2byte 0
-SecretBase_MapScript1_OnTransition: @ 823B4A2
+SecretBase_OnTransition: @ 823B4A2
call SecretBase_EventScript_SetDecorationFlags
special SetSecretBaseOwnerGfxId
special InitSecretBaseVars
end
-SecretBase_MapScript2_OnFrame: @ 823B4AE
+SecretBase_OnFrame: @ 823B4AE
map_script_2 VAR_INIT_SECRET_BASE, 0, SecretBase_EventScript_FirstEntrance
.2byte 0
-SecretBase_MapScript1_OnResume: @ 823B4B8
+SecretBase_OnResume: @ 823B4B8
setstepcallback STEP_CB_SECRET_BASE
end
diff --git a/data/scripts/trainer_hill.inc b/data/scripts/trainer_hill.inc
index db6105249..805c63264 100644
--- a/data/scripts/trainer_hill.inc
+++ b/data/scripts/trainer_hill.inc
@@ -1,8 +1,4 @@
-TrainerHill_1F_MapScript1_2C8336: @ 82C8336
-TrainerHill_2F_MapScript1_2C8336: @ 82C8336
-TrainerHill_3F_MapScript1_2C8336: @ 82C8336
-TrainerHill_4F_MapScript1_2C8336: @ 82C8336
-TrainerHill_Roof_MapScript1_2C8336: @ 82C8336
+TrainerHill_OnResume: @ 82C8336
setvar VAR_TEMP_2, 0
setvar VAR_0x8004, TRAINER_HILL_FUNC_RESUME_TIMER
special CallTrainerHillFunction
@@ -17,67 +13,64 @@ TrainerHill_Roof_MapScript1_2C8336: @ 82C8336
goto_if_eq TrainerHill_1F_EventScript_Lost
end
-TrainerHill_1F_MapScript2_2C8372: @ 82C8372
-TrainerHill_2F_MapScript2_2C8372: @ 82C8372
- map_script_2 VAR_TEMP_3, 0, TrainerHill_1F_EventScript_2C837C
+TrainerHill_OnWarp: @ 82C8372
+ map_script_2 VAR_TEMP_3, 0, TrainerHill_1F_EventScript_DummyOnWarp
.2byte 0
-TrainerHill_1F_EventScript_2C837C:: @ 82C837C
+TrainerHill_1F_EventScript_DummyOnWarp:: @ 82C837C
setvar VAR_TEMP_3, 1
@ forced stop
-TrainerHill_1F_MapScript2_2C8381: @ 82C8381
-TrainerHill_2F_MapScript2_2C8381: @ 82C8381
-TrainerHill_3F_MapScript2_2C8381: @ 82C8381
-TrainerHill_4F_MapScript2_2C8381: @ 82C8381
-TrainerHill_Roof_MapScript2_2C8381: @ 82C8381
- map_script_2 VAR_TEMP_2, 0, TrainerHill_1F_EventScript_2C83A6
- map_script_2 VAR_TEMP_1, 1, TrainerHill_1F_EventScript_2C83DF
+TrainerHill_OnFrame: @ 82C8381
+ map_script_2 VAR_TEMP_2, 0, TrainerHill_1F_EventScript_DummyWarpToEntranceCounter
+ map_script_2 VAR_TEMP_1, 1, TrainerHill_EventScript_WarpToEntranceCounter
.2byte 0
EventScript_TrainerHillTimer:: @ 82C8393
lockall
- setvar VAR_0x8004, TRAINER_HILL_FUNC_7
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_GET_CHALLENGE_TIME
special CallTrainerHillFunction
- msgbox TrainerHill_Entrance_Text_268D47, MSGBOX_DEFAULT
+ msgbox TrainerHill_Entrance_Text_ChallengeTime, MSGBOX_DEFAULT
releaseall
end
-TrainerHill_1F_EventScript_2C83A6:: @ 82C83A6
+TrainerHill_1F_EventScript_DummyWarpToEntranceCounter:: @ 82C83A6
setvar VAR_TEMP_2, 1
- setvar VAR_0x8004, TRAINER_HILL_FUNC_9
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_CLEAR_RESULT
special CallTrainerHillFunction
- compare VAR_RESULT, 1
- goto_if_eq TrainerHill_1F_EventScript_2C83BF
+ compare VAR_RESULT, 1 @ VAR_RESULT always 0 here
+ goto_if_eq TrainerHill_1F_EventScript_WarpSilentToEntranceCounter
end
-TrainerHill_1F_EventScript_2C83BF:: @ 82C83BF
+@ Never reached
+TrainerHill_1F_EventScript_WarpSilentToEntranceCounter:: @ 82C83BF
warpsilent MAP_TRAINER_HILL_ENTRANCE, 255, 9, 6
waitstate
end
TrainerHill_1F_EventScript_Lost:: @ 82C83C9
- setvar VAR_0x8004, TRAINER_HILL_FUNC_12
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_ALL_TRAINER_FLAGS
special CallTrainerHillFunction
setvar VAR_0x8004, TRAINER_HILL_FUNC_SET_LOST
special CallTrainerHillFunction
setvar VAR_TEMP_1, 1
end
-TrainerHill_1F_EventScript_2C83DF:: @ 82C83DF
-TrainerHill_Entrance_EventScript_2C83DF:: @ 82C83DF
+TrainerHill_EventScript_WarpToEntranceCounter:: @ 82C83DF
setvar VAR_TEMP_1, 0
warp MAP_TRAINER_HILL_ENTRANCE, 255, 9, 6
waitstate
end
-TrainerHill_1F_Movement_2C83EE:: @ 82C83EE
+@ Unused
+TrainerHill_1F_Movement_SetInvisible:: @ 82C83EE
set_invisible
step_end
-EventScript_2C83F0:: @ 82C83F0
- trainerbattle TRAINER_BATTLE_12, TRAINER_PHILLIP, 0, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText
- setvar VAR_0x8004, TRAINER_HILL_FUNC_11
+@ TRAINER_PHILLIP is an actual Trainer on the SS Tidal, but is used as a placeholder here
+TrainerHill_EventScript_TrainerBattle:: @ 82C83F0
+ trainerbattle TRAINER_BATTLE_HILL, TRAINER_PHILLIP, 0, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText
+ setvar VAR_0x8004, TRAINER_HILL_FUNC_POST_BATTLE_TEXT
special CallTrainerHillFunction
waitmessage
waitbuttonpress
diff --git a/data/scripts/tv.inc b/data/scripts/tv.inc
index 427775a76..a2d5473b1 100644
--- a/data/scripts/tv.inc
+++ b/data/scripts/tv.inc
@@ -7,28 +7,28 @@ EventScript_TV:: @ 827EE0B
goto_if_eq EventScript_PlayersHouseMovie
compare VAR_RESULT, 1
goto_if_eq EventScript_PlayersHouseLatiNewsFlash
- goto_if_unset FLAG_SYS_TV_START, EventScript_27EE8A
- goto_if_set FLAG_SYS_TV_WATCH, EventScript_27EE8A
+ goto_if_unset FLAG_SYS_TV_START, EventScript_MomDadMightLikeThis1
+ goto_if_set FLAG_SYS_TV_WATCH, EventScript_MomDadMightLikeThis1
specialvar VAR_RESULT, IsTVShowInSearchOfTrainersAiring
- compare VAR_RESULT, 1
- goto_if_eq EventScript_27EEFF
- goto EventScript_27EEE9
+ compare VAR_RESULT, TRUE
+ goto_if_eq EventScript_DoInSearchOfTrainers
+ goto EventScript_TryDoPokeNews
end
-EventScript_27EE54:: @ 827EE54
- specialvar VAR_0x8004, special_0x44
+EventScript_TryDoTVShow:: @ 827EE54
+ specialvar VAR_0x8004, GetRandomActiveShowIdx
compare VAR_0x8004, 255
- goto_if_eq EventScript_27EED8
- specialvar VAR_RESULT, special_0x4a
+ goto_if_eq EventScript_MomDadMightLikeThis2
+ specialvar VAR_RESULT, GetNextActiveShowIfMassOutbreak
compare VAR_RESULT, 255
- goto_if_eq EventScript_27EED8
+ goto_if_eq EventScript_MomDadMightLikeThis2
copyvar VAR_0x8004, VAR_RESULT
- specialvar VAR_RESULT, special_0x45
+ specialvar VAR_RESULT, GetSelectedTVShow
compare VAR_RESULT, 0
- goto_if_ne EventScript_27EEBA
+ goto_if_ne EventScript_DoTVShow
end
-EventScript_27EE8A:: @ 827EE8A
+EventScript_MomDadMightLikeThis1:: @ 827EE8A
special GetMomOrDadStringForTVMessage
msgbox gText_MomOrDadMightLikeThisProgram, MSGBOX_DEFAULT
special TurnOffTVScreen
@@ -40,11 +40,11 @@ EventScript_PlayersHouseMovie:: @ 827EE9A
releaseall
end
+@ special InitRoamer is a junk call. Its input var (VAR_0x8004) hasn't been set, and
+@ It's called again when Mom actually asks for the color, overwriting
+@ whatever it does here.
EventScript_PlayersHouseLatiNewsFlash:: @ 827EEA4
msgbox PlayersHouse_1F_Text_LatiEmergencyNewsFlash, MSGBOX_DEFAULT
- @ This is a junk call. Its input var (VAR_0x8004) hasn't been set, and
- @ It's called again when Mom actually asks for the color, overwriting
- @ whatever it does here.
special InitRoamer
clearflag FLAG_SYS_TV_LATIAS_LATIOS
setflag FLAG_LATIOS_OR_LATIAS_ROAMING
@@ -52,41 +52,41 @@ EventScript_PlayersHouseLatiNewsFlash:: @ 827EEA4
releaseall
end
-EventScript_27EEBA:: @ 827EEBA
+EventScript_DoTVShow:: @ 827EEBA
special DoTVShow
waitmessage
waitbuttonpress
compare VAR_RESULT, 1
- goto_if_ne EventScript_27EEBA
- goto EventScript_27EED0
+ goto_if_ne EventScript_DoTVShow
+ goto EventScript_TurnOffTV
end
-EventScript_27EED0:: @ 827EED0
+EventScript_TurnOffTV:: @ 827EED0
special TurnOffTVScreen
setflag FLAG_SYS_TV_WATCH
releaseall
end
-EventScript_27EED8:: @ 827EED8
+EventScript_MomDadMightLikeThis2:: @ 827EED8
special GetMomOrDadStringForTVMessage
msgbox gText_MomOrDadMightLikeThisProgram, MSGBOX_DEFAULT
- goto EventScript_27EED0
+ goto EventScript_TurnOffTV
end
-EventScript_27EEE9:: @ 827EEE9
+EventScript_TryDoPokeNews:: @ 827EEE9
special DoPokeNews
- compare VAR_RESULT, 0
- goto_if_eq EventScript_27EE54
+ compare VAR_RESULT, FALSE
+ goto_if_eq EventScript_TryDoTVShow
waitmessage
waitbuttonpress
- goto EventScript_27EED0
+ goto EventScript_TurnOffTV
end
-EventScript_27EEFF:: @ 827EEFF
+EventScript_DoInSearchOfTrainers:: @ 827EEFF
special DoTVShowInSearchOfTrainers
waitmessage
waitbuttonpress
compare VAR_RESULT, 0
- goto_if_eq EventScript_27EEFF
- goto EventScript_27EED0
+ goto_if_eq EventScript_DoInSearchOfTrainers
+ goto EventScript_TurnOffTV
end
diff --git a/data/specials.inc b/data/specials.inc
index 25be90ced..bfc88f619 100644
--- a/data/specials.inc
+++ b/data/specials.inc
@@ -76,13 +76,13 @@ gSpecials:: @ 81DBA64
def_special TurnOffTVScreen
def_special DoTVShow
def_special DoPokeNews
- def_special special_0x44
- def_special special_0x45
+ def_special GetRandomActiveShowIdx
+ def_special GetSelectedTVShow
def_special InterviewBefore
def_special InterviewAfter
- def_special sub_80EF8F8
+ def_special IsLeadMonNicknamedOrNotEnglish
def_special SetContestCategoryStringVarForInterview
- def_special special_0x4a
+ def_special GetNextActiveShowIfMassOutbreak
def_special TV_IsScriptShowKindAlreadyInQueue
def_special CheckForBigMovieOrEmergencyNewsOnTV
def_special GetMomOrDadStringForTVMessage
@@ -243,7 +243,7 @@ gSpecials:: @ 81DBA64
def_special UpdateCyclingRoadState
def_special GetLeadMonFriendshipScore
def_special CallFrontierUtilFunc
- def_special sub_8161F74
+ def_special CallBattleTowerFunc
def_special CallBattleDomeFunction
def_special CallBattlePalaceFunction
def_special CopyEReaderTrainerGreeting
@@ -281,7 +281,7 @@ gSpecials:: @ 81DBA64
def_special CheckLeadMonCute
def_special CheckLeadMonSmart
def_special CheckLeadMonTough
- def_special sub_80FB7A4
+ def_special LookThroughPorthole
def_special DoSoftReset
def_special GameClear
def_special MoveElevator
diff --git a/data/text/berries.inc b/data/text/berries.inc
index 17443ea3c..152690e20 100644
--- a/data/text/berries.inc
+++ b/data/text/berries.inc
@@ -3,14 +3,14 @@ PetalburgCity_Gym_Text_GiveEnigmaBerry: @ 82A6D3D
.string "I just received a very rare BERRY.\n"
.string "I'd like you to have it.$"
-Route104_Text_2A6D86: @ 82A6D86
+Route104_Text_PlantBerriesInSoilTakeThis: @ 82A6D86
.string "If you see BERRIES growing in loamy\n"
.string "soil, feel free to take them.\p"
.string "But make sure you plant a BERRY in the\n"
.string "same spot. That's common courtesy.\p"
.string "Here, I'll share this with you.$"
-Route104_Text_2A6E32: @ 82A6E32
+Route104_Text_TrainersOftenMakeMonHoldBerries: @ 82A6E32
.string "The way you look, you must be a\n"
.string "TRAINER, no?\p"
.string "TRAINERS often make POKéMON hold\n"
@@ -18,57 +18,57 @@ Route104_Text_2A6E32: @ 82A6E32
.string "It's up to you whether to grow BERRIES\n"
.string "or use them.$"
-Route111_Text_2A6EBD: @ 82A6EBD
+Route111_Text_WateredPlantsEveryDayTakeBerry: @ 82A6EBD
.string "I watered the plants every day.\n"
.string "They grew lots of flowers.\p"
.string "And they gave me lots of BERRIES, too.\p"
.string "Here you go!\n"
.string "You can have it!$"
-Route111_Text_2A6F3D: @ 82A6F3D
+Route111_Text_GoingToTryToMakeDifferentColorBerries: @ 82A6F3D
.string "I'm going to try really hard and make\n"
.string "BERRIES in different colors.\p"
.string "I hope you try hard, too!$"
-Route111_Text_2A6F9A: @ 82A6F9A
+Route111_Text_WhatColorBerriesToLookForToday: @ 82A6F9A
.string "I wonder what color BERRIES I'll look\n"
.string "for today?$"
-Route114_Text_2A6FCB: @ 82A6FCB
+Route114_Text_LoveUsingBerryCrushShareBerry: @ 82A6FCB
.string "I love using the BERRY CRUSH machine,\n"
.string "so I'm collecting BERRIES.\p"
.string "I'll share one with you, if you'd like.$"
-Route114_Text_2A7034: @ 82A7034
+Route114_Text_TryBerryCrushWithFriends: @ 82A7034
.string "You should try the BERRY CRUSH\n"
.string "machine with your friends.$"
-Route114_Text_2A706E: @ 82A706E
+Route114_Text_FunToThinkAboutBerries: @ 82A706E
.string "Which BERRY should be planted?\n"
.string "Should you use or hoard BERRIES?\p"
.string "It's fun to think about.$"
-Route120_Text_2A70C7: @ 82A70C7
+Route120_Text_BerriesExpressionOfLoveIsntIt: @ 82A70C7
.string "BERRIES grow by soaking up sunlight.\p"
.string "We help the BERRIES grow by watering\n"
.string "them regularly.\p"
.string "It's an expression of love, isn't it?$"
-Route120_Text_2A7147: @ 82A7147
+Route120_Text_YesYouUnderstand: @ 82A7147
.string "Yes, yes.\n"
.string "You understand what I mean.\p"
.string "You should take this.$"
-Route120_Text_2A7183: @ 82A7183
+Route120_Text_MakeYourOwnImpressions: @ 82A7183
.string "Oh… But it is important to make your\n"
.string "own impressions, I guess…\p"
.string "You can have this.$"
-Route120_Text_2A71D5: @ 82A71D5
+Route120_Text_BerryIsRareRaiseItWithCare: @ 82A71D5
.string "I think that BERRY is rare.\n"
.string "I hope you raise it with loving care.$"
-Route120_Text_2A7217: @ 82A7217
+Route120_Text_IllGetMoreBerriesFromBerryMaster: @ 82A7217
.string "I'll get more BERRIES from\n"
.string "the BERRY MASTER.$"
diff --git a/data/text/contest_link.inc b/data/text/contest_link.inc
index 649f760fa..d9873904f 100644
--- a/data/text/contest_link.inc
+++ b/data/text/contest_link.inc
@@ -1,36 +1,38 @@
-gUnknown_0827E8CE:: @ 827E8CE
+@ With the exception of Link standby, none of the below texts are used
+
+gTest_MissedTurn:: @ 827E8CE
.string "Missed turn$"
gText_LinkStandby4:: @ 827E8DA
.string "Link standby!$"
-gUnknown_0827E8E8:: @ 827E8E8
+gText_WinnerIsPlayersMonCongrats:: @ 827E8E8
.string "The winner is {STR_VAR_1}'s {STR_VAR_2}!\n"
.string "Congratulations!$"
-gUnknown_0827E910:: @ 827E910
+gText_WinnerIsPlayersMon:: @ 827E910
.string "The winner is {STR_VAR_1}'s {STR_VAR_2}!{PAUSE_UNTIL_PRESS}$"
-gUnknown_0827E929:: @ 827E929
+gText_PrimaryJudgingNumX:: @ 827E929
.string "Primary judging: No. {STR_VAR_1}{PAUSE_UNTIL_PRESS}$"
-gUnknown_0827E943:: @ 827E943
+gText_SecondaryJudgingNumX:: @ 827E943
.string "Secondary judging: No. {STR_VAR_1}{PAUSE_UNTIL_PRESS}$"
-gUnknown_0827E95F:: @ 827E95F
+gText_SetEventNumX:: @ 827E95F
.string "Set event: No. {STR_VAR_1}{PAUSE_UNTIL_PRESS}$"
-gUnknown_0827E973:: @ 827E973
+gText_MoveUsedMostOften:: @ 827E973
.string "The move used most often:\n"
.string "{STR_VAR_1}{PAUSE_UNTIL_PRESS}$"
-gUnknown_0827E992:: @ 827E992
+gText_MostImpressiveMon:: @ 827E992
.string "The most impressive POKéMON:\n"
.string "{STR_VAR_1}'s {STR_VAR_2}{PAUSE_UNTIL_PRESS}$"
-gUnknown_0827E9B9:: @ 827E9B9
+gText_SetEventNumX2:: @ 827E9B9
.string "Set event: No. {STR_VAR_1}{PAUSE_UNTIL_PRESS}$"
-gUnknown_0827E9CD:: @ 827E9CD
+gText_LinkTVProgramWillNotBeMadeTrainerLost:: @ 827E9CD
.string "A link TV program will not be made\n"
.string "because the TRAINER lost.{PAUSE_UNTIL_PRESS}$"
diff --git a/data/text/contest_strings.inc b/data/text/contest_strings.inc
index e332e16bb..3cebef526 100644
--- a/data/text/contest_strings.inc
+++ b/data/text/contest_strings.inc
@@ -1,191 +1,191 @@
-@ contest move effect descriptions
+@ Contest move effect descriptions
-gContestEffect00hDescription:: @ 827CB82
+gText_HighlyAppealingMove:: @ 827CB82
.string "A highly appealing move.$"
-gContestEffect01hDescription:: @ 827CB9B
+gText_UserMoreEasilyStartled:: @ 827CB9B
.string "After this move, the user is\nmore easily startled.$"
-gContestEffect02hDescription:: @ 827CBCE
+gText_GreatAppealButNoMoreToEnd:: @ 827CBCE
.string "Makes a great appeal, but\nallows no more to the end.$"
-gContestEffect03hDescription:: @ 827CC03
+gText_UsedRepeatedlyWithoutBoringJudge:: @ 827CC03
.string "Can be repeatedly used\nwithout boring the JUDGE.$"
-gContestEffect04hDescription:: @ 827CC34
+gText_AvoidStartledByOthersOnce:: @ 827CC34
.string "Can avoid being startled\nby others once.$"
-gContestEffect05hDescription:: @ 827CC5D
+gText_AvoidStartledByOthers:: @ 827CC5D
.string "Can avoid being startled\nby others.$"
-gContestEffect06hDescription:: @ 827CC81
+gText_AvoidStartledByOthersLittle:: @ 827CC81
.string "Can avoid being startled\nby others a little.$"
-gContestEffect07hDescription:: @ 827CCAE
+gText_UserLessLikelyStartled:: @ 827CCAE
.string "After this move, the user is\nless likely to be startled.$"
-gContestEffect08hDescription:: @ 827CCE7
+gText_SlightlyStartleFrontMon:: @ 827CCE7
.string "Slightly startles the\nPOKéMON in front.$"
-gContestEffect09hDescription:: @ 827CD0F
+gText_SlightlyStartleAppealed:: @ 827CD0F
.string "Slightly startles those\nthat have made appeals.$"
-gContestEffect0AhDescription:: @ 827CD3F
+gText_StartleAppealedBeforeUser:: @ 827CD3F
.string "Startles the POKéMON that\nappealed before the user.$"
-gContestEffect0BhDescription:: @ 827CD73
+gText_StartleAllAppealed:: @ 827CD73
.string "Startles all POKéMON that\nhave done their appeals.$"
-gContestEffect0ChDescription:: @ 827CDA6
+gText_BadlyStartleFrontMon:: @ 827CDA6
.string "Badly startles the\nPOKéMON in front.$"
-gContestEffect0DhDescription:: @ 827CDCB
+gText_BadlyStartleAppealed:: @ 827CDCB
.string "Badly startles those that\nhave made appeals.$"
-gContestEffect0EhDescription:: @ 827CDF8
+gText_StartleAppealedBeforeUser2:: @ 827CDF8
.string "Startles the POKéMON that\nappealed before the user.$"
-gContestEffect0FhDescription:: @ 827CE2C
+gText_StartleAllAppealed2:: @ 827CE2C
.string "Startles all POKéMON that\nhave done their appeals.$"
-gContestEffect10hDescription:: @ 827CE5F
+gText_ShiftJudgesAttentionFromOthers:: @ 827CE5F
.string "Shifts the JUDGE's\nattention from others.$"
-gContestEffect11hDescription:: @ 827CE89
+gText_StartleMonHasJudgesAttention:: @ 827CE89
.string "Startles the POKéMON that\nhas the JUDGE's attention.$"
-gContestEffect12hDescription:: @ 827CEBE
+gText_JamOthersMissesTurn:: @ 827CEBE
.string "Jams the others, and misses\none turn of appeals.$"
-gContestEffect13hDescription:: @ 827CEEF
+gText_StartleMonsMadeSameTypeAppeal:: @ 827CEEF
.string "Startles POKéMON that\nmade a same-type appeal.$"
-gContestEffect14hDescription:: @ 827CF1E
+gText_BadlyStartleCoolAppeals:: @ 827CF1E
.string "Badly startles POKéMON\nthat made COOL appeals.$"
-gContestEffect15hDescription:: @ 827CF4D
+gText_BadlyStartleBeautyAppeals:: @ 827CF4D
.string "Badly startles POKéMON\nthat made BEAUTY appeals.$"
-gContestEffect16hDescription:: @ 827CF7E
+gText_BadlyStartleCuteAppeals:: @ 827CF7E
.string "Badly startles POKéMON\nthat made CUTE appeals.$"
-gContestEffect17hDescription:: @ 827CFAD
+gText_BadlyStartleSmartAppeals:: @ 827CFAD
.string "Badly startles POKéMON\nthat made SMART appeals.$"
-gContestEffect18hDescription:: @ 827CFDD
+gText_BadlyStartleToughAppeals:: @ 827CFDD
.string "Badly startles POKéMON\nthat made TOUGH appeals.$"
-gContestEffect19hDescription:: @ 827D00D
+gText_MakeMonAfterUserNervous:: @ 827D00D
.string "Makes one POKéMON after\nthe user nervous.$"
-gContestEffect1AhDescription:: @ 827D037
+gText_MakeAllMonsAfterUserNervous:: @ 827D037
.string "Makes all POKéMON after\nthe user nervous.$"
-gContestEffect1BhDescription:: @ 827D061
+gText_WorsenConditionOfThoseMadeAppeals:: @ 827D061
.string "Worsens the condition of\nthose that made appeals.$"
-gContestEffect1ChDescription:: @ 827D093
+gText_BadlyStartleMonsGoodCondition:: @ 827D093
.string "Badly startles POKéMON in\ngood condition.$"
-gContestEffect1DhDescription:: @ 827D0BD
+gText_AppealGreatIfPerformedFirst:: @ 827D0BD
.string "The appeal works great if\nperformed first.$"
-gContestEffect1EhDescription:: @ 827D0E8
+gText_AppealGreatIfPerformedLast:: @ 827D0E8
.string "The appeal works great if\nperformed last.$"
-gContestEffect1FhDescription:: @ 827D112
+gText_AppealAsGoodAsThoseBeforeIt:: @ 827D112
.string "Makes the appeal as good\nas those before it.$"
-gContestEffect20hDescription:: @ 827D13F
+gText_AppealAsGoodAsOneBeforeIt:: @ 827D13F
.string "Makes the appeal as good\nas the one before it.$"
-gContestEffect21hDescription:: @ 827D16E
+gText_AppealBetterLaterItsPerformed:: @ 827D16E
.string "The appeal works better\nthe later it is performed.$"
-gContestEffect22hDescription:: @ 827D1A1
+gText_AppealVariesDependingOnTiming:: @ 827D1A1
.string "The appeal's quality varies\ndepending on its timing.$"
-gContestEffect23hDescription:: @ 827D1D6
+gText_WorksWellIfSameTypeAsBefore:: @ 827D1D6
.string "Works well if it's the same\ntype as the one before.$"
-gContestEffect24hDescription:: @ 827D20A
+gText_WorksWellIfDifferentTypeAsBefore:: @ 827D20A
.string "Works well if different in\ntype than the one before.$"
-gContestEffect25hDescription:: @ 827D23F
+gText_AffectedByAppealInFront:: @ 827D23F
.string "Affected by how well the\nappeal in front goes.$"
-gContestEffect26hDescription:: @ 827D26E
+gText_UpsConditionHelpsPreventNervousness:: @ 827D26E
.string "Ups the user's condition.\nHelps prevent nervousness.$"
-gContestEffect27hDescription:: @ 827D2A3
+gText_AppealWorksWellIfConditionGood:: @ 827D2A3
.string "The appeal works well if the\nuser's condition is good.$"
-gContestEffect28hDescription:: @ 827D2DA
+gText_NextAppealMadeEarlier:: @ 827D2DA
.string "The next appeal can be\nmade earlier next turn.$"
-gContestEffect29hDescription:: @ 827D309
+gText_NextAppealMadeLater:: @ 827D309
.string "The next appeal can be\nmade later next turn.$"
-gContestEffect2AhDescription:: @ 827D336
+gText_TurnOrderMoreEasilyScrambled:: @ 827D336
.string "Makes the next turn's order\nmore easily scrambled.$"
-gContestEffect2BhDescription:: @ 827D369
+gText_ScrambleOrderOfNextAppeals:: @ 827D369
.string "Scrambles the order of\nappeals on the next turn.$"
-gContestEffect2ChDescription:: @ 827D39A
+gText_AppealExcitesAudienceInAnyContest:: @ 827D39A
.string "An appeal that excites the\naudience in any CONTEST.$"
-gContestEffect2DhDescription:: @ 827D3CE
+gText_BadlyStartlesMonsGoodAppeals:: @ 827D3CE
.string "Badly startles all POKéMON\nthat made good appeals.$"
-gContestEffect2EhDescription:: @ 827D401
+gText_AppealBestMoreCrowdExcited:: @ 827D401
.string "The appeal works best the\nmore the crowd is excited.$"
-gContestEffect2FhDescription:: @ 827D436
+gText_TemporarilyStopCrowdExcited:: @ 827D436
.string "Temporarily stops the\ncrowd from growing excited.$"
-@ unused move names
+@ Unused move names
-gUnusedContestMoveName0:: @ 827D468
+gText_RainDance:: @ 827D468
.string "RAIN DANCE$"
-gUnusedContestMoveName1:: @ 827D473
+gText_Rage:: @ 827D473
.string "RAGE$"
-gUnusedContestMoveName2:: @ 827D478
+gText_FocusEnergy:: @ 827D478
.string "FOCUS ENERGY$"
-gUnusedContestMoveName3:: @ 827D485
+gText_Hypnosis:: @ 827D485
.string "HYPNOSIS$"
-gUnusedContestMoveName4:: @ 827D48E
+gText_Softboiled:: @ 827D48E
.string "SOFTBOILED$"
-gUnusedContestMoveName5:: @ 827D499
+gText_HornAttack:: @ 827D499
.string "HORN ATTACK$"
-gUnusedContestMoveName6:: @ 827D4A5
+gText_SwordsDance:: @ 827D4A5
.string "SWORDS DANCE$"
-gUnusedContestMoveName7:: @ 827D4B2
+gText_Conversion:: @ 827D4B2
.string "CONVERSION$"
-gUnusedContestMoveName8:: @ 827D4BD
+gText_SunnyDay:: @ 827D4BD
.string "SUNNY DAY$"
-gUnusedContestMoveName9:: @ 827D4C7
+gText_Rest2:: @ 827D4C7
.string "REST$"
-gUnusedContestMoveName10:: @ 827D4CC
+gText_Vicegrip:: @ 827D4CC
.string "VICEGRIP$"
-gUnusedContestMoveName11:: @ 827D4D5
+gText_DefenseCurl:: @ 827D4D5
.string "DEFENSE CURL$"
-gUnusedContestMoveName12:: @ 827D4E2
+gText_LockOn:: @ 827D4E2
.string "LOCK-ON$"
-@ contest type names
+@ Contest type names
gContestMoveTypeCoolText:: @ 827D4EA
.string "COOL$"
@@ -202,434 +202,441 @@ gContestMoveTypeSmartText:: @ 827D4FB
gContestMoveTypeToughText:: @ 827D501
.string "TOUGH$"
-gText_0827D507:: @ 827D507
+gText_AppealNumWhichMoveWillBePlayed:: @ 827D507
.string "Appeal no. {STR_VAR_1}!\n"
.string "Which move will be played?$"
-gText_0827D531:: @ 827D531
+gText_AppealNumButItCantParticipate:: @ 827D531
.string "Appeal no. {STR_VAR_1}!\n"
.string "But it can't participate!$"
-gText_0827D55A:: @ 827D55A
+gText_MonAppealedWithMove:: @ 827D55A
.string "{STR_VAR_1} appealed with\n"
.string "{STR_VAR_2}!$"
-gText_0827D56F:: @ 827D56F
+gText_MonWasWatchingOthers:: @ 827D56F
.string "{STR_VAR_1} was watching\n"
.string "the others.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827D597:: @ 827D597
+gText_AllOutOfAppealTime:: @ 827D597
.string "We're all out of\n"
.string "Appeal Time!{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827D5C1:: @ 827D5C1
+@ Unused appeal result texts
+
+gText_ButAppealWasJammed:: @ 827D5C1
.string "But the appeal was\n"
.string "jammed.$"
-gText_0827D5DC:: @ 827D5DC
+gText_FollowedAnotherMonsLead:: @ 827D5DC
.string "It followed another\n"
.string "POKéMON's lead.$"
-gText_0827D600:: @ 827D600
+gText_ButItMessedUp:: @ 827D600
.string "But it messed up.$"
-gText_0827D612:: @ 827D612
+gText_WentBetterThanUsual:: @ 827D612
.string "It went better than\n"
.string "usual.$"
-gText_0827D62D:: @ 827D62D
+gText_JudgeLookedAwayForSomeReason:: @ 827D62D
.string "The JUDGE looked away\n"
.string "for some reason.$"
-gText_0827D654:: @ 827D654
+gText_WorkedHardToBuildOnPastMistakes:: @ 827D654
.string "It worked hard to build on\n"
.string "past mistakes.$"
-gText_0827D67E:: @ 827D67E
+gText_CantMakeAnyMoreMoves:: @ 827D67E
.string "It can't make any more\n"
.string "moves.$"
-gText_0827D69C:: @ 827D69C
+gText_WorkedFrighteninglyWell:: @ 827D69C
.string "It worked frighteningly\n"
.string "well.$"
-gText_0827D6BA:: @ 827D6BA
+gText_WorkedHardAsStandoutMon:: @ 827D6BA
.string "It worked as hard as the\n"
.string "standout POKéMON.$"
-gText_0827D6E5:: @ 827D6E5
+gText_JudgedLookedOnExpectantly:: @ 827D6E5
.string "The JUDGE looked on\n"
.string "expectantly.$"
-gText_0827D706:: @ 827D706
+gText_WorkedRatherWell:: @ 827D706
.string "It worked rather well.$"
-gText_0827D71D:: @ 827D71D
+gText_WorkedLittleBetterThanUsual:: @ 827D71D
.string "It worked a little better\n"
.string "than usual.$"
-gText_0827D743:: @ 827D743
+@ Round result texts
+
+gText_MonFailedToStandOutAtAll:: @ 827D743
.string "{STR_VAR_1} failed to\n"
.string "stand out at all…{PAUSE_UNTIL_PRESS}$"
-gText_0827D764:: @ 827D764
+gText_MonDidntStandOutVeryMuch:: @ 827D764
.string "{STR_VAR_1} didn't stand\n"
.string "out very much…{PAUSE_UNTIL_PRESS}$"
-gText_0827D785:: @ 827D785
+gText_MonCaughtALittleAttention:: @ 827D785
.string "{STR_VAR_1} caught a\n"
.string "little attention.{PAUSE_UNTIL_PRESS}$"
-gText_0827D7A5:: @ 827D7A5
+gText_MonAttractedALotOfAttention:: @ 827D7A5
.string "{STR_VAR_1} attracted a\n"
.string "lot of attention.{PAUSE_UNTIL_PRESS}$"
-gText_0827D7C8:: @ 827D7C8
+gText_MonCommandedTotalAttention:: @ 827D7C8
.string "{STR_VAR_1} commanded\n"
.string "total attention.{PAUSE_UNTIL_PRESS}$"
-gText_0827D7E8:: @ 827D7E8
+gText_MonHasntMadeItsAppeal:: @ 827D7E8
.string "{STR_VAR_1} hasn't made\n"
.string "its appeal.{PAUSE_UNTIL_PRESS}$"
-gText_0827D805:: @ 827D805
+@ Unused
+gText_AnticipationSwelledForMonsAppealNext2:: @ 827D805
.string "Anticipation swelled for\n"
.string "{STR_VAR_1}'s appeal next.$"
-gText_0827D830:: @ 827D830
+gText_EmptyContestString:: @ 827D830
.string "$"
-gText_0827D831:: @ 827D831
+gText_JudgesViewsOnMonHeldFirm:: @ 827D831
.string "The JUDGE 's views on\n"
.string "{STR_VAR_1} held firm.$"
-gText_0827D855:: @ 827D855
+gText_MonsXChangedPerceptions:: @ 827D855
.string "{STR_VAR_1}'s {STR_VAR_3}\n"
.string "changed perceptions.$"
-gText_0827D872:: @ 827D872
+gText_MonsAppealEffectWoreOff:: @ 827D872
.string "{STR_VAR_1}'s appeal\n"
.string "effect wore off.$"
-gText_0827D88F:: @ 827D88F
+gText_SpecialAppealsEffectWoreOff:: @ 827D88F
.string "The special appeal's\n"
.string "effect wore off.$"
-gText_0827D8B5:: @ 827D8B5
+gText_EveryonesAppealsMadeToLookSame:: @ 827D8B5
.string "Everyone's appeals were\n"
.string "made to look the same.$"
-gText_0827D8E4:: @ 827D8E4
+gText_CheapenedMonsAppeal:: @ 827D8E4
.string "It cheapened\n"
.string "{STR_VAR_2}'s appeal.$"
-gText_0827D8FE:: @ 827D8FE
+gText_CheapenedAppealOfThoseAhead:: @ 827D8FE
.string "It cheapened the appeal\n"
.string "of those ahead.$"
-gText_0827D926:: @ 827D926
+gText_StoleAttentionAwayFromMon:: @ 827D926
.string "It stole attention away\n"
.string "from {STR_VAR_2}.$"
-gText_0827D947:: @ 827D947
+gText_CheapenedMonsAppeal2:: @ 827D947
.string "It cheapened\n"
.string "{STR_VAR_2}'s appeal.$"
-gText_0827D961:: @ 827D961
+gText_SeverelyCheapenedOtherAppeals:: @ 827D961
.string "It severely cheapened\n"
.string "other appeals.$"
-gText_0827D986:: @ 827D986
+gText_AnticipationSwelledForMonsAppealNext:: @ 827D986
.string "Anticipation swelled for\n"
.string "{STR_VAR_1}'s appeal next.$"
-gText_0827D9B1:: @ 827D9B1
+gText_CheapenedAppealOfThoseAhead2:: @ 827D9B1
.string "It cheapened the appeal\n"
.string "of those ahead.$"
-gText_0827D9D9:: @ 827D9D9
+gText_CheapenedJudgesFavoriteAppeal:: @ 827D9D9
.string "It cheapened the JUDGE's\n"
.string "favorite appeal.$"
-gText_0827DA03:: @ 827DA03
+gText_AppealsOfOthersCheapenedByHalf:: @ 827DA03
.string "The appeals of others\n"
.string "were cheapened by half.$"
-gText_0827DA31:: @ 827DA31
+gText_StoodOutToMakeUpForBeingJammed:: @ 827DA31
.string "It stood out to make up\n"
.string "for being jammed.$"
-gText_0827DA5B:: @ 827DA5B
+gText_CantParticipateInAppealsAnyMore:: @ 827DA5B
.string "It can't participate in\n"
.string "appeals any more.$"
-gText_0827DA85:: @ 827DA85
+gText_TouchedJudgeForFantasticAppeal:: @ 827DA85
.string "It touched the JUDGE for\n"
.string "a fantastic appeal.$"
-gText_0827DAB2:: @ 827DAB2
+gText_AnticipationRoseForUpcomingAppeals:: @ 827DAB2
.string "Anticipation rose for\n"
.string "upcoming appeals.$"
-gText_0827DADA:: @ 827DADA
+gText_StoodOutAsMuchAsSpecialAppeals:: @ 827DADA
.string "It stood out as much as\n"
.string "special appeals.$"
-gText_0827DB03:: @ 827DB03
+gText_StoodOutAsMuchAsMon:: @ 827DB03
.string "It stood out as much as\n"
.string "{STR_VAR_1}.$"
-gText_0827DB1F:: @ 827DB1F
+gText_JammedAppealsMadeEvenLessNoticeable:: @ 827DB1F
.string "Jammed appeals were made\n"
.string "even less noticeable.$"
-gText_0827DB4E:: @ 827DB4E
+gText_EveryonesAppealsMadeSame:: @ 827DB4E
.string "Everyone's appeals were\n"
.string "made the same.$"
-gText_827DB75:: @ 827DB75
+@ Appeal result texts
+
+gText_BecameMoreConsciousOfOtherMons:: @ 827DB75
.string "It became more conscious\n"
.string "of the other POKéMON.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DBB0:: @ 827DBB0
+gText_MonCantMakeAnAppealAfterThis:: @ 827DBB0
.string "{STR_VAR_1} can't make an\n"
.string "appeal after this.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DBE0:: @ 827DBE0
+gText_SettledDownJustLittleBit:: @ 827DBE0
.string "It settled down just a\n"
.string "little bit.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DC0F:: @ 827DC0F
+gText_BecameObliviousToOtherMons:: @ 827DC0F
.string "It became oblivious to\n"
.string "the other POKéMON.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DC45:: @ 827DC45
+gText_BecameLessAwareOfOtherMons:: @ 827DC45
.string "It became less aware of\n"
.string "the other POKéMON.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DC7C:: @ 827DC7C
+gText_StoppedCaringAboutOtherMons:: @ 827DC7C
.string "It stopped caring about\n"
.string "other POKéMON much.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DCB4:: @ 827DCB4
+gText_TriedToStartleOtherMons:: @ 827DCB4
.string "It tried to startle the\n"
.string "other POKéMON.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DCE7:: @ 827DCE7
+gText_TriedToDazzleOthers:: @ 827DCE7
.string "It tried to dazzle the\n"
.string "others.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DD12:: @ 827DD12
+gText_JudgeLookedAwayFromMon:: @ 827DD12
.string "The JUDGE looked away\n"
.string "from {STR_VAR_1}.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DD3D:: @ 827DD3D
+gText_TriedToUnnerveNextMon:: @ 827DD3D
.string "It tried to unnerve the\n"
.string "next POKéMON.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DD6F:: @ 827DD6F
+gText_MonBecameNervous:: @ 827DD6F
.string "{STR_VAR_1} became\n"
.string "nervous.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DD8E:: @ 827DD8E
+gText_AppealTriedToUnnerveWaitingMons:: @ 827DD8E
.string "The appeal tried to\n"
.string "unnerve waiting POKéMON.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DDC7:: @ 827DDC7
+gText_TauntedMonsDoingWell:: @ 827DDC7
.string "It taunted POKéMON\n"
.string "doing well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DDF2:: @ 827DDF2
+gText_MonRegainedItsForm:: @ 827DDF2
.string "{STR_VAR_1} regained its\n"
.string "form.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DE14:: @ 827DE14
+gText_TriedToJamMonDoingWell:: @ 827DE14
.string "It tried to jam POKéMON\n"
.string "doing well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DE44:: @ 827DE44
+gText_StandoutMonHustledEvenMore:: @ 827DE44
.string "The standout {STR_VAR_1}\n"
.string "hustled even more.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DE73:: @ 827DE73
+gText_LargelyUnnoticedMonWorkedHard:: @ 827DE73
.string "The largely unnoticed\n"
.string "{STR_VAR_1} worked hard.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DEA5:: @ 827DEA5
+gText_WorkedAsMuchAsMonBefore:: @ 827DEA5
.string "It worked as much as\n"
.string "POKéMON before it.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DED9:: @ 827DED9
+gText_MonsAppealDidNotGoWell:: @ 827DED9
.string "{STR_VAR_1}'s appeal did\n"
.string "not go well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DF02:: @ 827DF02
+gText_WorkedAsMuchAsPrecedingMon:: @ 827DF02
.string "It worked as much as the\n"
.string "preceding POKéMON.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DF3A:: @ 827DF3A
+gText_MonsAppealDidNotGoWell2:: @ 827DF3A
.string "{STR_VAR_1}'s appeal did\n"
.string "not go well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DF63:: @ 827DF63
+gText_MonsAppealDidNotGoWell3:: @ 827DF63
.string "{STR_VAR_1}'s appeal did\n"
.string "not go well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DF8C:: @ 827DF8C
+gText_MonsAppealWentSlightlyWell:: @ 827DF8C
.string "{STR_VAR_1}'s appeal\n"
.string "went slightly well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DFB8:: @ 827DFB8
+gText_MonsAppealWentPrettyWell:: @ 827DFB8
.string "{STR_VAR_1}'s appeal\n"
.string "went pretty well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827DFE2:: @ 827DFE2
+gText_MonsAppealWentExcellently:: @ 827DFE2
.string "{STR_VAR_1}'s appeal\n"
.string "went excellently.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E00C:: @ 827E00C
+gText_MonsAppealWasDud:: @ 827E00C
.string "{STR_VAR_1}'s appeal was\n"
.string "a dud.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E02F:: @ 827E02F
+gText_MonsAppealDidNotWorkVeryWell:: @ 827E02F
.string "{STR_VAR_1}'s appeal did\n"
.string "not work very well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E05F:: @ 827E05F
+gText_MonsAppealWentSlightlyWell2:: @ 827E05F
.string "{STR_VAR_1}'s appeal\n"
.string "went slightly well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E08B:: @ 827E08B
+gText_MonsAppealWentPrettyWell2:: @ 827E08B
.string "{STR_VAR_1}'s appeal\n"
.string "went pretty well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E0B5:: @ 827E0B5
+gText_MonsAppealWentVeryWell:: @ 827E0B5
.string "{STR_VAR_1}'s appeal\n"
.string "went very well.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E0DD:: @ 827E0DD
+gText_MonsAppealWentExcellently2:: @ 827E0DD
.string "{STR_VAR_1}'s appeal\n"
.string "went excellently.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E107:: @ 827E107
+gText_SameTypeAsOneBeforeGood:: @ 827E107
.string "It's the same type as the\n"
.string "POKéMON before--good!{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E143:: @ 827E143
+gText_NotSameTypeAsOneBeforeGood:: @ 827E143
.string "It's not the same type as\n"
.string "the one before--good!{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E17F:: @ 827E17F
+gText_StoodOutMuchMoreThanMonBefore:: @ 827E17F
.string "It stood out much more\n"
.string "than the POKéMON before.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E1BB:: @ 827E1BB
+gText_DidntDoAsWellAsMonBefore:: @ 827E1BB
.string "It didn't do as well as the\n"
.string "POKéMON before.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E1F3:: @ 827E1F3
+gText_MonsConditionRoseAboveUsual:: @ 827E1F3
.string "{STR_VAR_1}'s condition\n"
.string "rose above usual.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E220:: @ 827E220
+gText_MonsHotStatusMadeGreatAppeal:: @ 827E220
.string "{STR_VAR_1}'s hot status\n"
.string "made it a great appeal!{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E254:: @ 827E254
+gText_MovedUpInLineForNextAppeal:: @ 827E254
.string "It moved up in line for\n"
.string "the next appeal.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E289:: @ 827E289
+gText_MovedBackInLineForNextAppeal:: @ 827E289
.string "It moved back in line once\n"
.string "for the next appeal.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_827E2C5:: @ 827E2C5
+gText_ScrambledUpOrderForNextTurn:: @ 827E2C5
.string "It scrambled up the\n"
.string "order for the next turn.{PAUSE 15}{PAUSE 15}{PAUSE 15}{PAUSE 15}$"
-gText_0827E2FE:: @ 827E2FE
+gText_JudgeLookedAtMonExpectantly:: @ 827E2FE
.string "The JUDGE looked at\n"
.string "{STR_VAR_1} expectantly.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E32E:: @ 827E32E
+gText_AppealComboWentOverWell:: @ 827E32E
.string "The appeal combo went\n"
.string "over well.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E35B:: @ 827E35B
+gText_AppealComboWentOverVeryWell:: @ 827E35B
.string "The appeal combo went\n"
.string "over very well.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E38D:: @ 827E38D
+gText_AppealComboWentOverExcellently:: @ 827E38D
.string "The appeal combo went\n"
.string "over excellently.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E3C1:: @ 827E3C1
+gText_MonManagedToAvertGaze:: @ 827E3C1
.string "{STR_VAR_1} managed to\n"
.string "avert its gaze.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E3EB:: @ 827E3EB
+gText_MonManagedToAvoidSeeingIt:: @ 827E3EB
.string "{STR_VAR_1} managed to\n"
.string "avoid seeing it.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E416:: @ 827E416
+gText_MonIsntFazedByThatSortOfThing:: @ 827E416
.string "{STR_VAR_1} isn't fazed\n"
.string "by that sort of thing.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E448:: @ 827E448
+gText_MonBecameALittleDistracted:: @ 827E448
.string "{STR_VAR_1} became a\n"
.string "little distracted.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E473:: @ 827E473
+gText_TriedToStartleOtherPokemon:: @ 827E473
.string "It tried to startle the\n"
.string "other POKéMON.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E4A6:: @ 827E4A6
+gText_MonLookedDownOutOfDistraction:: @ 827E4A6
.string "{STR_VAR_1} looked down\n"
.string "out of distraction.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E4D5:: @ 827E4D5
+gText_MonTurnedBackOutOfDistraction:: @ 827E4D5
.string "{STR_VAR_1} turned back\n"
.string "out of distraction.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E504:: @ 827E504
+gText_MonCouldntHelpUtteringCry:: @ 827E504
.string "{STR_VAR_1} couldn't help\n"
.string "uttering a cry.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E531:: @ 827E531
+gText_MonCouldntHelpLeapingUp:: @ 827E531
.string "{STR_VAR_1} couldn't help\n"
.string "leaping up.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E55A:: @ 827E55A
+gText_MonTrippedOutOfDistraction:: @ 827E55A
.string "{STR_VAR_1} tripped over\n"
.string "out of distraction.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E58A:: @ 827E58A
+gText_MonWasTooNervousToMove:: @ 827E58A
.string "{STR_VAR_1} was too\n"
.string "nervous to move.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E5B2:: @ 827E5B2
+gText_ButItMessedUp2:: @ 827E5B2
.string "But it messed up.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E5D0:: @ 827E5D0
+gText_ButItFailedToMakeTargetNervous:: @ 827E5D0
.string "But it failed to make\n"
.string "the target nervous.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E606:: @ 827E606
+gText_ButItFailedToMakeAnyoneNervous:: @ 827E606
.string "But it failed to make\n"
.string "anyone nervous.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E638:: @ 827E638
+gText_ButItWasIgnored:: @ 827E638
.string "But it was ignored…{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E658:: @ 827E658
+gText_CouldntImproveItsCondition:: @ 827E658
.string "But it couldn't improve\n"
.string "its condition…{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E68B:: @ 827E68B
+gText_BadConditionResultedInWeakAppeal:: @ 827E68B
.string "Its bad condition\n"
.string "resulted in a weak appeal.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E6C4:: @ 827E6C4
+gText_MonWasUnaffected:: @ 827E6C4
.string "{STR_VAR_1} was\n"
.string "unaffected.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
@@ -637,31 +644,31 @@ gText_RepeatedAppeal:: @ 827E6E3
.string "{STR_VAR_1} disappointed\n"
.string "by repeating an appeal.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E717:: @ 827E717
+gText_MonsXWentOverGreat:: @ 827E717
.string "{STR_VAR_1}'s {STR_VAR_3}\n"
.string "went over great.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E73C:: @ 827E73C
+gText_MonsXDidntGoOverWell:: @ 827E73C
.string "{STR_VAR_1}'s {STR_VAR_3}\n"
.string "didn't go over well here…{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E76A:: @ 827E76A
+gText_MonsXGotTheCrowdGoing:: @ 827E76A
.string "{STR_VAR_1}'s {STR_VAR_3}\n"
.string "got the crowd going.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E793:: @ 827E793
+gText_MonCantAppealNextTurn:: @ 827E793
.string "{STR_VAR_1} can't appeal\n"
.string "next turn…{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E7BA:: @ 827E7BA
+gText_AttractedCrowdsAttention:: @ 827E7BA
.string "It attracted the crowd's\n"
.string "attention.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E7EA:: @ 827E7EA
+gText_CrowdContinuesToWatchMon:: @ 827E7EA
.string "The crowd continues to\n"
.string "watch {STR_VAR_3}.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E817:: @ 827E817
+gText_MonsMoveIsIgnored:: @ 827E817
.string "{STR_VAR_1}'s\n"
.string "{STR_VAR_2} is ignored.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
@@ -680,38 +687,39 @@ gText_Contest_Hesitancy:: @ 827E850
gText_Contest_Fear:: @ 827E85A
.string "fear$"
-gText_0827E85F:: @ 827E85F
+gText_Contest_Coolness:: @ 827E85F
.string "coolness$"
-gText_0827E868:: @ 827E868
+gText_Contest_Beauty:: @ 827E868
.string "beauty$"
-gText_0827E86F:: @ 827E86F
+gText_Contest_Cuteness:: @ 827E86F
.string "cuteness$"
-gText_0827E878:: @ 827E878
+gText_Contest_Smartness:: @ 827E878
.string "smartness$"
-gText_0827E882:: @ 827E882
+gText_Contest_Toughness:: @ 827E882
.string "toughness$"
-gText_0827E88C:: @ 827E88C
+@ Unused
+gText_Tension:: @ 827E88C
.string "TENSION$"
-gText_0827E894:: @ 827E894
+gText_CoolMove:: @ 827E894
.string "COOL Move$"
-gText_0827E89E:: @ 827E89E
+gText_BeautyMove:: @ 827E89E
.string "BEAUTY Move$"
-gText_0827E8AA:: @ 827E8AA
+gText_CuteMove:: @ 827E8AA
.string "CUTE Move$"
-gText_0827E8B4:: @ 827E8B4
+gText_SmartMove:: @ 827E8B4
.string "SMART Move$"
-gText_0827E8BF:: @ 827E8BF
+gText_ToughMove:: @ 827E8BF
.string "TOUGH Move$"
-gText_0827E8CA:: @ 827E8CA
+gText_3QuestionMarks:: @ 827E8CA
.string "???$"
diff --git a/data/text/trainers.inc b/data/text/trainers.inc
index 3e835ccd1..9e971b223 100644
--- a/data/text/trainers.inc
+++ b/data/text/trainers.inc
@@ -245,185 +245,185 @@ Route103_Text_MarcosPostBattle: @ 8295246
.string "have gathered.\p"
.string "Heh, maybe I should turn pro.$"
-Route104_Text_2952BB: @ 82952BB
+Route104_Text_GinaIntro: @ 82952BB
.string "GINA: Okay, let's battle with our\n"
.string "POKéMON!$"
-Route104_Text_2952E6: @ 82952E6
+Route104_Text_GinaDefeat: @ 82952E6
.string "GINA: Losing upsets me!$"
-Route104_Text_2952FE: @ 82952FE
+Route104_Text_GinaPostBattle: @ 82952FE
.string "GINA: You are strong!\n"
.string "We have to train lots more!$"
-Route104_Text_295330: @ 8295330
+Route104_Text_GinaNotEnoughMons: @ 8295330
.string "GINA: Oh? Only one POKéMON?\n"
.string "Then, we don't battle with you.\p"
.string "If there's only one POKéMON, it will\n"
.string "be lonesome. That's not nice.$"
-Route104_Text_2953AF: @ 82953AF
+Route104_Text_MiaIntro: @ 82953AF
.string "MIA: We are twins, so we battle\n"
.string "POKéMON together.$"
-Route104_Text_2953E1: @ 82953E1
+Route104_Text_MiaDefeat: @ 82953E1
.string "MIA: We battled together, but we\n"
.string "both lost…$"
-Route104_Text_29540D: @ 829540D
+Route104_Text_MiaPostBattle: @ 829540D
.string "MIA: We will train our POKéMON more\n"
.string "and be strong like you.$"
-Route104_Text_295449: @ 8295449
+Route104_Text_MiaNotEnoughMons: @ 8295449
.string "MIA: You want to battle with us?\p"
.string "It's a big no-no if you don't have two\n"
.string "POKéMON with you.\l"
.string "We're too strong for you!$"
-Route104_Text_2954BD: @ 82954BD
+Route104_Text_IvanIntro: @ 82954BD
.string "Why keep it a secret?\n"
.string "I'm the WATER POKéMON expert!\p"
.string "Huh?\n"
.string "You don't know me?$"
-Route104_Text_295509: @ 8295509
+Route104_Text_IvanDefeat: @ 8295509
.string "I thought I wasn't too bad, if I may\n"
.string "say so, but I guess not… Bleah…$"
-Route104_Text_29554E: @ 829554E
+Route104_Text_IvanPostBattle: @ 829554E
.string "I got too into fishing.\n"
.string "I forgot I had to raise my POKéMON…$"
-Route104_Text_29558A: @ 829558A
+Route104_Text_BillyIntro: @ 829558A
.string "Leaving footprints in the sand is\n"
.string "so fun!$"
-Route104_Text_2955B4: @ 82955B4
+Route104_Text_BillyDefeat: @ 82955B4
.string "Waah! I got sand in my runners!\n"
.string "They're all gritty!$"
-Route104_Text_2955E8: @ 82955E8
+Route104_Text_BillyPostBattle: @ 82955E8
.string "I want to leave my footprints in\n"
.string "the sand everywhere, but they\l"
.string "disappear quickly…$"
-Route104_Text_29563A: @ 829563A
+Route104_Text_HaleyIntro: @ 829563A
.string "Should I…\n"
.string "Or shouldn't I?\p"
.string "Okay, sure, I will battle!$"
-Route104_Text_29566F: @ 829566F
+Route104_Text_HaleyDefeat: @ 829566F
.string "I shouldn't have battled…$"
-Route104_Text_295689: @ 8295689
+Route104_Text_HaleyPostBattle: @ 8295689
.string "If you're faced with a decision and\n"
.string "you let someone else choose for you,\l"
.string "you will regret it, however things\l"
.string "turn out.$"
-Route104_Text_2956FF: @ 82956FF
+Route104_Text_HaleyRegister1: @ 82956FF
.string "You're strong, but should I register\n"
.string "you in my POKéNAV?\l"
.string "Maybe I shouldn't…\p"
.string "Okay, sure, I will register you!$"
-Route104_Text_29576B: @ 829576B
+Route104_Text_HaleyRegister2: @ 829576B
.string "You're strong, but should I register\n"
.string "you in my POKéNAV?\l"
.string "Maybe I shouldn't…\p"
.string "Okay, sure, I will register you!$"
-Route104_Text_2957D7: @ 82957D7
+Route104_Text_HaleyRematchIntro: @ 82957D7
.string "Come on, battle with me!$"
-Route104_Text_2957F0: @ 82957F0
+Route104_Text_HaleyRematchDefeat: @ 82957F0
.string "Ohh…\n"
.string "I thought I could win…$"
-Route104_Text_29580C: @ 829580C
+Route104_Text_HaleyPostRematch: @ 829580C
.string "I made the decision to battle, so\n"
.string "I can accept this loss with grace.\p"
.string "I am still upset about losing!$"
-Route104_Text_295870: @ 8295870
+Route104_Text_WinstonIntro: @ 8295870
.string "Oh, sure, I'll accept your challenge.\n"
.string "I have a lot of money.$"
-Route104_Text_2958AD: @ 82958AD
+Route104_Text_WinstonDefeat: @ 82958AD
.string "Why couldn't I win?$"
-Route104_Text_2958C1: @ 82958C1
+Route104_Text_WinstonPostBattle: @ 82958C1
.string "There are some things money can't buy.\n"
.string "That's POKéMON…$"
-Route104_Text_2958F8: @ 82958F8
+Route104_Text_WinstonRegister1: @ 82958F8
.string "Hm?\n"
.string "Ah, you've obtained a POKéNAV.\p"
.string "I will gladly register you.\n"
.string "After all, I have plenty of money.$"
-Route104_Text_29595A: @ 829595A
+Route104_Text_WinstonRegister2: @ 829595A
.string "Hm?\n"
.string "Ah, you've obtained a POKéNAV.\p"
.string "I will gladly register you.\n"
.string "After all, I have plenty of money.$"
-Route104_Text_2959BC: @ 82959BC
+Route104_Text_WinstonRematchIntro: @ 82959BC
.string "After I lost to you, I learned a bunch\n"
.string "of things about POKéMON.$"
-Route104_Text_2959FC: @ 82959FC
+Route104_Text_WinstonRematchDefeat: @ 82959FC
.string "I lost again?\n"
.string "Why couldn't I win?$"
-Route104_Text_295A1E: @ 8295A1E
+Route104_Text_WinstonPostRematch: @ 8295A1E
.string "I'm fabulously wealthy, but I can't\n"
.string "seem to win at POKéMON…\p"
.string "It's so deep, the world of POKéMON…$"
-Route104_Text_295A7E: @ 8295A7E
+Route104_Text_CindyIntro: @ 8295A7E
.string "We must have been fated to meet.\n"
.string "May I ask you for a battle?$"
-Route104_Text_295ABB: @ 8295ABB
+Route104_Text_CindyDefeat: @ 8295ABB
.string "Oh, my!$"
-Route104_Text_295AC3: @ 8295AC3
+Route104_Text_CindyPostBattle: @ 8295AC3
.string "“Hello” is the beginning of “good-bye.”\n"
.string "I hope we meet again.$"
-Route104_Text_295B01: @ 8295B01
+Route104_Text_CindyRegister1: @ 8295B01
.string "Hello, we meet again.\p"
.string "We seem to be drawn together. Let's\n"
.string "register each other in our POKéNAVS.$"
-Route104_Text_295B60: @ 8295B60
+Route104_Text_CindyRegister2: @ 8295B60
.string "We should commemorate how we seem\n"
.string "to be drawn to each other.\p"
.string "Let's register each other in our\n"
.string "POKéNAVS.$"
-Route104_Text_295BC8: @ 8295BC8
+Route104_Text_CindyRematchIntro: @ 8295BC8
.string "Hello, we meet again.\n"
.string "May I ask you for a battle?$"
-Route104_Text_295BFA: @ 8295BFA
+Route104_Text_CindyRematchDefeat: @ 8295BFA
.string "Oh, my…\n"
.string "I did the best that I could…$"
-Route104_Text_295C1F: @ 8295C1F
+Route104_Text_CindyPostRematch: @ 8295C1F
.string "“Hello” is the beginning of “good-bye.”\n"
.string "I hope we meet again.$"
-Route104_Text_295C5D: @ 8295C5D
+Route104_Text_DarianIntro: @ 8295C5D
.string "I fished up a tough-looking POKéMON!\p"
.string "It has this magical quality to it!\n"
.string "It surely looks tough, yes it does!$"
-Route104_Text_295CC9: @ 8295CC9
+Route104_Text_DarianDefeat: @ 8295CC9
.string "What the…$"
-Route104_Text_295CD3: @ 8295CD3
+Route104_Text_DarianPostBattle: @ 8295CD3
.string "Hey, MAGIKARP, you sure don't live up\n"
.string "to your name, do you?$"
@@ -1232,91 +1232,91 @@ Route110_Text_KalebPostBattle: @ 8298755
.string "Okay, okay, you've done the best you\n"
.string "could, my pretties.$"
-Route111_Text_29878E: @ 829878E
+Route111_Text_DrewIntro: @ 829878E
.string "Oh, hey! Those GO-GOGGLES suit you.\n"
.string "But I think they look better on me.\p"
.string "Let's decide who they look better on\n"
.string "with a battle!$"
-Route111_Text_29880A: @ 829880A
+Route111_Text_DrewDefeat: @ 829880A
.string "I couldn't see what was happening at\n"
.string "my sides because of the GO-GOGGLES.$"
-Route111_Text_298853: @ 8298853
+Route111_Text_DrewPostBattle: @ 8298853
.string "The GO-GOGGLES make it possible to\n"
.string "get through sandstorms.\l"
.string "That makes me happy!$"
-Route111_Text_2988A3: @ 82988A3
+Route111_Text_HeidiIntro: @ 82988A3
.string "I'm having a picnic in the desert.\p"
.string "You can always find a TRAINER,\n"
.string "so I can enjoy a battle here, too!$"
-Route111_Text_298908: @ 8298908
+Route111_Text_HeidiDefeat: @ 8298908
.string "Ohhh! You're mean!$"
-Route111_Text_29891B: @ 829891B
+Route111_Text_HeidiPostBattle: @ 829891B
.string "When you're battling in a sandstorm,\n"
.string "watch out for your POKéMON's HP.\p"
.string "It can faint if you don't keep\n"
.string "an eye on it!$"
-Route111_Text_29898E: @ 829898E
+Route111_Text_BeauIntro: @ 829898E
.string "Wearing these GO-GOGGLES makes me\n"
.string "feel like a superhero.\l"
.string "Right now, nobody can beat me!$"
-Route111_Text_2989E6: @ 82989E6
+Route111_Text_BeauDefeat: @ 82989E6
.string "I can't win on spirit alone…$"
-Route111_Text_298A03: @ 8298A03
+Route111_Text_BeauPostBattle: @ 8298A03
.string "I'm going to be a real hero one day.\n"
.string "I'm going to work harder to make me\l"
.string "and my POKéMON stronger.$"
-Route111_Text_298A65: @ 8298A65
+Route111_Text_BeckyIntro: @ 8298A65
.string "I heard there are fossils to be found\n"
.string "in the desert. Where could they be?$"
-Route111_Text_298AAF: @ 8298AAF
+Route111_Text_BeckyDefeat: @ 8298AAF
.string "I came up short…$"
-Route111_Text_298AC0: @ 8298AC0
+Route111_Text_BeckyPostBattle: @ 8298AC0
.string "If they can find fossils in the desert,\n"
.string "it must have been a sea before.$"
-Route111_Text_298B08: @ 8298B08
+Route111_Text_DustyIntro: @ 8298B08
.string "For thirty years I have searched for\n"
.string "ancient ruins!\l"
.string "I am to be challenged?$"
-Route111_Text_298B53: @ 8298B53
+Route111_Text_DustyDefeat: @ 8298B53
.string "While I have searched for ruins,\n"
.string "I've not searched for strong POKéMON.$"
-Route111_Text_298B9A: @ 8298B9A
+Route111_Text_DustyPostBattle: @ 8298B9A
.string "For thirty years I have searched for\n"
.string "ancient ruins!\p"
.string "No, wait, was that forty years?\n"
.string "Which was it now?$"
-Route111_Text_298C00: @ 8298C00
+Route111_Text_DustyRegister: @ 8298C00
.string "I haven't been searching for any\n"
.string "tough POKéMON.\p"
.string "But, for some reason, I sure do like\n"
.string "POKéNAVS.$"
-Route111_Text_298C5F: @ 8298C5F
+Route111_Text_DustyRematchIntro: @ 8298C5F
.string "For thirty years I have searched for\n"
.string "ancient ruins!\p"
.string "No, wait, was that forty years?\n"
.string "Anyway, am I to be challenged?$"
-Route111_Text_298CD2: @ 8298CD2
+Route111_Text_DustyRematchDefeat: @ 8298CD2
.string "I've found no ruins, nor have I found\n"
.string "any strong POKéMON…$"
-Route111_Text_298D0C: @ 8298D0C
+Route111_Text_DustyPostRematch: @ 8298D0C
.string "For thirty years I have searched for\n"
.string "ancient ruins!\p"
.string "No, wait, was that forty years\n"
@@ -1324,215 +1324,215 @@ Route111_Text_298D0C: @ 8298D0C
.string "Hmm… It could even be fifty…\n"
.string "How long have I been at this?$"
-Route111_Text_298DA9: @ 8298DA9
+Route111_Text_TravisIntro: @ 8298DA9
.string "I'm full of pep!\n"
.string "And my POKéMON is peppy, too!$"
-Route111_Text_298DD8: @ 8298DD8
+Route111_Text_TravisDefeat: @ 8298DD8
.string "My POKéMON lost its pep…$"
-Route111_Text_298DF1: @ 8298DF1
+Route111_Text_TravisPostBattle: @ 8298DF1
.string "When I see a TRAINER with a lot of pep,\n"
.string "I can't help looking.$"
-Route111_Text_298E2F: @ 8298E2F
+Route111_Text_IreneIntro: @ 8298E2F
.string "I don't know where you're going,\n"
.string "but would you like to battle?$"
-Route111_Text_298E6E: @ 8298E6E
+Route111_Text_IreneDefeat: @ 8298E6E
.string "Oh, you're disgustingly good!$"
-Route111_Text_298E8C: @ 8298E8C
+Route111_Text_IrenePostBattle: @ 8298E8C
.string "I'm thinking that I should go to\n"
.string "MT. CHIMNEY, but the view around\l"
.string "here is very nice, too.$"
-Route111_Text_298EE6: @ 8298EE6
+Route111_Text_DaisukeIntro: @ 8298EE6
.string "To train myself, I challenge all\n"
.string "whom I meet!$"
-Route111_Text_298F14: @ 8298F14
+Route111_Text_DaisukeDefeat: @ 8298F14
.string "Uncle! I give up!$"
-Route111_Text_298F26: @ 8298F26
+Route111_Text_DaisukePostBattle: @ 8298F26
.string "All I can do is keep training until\n"
.string "I can defeat strong TRAINERS such\l"
.string "as yourself.$"
-Route111_Text_298F79: @ 8298F79
+Route111_Text_WiltonIntro: @ 8298F79
.string "Show me how much you've toughened\n"
.string "your POKéMON.$"
-Route111_Text_298FA9: @ 8298FA9
+Route111_Text_WiltonDefeat: @ 8298FA9
.string "I see, you've toughened them\n"
.string "considerably.$"
-Route111_Text_298FD4: @ 8298FD4
+Route111_Text_WiltonPostBattle: @ 8298FD4
.string "POKéMON and TRAINERS learn much\n"
.string "through battling.\p"
.string "What's important is to never give up\n"
.string "even if you lose.$"
-Route111_Text_29903D: @ 829903D
+Route111_Text_WiltonRegister: @ 829903D
.string "There is much to be learned from\n"
.string "your training style.\p"
.string "I request a rematch if it\n"
.string "behooves you.$"
-Route111_Text_29909B: @ 829909B
+Route111_Text_WiltonRematchIntro: @ 829909B
.string "We're training here to elevate our\n"
.string "game to the next level.\l"
.string "Stay and train with us!$"
-Route111_Text_2990EE: @ 82990EE
+Route111_Text_WiltonRematchDefeat: @ 82990EE
.string "Ooh, you're decent!$"
-Route111_Text_299102: @ 8299102
+Route111_Text_WiltonPostRematch: @ 8299102
.string "Since you're that strong, you should\n"
.string "aim for the POKéMON LEAGUE.$"
-Route111_Text_299143: @ 8299143
+Route111_Text_BrookeIntro: @ 8299143
.string "Oh, your POKéMON look like serious\n"
.string "actors.\l"
.string "I have to ask you for an engagement.$"
-Route111_Text_299193: @ 8299193
+Route111_Text_BrookeDefeat: @ 8299193
.string "They didn't just look strong,\n"
.string "they are strong!$"
-Route111_Text_2991C2: @ 82991C2
+Route111_Text_BrookePostBattle: @ 82991C2
.string "I thought I was raising my POKéMON\n"
.string "diligently, but, oh no, there is still\l"
.string "much to be done.$"
-Route111_Text_29921D: @ 829921D
+Route111_Text_BrookeRegister: @ 829921D
.string "I wish I could become friends with\n"
.string "more strong people like you!$"
-Route111_Text_29925D: @ 829925D
+Route111_Text_BrookeRematchIntro: @ 829925D
.string "You can make POKéMON stronger or\n"
.string "weaker depending on the moves you\l"
.string "teach them.\p"
.string "What kinds of moves do your POKéMON\n"
.string "know?$"
-Route111_Text_2992D6: @ 82992D6
+Route111_Text_BrookeRematchDefeat: @ 82992D6
.string "You've taught them good moves!$"
-Route111_Text_2992F5: @ 82992F5
+Route111_Text_BrookePostRematch: @ 82992F5
.string "Maybe I should have stopped my\n"
.string "POKéMON from evolving until they\l"
.string "learned better moves…$"
-Route111_Text_29934B: @ 829934B
+Route111_Text_CeliaIntro: @ 829934B
.string "I shouldn't have come to a place like\n"
.string "this for a picnic!$"
-Route111_Text_299384: @ 8299384
+Route111_Text_CeliaDefeat: @ 8299384
.string "Aww!\n"
.string "I really shouldn't have come!$"
-Route111_Text_2993A7: @ 82993A7
+Route111_Text_CeliaPostBattle: @ 82993A7
.string "In a sandstorm like this, I can't set\n"
.string "the places for a picnic even with my\l"
.string "GO-GOGGLES on…$"
-Route111_Text_299401: @ 8299401
+Route111_Text_BryanIntro: @ 8299401
.string "How tough are you?\n"
.string "We shall expose that secret!$"
-Route111_Text_299431: @ 8299431
+Route111_Text_BryanDefeat: @ 8299431
.string "Oh! Your strength!\n"
.string "It is shrouded in mystery!$"
-Route111_Text_29945F: @ 829945F
+Route111_Text_BryanPostBattle: @ 829945F
.string "This desert hoards mysteries in\n"
.string "its shifting sands!$"
-Route111_Text_299493: @ 8299493
+Route111_Text_BrandenIntro: @ 8299493
.string "I'll give you some of my sandwich\n"
.string "if you'll lose.$"
-Route111_Text_2994C5: @ 82994C5
+Route111_Text_BrandenDefeat: @ 82994C5
.string "Tch! I thought a sandwich would be\n"
.string "enough of a bribe…$"
-Route111_Text_2994FB: @ 82994FB
+Route111_Text_BrandenPostBattle: @ 82994FB
.string "My SANDSHREW loves eating\n"
.string "my sandwiches.$"
-Route111_Text_299524: @ 8299524
+Route111_Text_TyronIntro: @ 8299524
.string "This is my favorite kind of POKéMON!$"
-Route111_Text_299549: @ 8299549
+Route111_Text_TyronDefeat: @ 8299549
.string "Wait!\n"
.string "Did you get a good look at my POKéMON?$"
-Route111_Text_299576: @ 8299576
+Route111_Text_TyronPostBattle: @ 8299576
.string "When having a battle, I get a kick out\n"
.string "of showing off my POKéMON.\p"
.string "I bet everyone feels that way when\n"
.string "they enter a battle!$"
-Route111_Text_2995F0: @ 82995F0
+Route111_Text_CelinaIntro: @ 82995F0
.string "Show me how to put a little excitement\n"
.string "into my life.$"
-Route111_Text_299625: @ 8299625
+Route111_Text_CelinaDefeat: @ 8299625
.string "Oh… My…\n"
.string "That was too much excitement.$"
-Route111_Text_29964B: @ 829964B
+Route111_Text_CelinaPostBattle: @ 829964B
.string "My pulse is still racing.\n"
.string "You're one fabulous TRAINER.$"
-Route111_Text_299682: @ 8299682
+Route111_Text_HaydenIntro: @ 8299682
.string "When you're as famished as I am,\n"
.string "there is no room for pity!$"
-Route111_Text_2996BE: @ 82996BE
+Route111_Text_HaydenDefeat: @ 82996BE
.string "Groan…$"
-Route111_Text_2996C5: @ 82996C5
+Route111_Text_HaydenPostBattle: @ 82996C5
.string "My stomach is grumbling!\n"
.string "Maybe I can grill some BERRIES…$"
-Route111_Text_2996FE: @ 82996FE
+Route111_Text_BiancaIntro: @ 82996FE
.string "Did you come from MAUVILLE?\n"
.string "Then you should be full of energy!$"
-Route111_Text_29973D: @ 829973D
+Route111_Text_BiancaDefeat: @ 829973D
.string "Ooh lala!\n"
.string "That's a lot to take!$"
-Route111_Text_29975D: @ 829975D
+Route111_Text_BiancaPostBattle: @ 829975D
.string "This road here…\n"
.string "You have quite a ways to travel.$"
-Route112_Text_29978E: @ 829978E
+Route112_Text_BriceIntro: @ 829978E
.string "Hahahaha!\n"
.string "How about we have a battle?\l"
.string "You and me!\l"
.string "Hahahaha!$"
-Route112_Text_2997CA: @ 82997CA
+Route112_Text_BriceDefeat: @ 82997CA
.string "I lost!\n"
.string "Hahahaha!$"
-Route112_Text_2997DC: @ 82997DC
+Route112_Text_BricePostBattle: @ 82997DC
.string "Hahahahaha! Something flew up my nose!\n"
.string "Hahahaha-hatchoo!$"
-Route112_Text_299815: @ 8299815
+Route112_Text_TrentIntro: @ 8299815
.string "My legs are solid from pounding up\n"
.string "and down the mountains.\p"
.string "They're not going to buckle easily,\n"
.string "friend!$"
-Route112_Text_29987C: @ 829987C
+Route112_Text_TrentDefeat: @ 829987C
.string "Ouch! My legs cramped up!$"
-Route112_Text_299896: @ 8299896
+Route112_Text_TrentPostBattle: @ 8299896
.string "Try hiking, and I mean really\n"
.string "pounding, on these mountain trails\l"
.string "with a heavy pack weighing dozens of\l"
@@ -1540,2318 +1540,2318 @@ Route112_Text_299896: @ 8299896
.string "That, my friend, will get your body\n"
.string "into serious shape.$"
-Route112_Text_29993C: @ 829993C
+Route112_Text_TrentRegister: @ 829993C
.string "Ow, my legs have cramped up.\n"
.string "Can you grab me some bandages from\l"
.string "my backpack?\p"
.string "No, that's my POKéNAV!\n"
.string "Oh, fine, I'll register you.$"
-Route112_Text_2999BD: @ 82999BD
+Route112_Text_TrentRematchIntro: @ 82999BD
.string "I've been keeping fit by hiking.\n"
.string "Power, I have in spades!$"
-Route112_Text_2999F7: @ 82999F7
+Route112_Text_TrentRematchDefeat: @ 82999F7
.string "I got trumped in power?$"
-Route112_Text_299A0F: @ 8299A0F
+Route112_Text_TrentRematchPostBattle: @ 8299A0F
.string "I hear there are some seriously tough\n"
.string "TRAINERS on top of MT. CHIMNEY.\p"
.string "I intend to get up there and give them\n"
.string "a challenge!$"
-Route112_Text_299A89: @ 8299A89
+Route112_Text_LarryIntro: @ 8299A89
.string "I'm strong.\n"
.string "I won't cry if I lose.$"
-Route112_Text_299AAC: @ 8299AAC
+Route112_Text_LarryDefeat: @ 8299AAC
.string "Waaaah!$"
-Route112_Text_299AB4: @ 8299AB4
+Route112_Text_LarryPostBattle: @ 8299AB4
.string "I'm not crying because I miss my mommy!\n"
.string "Snivel…$"
-Route112_Text_299AE4: @ 8299AE4
+Route112_Text_CarolIntro: @ 8299AE4
.string "When you're out on a picnic, why,\n"
.string "you simply have to sing!\l"
.string "Come on, sing with me!$"
-Route112_Text_299B36: @ 8299B36
+Route112_Text_CarolDefeat: @ 8299B36
.string "Oh, you're so strong!$"
-Route112_Text_299B4C: @ 8299B4C
+Route112_Text_CarolPostBattle: @ 8299B4C
.string "It doesn't matter if you're good or bad\n"
.string "at singing or POKéMON.\p"
.string "If you have the most fun, you win!$"
-Route112_Text_299BAE: @ 8299BAE
+Route112_Text_BryantIntro: @ 8299BAE
.string "I caught hot POKéMON in FIERY PATH!\n"
.string "Take a look!$"
-Route112_Text_299BDF: @ 8299BDF
+Route112_Text_BryantDefeat: @ 8299BDF
.string "What a bumpy ride that was!$"
-Route112_Text_299BFB: @ 8299BFB
+Route112_Text_BryantPostBattle: @ 8299BFB
.string "I like the way you battle.\n"
.string "It has a certain flair to it.$"
-Route112_Text_299C34: @ 8299C34
+Route112_Text_ShaylaIntro: @ 8299C34
.string "Oh, aren't you an adorable TRAINER!\n"
.string "Please, I need a romantic battle!\l"
.string "I'm somewhat decent!$"
-Route112_Text_299C8F: @ 8299C8F
+Route112_Text_ShaylaDefeat: @ 8299C8F
.string "Oh, how strong you are!\n"
.string "You've given me quite a shock!$"
-Route112_Text_299CC6: @ 8299CC6
+Route112_Text_ShaylaPostBattle: @ 8299CC6
.string "Are you busy right now?\n"
.string "I was thinking that maybe we can have\l"
.string "a rematch right now…\l"
.string "But it's all right if you're busy.$"
-Route113_Text_299D3C: @ 8299D3C
+Route113_Text_JaylenIntro: @ 8299D3C
.string "Can you guess why it's so cool\n"
.string "around here?$"
-Route113_Text_299D68: @ 8299D68
+Route113_Text_JaylenDefeat: @ 8299D68
.string "Peeuuw!\n"
.string "That stinks!$"
-Route113_Text_299D7D: @ 8299D7D
+Route113_Text_JaylenPostBattle: @ 8299D7D
.string "The volcanic ash blocks the sun,\n"
.string "so it doesn't get very warm.\p"
.string "That's good for me--I can't stand heat!$"
-Route113_Text_299DE3: @ 8299DE3
+Route113_Text_DillonIntro: @ 8299DE3
.string "The volcano's eruption is proof that\n"
.string "the earth is alive.$"
-Route113_Text_299E1C: @ 8299E1C
+Route113_Text_DillonDefeat: @ 8299E1C
.string "You're some kind of strong!$"
-Route113_Text_299E38: @ 8299E38
+Route113_Text_DillonPostBattle: @ 8299E38
.string "Ouch! Owww! I can't see!\n"
.string "I got ashes in my eyelashes!\p"
.string "Get it? Ashes and eyelashes?\p"
.string "Okay, that was bad, sorry…$"
-Route113_Text_299EA6: @ 8299EA6
+Route113_Text_MadelineIntro: @ 8299EA6
.string "I use this parasol to ward off this\n"
.string "filthy, yucky volcanic ash from\l"
.string "my dear NUMEL.$"
-Route113_Text_299EF9: @ 8299EF9
+Route113_Text_MadelineDefeat: @ 8299EF9
.string "Huff, huff…\n"
.string "I am exhausted…$"
-Route113_Text_299F15: @ 8299F15
+Route113_Text_MadelinePostBattle: @ 8299F15
.string "You're very good at this.\n"
.string "I must say I'm impressed!$"
-Route113_Text_299F49: @ 8299F49
+Route113_Text_MadelineRegister: @ 8299F49
.string "Here, slide under my parasol.\n"
.string "Let me register you in my POKéNAV.$"
-Route113_Text_299F8A: @ 8299F8A
+Route113_Text_MadelineRematchIntro: @ 8299F8A
.string "Oh, hello, hasn't it been a while?\n"
.string "May I invite you to battle?$"
-Route113_Text_299FC9: @ 8299FC9
+Route113_Text_MadelineRematchDefeat: @ 8299FC9
.string "Oh, how super!$"
-Route113_Text_299FD8: @ 8299FD8
+Route113_Text_MadelinePostRematch: @ 8299FD8
.string "You've remained very good at this.\n"
.string "I must say I'm impressed!$"
-Route113_Text_29A015: @ 829A015
+Route113_Text_LaoIntro: @ 829A015
.string "From out of the ashes I leap! Hiyah!\n"
.string "I challenge thee!$"
-Route113_Text_29A04C: @ 829A04C
+Route113_Text_LaoDefeat: @ 829A04C
.string "With honor I admit defeat!$"
-Route113_Text_29A067: @ 829A067
+Route113_Text_LaoPostBattle: @ 829A067
.string "I must refine the art of concealment.\n"
.string "I bid thee farewell.$"
-Route113_Text_29A0A2: @ 829A0A2
+Route113_Text_LaoRegister: @ 829A0A2
.string "Yiiyaah! Witness the ancient ninja\n"
.string "technique of POKéNAV registration!$"
-Route113_Text_29A0E8: @ 829A0E8
+Route113_Text_LaoRematchIntro: @ 829A0E8
.string "From out of the ashes I leap! Hiyah!\n"
.string "I challenge thee!$"
-Route113_Text_29A11F: @ 829A11F
+Route113_Text_LaoRematchDefeat: @ 829A11F
.string "With honor I admit defeat!$"
-Route113_Text_29A13A: @ 829A13A
+Route113_Text_LaoPostRematch: @ 829A13A
.string "My flawless concealment was let down\n"
.string "by my immature battle skills…\p"
.string "I bid thee farewell.$"
-Route113_Text_29A192: @ 829A192
+Route113_Text_LungIntro: @ 829A192
.string "Thanks for finding me!\n"
.string "But we still have to battle!$"
-Route113_Text_29A1C6: @ 829A1C6
+Route113_Text_LungDefeat: @ 829A1C6
.string "I'll use my ninjutsu on you…\n"
.string "“VOLCANIC ASH SWIRL CLOAK”!\p"
.string "…What?\n"
.string "It's already over?$"
-Route113_Text_29A219: @ 829A219
+Route113_Text_LungPostBattle: @ 829A219
.string "You know what's crummy about hiding?\n"
.string "It's lonely if no one comes along.$"
-Route113_Text_29A261: @ 829A261
+Route113_Text_ToriIntro: @ 829A261
.string "TORI: Both of us, we collect ashes.\n"
.string "We battle POKéMON, too.$"
-Route113_Text_29A29D: @ 829A29D
+Route113_Text_ToriDefeat: @ 829A29D
.string "TORI: We lost… It's boring, so I'm going\n"
.string "to get some more ashes.$"
-Route113_Text_29A2DE: @ 829A2DE
+Route113_Text_ToriPostBattle: @ 829A2DE
.string "TORI: How much ash do we have?\n"
.string "Enough for a WHITE FLUTE, I hope.$"
-Route113_Text_29A31F: @ 829A31F
+Route113_Text_ToriNotEnoughMons: @ 829A31F
.string "TORI: We want to battle 2-on-2.\n"
.string "If we didn't, we would lose!$"
-Route113_Text_29A35C: @ 829A35C
+Route113_Text_TiaIntro: @ 829A35C
.string "TIA: Both of us, we collect ashes.\n"
.string "We battle POKéMON, too.$"
-Route113_Text_29A397: @ 829A397
+Route113_Text_TiaDefeat: @ 829A397
.string "TIA: We couldn't win… It's boring,\n"
.string "so I'm getting some more ashes.$"
-Route113_Text_29A3DA: @ 829A3DA
+Route113_Text_TiaPostBattle: @ 829A3DA
.string "TIA: We have a lot of ashes!\n"
.string "I think enough for a WHITE FLUTE!$"
-Route113_Text_29A419: @ 829A419
+Route113_Text_TiaNotEnoughMons: @ 829A419
.string "TIA: We want to battle 2-on-2.\n"
.string "If we don't, we won't win!$"
-Route113_Text_29A453: @ 829A453
+Route113_Text_CobyIntro: @ 829A453
.string "Pfft, with these wings I can\n"
.string "flick you away!$"
-Route113_Text_29A480: @ 829A480
+Route113_Text_CobyDefeat: @ 829A480
.string "A… What?$"
-Route113_Text_29A489: @ 829A489
+Route113_Text_CobyPostBattle: @ 829A489
.string "I don't know what to say when I get\n"
.string "beaten so easily…$"
-Route113_Text_29A4BF: @ 829A4BF
+Route113_Text_SophieIntro: @ 829A4BF
.string "The warmth here is making me drowsy.\n"
.string "Battle with me so I can stay awake.$"
-Route113_Text_29A508: @ 829A508
+Route113_Text_SophieDefeat: @ 829A508
.string "This is a dream.\n"
.string "I'm sure of it…$"
-Route113_Text_29A529: @ 829A529
+Route113_Text_SophiePostBattle: @ 829A529
.string "Losing burns me up…\n"
.string "I'm just going to sleep right here!\l"
.string "Zzz!$"
-Route113_Text_29A566: @ 829A566
+Route113_Text_LawrenceIntro: @ 829A566
.string "Were you maybe in the middle\n"
.string "of gathering volcanic ashes?$"
-Route113_Text_29A5A0: @ 829A5A0
+Route113_Text_LawrenceDefeat: @ 829A5A0
.string "Ehehe.\n"
.string "We got beaten cleanly.$"
-Route113_Text_29A5BE: @ 829A5BE
+Route113_Text_LawrencePostBattle: @ 829A5BE
.string "I ought to hide under the ashes, too.$"
-Route113_Text_29A5E4: @ 829A5E4
+Route113_Text_WyattIntro: @ 829A5E4
.string "Y-you want to battle with me?\n"
.string "Even though I just caught my POKéMON?$"
-Route113_Text_29A628: @ 829A628
+Route113_Text_WyattDefeat: @ 829A628
.string "Y-you're all happy to win?\n"
.string "Even though it's only me?$"
-Route113_Text_29A65D: @ 829A65D
+Route113_Text_WyattPostBattle: @ 829A65D
.string "Oh, so now you want to say a word to\n"
.string "the loser?\p"
.string "Aren't you just the coolest?\n"
.string "Humph!$"
-Route114_Text_29A6B1: @ 829A6B1
+Route114_Text_LennyIntro: @ 829A6B1
.string "Yodelayhihoo!\p"
.string "… …\p"
.string "You're supposed to shout\n"
.string "“yodelayhihoo” since it doesn't\l"
.string "echo here!$"
-Route114_Text_29A707: @ 829A707
+Route114_Text_LennyDefeat: @ 829A707
.string "Yodelayhihoo!$"
-Route114_Text_29A715: @ 829A715
+Route114_Text_LennyPostBattle: @ 829A715
.string "When I was a wee tyke, I believed there\n"
.string "was someone copying me and shouting\l"
.string "back, “Yodelayhihoo.”$"
-Route114_Text_29A777: @ 829A777
+Route114_Text_LucasIntro: @ 829A777
.string "If you're not prepared, you shouldn't\n"
.string "be up in the mountains!$"
-Route114_Text_29A7B5: @ 829A7B5
+Route114_Text_LucasDefeat: @ 829A7B5
.string "The mountains are unforgiving…$"
-Route114_Text_29A7D4: @ 829A7D4
+Route114_Text_LucasPostBattle: @ 829A7D4
.string "In the winter, mountains turn deadly\n"
.string "with blizzards and avalanches.$"
-Route114_Text_29A818: @ 829A818
+Route114_Text_ShaneIntro: @ 829A818
.string "Camping's fun! You can fish, roast\n"
.string "marshmallows, and tell spooky stories!\p"
.string "But the best of all are the POKéMON\n"
.string "battles!$"
-Route114_Text_29A88F: @ 829A88F
+Route114_Text_ShaneDefeat: @ 829A88F
.string "Way too strong!$"
-Route114_Text_29A89F: @ 829A89F
+Route114_Text_ShanePostBattle: @ 829A89F
.string "I think it's great that I can go\n"
.string "camping with my POKéMON.$"
-Route114_Text_29A8D9: @ 829A8D9
+Route114_Text_NancyIntro: @ 829A8D9
.string "I need to exercise after a meal.\n"
.string "Let's have a match!$"
-Route114_Text_29A90E: @ 829A90E
+Route114_Text_NancyDefeat: @ 829A90E
.string "Oh, no!$"
-Route114_Text_29A916: @ 829A916
+Route114_Text_NancyPostBattle: @ 829A916
.string "I just had a tasty meal.\n"
.string "I'm getting drowsy…$"
-Route114_Text_29A943: @ 829A943
+Route114_Text_SteveIntro: @ 829A943
.string "Ufufufufufu…\n"
.string "Want to battle against my POKéMON?$"
-Route114_Text_29A973: @ 829A973
+Route114_Text_SteveDefeat: @ 829A973
.string "M-My POKéMON…$"
-Route114_Text_29A981: @ 829A981
+Route114_Text_StevePostBattle: @ 829A981
.string "A big body that's all lumpy and hard,\n"
.string "enormous horns, and vicious fangs…\p"
.string "Ufufufufu…\n"
.string "I wish I had a POKéMON like that…$"
-Route114_Text_29A9F7: @ 829A9F7
+Route114_Text_SteveRegister: @ 829A9F7
.string "Don't forget what you've done to me!\n"
.string "I'll make it so you can't forget!$"
-Route114_Text_29AA3E: @ 829AA3E
+Route114_Text_SteveRematchIntro: @ 829AA3E
.string "Ufufufufufu…\n"
.string "Come on, battle my POKéMON…$"
-Route114_Text_29AA67: @ 829AA67
+Route114_Text_SteveRematchDefeat: @ 829AA67
.string "I feel so lucky getting to see your\n"
.string "POKéMON…$"
-Route114_Text_29AA94: @ 829AA94
+Route114_Text_StevePostRematch: @ 829AA94
.string "Ufufufufufu…\p"
.string "When I see POKéMON battling, I get all\n"
.string "shivery and shaky…$"
-Route114_Text_29AADB: @ 829AADB
+Route114_Text_BernieIntro: @ 829AADB
.string "If you're lighting a campfire,\n"
.string "make sure you have water handy.$"
-Route114_Text_29AB1A: @ 829AB1A
+Route114_Text_BernieDefeat: @ 829AB1A
.string "Thanks for dousing my fire!$"
-Route114_Text_29AB36: @ 829AB36
+Route114_Text_BerniePostBattle: @ 829AB36
.string "You really do have to be careful with\n"
.string "any sort of fire in a forest.\p"
.string "Don't ever underestimate the power\n"
.string "of fire.$"
-Route114_Text_29ABA6: @ 829ABA6
+Route114_Text_BernieRegister: @ 829ABA6
.string "You set my spirit on fire.\n"
.string "Let's register each other!$"
-Route114_Text_29ABDC: @ 829ABDC
+Route114_Text_BernieRematchIntro: @ 829ABDC
.string "Have you learned to keep water handy\n"
.string "for campfires?$"
-Route114_Text_29AC10: @ 829AC10
+Route114_Text_BernieRematchDefeat: @ 829AC10
.string "I got hosed down before I could\n"
.string "flare up, I guess.$"
-Route114_Text_29AC43: @ 829AC43
+Route114_Text_BerniePostRematch: @ 829AC43
.string "You really do have to be careful with\n"
.string "any sort of fire in a forest.\p"
.string "Don't ever underestimate the power\n"
.string "of fire.$"
-Route114_Text_29ACB3: @ 829ACB3
+Route114_Text_ClaudeIntro: @ 829ACB3
.string "If we were fishing, you wouldn't stand\n"
.string "a chance against me.\l"
.string "So, bring on your POKéMON!$"
-Route114_Text_29AD0A: @ 829AD0A
+Route114_Text_ClaudeDefeat: @ 829AD0A
.string "If we were fishing, I would've won…$"
-Route114_Text_29AD2E: @ 829AD2E
+Route114_Text_ClaudePostBattle: @ 829AD2E
.string "I think I'll try my luck at landing\n"
.string "a big one at METEOR FALLS.\p"
.string "There has to be something in there.\n"
.string "I just know it.$"
-Route114_Text_29ADA1: @ 829ADA1
+Route114_Text_NolanIntro: @ 829ADA1
.string "I like to fish. But I also like to\n"
.string "battle!\p"
.string "If anyone challenges me, I'm there,\n"
.string "even if I'm fishing.$"
-Route114_Text_29AE05: @ 829AE05
+Route114_Text_NolanDefeat: @ 829AE05
.string "I like to battle, but that doesn't\n"
.string "mean I'm good at it…$"
-Route114_Text_29AE3D: @ 829AE3D
+Route114_Text_NolanPostBattle: @ 829AE3D
.string "This time I'll do it!\p"
.string "I always think that, so I can't walk\n"
.string "away from fishing or POKéMON.$"
-Route114_Text_29AE96: @ 829AE96
+Route114_Text_TyraIntro: @ 829AE96
.string "TYRA: Well, sure.\n"
.string "I'm in the mood for it.\l"
.string "I'll teach you a little about POKéMON.$"
-Route114_Text_29AEE7: @ 829AEE7
+Route114_Text_TyraDefeat: @ 829AEE7
.string "TYRA: What an amazing battle style!$"
-Route114_Text_29AF0B: @ 829AF0B
+Route114_Text_TyraPostBattle: @ 829AF0B
.string "TYRA: I was teaching my junior IVY\n"
.string "about POKéMON.$"
-Route114_Text_29AF3D: @ 829AF3D
+Route114_Text_TyraNotEnoughMons: @ 829AF3D
.string "TYRA: Giggle…\n"
.string "If you want to battle with us, just one\l"
.string "POKéMON isn't enough!$"
-Route114_Text_29AF89: @ 829AF89
+Route114_Text_IvyIntro: @ 829AF89
.string "IVY: Who taught you about POKéMON?$"
-Route114_Text_29AFAC: @ 829AFAC
+Route114_Text_IvyDefeat: @ 829AFAC
.string "IVY: What an amazing battle style!$"
-Route114_Text_29AFCF: @ 829AFCF
+Route114_Text_IvyPostBattle: @ 829AFCF
.string "IVY: I started training POKéMON\n"
.string "because TYRA, my student mentor,\l"
.string "taught me!$"
-Route114_Text_29B01B: @ 829B01B
+Route114_Text_IvyNotEnoughMons: @ 829B01B
.string "IVY: Do you only have one POKéMON?\n"
.string "I think it must feel lonesome.$"
-Route114_Text_29B05D: @ 829B05D
+Route114_Text_KaiIntro: @ 829B05D
.string "I landed a big one!\n"
.string "A huge one, I tell you!$"
-Route114_Text_29B089: @ 829B089
+Route114_Text_KaiDefeat: @ 829B089
.string "What was that about?\n"
.string "Did mine lose in size?$"
-Route114_Text_29B0B5: @ 829B0B5
+Route114_Text_KaiPostBattle: @ 829B0B5
.string "Okay!\n"
.string "I'll just fish me a bigger one!$"
-Route114_Text_29B0DB: @ 829B0DB
+Route114_Text_CharlotteIntro: @ 829B0DB
.string "Me!\n"
.string "I'm not just a pretty face!$"
-Route114_Text_29B0FB: @ 829B0FB
+Route114_Text_CharlotteDefeat: @ 829B0FB
.string "That wasn't cute in the least!$"
-Route114_Text_29B11A: @ 829B11A
+Route114_Text_CharlottePostBattle: @ 829B11A
.string "I don't want a POKéMON that's\n"
.string "just cute.\p"
.string "I adore cute ones that have a quirk\n"
.string "or two!$"
-Route114_Text_29B16F: @ 829B16F
+Route114_Text_AngelinaIntro: @ 829B16F
.string "Have you made your POKéMON evolve\n"
.string "very much?$"
-Route114_Text_29B19C: @ 829B19C
+Route114_Text_AngelinaDefeat: @ 829B19C
.string "Oh, I see.\n"
.string "That's good to know.$"
-Route114_Text_29B1BC: @ 829B1BC
+Route114_Text_AngelinaPostBattle: @ 829B1BC
.string "Some POKéMON change so much when\n"
.string "they evolve, it's startling!$"
-Route115_Text_29B1FA: @ 829B1FA
+Route115_Text_TimothyIntro: @ 829B1FA
.string "Hm…\n"
.string "You seem rather capable…\l"
.string "Let me keep you company!$"
-Route115_Text_29B230: @ 829B230
+Route115_Text_TimothyDefeat: @ 829B230
.string "You're much stronger than\n"
.string "I'd imagined!$"
-Route115_Text_29B258: @ 829B258
+Route115_Text_TimothyPostBattle: @ 829B258
.string "There is no such thing as a born genius.\n"
.string "It all depends on effort!\l"
.string "That is what I believe…$"
-Route115_Text_29B2B3: @ 829B2B3
+Route115_Text_TimothyRegister: @ 829B2B3
.string "Hmm… A loss this thorough has been\n"
.string "a distant memory.\p"
.string "If you would allow it, I wish for\n"
.string "another opportunity to do battle.$"
-Route115_Text_29B32C: @ 829B32C
+Route115_Text_TimothyRematchIntro: @ 829B32C
.string "Hm… As always, your agility speaks\n"
.string "for itself.\l"
.string "Come, keep me company!$"
-Route115_Text_29B372: @ 829B372
+Route115_Text_TimothyRematchDefeat: @ 829B372
.string "As strong as ever!$"
-Route115_Text_29B385: @ 829B385
+Route115_Text_TimothyPostRematch: @ 829B385
.string "All it takes is effort!\p"
.string "I lost because I haven't put in enough\n"
.string "effort!$"
-Route115_Text_29B3CC: @ 829B3CC
+Route115_Text_KoichiIntro: @ 829B3CC
.string "You!\p"
.string "My MACHOP!\p"
.string "Demand a battle!$"
-Route115_Text_29B3ED: @ 829B3ED
+Route115_Text_KoichiDefeat: @ 829B3ED
.string "Ouch, ouch, ouch!$"
-Route115_Text_29B3FF: @ 829B3FF
+Route115_Text_KoichiPostBattle: @ 829B3FF
.string "My MACHOP crew!\p"
.string "So long as they seek power, I will\n"
.string "grow strong with them!$"
-Route115_Text_29B449: @ 829B449
+Route115_Text_NobIntro: @ 829B449
.string "My strongest skill is busting bricks\n"
.string "with my forehead!$"
-Route115_Text_29B480: @ 829B480
+Route115_Text_NobDefeat: @ 829B480
.string "Ugwaaaah!\n"
.string "My head is busted!$"
-Route115_Text_29B49D: @ 829B49D
+Route115_Text_NobPostBattle: @ 829B49D
.string "I've been teaching my POKéMON karate.\p"
.string "It looks like they'll get a lot better\n"
.string "than me. I'm excited about that.$"
-Route115_Text_29B50B: @ 829B50B
+Route115_Text_NobRegister: @ 829B50B
.string "You impress me! Give me a rematch\n"
.string "after I redo my training!$"
-Route115_Text_29B547: @ 829B547
+Route115_Text_NobRematchIntro: @ 829B547
.string "After you beat me, we trained hard to\n"
.string "improve our skills.\l"
.string "Come on, give us a rematch!$"
-Route115_Text_29B59D: @ 829B59D
+Route115_Text_NobRematchDefeat: @ 829B59D
.string "Ugwaaah!\n"
.string "We lost again!$"
-Route115_Text_29B5B5: @ 829B5B5
+Route115_Text_NobPostRematch: @ 829B5B5
.string "My POKéMON will grow stronger!\n"
.string "I'll redouble my training!$"
-Route115_Text_29B5EF: @ 829B5EF
+Route115_Text_CyndyIntro: @ 829B5EF
.string "This beach is my secret training spot!\n"
.string "Don't come butting in!$"
-Route115_Text_29B62D: @ 829B62D
+Route115_Text_CyndyDefeat: @ 829B62D
.string "I haven't trained enough!$"
-Route115_Text_29B647: @ 829B647
+Route115_Text_CyndyPostBattle: @ 829B647
.string "The sand acts as a cushion to reduce\n"
.string "impact and prevent injury.\l"
.string "This is the perfect place to train.$"
-Route115_Text_29B6AB: @ 829B6AB
+Route115_Text_CyndyRegister: @ 829B6AB
.string "Okay, fine, you're free to come here.\n"
.string "In return, I'd like to battle you again.$"
-Route115_Text_29B6FA: @ 829B6FA
+Route115_Text_CyndyRematchIntro: @ 829B6FA
.string "Okay, let's get this battle on!$"
-Route115_Text_29B71A: @ 829B71A
+Route115_Text_CyndyRematchDefeat: @ 829B71A
.string "I can battle but my POKéMON…$"
-Route115_Text_29B737: @ 829B737
+Route115_Text_CyndyPostRematch: @ 829B737
.string "Even when I lose, I still get some\n"
.string "enjoyment out of it.\l"
.string "It must be that I love POKéMON.$"
-Route115_Text_29B78F: @ 829B78F
+Route115_Text_HectorIntro: @ 829B78F
.string "I have a rare POKéMON!\n"
.string "Would you like me to show you?$"
-Route115_Text_29B7C5: @ 829B7C5
+Route115_Text_HectorDefeat: @ 829B7C5
.string "You…\n"
.string "You want my POKéMON, don't you?$"
-Route115_Text_29B7EA: @ 829B7EA
+Route115_Text_HectorPostBattle: @ 829B7EA
.string "I have this rare POKéMON.\n"
.string "It's enough to keep me satisfied.$"
-Route115_Text_29B826: @ 829B826
+Route115_Text_KyraIntro: @ 829B826
.string "I'll battle while I'm running!\n"
.string "Try to keep up with me!$"
-Route115_Text_29B85D: @ 829B85D
+Route115_Text_KyraDefeat: @ 829B85D
.string "Gasp, gasp…$"
-Route115_Text_29B869: @ 829B869
+Route115_Text_KyraPostBattle: @ 829B869
.string "I made the mistake of trying to battle\n"
.string "while running!\p"
.string "I should take a run to calm down…$"
-Route115_Text_29B8C1: @ 829B8C1
+Route115_Text_JaidenIntro: @ 829B8C1
.string "Take that!\n"
.string "Ultra POKéMON ninja attack!$"
-Route115_Text_29B8E8: @ 829B8E8
+Route115_Text_JaidenDefeat: @ 829B8E8
.string "Waaah!\n"
.string "Our strategy failed!$"
-Route115_Text_29B904: @ 829B904
+Route115_Text_JaidenPostBattle: @ 829B904
.string "But my POKéMON were ultra,\n"
.string "weren't they?$"
-Route115_Text_29B92D: @ 829B92D
+Route115_Text_HeleneIntro: @ 829B92D
.string "My POKéMON have black belt-level\n"
.string "strength!$"
-Route115_Text_29B958: @ 829B958
+Route115_Text_HeleneDefeat: @ 829B958
.string "This is too humiliating!$"
-Route115_Text_29B971: @ 829B971
+Route115_Text_HelenePostBattle: @ 829B971
.string "I rarely meet anyone who's better\n"
.string "than me…\p"
.string "I get it now!\n"
.string "You're a GYM LEADER, aren't you?$"
-Route115_Text_29B9CB: @ 829B9CB
+Route115_Text_AlixIntro: @ 829B9CB
.string "Our eyes met!\n"
.string "There's no getting away now!$"
-Route115_Text_29B9F6: @ 829B9F6
+Route115_Text_AlixDefeat: @ 829B9F6
.string "Gah!\n"
.string "Not bad!$"
-Route115_Text_29BA04: @ 829BA04
+Route115_Text_AlixPostBattle: @ 829BA04
.string "Oh, well.\n"
.string "I think I will TELEPORT home.$"
-Route115_Text_29BA2C: @ 829BA2C
+Route115_Text_MarleneIntro: @ 829BA2C
.string "You've disturbed my meditation…\n"
.string "You'll be punished for it.$"
-Route115_Text_29BA67: @ 829BA67
+Route115_Text_MarleneDefeat: @ 829BA67
.string "You've broken my concentration!$"
-Route115_Text_29BA87: @ 829BA87
+Route115_Text_MarlenePostBattle: @ 829BA87
.string "I was meditating with my POKéMON.\n"
.string "But this place isn't very peaceful…$"
-Route116_Text_29BACD: @ 829BACD
+Route116_Text_ClarkIntro: @ 829BACD
.string "If the tunnel doesn't go through, then\n"
.string "I'll just go over the top.$"
-Route116_Text_29BB0F: @ 829BB0F
+Route116_Text_ClarkDefeat: @ 829BB0F
.string "Gasp… Gasp…\n"
.string "Losing made me tired…$"
-Route116_Text_29BB31: @ 829BB31
+Route116_Text_ClarkPostBattle: @ 829BB31
.string "It's no big deal if there's no tunnel.\n"
.string "To a HIKER, mountains are roads!$"
-Route116_Text_29BB79: @ 829BB79
+Route116_Text_JoeyIntro: @ 829BB79
.string "My POKéMON rule!\n"
.string "Check them out!$"
-Route116_Text_29BB9A: @ 829BB9A
+Route116_Text_JoeyDefeat: @ 829BB9A
.string "Ouch! A scrape!\n"
.string "I have to put on a bandage!$"
-Route116_Text_29BBC6: @ 829BBC6
+Route116_Text_JoeyPostBattle: @ 829BBC6
.string "Bandages are signs of toughness!\n"
.string "I've got another one!$"
-Route116_Text_29BBFD: @ 829BBFD
+Route116_Text_JoseIntro: @ 829BBFD
.string "My BUG POKéMON are tough!\n"
.string "Let's battle!$"
-Route116_Text_29BC25: @ 829BC25
+Route116_Text_JoseDefeat: @ 829BC25
.string "I lost!\n"
.string "I thought I had you!$"
-Route116_Text_29BC42: @ 829BC42
+Route116_Text_JosePostBattle: @ 829BC42
.string "BUG POKéMON evolve quickly.\n"
.string "So they get strong quickly, too.$"
-Route116_Text_29BC7F: @ 829BC7F
+Route116_Text_JaniceIntro: @ 829BC7F
.string "Let me teach you how strong my\n"
.string "adorable POKéMON is!$"
-Route116_Text_29BCB3: @ 829BCB3
+Route116_Text_JaniceDefeat: @ 829BCB3
.string "You're a notch above me…$"
-Route116_Text_29BCCC: @ 829BCCC
+Route116_Text_JanicePostBattle: @ 829BCCC
.string "POKéMON that possess cuteness and\n"
.string "power, that's ideal, I think.$"
-Route116_Text_29BD0C: @ 829BD0C
+Route116_Text_JerryIntro: @ 829BD0C
.string "We learn all sorts of things at the\n"
.string "TRAINER'S SCHOOL.\p"
.string "I want to test things out for real!$"
-Route116_Text_29BD66: @ 829BD66
+Route116_Text_JerryDefeat: @ 829BD66
.string "I slacked off in school…\n"
.string "That's why I lost.$"
-Route116_Text_29BD92: @ 829BD92
+Route116_Text_JerryPostBattle: @ 829BD92
.string "I'll have to redo some courses at\n"
.string "the TRAINER'S SCHOOL.\l"
.string "If I don't, ROXANNE will be steamed.$"
-Route116_Text_29BDEF: @ 829BDEF
+Route116_Text_JerryRegister1: @ 829BDEF
.string "I learned at the TRAINER'S SCHOOL\n"
.string "that a POKéNAV can register TRAINERS.\p"
.string "I don't really get what that means,\n"
.string "so can I just try it?$"
-Route116_Text_29BE71: @ 829BE71
+Route116_Text_JerryRegister2: @ 829BE71
.string "I learned at the TRAINER'S SCHOOL\n"
.string "that a POKéNAV can register TRAINERS.\p"
.string "I don't really get what that means,\n"
.string "so can I just try it?$"
-Route116_Text_29BEF3: @ 829BEF3
+Route116_Text_JerryRematchIntro: @ 829BEF3
.string "I've been studying seriously at the\n"
.string "TRAINER'S SCHOOL.\l"
.string "I won't lose like I did last time.$"
-Route116_Text_29BF4C: @ 829BF4C
+Route116_Text_JerryRematchDefeat: @ 829BF4C
.string "Hunh?\n"
.string "I studied diligently.$"
-Route116_Text_29BF68: @ 829BF68
+Route116_Text_JerryPostRematch: @ 829BF68
.string "I'll have to redo some courses at\n"
.string "the TRAINER'S SCHOOL.\l"
.string "If I don't, ROXANNE will be steamed.$"
-Route116_Text_29BFC5: @ 829BFC5
+Route116_Text_KarenIntro: @ 829BFC5
.string "I study at school, and I study on\n"
.string "the way home, too!$"
-Route116_Text_29BFFA: @ 829BFFA
+Route116_Text_KarenDefeat: @ 829BFFA
.string "I'm in shock--I lost?$"
-Route116_Text_29C010: @ 829C010
+Route116_Text_KarenPostBattle: @ 829C010
.string "Awww, I'll never become an elegant\n"
.string "TRAINER like ROXANNE this way!$"
-Route116_Text_29C052: @ 829C052
+Route116_Text_KarenRegister1: @ 829C052
.string "Oh, wow! Isn't that a POKéNAV?\n"
.string "I have one, too! Please register me!$"
-Route116_Text_29C096: @ 829C096
+Route116_Text_KarenRegister2: @ 829C096
.string "Oh, wow! Isn't that a POKéNAV?\n"
.string "I have one, too! Please register me!$"
-Route116_Text_29C0DA: @ 829C0DA
+Route116_Text_KarenRematchIntro: @ 829C0DA
.string "I studied a whole lot since I saw you.\n"
.string "You must see my achievements!$"
-Route116_Text_29C11F: @ 829C11F
+Route116_Text_KarenRematchDefeat: @ 829C11F
.string "I'm in shock.\n"
.string "I lost again?$"
-Route116_Text_29C13B: @ 829C13B
+Route116_Text_KarenPostRematch: @ 829C13B
.string "You've beaten ROXANNE?\n"
.string "I can't beat you, then. Not yet.$"
-Route116_Text_29C173: @ 829C173
+Route116_Text_SarahIntro: @ 829C173
.string "Just so you know, I've never once been\n"
.string "bested by anyone at anything.$"
-Route116_Text_29C1B8: @ 829C1B8
+Route116_Text_SarahDefeat: @ 829C1B8
.string "Oh, my goodness.\n"
.string "This is a new experience for me.$"
-Route116_Text_29C1EA: @ 829C1EA
+Route116_Text_SarahPostBattle: @ 829C1EA
.string "My life of luxury affords me all that\n"
.string "I could possibly desire.\p"
.string "However, when it comes to POKéMON,\n"
.string "my wealth has no meaning.$"
-Route116_Text_29C266: @ 829C266
+Route116_Text_DawsonIntro: @ 829C266
.string "When you lay your eyes on my POKéMON's\n"
.string "gorgeous fur, their beauty will render\l"
.string "you helpless!$"
-Route116_Text_29C2C2: @ 829C2C2
+Route116_Text_DawsonDefeat: @ 829C2C2
.string "Oh, baby, say it isn't so!$"
-Route116_Text_29C2DD: @ 829C2DD
+Route116_Text_DawsonPostBattle: @ 829C2DD
.string "Oh, no, no, no!\n"
.string "You've mussed up my POKéMON's fur!\l"
.string "You've ruined my hairdo, too!\l"
.string "I'll have to call my stylist now!$"
-Route116_Text_29C350: @ 829C350
+Route116_Text_DevanIntro: @ 829C350
.string "We'll rock you hard!$"
-Route116_Text_29C365: @ 829C365
+Route116_Text_DevanDefeat: @ 829C365
.string "Aiyiyi!\n"
.string "No contest at all!$"
-Route116_Text_29C380: @ 829C380
+Route116_Text_DevanPostBattle: @ 829C380
.string "I should try different POKéMON\n"
.string "types, that's what I ought to do.$"
-Route116_Text_29C3C1: @ 829C3C1
+Route116_Text_JohnsonIntro: @ 829C3C1
.string "It's a dead end up here.\n"
.string "I'm bored, so can we battle?$"
-Route116_Text_29C3F7: @ 829C3F7
+Route116_Text_JohnsonDefeat: @ 829C3F7
.string "That was fun even though I lost.$"
-Route116_Text_29C418: @ 829C418
+Route116_Text_JohnsonPostBattle: @ 829C418
.string "Want to stay here and keep\n"
.string "me company?$"
-Route117_Text_29C43F: @ 829C43F
+Route117_Text_IsaacIntro: @ 829C43F
.string "Listen, could I get you to battle\n"
.string "the POKéMON I'm raising?$"
-Route117_Text_29C47A: @ 829C47A
+Route117_Text_IsaacDefeat: @ 829C47A
.string "You've raised yours superbly…$"
-Route117_Text_29C498: @ 829C498
+Route117_Text_IsaacPostBattle: @ 829C498
.string "POKéMON isn't all about power.\p"
.string "Polishing a unique aspect of one's\n"
.string "character is another way of enjoying\l"
.string "POKéMON.$"
-Route117_Text_29C508: @ 829C508
+Route117_Text_IsaacRegister: @ 829C508
.string "I'm going to redouble my training.\n"
.string "Would you come look in on us?$"
-Route117_Text_29C549: @ 829C549
+Route117_Text_IsaacRematchIntro: @ 829C549
.string "The POKéMON I've been raising are\n"
.string "looking good, just like before.$"
-Route117_Text_29C58B: @ 829C58B
+Route117_Text_IsaacRematchDefeat: @ 829C58B
.string "You know how to raise them properly.\n"
.string "You might have DAY CARE skills…$"
-Route117_Text_29C5D0: @ 829C5D0
+Route117_Text_IsaacPostRematch: @ 829C5D0
.string "Your POKéMON are growing good!\n"
.string "You should enter them in CONTESTS.$"
-Route117_Text_29C612: @ 829C612
+Route117_Text_LydiaIntro: @ 829C612
.string "Please, allow me to evaluate if you\n"
.string "have raised your POKéMON properly.$"
-Route117_Text_29C659: @ 829C659
+Route117_Text_LydiaDefeat: @ 829C659
.string "Yes, they are growing properly.$"
-Route117_Text_29C679: @ 829C679
+Route117_Text_LydiaPostBattle: @ 829C679
.string "Try raising POKéMON with more\n"
.string "attention to their character traits.$"
-Route117_Text_29C6BC: @ 829C6BC
+Route117_Text_LydiaRegister: @ 829C6BC
.string "I'm glad I met a superb TRAINER in you.\n"
.string "I hope to see you again.$"
-Route117_Text_29C6FD: @ 829C6FD
+Route117_Text_LydiaRematchIntro: @ 829C6FD
.string "Allow me to reevaluate if you have\n"
.string "raised your POKéMON properly.$"
-Route117_Text_29C73E: @ 829C73E
+Route117_Text_LydiaRematchDefeat: @ 829C73E
.string "They are growing admirably.$"
-Route117_Text_29C75A: @ 829C75A
+Route117_Text_LydiaPostRematch: @ 829C75A
.string "POKéMON seem to like different kinds\n"
.string "of {POKEBLOCK}S, depending on their nature.$"
-Route117_Text_29C7A5: @ 829C7A5
+Route117_Text_DylanIntro: @ 829C7A5
.string "I'm in the middle of a triathlon, but,\n"
.string "whatever, let's have a battle!$"
-Route117_Text_29C7EB: @ 829C7EB
+Route117_Text_DylanDefeat: @ 829C7EB
.string "I ran out of energy!$"
-Route117_Text_29C800: @ 829C800
+Route117_Text_DylanPostBattle: @ 829C800
.string "I may have blown it…\p"
.string "I might have dropped to last during\n"
.string "that battle…$"
-Route117_Text_29C846: @ 829C846
+Route117_Text_DylanRegister: @ 829C846
.string "POKéMON have to be strong, too?\n"
.string "I'd like you to train me!$"
-Route117_Text_29C880: @ 829C880
+Route117_Text_DylanRematchIntro: @ 829C880
.string "I'm smack in the middle of a triathlon,\n"
.string "but I'm comfortably ahead.\l"
.string "Let's make this a quick battle!$"
-Route117_Text_29C8E3: @ 829C8E3
+Route117_Text_DylanRematchDefeat: @ 829C8E3
.string "I ran out of energy again!$"
-Route117_Text_29C8FE: @ 829C8FE
+Route117_Text_DylanPostRematch: @ 829C8FE
.string "I was tops in swimming and cycling,\n"
.string "but I'm not quite that confident with\l"
.string "POKéMON yet.$"
-Route117_Text_29C955: @ 829C955
+Route117_Text_MariaIntro: @ 829C955
.string "I do my triathlon training with POKéMON,\n"
.string "so I'm pretty confident about my speed.$"
-Route117_Text_29C9A6: @ 829C9A6
+Route117_Text_MariaDefeat: @ 829C9A6
.string "I need to get more practices in,\n"
.string "I guess.$"
-Route117_Text_29C9D0: @ 829C9D0
+Route117_Text_MariaPostBattle: @ 829C9D0
.string "Training is meaningful only if you\n"
.string "keep it up regularly.\p"
.string "Okay! I'll resume my training!\n"
.string "Tomorrow!$"
-Route117_Text_29CA32: @ 829CA32
+Route117_Text_MariaRegister: @ 829CA32
.string "You appear to be training properly…\n"
.string "If you'd like, I'll battle you later!$"
-Route117_Text_29CA7C: @ 829CA7C
+Route117_Text_MariaRematchIntro: @ 829CA7C
.string "Are you keeping up with your training?\n"
.string "I sure am!\l"
.string "Let me show you the evidence!$"
-Route117_Text_29CACC: @ 829CACC
+Route117_Text_MariaRematchDefeat: @ 829CACC
.string "I need to get more practices in,\n"
.string "I guess.$"
-Route117_Text_29CAF6: @ 829CAF6
+Route117_Text_MariaPostRematch: @ 829CAF6
.string "I'll resume training tomorrow.\n"
.string "Let's battle again sometime!$"
-Route117_Text_29CB32: @ 829CB32
+Route117_Text_DerekIntro: @ 829CB32
.string "Once a BUG CATCHER!\n"
.string "And now a BUG MANIAC!\p"
.string "But my love for POKéMON remains\n"
.string "unchanged!$"
-Route117_Text_29CB87: @ 829CB87
+Route117_Text_DerekDefeat: @ 829CB87
.string "My ineptitude also remains\n"
.string "unchanged…$"
-Route117_Text_29CBAD: @ 829CBAD
+Route117_Text_DerekPostBattle: @ 829CBAD
.string "All I did was follow my heart, and now\n"
.string "they call me a BUG MANIAC…\p"
.string "Still, I am an expert on BUG POKéMON,\n"
.string "so it's only natural that they call me\l"
.string "a BUG MANIAC.$"
-Route117_Text_29CC4A: @ 829CC4A
+Route117_Text_AnnaIntro: @ 829CC4A
.string "ANNA: I'm with my pretty junior student\n"
.string "partner. I have to do good!$"
-Route117_Text_29CC8E: @ 829CC8E
+Route117_Text_AnnaDefeat: @ 829CC8E
.string "ANNA: I'm with my pretty junior student\n"
.string "partner! Let me win!$"
-Route117_Text_29CCCB: @ 829CCCB
+Route117_Text_AnnaPostBattle: @ 829CCCB
.string "ANNA: Your POKéMON have some good\n"
.string "combinations.\p"
.string "I'd say you're second only to us!$"
-Route117_Text_29CD1D: @ 829CD1D
+Route117_Text_AnnaAndMegRegister: @ 829CD1D
.string "ANNA: We can't take this lying down!\n"
.string "You will come back, won't you?$"
-Route117_Text_29CD61: @ 829CD61
+Route117_Text_AnnaNotEnoughMons: @ 829CD61
.string "ANNA: If you want to battle us,\n"
.string "bring two POKéMON with you.$"
-Route117_Text_29CD9D: @ 829CD9D
+Route117_Text_MegIntro: @ 829CD9D
.string "MEG: I'm going to tag up with my super\n"
.string "senior student partner and beat you!$"
-Route117_Text_29CDE9: @ 829CDE9
+Route117_Text_MegDefeat: @ 829CDE9
.string "MEG: Oh, no!\n"
.string "I'm sorry, ANNA! I let you down…$"
-Route117_Text_29CE17: @ 829CE17
+Route117_Text_MegPostBattle: @ 829CE17
.string "MEG: I dragged ANNA down…\n"
.string "If I didn't, she would have won!$"
-Route117_Text_29CE52: @ 829CE52
+Route117_Text_MegNotEnoughMons: @ 829CE52
.string "MEG: Do you only have one POKéMON?\n"
.string "We can't battle with you, then.\p"
.string "We want to have a 2-on-2 battle.$"
-Route117_Text_29CEB6: @ 829CEB6
+Route117_Text_AnnaRematchIntro: @ 829CEB6
.string "ANNA: I can't keep losing in front of\n"
.string "my junior partner, right?$"
-Route117_Text_29CEF6: @ 829CEF6
+Route117_Text_AnnaRematchDefeat: @ 829CEF6
.string "ANNA: I couldn't get into the groove.$"
-Route117_Text_29CF1C: @ 829CF1C
+Route117_Text_AnnaPostRematch: @ 829CF1C
.string "ANNA: Your POKéMON have some good\n"
.string "combinations.\p"
.string "I'd say you're second only to us!$"
-Route117_Text_29CF6E: @ 829CF6E
+Route117_Text_AnnaRematchNotEnoughMons: @ 829CF6E
.string "ANNA: If you want to battle us,\n"
.string "bring two POKéMON with you.$"
-Route117_Text_29CFAA: @ 829CFAA
+Route117_Text_MegRematchIntro: @ 829CFAA
.string "MEG: I'm going to tag up with my\n"
.string "senior partner and win this time!$"
-Route117_Text_29CFED: @ 829CFED
+Route117_Text_MegRematchDefeat: @ 829CFED
.string "MEG: Too strong!$"
-Route117_Text_29CFFE: @ 829CFFE
+Route117_Text_MegPostRematch: @ 829CFFE
.string "MEG: I battled together with my\n"
.string "senior partner, but we lost…\p"
.string "That's so discouraging…$"
-Route117_Text_29D053: @ 829D053
+Route117_Text_MegRematchNotEnoughMons: @ 829D053
.string "MEG: Do you only have one POKéMON?\n"
.string "We can't battle with you, then.\p"
.string "We want to have a 2-on-2 battle.$"
-Route117_Text_29D0B7: @ 829D0B7
+Route117_Text_MelinaIntro: @ 829D0B7
.string "Isn't it nice? To battle while looking\n"
.string "at pretty flowers?$"
-Route117_Text_29D0F1: @ 829D0F1
+Route117_Text_MelinaDefeat: @ 829D0F1
.string "Oh, that's quite impressive!$"
-Route117_Text_29D10E: @ 829D10E
+Route117_Text_MelinaPostBattle: @ 829D10E
.string "It feels wonderful to go for a jog\n"
.string "while looking at flowers.$"
-Route117_Text_29D14B: @ 829D14B
+Route117_Text_BrandiIntro: @ 829D14B
.string "Let me demonstrate the power\n"
.string "hidden within a PSYCHIC POKéMON!$"
-Route117_Text_29D189: @ 829D189
+Route117_Text_BrandiDefeat: @ 829D189
.string "Astonishing!$"
-Route117_Text_29D196: @ 829D196
+Route117_Text_BrandiPostBattle: @ 829D196
.string "PSYCHIC POKéMON are complex.\n"
.string "You should try catching some.$"
-Route117_Text_29D1D1: @ 829D1D1
+Route117_Text_AishaIntro: @ 829D1D1
.string "Concentrate on getting the win.\n"
.string "That's how I battle!$"
-Route117_Text_29D206: @ 829D206
+Route117_Text_AishaDefeat: @ 829D206
.string "I don't waste any time being angry\n"
.string "over a loss--I would rather train.$"
-Route117_Text_29D24C: @ 829D24C
+Route117_Text_AishaPostBattle: @ 829D24C
.string "I think that if you worry about losing,\n"
.string "you're more likely to lose.$"
-Route118_Text_29D290: @ 829D290
+Route118_Text_RoseIntro: @ 829D290
.string "The aroma of flowers has a magical\n"
.string "power. It cleanses us body and soul.$"
-Route118_Text_29D2D8: @ 829D2D8
+Route118_Text_RoseDefeat: @ 829D2D8
.string "Oh, dear me.\n"
.string "I seem to have lost.$"
-Route118_Text_29D2FA: @ 829D2FA
+Route118_Text_RosePostBattle: @ 829D2FA
.string "Flowers, POKéMON…\n"
.string "I love whatever smells nice.\p"
.string "Stinky things…\n"
.string "I'll pass.$"
-Route118_Text_29D343: @ 829D343
+Route118_Text_RoseRegister: @ 829D343
.string "Sniff… That odor--it's a POKéNAV!\n"
.string "We must register each other!$"
-Route118_Text_29D382: @ 829D382
+Route118_Text_RoseRematchIntro: @ 829D382
.string "Were you drawn here by the sweet\n"
.string "aroma?$"
-Route118_Text_29D3AA: @ 829D3AA
+Route118_Text_RoseRematchDefeat: @ 829D3AA
.string "The power of aroma…\n"
.string "It didn't seem to do much.$"
-Route118_Text_29D3D9: @ 829D3D9
+Route118_Text_RosePostRematch: @ 829D3D9
.string "If you use a sweet aroma properly,\n"
.string "POKéMON will be attracted by it.$"
-Route118_Text_29D41D: @ 829D41D
+Route118_Text_PerryIntro: @ 829D41D
.string "BIRD POKéMON that FLY elegantly in\n"
.string "the sky… They're the best!$"
-Route118_Text_29D45B: @ 829D45B
+Route118_Text_PerryDefeat: @ 829D45B
.string "Urgh…\n"
.string "I crashed…$"
-Route118_Text_29D46C: @ 829D46C
+Route118_Text_PerryPostBattle: @ 829D46C
.string "You've got great POKéMON.\n"
.string "I'll have to train mine better.$"
-Route118_Text_29D4A6: @ 829D4A6
+Route118_Text_ChesterIntro: @ 829D4A6
.string "Take flight!\n"
.string "My BIRD POKéMON!$"
-Route118_Text_29D4C4: @ 829D4C4
+Route118_Text_ChesterDefeat: @ 829D4C4
.string "They did take flight…$"
-Route118_Text_29D4DA: @ 829D4DA
+Route118_Text_ChesterPostBattle: @ 829D4DA
.string "If they'd get stronger, they'd be able\n"
.string "to fly more freely…$"
-Route118_Text_29D515: @ 829D515
+Route118_Text_BarnyIntro: @ 829D515
.string "I'm a FISHERMAN, but also a TRAINER.\n"
.string "I'm raising the POKéMON I caught.$"
-Route118_Text_29D55C: @ 829D55C
+Route118_Text_BarnyDefeat: @ 829D55C
.string "I thought I was doing okay in my\n"
.string "training…$"
-Route118_Text_29D587: @ 829D587
+Route118_Text_BarnyPostBattle: @ 829D587
.string "I couldn't win by training POKéMON\n"
.string "while I fished…\p"
.string "Was I doing things in half measures?$"
-Route118_Text_29D5DF: @ 829D5DF
+Route118_Text_WadeIntro: @ 829D5DF
.string "For FISHERMEN, equipment is the key.\p"
.string "But for TRAINERS, the key ingredients\n"
.string "are POKéMON and heart, of course!$"
-Route118_Text_29D64C: @ 829D64C
+Route118_Text_WadeDefeat: @ 829D64C
.string "I was beaten in heart?$"
-Route118_Text_29D663: @ 829D663
+Route118_Text_WadePostBattle: @ 829D663
.string "Come to think of it, fishing is a battle\n"
.string "between a FISHERMAN and a POKéMON.$"
-Route118_Text_29D6AF: @ 829D6AF
+Route118_Text_DaltonIntro: @ 829D6AF
.string "Let my melody rock your soul!$"
-Route118_Text_29D6CD: @ 829D6CD
+Route118_Text_DaltonDefeat: @ 829D6CD
.string "La-lalala…$"
-Route118_Text_29D6D8: @ 829D6D8
+Route118_Text_DaltonPostBattle: @ 829D6D8
.string "An electric guitar doesn't always\n"
.string "have to be noisy…\p"
.string "It can be strummed to squeeze out\n"
.string "this heart-stirring melody…$"
-Route118_Text_29D74A: @ 829D74A
+Route118_Text_DaltonRegister: @ 829D74A
.string "When I compose better melodies,\n"
.string "you have to come listen, okay?$"
-Route118_Text_29D789: @ 829D789
+Route118_Text_DaltonRematchIntro: @ 829D789
.string "A melody from my POKéMON and me…\n"
.string "Let us deliver it to your soul.$"
-Route118_Text_29D7CA: @ 829D7CA
+Route118_Text_DaltonRematchDefeat: @ 829D7CA
.string "La-lalala…$"
-Route118_Text_29D7D5: @ 829D7D5
+Route118_Text_DaltonPostRematch: @ 829D7D5
.string "When I play, my emotions should reach\n"
.string "you through my electric guitar…$"
-Route118_Text_29D81B: @ 829D81B
+Route118_Text_DeandreIntro: @ 829D81B
.string "Go, go, go!\n"
.string "POKéMON 1, 2, and 3!$"
-Route118_Text_29D83C: @ 829D83C
+Route118_Text_DeandreDefeat: @ 829D83C
.string "Come in, POKéMON! Are you okay?\n"
.string "POKéMON 1, 2, and 3?!$"
-Route118_Text_29D872: @ 829D872
+Route118_Text_DeandrePostBattle: @ 829D872
.string "Isn't it cool that I have a POKéMON\n"
.string "battle team?\p"
.string "You can copy me--I don't mind!$"
-Route119_Text_29D8C2: @ 829D8C2
+Route119_Text_BrentIntro: @ 829D8C2
.string "We're the MIMIC CIRCLE!\n"
.string "We MIMIC what you do!$"
-Route119_Text_29D8F0: @ 829D8F0
+Route119_Text_BrentDefeat: @ 829D8F0
.string "Whoopsie!\n"
.string "I lost!$"
-Route119_Text_29D902: @ 829D902
+Route119_Text_BrentPostBattle: @ 829D902
.string "What's so good about mimicry?\p"
.string "Fufufu…\n"
.string "You'll never understand…$"
-Route119_Text_29D941: @ 829D941
+Route119_Text_DonaldIntro: @ 829D941
.string "So, we finally meet!\n"
.string "My BUG POKéMON will keep you company!$"
-Route119_Text_29D97C: @ 829D97C
+Route119_Text_DonaldDefeat: @ 829D97C
.string "I wish we'd never met…$"
-Route119_Text_29D993: @ 829D993
+Route119_Text_DonaldPostBattle: @ 829D993
.string "I want to MIMIC you some more.\n"
.string "Can you hurry up and move?$"
-Route119_Text_29D9CD: @ 829D9CD
+Route119_Text_TaylorIntro: @ 829D9CD
.string "If you step forward, we step forward.\p"
.string "If you turn right, we turn, too…$"
-Route119_Text_29DA14: @ 829DA14
+Route119_Text_TaylorDefeat: @ 829DA14
.string "But if you win, I lose…$"
-Route119_Text_29DA2C: @ 829DA2C
+Route119_Text_TaylorPostBattle: @ 829DA2C
.string "I can't MIMIC you winning the match.\n"
.string "That's just impossible…\l"
.string "It's burning me up…$"
-Route119_Text_29DA7D: @ 829DA7D
+Route119_Text_DougIntro: @ 829DA7D
.string "Yep, you've finally caught me!\n"
.string "Or were you trying to avoid me?$"
-Route119_Text_29DABC: @ 829DABC
+Route119_Text_DougDefeat: @ 829DABC
.string "Whoop, that was a great match!$"
-Route119_Text_29DADB: @ 829DADB
+Route119_Text_DougPostBattle: @ 829DADB
.string "We're the MIMIC CIRCLE!\n"
.string "I hope you enjoyed our performance.$"
-Route119_Text_29DB17: @ 829DB17
+Route119_Text_GregIntro: @ 829DB17
.string "You don't know who I am, do you?\p"
.string "But, I also don't know you.\n"
.string "So, we'll battle!$"
-Route119_Text_29DB66: @ 829DB66
+Route119_Text_GregDefeat: @ 829DB66
.string "You're pretty strong!$"
-Route119_Text_29DB7C: @ 829DB7C
+Route119_Text_GregPostBattle: @ 829DB7C
.string "Until you go away somewhere, we'll\n"
.string "keep on mimicking your every move.$"
-Route119_Text_29DBC2: @ 829DBC2
+Route119_Text_KentIntro: @ 829DBC2
.string "The MIMIC CIRCLE was formed by people\n"
.string "who like to MIMIC.\p"
.string "A battle starts the instant we meet!$"
-Route119_Text_29DC20: @ 829DC20
+Route119_Text_KentDefeat: @ 829DC20
.string "I give up!$"
-Route119_Text_29DC2B: @ 829DC2B
+Route119_Text_KentPostBattle: @ 829DC2B
.string "Won't you join our MIMIC CIRCLE?$"
-Route119_Text_29DC4C: @ 829DC4C
+Route119_Text_JacksonIntro: @ 829DC4C
.string "Who has the knowledge and\n"
.string "the technique for survival?\p"
.string "POKéMON RANGERS, that's who!$"
-Route119_Text_29DC9F: @ 829DC9F
+Route119_Text_JacksonDefeat: @ 829DC9F
.string "I didn't have enough POKéMON\n"
.string "know-how…$"
-Route119_Text_29DCC6: @ 829DCC6
+Route119_Text_JacksonPostBattle: @ 829DCC6
.string "To break away from civilization and\n"
.string "awaken the wild spirit within!\p"
.string "That's our vision.$"
-Route119_Text_29DD1C: @ 829DD1C
+Route119_Text_JacksonRegister: @ 829DD1C
.string "I hope you'll give me a rematch without\n"
.string "mocking my lack of knowledge.$"
-Route119_Text_29DD62: @ 829DD62
+Route119_Text_JacksonRematchIntro: @ 829DD62
.string "I'm going to regain my wild spirit by\n"
.string "being together with POKéMON.$"
-Route119_Text_29DDA5: @ 829DDA5
+Route119_Text_JacksonRematchDefeat: @ 829DDA5
.string "You've remained strong!$"
-Route119_Text_29DDBD: @ 829DDBD
+Route119_Text_JacksonPostRematch: @ 829DDBD
.string "Believe in your POKéMON.\n"
.string "Believe in yourself.\p"
.string "The road will reveal itself to you.$"
-Route119_Text_29DE0F: @ 829DE0F
+Route119_Text_CatherineIntro: @ 829DE0F
.string "Oh? Look at you.\p"
.string "For someone on an adventure,\n"
.string "you're traveling awfully light.$"
-Route119_Text_29DE5D: @ 829DE5D
+Route119_Text_CatherineDefeat: @ 829DE5D
.string "Accidents happen when you're not\n"
.string "prepared!$"
-Route119_Text_29DE88: @ 829DE88
+Route119_Text_CatherinePostBattle: @ 829DE88
.string "You're traveling light but you have\n"
.string "everything you need.\p"
.string "You're on top of things mentally and\n"
.string "physically, too.$"
-Route119_Text_29DEF7: @ 829DEF7
+Route119_Text_CatherineRegister: @ 829DEF7
.string "Do you have a POKéNAV?\n"
.string "It's a must-have tool for any TRAINER.\p"
.string "Oh, you do have one!\n"
.string "Let's register each other, then!$"
-Route119_Text_29DF6B: @ 829DF6B
+Route119_Text_CatherineRematchIntro: @ 829DF6B
.string "How's your journey with POKéMON\n"
.string "going?$"
-Route119_Text_29DF92: @ 829DF92
+Route119_Text_CatherineRematchDefeat: @ 829DF92
.string "I'm still missing something…$"
-Route119_Text_29DFAF: @ 829DFAF
+Route119_Text_CatherinePostRematch: @ 829DFAF
.string "In the same way that you, as a TRAINER,\n"
.string "rely on your POKéMON, your POKéMON\l"
.string "rely on you.$"
-Route119_Text_29E007: @ 829E007
+Route119_Text_HughIntro: @ 829E007
.string "The vast sky holds untold promise!\p"
.string "Nothing can compare to the sheer\n"
.string "exhilaration of flight!$"
-Route119_Text_29E063: @ 829E063
+Route119_Text_HughDefeat: @ 829E063
.string "Down and out!$"
-Route119_Text_29E071: @ 829E071
+Route119_Text_HughPostBattle: @ 829E071
.string "My BIRD POKéMON made my dreams of\n"
.string "flying come true!$"
-Route119_Text_29E0A5: @ 829E0A5
+Route119_Text_PhilIntro: @ 829E0A5
.string "I'll show you the true potential of me\n"
.string "and my BIRD POKéMON!$"
-Route119_Text_29E0E1: @ 829E0E1
+Route119_Text_PhilDefeat: @ 829E0E1
.string "We lacked potential…$"
-Route119_Text_29E0F6: @ 829E0F6
+Route119_Text_PhilPostBattle: @ 829E0F6
.string "Ever since I was a little kid, I always\n"
.string "admired BIRD POKéMON…$"
-Route119_Text_29E134: @ 829E134
+Route119_Text_YasuIntro: @ 829E134
.string "To lurk in shadows, and live in\n"
.string "darkness… That is my destiny.\p"
.string "I emerge to challenge you!$"
-Route119_Text_29E18D: @ 829E18D
+Route119_Text_YasuDefeat: @ 829E18D
.string "I admit defeat!$"
-Route119_Text_29E19D: @ 829E19D
+Route119_Text_YasuPostBattle: @ 829E19D
.string "Those defeated in battle withdraw\n"
.string "quietly back into the shadows.\l"
.string "That, too, is destiny…$"
-Route119_Text_29E1F5: @ 829E1F5
+Route119_Text_TakashiIntro: @ 829E1F5
.string "If you're not on your guard,\n"
.string "you're in for some pain!$"
-Route119_Text_29E22B: @ 829E22B
+Route119_Text_TakashiDefeat: @ 829E22B
.string "You're surprisingly good!$"
-Route119_Text_29E245: @ 829E245
+Route119_Text_TakashiPostBattle: @ 829E245
.string "My surprise attack ended in\n"
.string "failure…$"
-Route119_Text_29E26A: @ 829E26A
+Route119_Text_HideoIntro: @ 829E26A
.string "To hide a tree, use a forest!$"
-Route119_Text_29E288: @ 829E288
+Route119_Text_HideoDefeat: @ 829E288
.string "I bow to your superiority.$"
-Route119_Text_29E2A3: @ 829E2A3
+Route119_Text_HideoPostBattle: @ 829E2A3
.string "To hide a tree, use a forest!\n"
.string "To hide a POKéMON, use a POKéMON!\p"
.string "There is no deep, hidden meaning\n"
.string "to that.$"
-Route119_Text_29E30D: @ 829E30D
+Route119_Text_ChrisIntro: @ 829E30D
.string "You spoke to me…\n"
.string "So you want to challenge me!\p"
.string "Sure! I'll try out the POKéMON I caught\n"
.string "while SURFING!$"
-Route119_Text_29E372: @ 829E372
+Route119_Text_ChrisDefeat: @ 829E372
.string "I don't have a clue about what it\n"
.string "takes to win.$"
-Route119_Text_29E3A2: @ 829E3A2
+Route119_Text_ChrisPostBattle: @ 829E3A2
.string "Go for a SURF on my POKéMON…\p"
.string "Then fish off its back…\p"
.string "It's an indescribably luxuriant moment!$"
-Route119_Text_29E3FF: @ 829E3FF
+Route119_Text_FabianIntro: @ 829E3FF
.string "Hit me with a power chord!\n"
.string "Victory is mine!\l"
.string "It's our time to shine, whoa, yeah!$"
-Route119_Text_29E44F: @ 829E44F
+Route119_Text_FabianDefeat: @ 829E44F
.string "You showed me who's the boss!\n"
.string "We'll have to take the loss, oh, no!$"
-Route119_Text_29E492: @ 829E492
+Route119_Text_FabianPostBattle: @ 829E492
.string "Hit me with another power chord!\n"
.string "Leave me alone!\l"
.string "Your win you have to atone!$"
-Route119_Text_29E4DF: @ 829E4DF
+Route119_Text_DaytonIntro: @ 829E4DF
.string "Hohoho!\n"
.string "I like kid TRAINERS!\l"
.string "Let's have a good one!$"
-Route119_Text_29E513: @ 829E513
+Route119_Text_DaytonDefeat: @ 829E513
.string "You're pretty amazing!\n"
.string "Hohoho!$"
-Route119_Text_29E532: @ 829E532
+Route119_Text_DaytonPostBattle: @ 829E532
.string "Hohoho!\n"
.string "I'll try emulating the pep of kid\l"
.string "TRAINERS like you!$"
-Route119_Text_29E56F: @ 829E56F
+Route119_Text_RachelIntro: @ 829E56F
.string "Wherever and whenever I may be,\n"
.string "I always have my parasol in hand.$"
-Route119_Text_29E5B1: @ 829E5B1
+Route119_Text_RachelDefeat: @ 829E5B1
.string "Oh, but…\n"
.string "That's not fair.$"
-Route119_Text_29E5CB: @ 829E5CB
+Route119_Text_RachelPostBattle: @ 829E5CB
.string "You're asking if my parasol is heavy?\n"
.string "Your BAG is filled with more junk than\l"
.string "I ever carry around.$"
-Route120_Text_29E62D: @ 829E62D
+Route120_Text_ColinIntro: @ 829E62D
.string "Do you have any moves that can strike\n"
.string "a flying POKéMON?$"
-Route120_Text_29E665: @ 829E665
+Route120_Text_ColinDefeat: @ 829E665
.string "You soared above me!$"
-Route120_Text_29E67A: @ 829E67A
+Route120_Text_ColinPostBattle: @ 829E67A
.string "The move FLY is convenient,\n"
.string "don't you think?\p"
.string "While the POKéMON is flying,\n"
.string "almost no moves can strike it.$"
-Route120_Text_29E6E3: @ 829E6E3
+Route120_Text_RobertIntro: @ 829E6E3
.string "My POKéMON is strong!\n"
.string "How about yours?$"
-Route120_Text_29E70A: @ 829E70A
+Route120_Text_RobertDefeat: @ 829E70A
.string "Your POKéMON were stronger…$"
-Route120_Text_29E726: @ 829E726
+Route120_Text_RobertPostBattle: @ 829E726
.string "A POKéMON that grows steadily is one\n"
.string "you can count on.$"
-Route120_Text_29E75D: @ 829E75D
+Route120_Text_RobertRegister: @ 829E75D
.string "You can be counted on to get better.\n"
.string "I'd like to register you in my POKéNAV!$"
-Route120_Text_29E7AA: @ 829E7AA
+Route120_Text_RobertRematchIntro: @ 829E7AA
.string "A POKéMON that grows steadily is one\n"
.string "you can count on.$"
-Route120_Text_29E7E1: @ 829E7E1
+Route120_Text_RobertRematchDefeat: @ 829E7E1
.string "Your POKéMON are seriously strong.$"
-Route120_Text_29E804: @ 829E804
+Route120_Text_RobertPostRematch: @ 829E804
.string "My POKéMON are growing stronger.\n"
.string "I have to grow stronger, too.$"
-Route120_Text_29E843: @ 829E843
+Route120_Text_LorenzoIntro: @ 829E843
.string "I'll check your POKéMON and see if\n"
.string "they're fit for the outdoors.$"
-Route120_Text_29E884: @ 829E884
+Route120_Text_LorenzoDefeat: @ 829E884
.string "With POKéMON that strong, you're in\n"
.string "no danger of needing rescue!$"
-Route120_Text_29E8C5: @ 829E8C5
+Route120_Text_LorenzoPostBattle: @ 829E8C5
.string "To travel wherever your heart desires\n"
.string "with POKéMON…\l"
.string "That's the joy of being a TRAINER.$"
-Route120_Text_29E91C: @ 829E91C
+Route120_Text_JennaIntro: @ 829E91C
.string "How's your physical fitness?\n"
.string "If you're not fit, you could have a\l"
.string "rough time in critical situations.$"
-Route120_Text_29E980: @ 829E980
+Route120_Text_JennaDefeat: @ 829E980
.string "I'm totally fit, but…$"
-Route120_Text_29E996: @ 829E996
+Route120_Text_JennaPostBattle: @ 829E996
.string "Fitness training is in my routine.\n"
.string "I always run with my POKéMON.$"
-Route120_Text_29E9D7: @ 829E9D7
+Route120_Text_JeffreyIntro: @ 829E9D7
.string "… … … … … …\n"
.string "… … … … … …\l"
.string "Want to battle?$"
-Route120_Text_29E9FF: @ 829E9FF
+Route120_Text_JeffreyDefeat: @ 829E9FF
.string "Lost it…$"
-Route120_Text_29EA08: @ 829EA08
+Route120_Text_JeffreyPostBattle: @ 829EA08
.string "… … … … … …\n"
.string "… … … … … …\l"
.string "I'll try harder…$"
-Route120_Text_29EA31: @ 829EA31
+Route120_Text_JeffreyRegister: @ 829EA31
.string "… … … … … …\n"
.string "… … … … … …\l"
.string "Do you have a POKéNAV…?$"
-Route120_Text_29EA61: @ 829EA61
+Route120_Text_JeffreyRematchIntro: @ 829EA61
.string "… … … … … …\n"
.string "… … … … … …\l"
.string "Want to battle again?$"
-Route120_Text_29EA8F: @ 829EA8F
+Route120_Text_JeffreyRematchDefeat: @ 829EA8F
.string "… … … … … …\n"
.string "I lost again…$"
-Route120_Text_29EAA9: @ 829EAA9
+Route120_Text_JeffreyPostRematch: @ 829EAA9
.string "… … … … … …\n"
.string "… … … … … …\l"
.string "I'll try harder…\l"
.string "For my precious BUG POKéMON…$"
-Route120_Text_29EAEF: @ 829EAEF
+Route120_Text_JenniferIntro: @ 829EAEF
.string "POKéMON have many special abilities.\n"
.string "If you want to become a first-class\l"
.string "TRAINER, learn about them.$"
-Route120_Text_29EB53: @ 829EB53
+Route120_Text_JenniferDefeat: @ 829EB53
.string "You're obviously thinking.$"
-Route120_Text_29EB6E: @ 829EB6E
+Route120_Text_JenniferPostBattle: @ 829EB6E
.string "The special abilities of POKéMON\n"
.string "will make battle styles change.$"
-Route120_Text_29EBAF: @ 829EBAF
+Route120_Text_ChipIntro: @ 829EBAF
.string "Who might you be?\p"
.string "Are you perhaps searching for ancient\n"
.string "ruins that are rumored to possibly\l"
.string "exist according to legend?$"
-Route120_Text_29EC25: @ 829EC25
+Route120_Text_ChipDefeat: @ 829EC25
.string "What a disgraceful setback…$"
-Route120_Text_29EC41: @ 829EC41
+Route120_Text_ChipPostBattle: @ 829EC41
.string "That giant rock… I would like to\n"
.string "believe it may indeed contain ancient\l"
.string "ruins. But I see no entrance.$"
-Route120_Text_29ECA6: @ 829ECA6
+Route120_Text_ClarissaIntro: @ 829ECA6
.string "Why am I carrying this parasol?\p"
.string "I'll tell you if you can win against me.$"
-Route120_Text_29ECEF: @ 829ECEF
+Route120_Text_ClarissaDefeat: @ 829ECEF
.string "A parasol can't ward off POKéMON\n"
.string "attacks…$"
-Route120_Text_29ED19: @ 829ED19
+Route120_Text_ClarissaPostBattle: @ 829ED19
.string "I don't think strong sunlight is good\n"
.string "for my POKéMON.\l"
.string "So I shield them with my parasol.$"
-Route120_Text_29ED71: @ 829ED71
+Route120_Text_AngelicaIntro: @ 829ED71
.string "Me, POKéMON, and my parasol…\p"
.string "If any one of them is missing,\n"
.string "the picture of beauty will be ruined.$"
-Route120_Text_29EDD3: @ 829EDD3
+Route120_Text_AngelicaDefeat: @ 829EDD3
.string "You've completely ruined my beauty…$"
-Route120_Text_29EDF7: @ 829EDF7
+Route120_Text_AngelicaPostBattle: @ 829EDF7
.string "A parasol wouldn't suit you at all.\p"
.string "Why, something like this would only\n"
.string "get in your way.$"
-Route120_Text_29EE50: @ 829EE50
+Route120_Text_KeigoIntro: @ 829EE50
.string "I will adopt the movements of POKéMON\n"
.string "and create new ninja techniques.$"
-Route120_Text_29EE97: @ 829EE97
+Route120_Text_KeigoDefeat: @ 829EE97
.string "The creation of new ninja techniques\n"
.string "is but a distant dream…$"
-Route120_Text_29EED4: @ 829EED4
+Route120_Text_KeigoPostBattle: @ 829EED4
.string "Perhaps I ought to apprentice under\n"
.string "a ninja sensei.$"
-Route120_Text_29EF08: @ 829EF08
+Route120_Text_RileyIntro: @ 829EF08
.string "We ninja conceal ourselves under our\n"
.string "camouflage cloaks.\l"
.string "I bet you didn't know where I was!$"
-Route120_Text_29EF63: @ 829EF63
+Route120_Text_RileyDefeat: @ 829EF63
.string "I lost!\n"
.string "I should camouflage my shame!$"
-Route120_Text_29EF89: @ 829EF89
+Route120_Text_RileyPostBattle: @ 829EF89
.string "Our camouflage cloaks are all\n"
.string "handmade.$"
-Route120_Text_29EFB1: @ 829EFB1
+Route120_Text_CallieIntro: @ 829EFB1
.string "If you don't pay attention,\n"
.string "you could get hurt!$"
-Route120_Text_29EFE1: @ 829EFE1
+Route120_Text_CallieDefeat: @ 829EFE1
.string "Ouch!\n"
.string "I was the one to get hurt.$"
-Route120_Text_29F002: @ 829F002
+Route120_Text_CalliePostBattle: @ 829F002
.string "I wonder… Should I evolve my POKéMON?\n"
.string "They're cute the way they are, though.$"
-Route120_Text_29F04F: @ 829F04F
+Route120_Text_LeonelIntro: @ 829F04F
.string "Your party POKéMON…\n"
.string "Do you have different types?$"
-Route120_Text_29F080: @ 829F080
+Route120_Text_LeonelDefeat: @ 829F080
.string "I've seen your policy in action!$"
-Route120_Text_29F0A1: @ 829F0A1
+Route120_Text_LeonelPostBattle: @ 829F0A1
.string "I think it's awesome you're so strong\n"
.string "battling with your favorite POKéMON.$"
-Route121_Text_29F0EC: @ 829F0EC
+Route121_Text_VanessaIntro: @ 829F0EC
.string "Will you play with my delightfully\n"
.string "pretty POKéMON?$"
-Route121_Text_29F11F: @ 829F11F
+Route121_Text_VanessaDefeat: @ 829F11F
.string "This isn't what I meant!$"
-Route121_Text_29F138: @ 829F138
+Route121_Text_VanessaPostBattle: @ 829F138
.string "I'm going to a CONTEST in LILYCOVE.\p"
.string "My POKéMON should have no problem\n"
.string "sweeping the MASTER CLASS.$"
-Route121_Text_29F199: @ 829F199
+Route121_Text_WalterIntro: @ 829F199
.string "With my POKéMON, I have traveled\n"
.string "to the world's four corners.\p"
.string "You might say I have some confidence\n"
.string "in my abilities.$"
-Route121_Text_29F20D: @ 829F20D
+Route121_Text_WalterDefeat: @ 829F20D
.string "Ah, well played.$"
-Route121_Text_29F21E: @ 829F21E
+Route121_Text_WalterPostBattle: @ 829F21E
.string "I would like to circle the globe once\n"
.string "again with my POKéMON.$"
-Route121_Text_29F25B: @ 829F25B
+Route121_Text_WalterRegister: @ 829F25B
.string "Your POKéMON prowess is remarkable.\n"
.string "Allow me to register you as a memento.$"
-Route121_Text_29F2A6: @ 829F2A6
+Route121_Text_WalterRematchIntro: @ 829F2A6
.string "With my POKéMON, I have traveled\n"
.string "to the world's four corners.\p"
.string "You might say I have some confidence\n"
.string "in my abilities.$"
-Route121_Text_29F31A: @ 829F31A
+Route121_Text_WalterRematchDefeat: @ 829F31A
.string "Ah, well played.$"
-Route121_Text_29F32B: @ 829F32B
+Route121_Text_WalterPostRematch: @ 829F32B
.string "Your POKéMON and you…\p"
.string "Your prowess together will be\n"
.string "considered strong, even overseas.$"
-Route121_Text_29F381: @ 829F381
+Route121_Text_TammyIntro: @ 829F381
.string "There are powers beyond our\n"
.string "understanding in the world…$"
-Route121_Text_29F3B9: @ 829F3B9
+Route121_Text_TammyDefeat: @ 829F3B9
.string "I have lost…$"
-Route121_Text_29F3C6: @ 829F3C6
+Route121_Text_TammyPostBattle: @ 829F3C6
.string "MT. PYRE…\n"
.string "There is a mysterious power\l"
.string "at work there…$"
-Route121_Text_29F3FB: @ 829F3FB
+Route121_Text_KateIntro: @ 829F3FB
.string "KATE: Together, we're fearless!\n"
.string "We'll demonstrate how tough we are!$"
-Route121_Text_29F43F: @ 829F43F
+Route121_Text_KateDefeat: @ 829F43F
.string "KATE: I blew it in front of my junior\n"
.string "student partner…$"
-Route121_Text_29F476: @ 829F476
+Route121_Text_KatePostBattle: @ 829F476
.string "KATE: When someone's relying on me,\n"
.string "I get this urge to look cool in front\l"
.string "of them…$"
-Route121_Text_29F4C9: @ 829F4C9
+Route121_Text_KateNotEnoughMons: @ 829F4C9
.string "KATE: If you've only got one POKéMON,\n"
.string "we can't battle with you.\p"
.string "That would be bullying.$"
-Route121_Text_29F521: @ 829F521
+Route121_Text_JoyIntro: @ 829F521
.string "JOY: Together, we're fearless!\n"
.string "We'll demonstrate how tough we are!$"
-Route121_Text_29F564: @ 829F564
+Route121_Text_JoyDefeat: @ 829F564
.string "JOY: Please forgive me, KATE!$"
-Route121_Text_29F582: @ 829F582
+Route121_Text_JoyPostBattle: @ 829F582
.string "JOY: Ehehe, I'll have to train with KATE,\n"
.string "my senior student partner, again.$"
-Route121_Text_29F5CE: @ 829F5CE
+Route121_Text_JoyNotEnoughMons: @ 829F5CE
.string "JOY: You need at least two POKéMON\n"
.string "if you're going to challenge us!$"
-Route121_Text_29F612: @ 829F612
+Route121_Text_JessicaIntro: @ 829F612
.string "Stop! Have a good look at my precious\n"
.string "POKéMON!$"
-Route121_Text_29F641: @ 829F641
+Route121_Text_JessicaDefeat: @ 829F641
.string "Oh, how dare you!\n"
.string "Don't take it so seriously!$"
-Route121_Text_29F66F: @ 829F66F
+Route121_Text_JessicaPostBattle: @ 829F66F
.string "Maybe I'll go catch more POKéMON at\n"
.string "the SAFARI.$"
-Route121_Text_29F69F: @ 829F69F
+Route121_Text_JessicaRegister: @ 829F69F
.string "I took it easy on you this time!\n"
.string "It won't be that way the next time!$"
-Route121_Text_29F6E4: @ 829F6E4
+Route121_Text_JessicaRematchIntro: @ 829F6E4
.string "My precious POKéMON grew!\n"
.string "Have a good look!$"
-Route121_Text_29F710: @ 829F710
+Route121_Text_JessicaRematchDefeat: @ 829F710
.string "Oh, how dare you!\n"
.string "You still won't take it easy!$"
-Route121_Text_29F740: @ 829F740
+Route121_Text_JessicaPostRematch: @ 829F740
.string "Maybe I'll go catch more POKéMON at\n"
.string "the SAFARI.$"
-Route121_Text_29F770: @ 829F770
+Route121_Text_CristinIntro: @ 829F770
.string "I have this routine.\n"
.string "Defeat five TRAINERS a day.\l"
.string "Guess what? You're number five!$"
-Route121_Text_29F7C1: @ 829F7C1
+Route121_Text_CristinDefeat: @ 829F7C1
.string "No!\n"
.string "You're horrid!$"
-Route121_Text_29F7D4: @ 829F7D4
+Route121_Text_CristinPostBattle: @ 829F7D4
.string "I didn't expect to lose this easily…\n"
.string "I'll win next time!$"
-Route121_Text_29F80D: @ 829F80D
+Route121_Text_CristinRegister: @ 829F80D
.string "That was total humiliation!\n"
.string "I won't forget you…\l"
.string "Hand over your POKéNAV!$"
-Route121_Text_29F855: @ 829F855
+Route121_Text_CristinRematchIntro: @ 829F855
.string "I have this new routine.\n"
.string "Defeat ten TRAINERS a day.\l"
.string "Guess what? You're number ten!$"
-Route121_Text_29F8A8: @ 829F8A8
+Route121_Text_CristinRematchDefeat: @ 829F8A8
.string "Wait! That's nasty!\n"
.string "I demand a rematch!$"
-Route121_Text_29F8D0: @ 829F8D0
+Route121_Text_CristinPostRematch: @ 829F8D0
.string "An opponent I just can't beat…\n"
.string "Snivel…\l"
.string "I can't believe this is happening…$"
-Route121_Text_29F91A: @ 829F91A
+Route121_Text_CaleIntro: @ 829F91A
.string "Can't you see that I have all this\n"
.string "stuff with me?\p"
.string "Despite that, you still insist that\n"
.string "we battle?$"
-Route121_Text_29F97B: @ 829F97B
+Route121_Text_CaleDefeat: @ 829F97B
.string "Of course I lost!\n"
.string "I'm holding stuff in both hands!$"
-Route121_Text_29F9AE: @ 829F9AE
+Route121_Text_CalePostBattle: @ 829F9AE
.string "I bought too much stuff at\n"
.string "the LILYCOVE DEPT. STORE.\p"
.string "It's up the road from here.\n"
.string "I wish I had a BAG like yours.$"
-Route121_Text_29FA1E: @ 829FA1E
+Route121_Text_MylesIntro: @ 829FA1E
.string "There's nothing I love more than\n"
.string "checking out other people's POKéMON!$"
-Route121_Text_29FA64: @ 829FA64
+Route121_Text_MylesDefeat: @ 829FA64
.string "Super awesome!$"
-Route121_Text_29FA73: @ 829FA73
+Route121_Text_MylesPostBattle: @ 829FA73
.string "They're great, your POKéMON!\n"
.string "How do you raise them?$"
-Route121_Text_29FAA7: @ 829FAA7
+Route121_Text_PatIntro: @ 829FAA7
.string "I want everybody to see the POKéMON\n"
.string "I've raised!$"
-Route121_Text_29FAD8: @ 829FAD8
+Route121_Text_PatDefeat: @ 829FAD8
.string "Wow!\n"
.string "Spectacular!$"
-Route121_Text_29FAEA: @ 829FAEA
+Route121_Text_PatPostBattle: @ 829FAEA
.string "I raise every POKéMON with the same\n"
.string "love and care--I don't pick favorites.$"
-Route121_Text_29FB35: @ 829FB35
+Route121_Text_MarcelIntro: @ 829FB35
.string "My POKéMON have never tasted defeat!\n"
.string "On their next win, I'm entering them\l"
.string "in CONTESTS.$"
-Route121_Text_29FB8C: @ 829FB8C
+Route121_Text_MarcelDefeat: @ 829FB8C
.string "Oh, now what happened here?$"
-Route121_Text_29FBA8: @ 829FBA8
+Route121_Text_MarcelPostBattle: @ 829FBA8
.string "I may have to train my gang some more\n"
.string "before entering any CONTEST.$"
-Route123_Text_29FBEB: @ 829FBEB
+Route123_Text_WendyIntro: @ 829FBEB
.string "Want to determine how strong you are?\n"
.string "I'll be the test!$"
-Route123_Text_29FC23: @ 829FC23
+Route123_Text_WendyDefeat: @ 829FC23
.string "You passed with flying colors!$"
-Route123_Text_29FC42: @ 829FC42
+Route123_Text_WendyPostBattle: @ 829FC42
.string "To best even me…\n"
.string "Your strength is marvelous!$"
-Route123_Text_29FC6F: @ 829FC6F
+Route123_Text_BraxtonIntro: @ 829FC6F
.string "You seem to have a big collection\n"
.string "of GYM BADGES.\p"
.string "Let me see if you're actually worthy of\n"
.string "those BADGES!$"
-Route123_Text_29FCD6: @ 829FCD6
+Route123_Text_BraxtonDefeat: @ 829FCD6
.string "Oh, you're worthy, all right!$"
-Route123_Text_29FCF4: @ 829FCF4
+Route123_Text_BraxtonPostBattle: @ 829FCF4
.string "You did your BADGES proud in that\n"
.string "match!$"
-Route123_Text_29FD1D: @ 829FD1D
+Route123_Text_VioletIntro: @ 829FD1D
.string "They say that good times are filled\n"
.string "with good aromas.$"
-Route123_Text_29FD53: @ 829FD53
+Route123_Text_VioletDefeat: @ 829FD53
.string "Oh…\n"
.string "I smell the bitter scent of misery…$"
-Route123_Text_29FD7B: @ 829FD7B
+Route123_Text_VioletPostBattle: @ 829FD7B
.string "The BERRY MASTER's garden is filled\n"
.string "with uplifting fragrances.$"
-Route123_Text_29FDBA: @ 829FDBA
+Route123_Text_CameronIntro: @ 829FDBA
.string "Being a psychic is about willpower.\p"
.string "I've willed myself not to lose to\n"
.string "anyone. That makes me strong!$"
-Route123_Text_29FE1E: @ 829FE1E
+Route123_Text_CameronDefeat: @ 829FE1E
.string "I feel sad…$"
-Route123_Text_29FE2A: @ 829FE2A
+Route123_Text_CameronPostBattle: @ 829FE2A
.string "Being a psychic is about willpower.\n"
.string "I thought I wouldn't lose to you…$"
-Route123_Text_29FE70: @ 829FE70
+Route123_Text_CameronRegister: @ 829FE70
.string "I sense it!\n"
.string "You and I shall battle again!\l"
.string "I can't tell if I'll win, though…\p"
.string "Let's see your POKéNAV.$"
-Route123_Text_29FED4: @ 829FED4
+Route123_Text_CameronRematchIntro: @ 829FED4
.string "I've convinced myself that I won't\n"
.string "lose anymore. That makes me strong!$"
-Route123_Text_29FF1B: @ 829FF1B
+Route123_Text_CameronRematchDefeat: @ 829FF1B
.string "I feel sad…$"
-Route123_Text_29FF27: @ 829FF27
+Route123_Text_CameronPostRematch: @ 829FF27
.string "I should train at MT. PYRE…\n"
.string "I'll never beat you this way…$"
-Route123_Text_29FF61: @ 829FF61
+Route123_Text_JackiIntro: @ 829FF61
.string "Don't be too happy if your POKéMON\n"
.string "develop psychic powers.\p"
.string "You need to refine those powers to\n"
.string "make them really useful.$"
-Route123_Text_29FFD8: @ 829FFD8
+Route123_Text_JackiDefeat: @ 829FFD8
.string "Overwhelmed!$"
-Route123_Text_29FFE5: @ 829FFE5
+Route123_Text_JackiPostBattle: @ 829FFE5
.string "We all have psychic powers.\n"
.string "We've just forgotten how to use them.$"
-Route123_Text_2A0027: @ 82A0027
+Route123_Text_JackiRegister: @ 82A0027
.string "I would like to face you again.\n"
.string "Is that okay with you?$"
-Route123_Text_2A005E: @ 82A005E
+Route123_Text_JackiRematchIntro: @ 82A005E
.string "Have you awoken the psychic powers\n"
.string "within you?$"
-Route123_Text_2A008D: @ 82A008D
+Route123_Text_JackiRematchDefeat: @ 82A008D
.string "Astounding!$"
-Route123_Text_2A0099: @ 82A0099
+Route123_Text_JackiPostRematch: @ 82A0099
.string "Your power with POKéMON…\n"
.string "That could be a psychic power, too.$"
-Route123_Text_2A00D6: @ 82A00D6
+Route123_Text_MiuIntro: @ 82A00D6
.string "MIU: Hello, TRAINER. I hope your\n"
.string "POKéMON won't cry when they lose.$"
-Route123_Text_2A0119: @ 82A0119
+Route123_Text_MiuDefeat: @ 82A0119
.string "MIU: Uh-oh, we lost.$"
-Route123_Text_2A012E: @ 82A012E
+Route123_Text_MiuPostBattle: @ 82A012E
.string "MIU: TRAINER, your POKéMON are\n"
.string "strong because you are friends.$"
-Route123_Text_2A016D: @ 82A016D
+Route123_Text_MiuNotEnoughMons: @ 82A016D
.string "MIU: It's no fun to battle if you\n"
.string "don't have two POKéMON.$"
-Route123_Text_2A01A7: @ 82A01A7
+Route123_Text_YukiIntro: @ 82A01A7
.string "YUKI: Okay!\n"
.string "We're beating the TRAINER's POKéMON!$"
-Route123_Text_2A01D8: @ 82A01D8
+Route123_Text_YukiDefeat: @ 82A01D8
.string "YUKI: Uh-oh, we lost.$"
-Route123_Text_2A01EE: @ 82A01EE
+Route123_Text_YukiPostBattle: @ 82A01EE
.string "YUKI: Why are you so strong?\n"
.string "We've never lost before.$"
-Route123_Text_2A0224: @ 82A0224
+Route123_Text_YukiNotEnoughMons: @ 82A0224
.string "YUKI: It's no fun to battle if you\n"
.string "don't have two POKéMON.$"
-Route123_Text_2A025F: @ 82A025F
+Route123_Text_KindraIntro: @ 82A025F
.string "MT. PYRE…\n"
.string "Where the spirits of POKéMON sleep…\l"
.string "Will your POKéMON sleep?$"
-Route123_Text_2A02A6: @ 82A02A6
+Route123_Text_KindraDefeat: @ 82A02A6
.string "Overflowing with vitality…$"
-Route123_Text_2A02C1: @ 82A02C1
+Route123_Text_KindraPostBattle: @ 82A02C1
.string "MT. PYRE…\n"
.string "Where the spirits of POKéMON sleep…\p"
.string "It must overflow with a power that\n"
.string "soothes spirits…$"
-Route123_Text_2A0323: @ 82A0323
+Route123_Text_FernandoIntro: @ 82A0323
.string "I'll turn your lights out while\n"
.string "I rip through this tune!$"
-Route123_Text_2A035C: @ 82A035C
+Route123_Text_FernandoDefeat: @ 82A035C
.string "Hey, hold it!\n"
.string "I was still playing the intro!$"
-Route123_Text_2A0389: @ 82A0389
+Route123_Text_FernandoPostBattle: @ 82A0389
.string "You're rock steady.\n"
.string "I'd like to write a tune about you.$"
-Route123_Text_2A03C1: @ 82A03C1
+Route123_Text_FernandoRegister: @ 82A03C1
.string "The next time, lend your ears to\n"
.string "the full tune, will you?$"
-Route123_Text_2A03FB: @ 82A03FB
+Route123_Text_FernandoRematchIntro: @ 82A03FB
.string "Today's the day I'm going to do it!\n"
.string "I'll turn out your lights before\l"
.string "I finish singing my song!$"
-Route123_Text_2A045A: @ 82A045A
+Route123_Text_FernandoRematchDefeat: @ 82A045A
.string "Hey, hold it!\n"
.string "I haven't even hit the chorus!$"
-Route123_Text_2A0487: @ 82A0487
+Route123_Text_FernandoPostRematch: @ 82A0487
.string "I thought you'd be so enthralled\n"
.string "by my tune, you'd lose.$"
-Route123_Text_2A04C0: @ 82A04C0
+Route123_Text_DavisIntro: @ 82A04C0
.string "This is my awesome BUG POKéMON!\n"
.string "My big brother got it for me.$"
-Route123_Text_2A04FE: @ 82A04FE
+Route123_Text_DavisDefeat: @ 82A04FE
.string "Waaaah!\n"
.string "You meanie!$"
-Route123_Text_2A0512: @ 82A0512
+Route123_Text_DavisPostBattle: @ 82A0512
.string "Don't tell my brother I lost.\n"
.string "You have to keep it a secret!$"
-Route123_Text_2A054E: @ 82A054E
+Route123_Text_JazmynIntro: @ 82A054E
.string "My confidence will get a boost by\n"
.string "beating someone obviously strong!$"
-Route123_Text_2A0592: @ 82A0592
+Route123_Text_JazmynDefeat: @ 82A0592
.string "There goes my confidence…$"
-Route123_Text_2A05AC: @ 82A05AC
+Route123_Text_JazmynPostBattle: @ 82A05AC
.string "They say that you can't judge a person\n"
.string "by their appearance.\p"
.string "But often, their looks don't lie…$"
-Route123_Text_2A060A: @ 82A060A
+Route123_Text_FrederickIntro: @ 82A060A
.string "Hello, child!\n"
.string "Can you spare some time?$"
-Route123_Text_2A0631: @ 82A0631
+Route123_Text_FrederickDefeat: @ 82A0631
.string "Ah, a mighty capable child!\n"
.string "Let me contribute to your allowance.$"
-Route123_Text_2A0672: @ 82A0672
+Route123_Text_FrederickPostBattle: @ 82A0672
.string "Contribute to your allowance?\n"
.string "Wasn't the prize money enough?$"
-Route123_Text_2A06AF: @ 82A06AF
+Route123_Text_AlbertoIntro: @ 82A06AF
.string "I have to tell you, BIRD POKéMON\n"
.string "are my obsession!\p"
.string "Birds are cool!\n"
.string "They're the best!$"
-Route123_Text_2A0704: @ 82A0704
+Route123_Text_AlbertoDefeat: @ 82A0704
.string "Even in defeat, BIRD POKéMON are cool!$"
-Route123_Text_2A072B: @ 82A072B
+Route123_Text_AlbertoPostBattle: @ 82A072B
.string "I gather BIRD POKéMON feathers that\n"
.string "scatter during battles.\p"
.string "I'm going to make a hat with\n"
.string "BIRD POKéMON feathers.$"
-Route123_Text_2A079B: @ 82A079B
+Route123_Text_EdIntro: @ 82A079B
.string "When there are no TRAINERS around,\n"
.string "I let my POKéMON battle each other.\l"
.string "I watch them.$"
-Route123_Text_2A07F0: @ 82A07F0
+Route123_Text_EdDefeat: @ 82A07F0
.string "I kind of like your POKéMON.$"
-Route123_Text_2A080D: @ 82A080D
+Route123_Text_EdPostBattle: @ 82A080D
.string "Hehe, I'm swiping your battling ideas!\n"
.string "I think they'll make me better.$"
-Route123_Text_2A0854: @ 82A0854
+Route123_Text_JonasIntro: @ 82A0854
.string "I lay in ambush, and a TRAINER has\n"
.string "landed in my trap!$"
-Route123_Text_2A088A: @ 82A088A
+Route123_Text_JonasDefeat: @ 82A088A
.string "If you don't lose, how am I supposed\n"
.string "to have fun playing ninja?$"
-Route123_Text_2A08CA: @ 82A08CA
+Route123_Text_JonasPostBattle: @ 82A08CA
.string "I'm going to ambush a weaker-looking\n"
.string "TRAINER next time.$"
-Route123_Text_2A0902: @ 82A0902
+Route123_Text_KayleyIntro: @ 82A0902
.string "I just bought this parasol.\n"
.string "My cuteness should be up by a third!$"
-Route123_Text_2A0943: @ 82A0943
+Route123_Text_KayleyDefeat: @ 82A0943
.string "You're better than me by about\n"
.string "five times!$"
-Route123_Text_2A096E: @ 82A096E
+Route123_Text_KayleyPostBattle: @ 82A096E
.string "Using accessories effectively is\n"
.string "the secret behind fashion appeal.$"
-Route124_Text_2A09B1: @ 82A09B1
+Route124_Text_SpencerIntro: @ 82A09B1
.string "Hey, are you lost at sea?\p"
.string "If you can beat my POKéMON,\n"
.string "I can serve as your pilot.$"
-Route124_Text_2A0A02: @ 82A0A02
+Route124_Text_SpencerDefeat: @ 82A0A02
.string "I lost my bearings in battle!$"
-Route124_Text_2A0A20: @ 82A0A20
+Route124_Text_SpencerPostBattle: @ 82A0A20
.string "Many people lose their bearings at sea.\p"
.string "If you're that sort, you should refer\n"
.string "to the POKéNAV's MAP.$"
-Route124_Text_2A0A84: @ 82A0A84
+Route124_Text_RolandIntro: @ 82A0A84
.string "Hm! You're riding a POKéMON instead\n"
.string "of swimming yourself…\p"
.string "I am envious!$"
-Route124_Text_2A0ACC: @ 82A0ACC
+Route124_Text_RolandDefeat: @ 82A0ACC
.string "Oh!\n"
.string "I can't…$"
-Route124_Text_2A0AD9: @ 82A0AD9
+Route124_Text_RolandPostBattle: @ 82A0AD9
.string "I'm getting chilled…\n"
.string "I've been in the water too long…\p"
.string "I wish I could ride a POKéMON like you…$"
-Route124_Text_2A0B37: @ 82A0B37
+Route124_Text_JennyIntro: @ 82A0B37
.string "If you just float in the sea like\n"
.string "this, POKéMON come around to play.$"
-Route124_Text_2A0B7C: @ 82A0B7C
+Route124_Text_JennyDefeat: @ 82A0B7C
.string "Oh, darn.\n"
.string "I've gone and lost.$"
-Route124_Text_2A0B9A: @ 82A0B9A
+Route124_Text_JennyPostBattle: @ 82A0B9A
.string "While swimming, I noticed that some\n"
.string "POKéMON attack, and some just watch.\p"
.string "I guess POKéMON have personalities\n"
.string "of their own.$"
-Route124_Text_2A0C14: @ 82A0C14
+Route124_Text_JennyRegister: @ 82A0C14
.string "It's only on a whim, but maybe I'll get\n"
.string "you to register me in your POKéNAV.$"
-Route124_Text_2A0C60: @ 82A0C60
+Route124_Text_JennyRematchIntro: @ 82A0C60
.string "If you just float in the sea like this,\n"
.string "TRAINERS challenge you!$"
-Route124_Text_2A0CA0: @ 82A0CA0
+Route124_Text_JennyRematchDefeat: @ 82A0CA0
.string "That's strange…\n"
.string "I lost again…$"
-Route124_Text_2A0CBE: @ 82A0CBE
+Route124_Text_JennyPostRematch: @ 82A0CBE
.string "This has nothing to do with anything,\n"
.string "but maybe I'll visit the TRICK HOUSE.$"
-Route124_Text_2A0D0A: @ 82A0D0A
+Route124_Text_GraceIntro: @ 82A0D0A
.string "I'm growing bored of swimming…\n"
.string "How about a battle?$"
-Route124_Text_2A0D3D: @ 82A0D3D
+Route124_Text_GraceDefeat: @ 82A0D3D
.string "I had no idea that you were\n"
.string "this strong!$"
-Route124_Text_2A0D66: @ 82A0D66
+Route124_Text_GracePostBattle: @ 82A0D66
.string "All the effort you put in must have\n"
.string "made you this strong.$"
-Route124_Text_2A0DA0: @ 82A0DA0
+Route124_Text_ChadIntro: @ 82A0DA0
.string "Fufufufu… I dive deep underwater\n"
.string "to go deep under cover.\l"
.string "Plumbing the depths is where I excel!$"
-Route124_Text_2A0DFF: @ 82A0DFF
+Route124_Text_ChadDefeat: @ 82A0DFF
.string "Glub, glub, glub…\n"
.string "I'm sinking…$"
-Route124_Text_2A0E1E: @ 82A0E1E
+Route124_Text_ChadPostBattle: @ 82A0E1E
.string "I have it on good authority that\n"
.string "there's a DIVE spot around here.\p"
.string "It gives me the urge to go deep\n"
.string "again…$"
-Route124_Text_2A0E87: @ 82A0E87
+Route124_Text_LilaIntro: @ 82A0E87
.string "LILA: Sigh…\p"
.string "Here I am in the sea, but who's with me?\n"
.string "My little brother!\p"
.string "Let's battle so I won't have to dwell\n"
.string "on that!$"
-Route124_Text_2A0EFE: @ 82A0EFE
+Route124_Text_LilaDefeat: @ 82A0EFE
.string "LILA: ROY! It's your fault we lost!\n"
.string "You're in for it later!$"
-Route124_Text_2A0F3A: @ 82A0F3A
+Route124_Text_LilaPostBattle: @ 82A0F3A
.string "LILA: Sigh…\p"
.string "If only it wasn't my little brother\n"
.string "next to me, but a nice boyfriend…$"
-Route124_Text_2A0F8C: @ 82A0F8C
+Route124_Text_LilaNotEnoughMons: @ 82A0F8C
.string "LILA: You're planning to battle us?\n"
.string "Not unless you have two POKéMON.$"
-Route124_Text_2A0FD1: @ 82A0FD1
+Route124_Text_RoyIntro: @ 82A0FD1
.string "ROY: My big sister is tough at POKéMON!\p"
.string "Don't cry when you lose!$"
-Route124_Text_2A1012: @ 82A1012
+Route124_Text_RoyDefeat: @ 82A1012
.string "ROY: Uh-oh…\n"
.string "My big sister will chew me out…$"
-Route124_Text_2A103E: @ 82A103E
+Route124_Text_RoyPostBattle: @ 82A103E
.string "ROY: My big sister is really scary\n"
.string "when she gets angry.\p"
.string "That's why she doesn't have a\n"
.string "boyfriend.$"
-Route124_Text_2A109F: @ 82A109F
+Route124_Text_LilaRoyRegister: @ 82A109F
.string "ROY: Will you battle with us again?\n"
.string "But take it easy next time, okay?$"
-Route124_Text_2A10E5: @ 82A10E5
+Route124_Text_RoyNotEnoughMons: @ 82A10E5
.string "ROY: Did you want to battle us?\n"
.string "Bring two POKéMON, then.$"
-Route124_Text_2A111E: @ 82A111E
+Route124_Text_LilaRematchIntro: @ 82A111E
.string "LILA: Sigh…\p"
.string "Here I am in the sea, but who's with me?\n"
.string "My little brother!\p"
.string "Oh, hi, it's been a while. Let's battle\n"
.string "so I won't have to dwell on things!$"
-Route124_Text_2A11B2: @ 82A11B2
+Route124_Text_LilaRematchDefeat: @ 82A11B2
.string "LILA: ROY!\n"
.string "It's your fault we lost again!\p"
.string "We're having a training session later!$"
-Route124_Text_2A1203: @ 82A1203
+Route124_Text_LilaPostRematch: @ 82A1203
.string "LILA: Sigh…\p"
.string "If I had a nice boyfriend, we'd beat\n"
.string "anyone with lovely combinations…$"
-Route124_Text_2A1255: @ 82A1255
+Route124_Text_LilaRematchNotEnoughMons: @ 82A1255
.string "LILA: You're planning to battle us?\n"
.string "Not unless you have two POKéMON.$"
-Route124_Text_2A129A: @ 82A129A
+Route124_Text_RoyRematchIntro: @ 82A129A
.string "ROY: If we lose, I'll catch heck.\n"
.string "I'm going to go totally all out!$"
-Route124_Text_2A12DD: @ 82A12DD
+Route124_Text_RoyRematchDefeat: @ 82A12DD
.string "ROY: Uh-oh…\n"
.string "My big sister will chew me out again.$"
-Route124_Text_2A130F: @ 82A130F
+Route124_Text_RoyPostRematch: @ 82A130F
.string "ROY: My big sister is really scary\n"
.string "when she gets angry.\p"
.string "She's going to make me train really\n"
.string "hard with POKéMON later…$"
-Route124_Text_2A1384: @ 82A1384
+Route124_Text_RoyRematchNotEnoughMons: @ 82A1384
.string "ROY: Did you want to battle us?\n"
.string "Bring two POKéMON, then.$"
-Route124_Text_2A13BD: @ 82A13BD
+Route124_Text_DeclanIntro: @ 82A13BD
.string "Here I am swimming by my lonesome\n"
.string "on this wide, beautiful sea.\p"
.string "There's no other word for it.\n"
.string "This is pathetic!$"
-Route124_Text_2A142C: @ 82A142C
+Route124_Text_DeclanDefeat: @ 82A142C
.string "I'm feeling blue.\n"
.string "Blue as the sky…$"
-Route124_Text_2A144F: @ 82A144F
+Route124_Text_DeclanPostBattle: @ 82A144F
.string "I should chat up lady SWIMMERS\n"
.string "and invite them on a long swim.$"
-Route124_Text_2A148E: @ 82A148E
+Route124_Text_IsabellaIntro: @ 82A148E
.string "I'm not going to lose to some\n"
.string "surfer TRAINER.$"
-Route124_Text_2A14BC: @ 82A14BC
+Route124_Text_IsabellaDefeat: @ 82A14BC
.string "I've only got sweat in my eyes!\n"
.string "I am not crying!$"
-Route124_Text_2A14ED: @ 82A14ED
+Route124_Text_IsabellaPostBattle: @ 82A14ED
.string "You can find pretty colored shards\n"
.string "of things around here.$"
-Route125_Text_2A1527: @ 82A1527
+Route125_Text_NolenIntro: @ 82A1527
.string "I heard you approaching, so I hung\n"
.string "around for you!$"
-Route125_Text_2A155A: @ 82A155A
+Route125_Text_NolenDefeat: @ 82A155A
.string "I surrender!$"
-Route125_Text_2A1567: @ 82A1567
+Route125_Text_NolenPostBattle: @ 82A1567
.string "Sound travels faster in water than\n"
.string "it does through air.$"
-Route125_Text_2A159F: @ 82A159F
+Route125_Text_StanIntro: @ 82A159F
.string "Hey, there!\n"
.string "Check out my sweet POKéMON!$"
-Route125_Text_2A15C7: @ 82A15C7
+Route125_Text_StanDefeat: @ 82A15C7
.string "I floundered…$"
-Route125_Text_2A15D5: @ 82A15D5
+Route125_Text_StanPostBattle: @ 82A15D5
.string "I was blown away by HORSEA's charm,\n"
.string "so I started swimming, too.$"
-Route125_Text_2A1615: @ 82A1615
+Route125_Text_TanyaIntro: @ 82A1615
.string "I'm tired of swimming.\n"
.string "Are you up for a battle with me?$"
-Route125_Text_2A164D: @ 82A164D
+Route125_Text_TanyaDefeat: @ 82A164D
.string "You're too much!$"
-Route125_Text_2A165E: @ 82A165E
+Route125_Text_TanyaPostBattle: @ 82A165E
.string "Whew…\n"
.string "Which way is it to MOSSDEEP CITY?$"
-Route125_Text_2A1686: @ 82A1686
+Route125_Text_SharonIntro: @ 82A1686
.string "How would you like to take on the\n"
.string "WATER-type POKéMON I raised?$"
-Route125_Text_2A16C5: @ 82A16C5
+Route125_Text_SharonDefeat: @ 82A16C5
.string "Lost it…$"
-Route125_Text_2A16CE: @ 82A16CE
+Route125_Text_SharonPostBattle: @ 82A16CE
.string "Your power… You're the real deal.\n"
.string "I'm amazed!$"
-Route125_Text_2A16FC: @ 82A16FC
+Route125_Text_ErnestIntro: @ 82A16FC
.string "Ahoy! I'm a buff, tough SAILOR!\n"
.string "I've braved the world's seas!$"
-Route125_Text_2A173A: @ 82A173A
+Route125_Text_ErnestDefeat: @ 82A173A
.string "Gwrroooar!\n"
.string "I couldn't win!$"
-Route125_Text_2A1755: @ 82A1755
+Route125_Text_ErnestPostBattle: @ 82A1755
.string "The tide ebbs and flows inside the\n"
.string "SHOAL CAVE.\p"
.string "By the way, it's about six hours from\n"
.string "high tide to low tide. Did you know?$"
-Route125_Text_2A17CF: @ 82A17CF
+Route125_Text_ErnestRegister: @ 82A17CF
.string "Register me in your POKéNAV,\n"
.string "and I'll tell you something good.$"
-Route125_Text_2A180E: @ 82A180E
+Route125_Text_ErnestRematchIntro: @ 82A180E
.string "It's high time I get my payback\n"
.string "from you! Come on, we're battling!$"
-Route125_Text_2A1851: @ 82A1851
+Route125_Text_ErnestRematchDefeat: @ 82A1851
.string "I couldn't win!\n"
.string "I flat out couldn't win!$"
-Route125_Text_2A187A: @ 82A187A
+Route125_Text_ErnestRematchPostBattle: @ 82A187A
.string "The SHOAL CAVE…\p"
.string "There are places you can and can't\n"
.string "get to depending on the rise and fall\l"
@@ -3859,524 +3859,524 @@ Route125_Text_2A187A: @ 82A187A
.string "By the way, it's about six hours from\n"
.string "high tide to low tide. Don't forget!$"
-Route125_Text_2A192B: @ 82A192B
+Route125_Text_KimIntro: @ 82A192B
.string "KIM: A funny old man lives in the\n"
.string "SHOAL CAVE. Someone told me.\l"
.string "Are you going to see him, too?$"
-Route125_Text_2A1989: @ 82A1989
+Route125_Text_KimDefeat: @ 82A1989
.string "KIM: I thought we would win.$"
-Route125_Text_2A19A6: @ 82A19A6
+Route125_Text_KimPostBattle: @ 82A19A6
.string "KIM: A funny old man lives in the\n"
.string "SHOAL CAVE, doesn't he?\p"
.string "Let's go see him, IRIS!$"
-Route125_Text_2A19F8: @ 82A19F8
+Route125_Text_KimNotEnoughMons: @ 82A19F8
.string "KIM: No, no, no! You need two POKéMON,\n"
.string "or it's just no good!$"
-Route125_Text_2A1A35: @ 82A1A35
+Route125_Text_IrisIntro: @ 82A1A35
.string "IRIS: KIM, can you tell me what we're\n"
.string "looking for out here?$"
-Route125_Text_2A1A71: @ 82A1A71
+Route125_Text_IrisDefeat: @ 82A1A71
.string "IRIS: Oh, we came sort of close.$"
-Route125_Text_2A1A92: @ 82A1A92
+Route125_Text_IrisPostBattle: @ 82A1A92
.string "IRIS: KIM, are we really going into\n"
.string "the SHOAL CAVE?\l"
.string "We'll get all wet.$"
-Route125_Text_2A1AD9: @ 82A1AD9
+Route125_Text_IrisNotEnoughMons: @ 82A1AD9
.string "IRIS: Oh, we could never, ever do\n"
.string "anything like a 2-on-1 battle.$"
-Route125_Text_2A1B1A: @ 82A1B1A
+Route125_Text_PresleyIntro: @ 82A1B1A
.string "Why would a BIRDKEEPER like me\n"
.string "come out to the sea?$"
-Route125_Text_2A1B4E: @ 82A1B4E
+Route125_Text_PresleyDefeat: @ 82A1B4E
.string "Okay.\n"
.string "I'll tell you why I'm here.$"
-Route125_Text_2A1B70: @ 82A1B70
+Route125_Text_PresleyPostBattle: @ 82A1B70
.string "I put a message in a bottle and put\n"
.string "it out to sea.\p"
.string "I'm sure that a girl SWIMMER will\n"
.string "find it!$"
-Route125_Text_2A1BCE: @ 82A1BCE
+Route125_Text_AuronIntro: @ 82A1BCE
.string "Hey! Was it you throwing garbage\n"
.string "into the sea?$"
-Route125_Text_2A1BFD: @ 82A1BFD
+Route125_Text_AuronDefeat: @ 82A1BFD
.string "Oh, you weren't throwing trash into\n"
.string "the sea.$"
-Route125_Text_2A1C2A: @ 82A1C2A
+Route125_Text_AuronPostBattle: @ 82A1C2A
.string "I found an unsightly bottle bobbing\n"
.string "in the waves earlier.\p"
.string "It angers me that someone would\n"
.string "pollute the sea!$"
-Route126_Text_2A1C95: @ 82A1C95
+Route126_Text_BarryIntro: @ 82A1C95
.string "Swimming is a full-body workout!\n"
.string "You will get fit!$"
-Route126_Text_2A1CC8: @ 82A1CC8
+Route126_Text_BarryDefeat: @ 82A1CC8
.string "I admit it!\n"
.string "You win!$"
-Route126_Text_2A1CDD: @ 82A1CDD
+Route126_Text_BarryPostBattle: @ 82A1CDD
.string "Thanks to my daily swimming routine…\n"
.string "Look! Feast your eyes on this physique!$"
-Route126_Text_2A1D2A: @ 82A1D2A
+Route126_Text_DeanIntro: @ 82A1D2A
.string "This towering white mountain of rock\n"
.string "is SOOTOPOLIS CITY.$"
-Route126_Text_2A1D63: @ 82A1D63
+Route126_Text_DeanDefeat: @ 82A1D63
.string "I was done in?$"
-Route126_Text_2A1D72: @ 82A1D72
+Route126_Text_DeanPostBattle: @ 82A1D72
.string "I can't find the entrance to\n"
.string "SOOTOPOLIS. Where could it be?$"
-Route126_Text_2A1DAE: @ 82A1DAE
+Route126_Text_NikkiIntro: @ 82A1DAE
.string "Ufufufufu!\n"
.string "I'm a mermaid!$"
-Route126_Text_2A1DC8: @ 82A1DC8
+Route126_Text_NikkiDefeat: @ 82A1DC8
.string "My fantasy burst as if it were a bubble!\n"
.string "Blub, blub, blub…$"
-Route126_Text_2A1E03: @ 82A1E03
+Route126_Text_NikkiPostBattle: @ 82A1E03
.string "You thrashed me… I want to\n"
.string "disappear in a wave of despair…$"
-Route126_Text_2A1E3E: @ 82A1E3E
+Route126_Text_BrendaIntro: @ 82A1E3E
.string "Hello, kiddo!\n"
.string "Want a battle with me?$"
-Route126_Text_2A1E63: @ 82A1E63
+Route126_Text_BrendaDefeat: @ 82A1E63
.string "Oh, noooooh!$"
-Route126_Text_2A1E70: @ 82A1E70
+Route126_Text_BrendaPostBattle: @ 82A1E70
.string "I love frolicking with POKéMON in\n"
.string "the sea like this!$"
-Route126_Text_2A1EA5: @ 82A1EA5
+Route126_Text_PabloIntro: @ 82A1EA5
.string "Check out this sculpted body!\n"
.string "I'm more cut than a BLACK BELT!$"
-Route126_Text_2A1EE3: @ 82A1EE3
+Route126_Text_PabloDefeat: @ 82A1EE3
.string "Whoops! Too strong!\n"
.string "Not bad! Not bad at all!$"
-Route126_Text_2A1F10: @ 82A1F10
+Route126_Text_PabloPostBattle: @ 82A1F10
.string "Losing to you stimulated my senses!\n"
.string "I'll train myself and POKéMON harder!$"
-Route126_Text_2A1F5A: @ 82A1F5A
+Route126_Text_PabloRegister: @ 82A1F5A
.string "Yep, you're not bad at all!\n"
.string "I'd like to get to know you more!$"
-Route126_Text_2A1F98: @ 82A1F98
+Route126_Text_PabloRematchIntro: @ 82A1F98
.string "Check out this beautiful body!\n"
.string "I'm more shapely than a SWIMMER!$"
-Route126_Text_2A1FD8: @ 82A1FD8
+Route126_Text_PabloRematchDefeat: @ 82A1FD8
.string "Whoops! Really too strong!\n"
.string "Not bad! Not bad at all!$"
-Route126_Text_2A200C: @ 82A200C
+Route126_Text_PabloPostRematch: @ 82A200C
.string "I'm going to train even harder!\n"
.string "You're a great motivator!\l"
.string "You have to come back again!$"
-Route126_Text_2A2063: @ 82A2063
+Route126_Text_LeonardoIntro: @ 82A2063
.string "I couldn't even swim last year,\n"
.string "but now I'm a decent SWIMMER.\p"
.string "I think I'm capable of anything now.$"
-Route126_Text_2A20C6: @ 82A20C6
+Route126_Text_LeonardoDefeat: @ 82A20C6
.string "Sheesh, getting greedy didn't do\n"
.string "a thing for me.$"
-Route126_Text_2A20F7: @ 82A20F7
+Route126_Text_LeonardoPostBattle: @ 82A20F7
.string "If you practice at something,\n"
.string "you will get better at it.\p"
.string "You're young--don't be afraid to\n"
.string "try all sorts of things!$"
-Route126_Text_2A216A: @ 82A216A
+Route126_Text_IsobelIntro: @ 82A216A
.string "If seawater gets up your nose,\n"
.string "doesn't it feel terrible?$"
-Route126_Text_2A21A3: @ 82A21A3
+Route126_Text_IsobelDefeat: @ 82A21A3
.string "Ack! Why, you…\n"
.string "Glub!$"
-Route126_Text_2A21B8: @ 82A21B8
+Route126_Text_IsobelPostBattle: @ 82A21B8
.string "Ooh, I choked on some water!\n"
.string "It's bitter! It's salty!!$"
-Route126_Text_2A21EF: @ 82A21EF
+Route126_Text_SiennaIntro: @ 82A21EF
.string "I'm throwing my whole heart\n"
.string "into this!$"
-Route126_Text_2A2216: @ 82A2216
+Route126_Text_SiennaDefeat: @ 82A2216
.string "You had more heart!$"
-Route126_Text_2A222A: @ 82A222A
+Route126_Text_SiennaPostBattle: @ 82A222A
.string "I need to cool down now…\n"
.string "I think I'll go for a dive.$"
-Route127_Text_2A225F: @ 82A225F
+Route127_Text_CamdenIntro: @ 82A225F
.string "I can see it in your face.\n"
.string "You want to challenge me.$"
-Route127_Text_2A2294: @ 82A2294
+Route127_Text_CamdenDefeat: @ 82A2294
.string "Awawawawawa…$"
-Route127_Text_2A22A1: @ 82A22A1
+Route127_Text_CamdenPostBattle: @ 82A22A1
.string "A well-played match leaves me feeling\n"
.string "refreshed and serene.$"
-Route127_Text_2A22DD: @ 82A22DD
+Route127_Text_DonnyIntro: @ 82A22DD
.string "Do you have a rival whom you just\n"
.string "hate to lose against?$"
-Route127_Text_2A2315: @ 82A2315
+Route127_Text_DonnyDefeat: @ 82A2315
.string "Arrrgh!\n"
.string "I hate losing!$"
-Route127_Text_2A232C: @ 82A232C
+Route127_Text_DonnyPostBattle: @ 82A232C
.string "If you have a rival, don't you get the\n"
.string "feeling that you have to keep getting\l"
.string "better?$"
-Route127_Text_2A2381: @ 82A2381
+Route127_Text_JonahIntro: @ 82A2381
.string "Through fishing, I have attained a\n"
.string "state of becalmed serenity…\p"
.string "Please, allow me to demonstrate…$"
-Route127_Text_2A23E1: @ 82A23E1
+Route127_Text_JonahDefeat: @ 82A23E1
.string "Though I have lost, my heart remains\n"
.string "calm…$"
-Route127_Text_2A240C: @ 82A240C
+Route127_Text_JonahPostBattle: @ 82A240C
.string "It matters not that I catch nothing.\n"
.string "The line remains in the water…$"
-Route127_Text_2A2450: @ 82A2450
+Route127_Text_HenryIntro: @ 82A2450
.string "Whoops! Don't tell me I snagged\n"
.string "a SURFING POKéMON?$"
-Route127_Text_2A2483: @ 82A2483
+Route127_Text_HenryDefeat: @ 82A2483
.string "I can't keep up!$"
-Route127_Text_2A2494: @ 82A2494
+Route127_Text_HenryPostBattle: @ 82A2494
.string "It'd be a handful if I hooked\n"
.string "your tough POKéMON!$"
-Route127_Text_2A24C6: @ 82A24C6
+Route127_Text_RogerIntro: @ 82A24C6
.string "Well, hey! This is a match between\n"
.string "a POKéMON fan and a fishing buff!$"
-Route127_Text_2A250B: @ 82A250B
+Route127_Text_RogerDefeat: @ 82A250B
.string "No! My line's all tangled!\n"
.string "The party's over!$"
-Route127_Text_2A2538: @ 82A2538
+Route127_Text_RogerPostBattle: @ 82A2538
.string "My fishing line's doing a dance!\n"
.string "The tangle tango! Hahaha, snarl!$"
-Route127_Text_2A257A: @ 82A257A
+Route127_Text_AidanIntro: @ 82A257A
.string "BIRD POKéMON have excellent vision.\n"
.string "They spot prey from great heights.$"
-Route127_Text_2A25C1: @ 82A25C1
+Route127_Text_AidanDefeat: @ 82A25C1
.string "Whew… I give up.$"
-Route127_Text_2A25D2: @ 82A25D2
+Route127_Text_AidanPostBattle: @ 82A25D2
.string "There're lots of diving spots in\n"
.string "the sea around here.\p"
.string "You can spot them easily from the sky\n"
.string "because of their darker color.$"
-Route127_Text_2A264D: @ 82A264D
+Route127_Text_KojiIntro: @ 82A264D
.string "Run in your bare feet.\n"
.string "That will toughen up your soles!$"
-Route127_Text_2A2685: @ 82A2685
+Route127_Text_KojiDefeat: @ 82A2685
.string "Yowch!\n"
.string "I got a pebble under a toenail!$"
-Route127_Text_2A26AC: @ 82A26AC
+Route127_Text_KojiPostBattle: @ 82A26AC
.string "Going barefoot feels great.\n"
.string "But your RUNNING SHOES are cool, too.$"
-Route127_Text_2A26EE: @ 82A26EE
+Route127_Text_KojiRegister: @ 82A26EE
.string "This is what I do to people who beat me!\n"
.string "I hope we can do this again.$"
-Route127_Text_2A2734: @ 82A2734
+Route127_Text_KojiRematchIntro: @ 82A2734
.string "I still run in my bare feet daily.\n"
.string "My soles are tough!$"
-Route127_Text_2A276B: @ 82A276B
+Route127_Text_KojiRematchDefeat: @ 82A276B
.string "Yowch!\n"
.string "Pebbles dug into my arches!$"
-Route127_Text_2A278E: @ 82A278E
+Route127_Text_KojiPostRematch: @ 82A278E
.string "Want to go barefoot for a while?\n"
.string "So I can try your RUNNING SHOES?$"
-Route127_Text_2A27D0: @ 82A27D0
+Route127_Text_AthenaIntro: @ 82A27D0
.string "We should have a slow and methodical\n"
.string "match.$"
-Route127_Text_2A27FC: @ 82A27FC
+Route127_Text_AthenaDefeat: @ 82A27FC
.string "You didn't give me the chance to\n"
.string "do any strategizing.$"
-Route127_Text_2A2832: @ 82A2832
+Route127_Text_AthenaPostBattle: @ 82A2832
.string "When I'm surrounded by the blue sea\n"
.string "and sky, it feels as if time slows down.$"
-Route128_Text_2A287F: @ 82A287F
+Route128_Text_IsaiahIntro: @ 82A287F
.string "EVER GRANDE CITY is still a long ways\n"
.string "away…$"
-Route128_Text_2A28AB: @ 82A28AB
+Route128_Text_IsaiahDefeat: @ 82A28AB
.string "My first victory seems to be far\n"
.string "away, too…$"
-Route128_Text_2A28D7: @ 82A28D7
+Route128_Text_IsaiahPostBattle: @ 82A28D7
.string "My whole life has been about losing,\n"
.string "but I will never give up!$"
-Route128_Text_2A2916: @ 82A2916
+Route128_Text_IsaiahRegister: @ 82A2916
.string "I know I'm not good now, but I think\n"
.string "I can win eventually.\p"
.string "Please register me in your POKéNAV.$"
-Route128_Text_2A2975: @ 82A2975
+Route128_Text_IsaiahRematchIntro: @ 82A2975
.string "I'm still feeling good. I'll keep on\n"
.string "swimming to EVER GRANDE CITY.$"
-Route128_Text_2A29B8: @ 82A29B8
+Route128_Text_IsaiahRematchDefeat: @ 82A29B8
.string "I've yet to taste my first victory…$"
-Route128_Text_2A29DC: @ 82A29DC
+Route128_Text_IsaiahPostRematch: @ 82A29DC
.string "I'll eventually reach EVER GRANDE CITY\n"
.string "where I can eventually win…$"
-Route128_Text_2A2A1F: @ 82A2A1F
+Route128_Text_KatelynIntro: @ 82A2A1F
.string "You have to swim, cycle, and then run\n"
.string "a marathon in a triathlon.\p"
.string "It's a grueling race that consists\n"
.string "of three events.$"
-Route128_Text_2A2A94: @ 82A2A94
+Route128_Text_KatelynDefeat: @ 82A2A94
.string "A POKéMON battle is grueling, too…$"
-Route128_Text_2A2AB7: @ 82A2AB7
+Route128_Text_KatelynPostBattle: @ 82A2AB7
.string "I have to ride a BIKE next, but…\n"
.string "I'm about to throw in the towel…$"
-Route128_Text_2A2AF9: @ 82A2AF9
+Route128_Text_KatelynRegister: @ 82A2AF9
.string "Well, I may as well make the best\n"
.string "of this. I'd like a rematch sometime.$"
-Route128_Text_2A2B41: @ 82A2B41
+Route128_Text_KatelynRematchIntro: @ 82A2B41
.string "A triathlon is long. But I guess the\n"
.string "road to become the POKéMON CHAMPION\l"
.string "is also a long and grueling one.$"
-Route128_Text_2A2BAB: @ 82A2BAB
+Route128_Text_KatelynRematchDefeat: @ 82A2BAB
.string "A POKéMON battle really is harsh\n"
.string "and unforgiving…$"
-Route128_Text_2A2BDD: @ 82A2BDD
+Route128_Text_KatelynPostRematch: @ 82A2BDD
.string "You should give serious thought to\n"
.string "challenges on VICTORY ROAD.$"
-Route128_Text_2A2C1C: @ 82A2C1C
+Route128_Text_AlexaIntro: @ 82A2C1C
.string "We've been working so hard to mount\n"
.string "a POKéMON LEAGUE challenge…\p"
.string "We can't afford to lose now!$"
-Route128_Text_2A2C79: @ 82A2C79
+Route128_Text_AlexaDefeat: @ 82A2C79
.string "Oh!\n"
.string "How could this happen?!$"
-Route128_Text_2A2C95: @ 82A2C95
+Route128_Text_AlexaPostBattle: @ 82A2C95
.string "After all I've done to get here,\n"
.string "I won't give up after one setback.$"
-Route128_Text_2A2CD9: @ 82A2CD9
+Route128_Text_RubenIntro: @ 82A2CD9
.string "There is no stronger TRAINER than I!$"
-Route128_Text_2A2CFE: @ 82A2CFE
+Route128_Text_RubenDefeat: @ 82A2CFE
.string "This can't be!$"
-Route128_Text_2A2D0D: @ 82A2D0D
+Route128_Text_RubenPostBattle: @ 82A2D0D
.string "There probably is no stronger TRAINER\n"
.string "than you!$"
-Route128_Text_2A2D3D: @ 82A2D3D
+Route128_Text_WayneIntro: @ 82A2D3D
.string "I want to visit EVER GRANDE, so I\n"
.string "caught myself a POKéMON that knows\l"
.string "the move WATERFALL to crest the falls.$"
-Route128_Text_2A2DA9: @ 82A2DA9
+Route128_Text_WayneDefeat: @ 82A2DA9
.string "I'm crestfallen!$"
-Route128_Text_2A2DBA: @ 82A2DBA
+Route128_Text_WaynePostBattle: @ 82A2DBA
.string "Awww, phooey!\p"
.string "My POKéMON knows WATERFALL, but\n"
.string "I don't have the SOOTOPOLIS GYM BADGE!$"
-Route128_Text_2A2E0F: @ 82A2E0F
+Route128_Text_HarrisonIntro: @ 82A2E0F
.string "You're looking awfully tough.\n"
.string "I wonder if I can win?$"
-Route128_Text_2A2E44: @ 82A2E44
+Route128_Text_HarrisonDefeat: @ 82A2E44
.string "Ouch!\n"
.string "I guess it was impossible to win.$"
-Route128_Text_2A2E6C: @ 82A2E6C
+Route128_Text_HarrisonPostBattle: @ 82A2E6C
.string "There are tough TRAINERS galore\n"
.string "around EVER GRANDE.\p"
.string "Do you think I may be out\n"
.string "of my league?$"
-Route128_Text_2A2EC8: @ 82A2EC8
+Route128_Text_CarleeIntro: @ 82A2EC8
.string "The sunlight seems to be more harsh\n"
.string "in this area.$"
-Route128_Text_2A2EFA: @ 82A2EFA
+Route128_Text_CarleeDefeat: @ 82A2EFA
.string "I couldn't see very well because of\n"
.string "the sun's glare.$"
-Route128_Text_2A2F2F: @ 82A2F2F
+Route128_Text_CarleePostBattle: @ 82A2F2F
.string "I should go back soon.\n"
.string "I need to reapply my sunscreen.$"
-Route129_Text_2A2F66: @ 82A2F66
+Route129_Text_ChaseIntro: @ 82A2F66
.string "This is my first triathlon.\n"
.string "I'm all tense and nervous!$"
-Route129_Text_2A2F9D: @ 82A2F9D
+Route129_Text_ChaseDefeat: @ 82A2F9D
.string "Wroooaaar!\n"
.string "I failed to win!$"
-Route129_Text_2A2FB9: @ 82A2FB9
+Route129_Text_ChasePostBattle: @ 82A2FB9
.string "If I'm all tensed up, I won't be able to\n"
.string "give it my all.$"
-Route129_Text_2A2FF2: @ 82A2FF2
+Route129_Text_AllisonIntro: @ 82A2FF2
.string "I'm in the middle of a triathlon,\n"
.string "but, sure, why don't we battle?$"
-Route129_Text_2A3034: @ 82A3034
+Route129_Text_AllisonDefeat: @ 82A3034
.string "I was sure I'd win!$"
-Route129_Text_2A3048: @ 82A3048
+Route129_Text_AllisonPostBattle: @ 82A3048
.string "Do you know what's the greatest thing\n"
.string "about triathlons?\p"
.string "Testing the limits of your own\n"
.string "strength and endurance against\l"
.string "Mother Nature!$"
-Route129_Text_2A30CD: @ 82A30CD
+Route129_Text_ReedIntro: @ 82A30CD
.string "Say hey, hey!\n"
.string "Let's get on with it!$"
-Route129_Text_2A30F1: @ 82A30F1
+Route129_Text_ReedDefeat: @ 82A30F1
.string "Beat, I'm beaten.\n"
.string "That's it, done!$"
-Route129_Text_2A3114: @ 82A3114
+Route129_Text_ReedPostBattle: @ 82A3114
.string "There's nothing for a loser.\n"
.string "Time for me to beat it home.$"
-Route129_Text_2A314E: @ 82A314E
+Route129_Text_TishaIntro: @ 82A314E
.string "What's the hurry?\n"
.string "Let's take it slow and easy.$"
-Route129_Text_2A317D: @ 82A317D
+Route129_Text_TishaDefeat: @ 82A317D
.string "Oh, my.\n"
.string "I wanted to relax a little more…$"
-Route129_Text_2A31A6: @ 82A31A6
+Route129_Text_TishaPostBattle: @ 82A31A6
.string "Don't you hate making mistakes when\n"
.string "you're in a rush?\p"
.string "That's why I try to take things\n"
.string "slowly.$"
-Route129_Text_2A3204: @ 82A3204
+Route129_Text_ClarenceIntro: @ 82A3204
.string "Surfing isn't as easy as it seems,\n"
.string "isn't that right?$"
-Route129_Text_2A3239: @ 82A3239
+Route129_Text_ClarenceDefeat: @ 82A3239
.string "Winning sure isn't easy.$"
-Route129_Text_2A3252: @ 82A3252
+Route129_Text_ClarencePostBattle: @ 82A3252
.string "You have your sights on the POKéMON\n"
.string "LEAGUE? Keep at it!$"
-Route130_Text_2A328A: @ 82A328A
+Route130_Text_RodneyIntro: @ 82A328A
.string "What a surprise! I didn't expect to\n"
.string "see a TRAINER out in the sea.\p"
.string "I think we should battle!$"
-Route130_Text_2A32E6: @ 82A32E6
+Route130_Text_RodneyDefeat: @ 82A32E6
.string "This kid's awfully tough…$"
-Route130_Text_2A3300: @ 82A3300
+Route130_Text_RodneyPostBattle: @ 82A3300
.string "Your eyes have that look of someone\n"
.string "who's experienced harsh challenges\l"
.string "and won. It suits you well!$"
-Route130_Text_2A3363: @ 82A3363
+Route130_Text_KatieIntro: @ 82A3363
.string "In the deep blue sea,\n"
.string "my shattered blue heart finds\l"
.string "comfort among waves.$"
-Route130_Text_2A33AC: @ 82A33AC
+Route130_Text_KatieDefeat: @ 82A33AC
.string "Like the vast blue sea,\n"
.string "the world of POKéMON spans\l"
.string "depths beyond belief.$"
-Route130_Text_2A33F5: @ 82A33F5
+Route130_Text_KatiePostBattle: @ 82A33F5
.string "The world's children dream\n"
.string "of one day becoming\l"
.string "the POKéMON CHAMPION.$"
-Route130_Text_2A343A: @ 82A343A
+Route130_Text_SantiagoIntro: @ 82A343A
.string "Floating on the open sea like this…\n"
.string "It's peaceful.$"
-Route130_Text_2A346D: @ 82A346D
+Route130_Text_SantiagoDefeat: @ 82A346D
.string "I needed to be a little less peaceful!$"
-Route130_Text_2A3494: @ 82A3494
+Route130_Text_SantiagoPostBattle: @ 82A3494
.string "Swimming and battling like this…\n"
.string "I'm one happy guy…$"
-Route131_Text_2A34C8: @ 82A34C8
+Route131_Text_RichardIntro: @ 82A34C8
.string "The sea is teeming with POKéMON.\n"
.string "It's not easy swimming, I tell you.$"
-Route131_Text_2A350D: @ 82A350D
+Route131_Text_RichardDefeat: @ 82A350D
.string "POKéMON raised by TRAINERS are\n"
.string "seriously tough…$"
-Route131_Text_2A353D: @ 82A353D
+Route131_Text_RichardPostBattle: @ 82A353D
.string "Gasp… Gasp…\n"
.string "I'm wiped out…\p"
.string "The going's easy. It's the leaving\n"
@@ -4384,398 +4384,398 @@ Route131_Text_2A353D: @ 82A353D
.string "Will I have any energy left to make\n"
.string "the return trip?$"
-Route131_Text_2A35C6: @ 82A35C6
+Route131_Text_HermanIntro: @ 82A35C6
.string "The sea… The sea… The sea…\n"
.string "The sea as far as these eyes can see!\l"
.string "I'm sick and tired of the sea!$"
-Route131_Text_2A3626: @ 82A3626
+Route131_Text_HermanDefeat: @ 82A3626
.string "Bleah!$"
-Route131_Text_2A362D: @ 82A362D
+Route131_Text_HermanPostBattle: @ 82A362D
.string "Bored I am by the sea, but swim I must.\p"
.string "I'm a born swimmer!\n"
.string "That's what I am.$"
-Route131_Text_2A367B: @ 82A367B
+Route131_Text_SusieIntro: @ 82A367B
.string "Hi, sweetie, wait!\n"
.string "We should battle, you and I!$"
-Route131_Text_2A36AB: @ 82A36AB
+Route131_Text_SusieDefeat: @ 82A36AB
.string "You're tough in spite of the way\n"
.string "you look!$"
-Route131_Text_2A36D6: @ 82A36D6
+Route131_Text_SusiePostBattle: @ 82A36D6
.string "Did you see a guy over there who whines\n"
.string "that he's bored of the sea?\p"
.string "That's all talk.\n"
.string "He's hopelessly in love with the sea!$"
-Route131_Text_2A3751: @ 82A3751
+Route131_Text_KaraIntro: @ 82A3751
.string "Why do men love bathing suits so much?\p"
.string "They all ogle me!$"
-Route131_Text_2A378A: @ 82A378A
+Route131_Text_KaraDefeat: @ 82A378A
.string "I'm out of my depth!$"
-Route131_Text_2A379F: @ 82A379F
+Route131_Text_KaraPostBattle: @ 82A379F
.string "Maybe it's not my bathing suit that\n"
.string "makes men look. It must be my beauty!$"
-Route131_Text_2A37E9: @ 82A37E9
+Route131_Text_ReliIntro: @ 82A37E9
.string "RELI: We'll work together as siblings\n"
.string "to take you on!$"
-Route131_Text_2A381F: @ 82A381F
+Route131_Text_ReliDefeat: @ 82A381F
.string "RELI: We couldn't win even though we\n"
.string "worked together…$"
-Route131_Text_2A3855: @ 82A3855
+Route131_Text_ReliPostBattle: @ 82A3855
.string "RELI: The people of PACIFIDLOG are\n"
.string "together with the sea and POKéMON from\l"
.string "the time they are born.$"
-Route131_Text_2A38B7: @ 82A38B7
+Route131_Text_ReliNotEnoughMons: @ 82A38B7
.string "RELI: You don't have two POKéMON?\n"
.string "We can't enjoy a battle, then.$"
-Route131_Text_2A38F8: @ 82A38F8
+Route131_Text_IanIntro: @ 82A38F8
.string "IAN: I'm doing my best together with\n"
.string "my sis!$"
-Route131_Text_2A3925: @ 82A3925
+Route131_Text_IanDefeat: @ 82A3925
.string "IAN: I did my best with my sis,\n"
.string "but we still couldn't win…$"
-Route131_Text_2A3960: @ 82A3960
+Route131_Text_IanPostBattle: @ 82A3960
.string "IAN: You know how PACIFIDLOG is\n"
.string "a floating town?\p"
.string "So, wherever there is the sea,\n"
.string "that's a part of PACIFIDLOG!$"
-Route131_Text_2A39CD: @ 82A39CD
+Route131_Text_IanNotEnoughMons: @ 82A39CD
.string "IAN: If you have two POKéMON,\n"
.string "we'll take you on!$"
-Route131_Text_2A39FE: @ 82A39FE
+Route131_Text_TaliaIntro: @ 82A39FE
.string "If you can beat me, I'll give you some\n"
.string "great information!$"
-Route131_Text_2A3A38: @ 82A3A38
+Route131_Text_TaliaDefeat: @ 82A3A38
.string "Oh?\n"
.string "Did I lose?$"
-Route131_Text_2A3A48: @ 82A3A48
+Route131_Text_TaliaPostBattle: @ 82A3A48
.string "There is an odd place nearby.\n"
.string "There's a huge tower there.\l"
.string "Why don't you go take a look?$"
-Route131_Text_2A3AA0: @ 82A3AA0
+Route131_Text_KevinIntro: @ 82A3AA0
.string "The people of PACIFIDLOG are\n"
.string "a peaceful bunch.\p"
.string "They never get angry.\n"
.string "That goes for me, too.$"
-Route131_Text_2A3AFC: @ 82A3AFC
+Route131_Text_KevinDefeat: @ 82A3AFC
.string "Oops!$"
-Route131_Text_2A3B02: @ 82A3B02
+Route131_Text_KevinPostBattle: @ 82A3B02
.string "Tch! …Oh, wait.\n"
.string "I'm not angry. Honestly!\p"
.string "But, boy, you're strong!\n"
.string "Hahaha!$"
-Route132_Text_2A3B4C: @ 82A3B4C
+Route132_Text_GilbertIntro: @ 82A3B4C
.string "I used to catch colds all the time as\n"
.string "a kid, but I became totally fit after\l"
.string "I started swimming.$"
-Route132_Text_2A3BAC: @ 82A3BAC
+Route132_Text_GilbertDefeat: @ 82A3BAC
.string "I crave more power…$"
-Route132_Text_2A3BC0: @ 82A3BC0
+Route132_Text_GilbertPostBattle: @ 82A3BC0
.string "TRAINERS travel the fields and\n"
.string "mountains, so they must be fit, too.$"
-Route132_Text_2A3C04: @ 82A3C04
+Route132_Text_DanaIntro: @ 82A3C04
.string "I try not to swim where the currents\n"
.string "are too strong.$"
-Route132_Text_2A3C39: @ 82A3C39
+Route132_Text_DanaDefeat: @ 82A3C39
.string "Oh, please, no!$"
-Route132_Text_2A3C49: @ 82A3C49
+Route132_Text_DanaPostBattle: @ 82A3C49
.string "If I get swept away, I'll lose all my\n"
.string "sense of place…$"
-Route132_Text_2A3C7F: @ 82A3C7F
+Route132_Text_RonaldIntro: @ 82A3C7F
.string "Win or lose, you'll never know until\n"
.string "you try!$"
-Route132_Text_2A3CAD: @ 82A3CAD
+Route132_Text_RonaldDefeat: @ 82A3CAD
.string "Waah!\n"
.string "I sank in defeat!$"
-Route132_Text_2A3CC5: @ 82A3CC5
+Route132_Text_RonaldPostBattle: @ 82A3CC5
.string "I never battle when I know I'll win.\n"
.string "I like to battle at the razor's edge of\l"
.string "victory and defeat!$"
-Route132_Text_2A3D26: @ 82A3D26
+Route132_Text_KiyoIntro: @ 82A3D26
.string "I contemplate POKéMON 24 hours a day.\n"
.string "How could you possibly beat me?$"
-Route132_Text_2A3D6C: @ 82A3D6C
+Route132_Text_KiyoDefeat: @ 82A3D6C
.string "I lose.\n"
.string "I will concede defeat.$"
-Route132_Text_2A3D8B: @ 82A3D8B
+Route132_Text_KiyoPostBattle: @ 82A3D8B
.string "Urggh…\n"
.string "You're a POKéMON fanatic, aren't you?\p"
.string "You must contemplate POKéMON 24 hours\n"
.string "a day, don't you?$"
-Route132_Text_2A3DF0: @ 82A3DF0
+Route132_Text_MakaylaIntro: @ 82A3DF0
.string "I'm always with my husband,\n"
.string "but I can win even without him.$"
-Route132_Text_2A3E2C: @ 82A3E2C
+Route132_Text_MakaylaDefeat: @ 82A3E2C
.string "Oh, I guess I wasn't good enough.$"
-Route132_Text_2A3E4E: @ 82A3E4E
+Route132_Text_MakaylaPostBattle: @ 82A3E4E
.string "That young man over there looks just\n"
.string "like my husband when he was young.\p"
.string "He's making me blush!$"
-Route132_Text_2A3EAC: @ 82A3EAC
+Route132_Text_JonathanIntro: @ 82A3EAC
.string "Someone's been watching me intently.\n"
.string "Was it you?$"
-Route132_Text_2A3EDD: @ 82A3EDD
+Route132_Text_JonathanDefeat: @ 82A3EDD
.string "Wow!\n"
.string "That's pretty strong, all right!$"
-Route132_Text_2A3F03: @ 82A3F03
+Route132_Text_JonathanPostBattle: @ 82A3F03
.string "I can't shake this feeling that\n"
.string "someone's watching me.\p"
.string "I can't concentrate!$"
-Route132_Text_2A3F4F: @ 82A3F4F
+Route132_Text_PaxtonIntro: @ 82A3F4F
.string "Now where could my wife have gone?\n"
.string "I'm always with her.\l"
.string "I wonder if I can win on my own.$"
-Route132_Text_2A3FA8: @ 82A3FA8
+Route132_Text_PaxtonDefeat: @ 82A3FA8
.string "Ah, I see that I couldn't manage\n"
.string "to win on my own after all.$"
-Route132_Text_2A3FE5: @ 82A3FE5
+Route132_Text_PaxtonPostBattle: @ 82A3FE5
.string "My wife must be looking for me.\n"
.string "I'd best go find her right away.$"
-Route132_Text_2A4026: @ 82A4026
+Route132_Text_DarcyIntro: @ 82A4026
.string "I liked training here by myself.\n"
.string "It's awful that all these people came!$"
-Route132_Text_2A406E: @ 82A406E
+Route132_Text_DarcyDefeat: @ 82A406E
.string "Okay! I won't complain about other\n"
.string "people being here.$"
-Route132_Text_2A40A4: @ 82A40A4
+Route132_Text_DarcyPostBattle: @ 82A40A4
.string "I suppose I can partner up with that\n"
.string "old man and challenge that other team.$"
-Route133_Text_2A40F0: @ 82A40F0
+Route133_Text_FranklinIntro: @ 82A40F0
.string "Did the currents carry you here, too?\n"
.string "This must have been fated.\l"
.string "Let's battle!$"
-Route133_Text_2A413F: @ 82A413F
+Route133_Text_FranklinDefeat: @ 82A413F
.string "Strong!\n"
.string "Too much so!$"
-Route133_Text_2A4154: @ 82A4154
+Route133_Text_FranklinPostBattle: @ 82A4154
.string "It's just my luck that a tough TRAINER\n"
.string "like you would drift here…\l"
.string "I must be cursed…$"
-Route133_Text_2A41A8: @ 82A41A8
+Route133_Text_DebraIntro: @ 82A41A8
.string "I've led a life of woe and misery…\n"
.string "I've been cast away, and this is where\l"
.string "I've drifted…$"
-Route133_Text_2A4200: @ 82A4200
+Route133_Text_DebraDefeat: @ 82A4200
.string "Another loss…$"
-Route133_Text_2A420E: @ 82A420E
+Route133_Text_DebraPostBattle: @ 82A420E
.string "A life adrift…\n"
.string "I don't want it anymore!$"
-Route133_Text_2A4236: @ 82A4236
+Route133_Text_LindaIntro: @ 82A4236
.string "Welcome!\n"
.string "I've been expecting you!$"
-Route133_Text_2A4258: @ 82A4258
+Route133_Text_LindaDefeat: @ 82A4258
.string "No! Please!$"
-Route133_Text_2A4264: @ 82A4264
+Route133_Text_LindaPostBattle: @ 82A4264
.string "A strong child TRAINER…\n"
.string "That's so annoying!$"
-Route133_Text_2A4290: @ 82A4290
+Route133_Text_WarrenIntro: @ 82A4290
.string "I want to win like everyone else, but I\n"
.string "won't raise POKéMON like everyone else.$"
-Route133_Text_2A42E0: @ 82A42E0
+Route133_Text_WarrenDefeat: @ 82A42E0
.string "Darn it!\n"
.string "My way is still too slack!$"
-Route133_Text_2A4304: @ 82A4304
+Route133_Text_WarrenPostBattle: @ 82A4304
.string "It's way more fun to do things the way\n"
.string "I want than to be like everybody else.\l"
.string "I mean, that's obvious!$"
-Route133_Text_2A436A: @ 82A436A
+Route133_Text_BeckIntro: @ 82A436A
.string "I came all the way out here with my\n"
.string "BIRD POKéMON.$"
-Route133_Text_2A439C: @ 82A439C
+Route133_Text_BeckDefeat: @ 82A439C
.string "You…\n"
.string "You're stunningly cool!$"
-Route133_Text_2A43B9: @ 82A43B9
+Route133_Text_BeckPostBattle: @ 82A43B9
.string "I'd like to go back to FORTREE,\n"
.string "but I've grown to like this place, too.$"
-Route133_Text_2A4401: @ 82A4401
+Route133_Text_MollieIntro: @ 82A4401
.string "I must have battled thousands\n"
.string "of times. I've lost count.$"
-Route133_Text_2A443A: @ 82A443A
+Route133_Text_MollieDefeat: @ 82A443A
.string "I may have lost thousands of times,\n"
.string "but a loss still stings.$"
-Route133_Text_2A4477: @ 82A4477
+Route133_Text_MolliePostBattle: @ 82A4477
.string "Keep at this, youngster. So you can\n"
.string "become like my husband and me.$"
-Route133_Text_2A44BA: @ 82A44BA
+Route133_Text_ConorIntro: @ 82A44BA
.string "Young people are too happy to go with\n"
.string "the flow. They're without direction.$"
-Route133_Text_2A4505: @ 82A4505
+Route133_Text_ConorDefeat: @ 82A4505
.string "You have a firm sense of purpose.$"
-Route133_Text_2A4527: @ 82A4527
+Route133_Text_ConorPostBattle: @ 82A4527
.string "Don't let others lead you astray.\n"
.string "Don't lose direction as you grow older.$"
-Route134_Text_2A4571: @ 82A4571
+Route134_Text_JackIntro: @ 82A4571
.string "Even those POKéMON that can swim are\n"
.string "carried along by the rapid currents.$"
-Route134_Text_2A45BB: @ 82A45BB
+Route134_Text_JackDefeat: @ 82A45BB
.string "Aiyeeeeh!$"
-Route134_Text_2A45C5: @ 82A45C5
+Route134_Text_JackPostBattle: @ 82A45C5
.string "I think POKéMON enjoy the fast-running\n"
.string "currents around these parts.$"
-Route134_Text_2A4609: @ 82A4609
+Route134_Text_LaurelIntro: @ 82A4609
.string "My LUVDISC are looking for a fun\n"
.string "match. Will you join us?$"
-Route134_Text_2A4643: @ 82A4643
+Route134_Text_LaurelDefeat: @ 82A4643
.string "Oopsie!$"
-Route134_Text_2A464B: @ 82A464B
+Route134_Text_LaurelPostBattle: @ 82A464B
.string "There's a collector who's after\n"
.string "the SCALES of LUVDISC.$"
-Route134_Text_2A4682: @ 82A4682
+Route134_Text_AlexIntro: @ 82A4682
.string "Okeydokey! That's enough rest, gang!\n"
.string "It's time for a match!$"
-Route134_Text_2A46BE: @ 82A46BE
+Route134_Text_AlexDefeat: @ 82A46BE
.string "Tuckered out again…$"
-Route134_Text_2A46D2: @ 82A46D2
+Route134_Text_AlexPostBattle: @ 82A46D2
.string "My BIRD POKéMON get tired quickly after\n"
.string "a long flight…$"
-Route134_Text_2A4709: @ 82A4709
+Route134_Text_HitoshiIntro: @ 82A4709
.string "You're a POKéMON TRAINER.\n"
.string "No need for words. We battle now.$"
-Route134_Text_2A4745: @ 82A4745
+Route134_Text_HitoshiDefeat: @ 82A4745
.string "… … … … … …\n"
.string "… … … … … …$"
-Route134_Text_2A475D: @ 82A475D
+Route134_Text_HitoshiPostBattle: @ 82A475D
.string "It was I who challenged you, and yet\n"
.string "I lost. I am deeply shamed…$"
-Route134_Text_2A479E: @ 82A479E
+Route134_Text_AaronIntro: @ 82A479E
.string "The savage tide in this area serves to\n"
.string "make us stronger than ever.$"
-Route134_Text_2A47E1: @ 82A47E1
+Route134_Text_AaronDefeat: @ 82A47E1
.string "I willingly concede defeat.$"
-Route134_Text_2A47FD: @ 82A47FD
+Route134_Text_AaronPostBattle: @ 82A47FD
.string "We will return for more training at\n"
.string "METEOR FALLS.\p"
.string "If you'd like, you should go, too.\n"
.string "It will definitely toughen you up!$"
-Route134_Text_2A4875: @ 82A4875
+Route134_Text_KelvinIntro: @ 82A4875
.string "O-our boat!\n"
.string "The tide carried it away!$"
-Route134_Text_2A489B: @ 82A489B
+Route134_Text_KelvinDefeat: @ 82A489B
.string "Awawawawah!\n"
.string "Please, stop! Please!$"
-Route134_Text_2A48BD: @ 82A48BD
+Route134_Text_KelvinPostBattle: @ 82A48BD
.string "If we can't SURF, how are we supposed\n"
.string "to get home?\p"
.string "Actually, I know a fainted POKéMON\n"
.string "can still SURF, but it feels wrong.$"
-Route134_Text_2A4937: @ 82A4937
+Route134_Text_MarleyIntro: @ 82A4937
.string "Can your POKéMON dodge our\n"
.string "lightning-quick attacks?$"
-Route134_Text_2A496B: @ 82A496B
+Route134_Text_MarleyDefeat: @ 82A496B
.string "I never knew such a technique existed!\n"
.string "You've defeated us thoroughly.$"
-Route134_Text_2A49B1: @ 82A49B1
+Route134_Text_MarleyPostBattle: @ 82A49B1
.string "I haven't lost my passion for speed.\n"
.string "I will try harder.$"
-Route134_Text_2A49E9: @ 82A49E9
+Route134_Text_ReynaIntro: @ 82A49E9
.string "My POKéMON can't be taken down\n"
.string "easily!$"
-Route134_Text_2A4A10: @ 82A4A10
+Route134_Text_ReynaDefeat: @ 82A4A10
.string "You're kidding!\n"
.string "Explain how I lost!$"
-Route134_Text_2A4A34: @ 82A4A34
+Route134_Text_ReynaPostBattle: @ 82A4A34
.string "Haha!\n"
.string "You won, all right!\p"
.string "I'll work my way back up by taking on\n"
.string "TRAINERS I happen to meet!$"
-Route134_Text_2A4A8F: @ 82A4A8F
+Route134_Text_HudsonIntro: @ 82A4A8F
.string "Listen, have you seen another SAILOR\n"
.string "around here?$"
-Route134_Text_2A4AC1: @ 82A4AC1
+Route134_Text_HudsonDefeat: @ 82A4AC1
.string "Now, that's something!$"
-Route134_Text_2A4AD8: @ 82A4AD8
+Route134_Text_HudsonPostBattle: @ 82A4AD8
.string "Our boat drifted out to sea.\p"
.string "My buddy's a timid fellow, so I'm\n"
.string "worried about him.$"
diff --git a/data/text/tv.inc b/data/text/tv.inc
index c71793585..c6453af0c 100644
--- a/data/text/tv.inc
+++ b/data/text/tv.inc
@@ -1,4 +1,4 @@
-LilycoveCity_ContestLobby_Text_27EF15: @ 827EF15
+LilycoveCity_ContestLobby_Text_InterviewRequest: @ 827EF15
.string "Oh, hello! You were in a POKéMON\n"
.string "CONTEST, weren't you?\l"
.string "It's easy to tell from your POKéMON.\p"
@@ -7,13 +7,13 @@ LilycoveCity_ContestLobby_Text_27EF15: @ 827EF15
.string "If I may, would you be willing to answer\n"
.string "a few questions?$"
-LilycoveCity_ContestLobby_Text_27EFE7: @ 827EFE7
+LilycoveCity_ContestLobby_Text_DescribeContest: @ 827EFE7
.string "Oh, you will?\n"
.string "Thank you.\p"
.string "Briefly, how would you describe the\n"
.string "CONTEST you just entered?$"
-LilycoveCity_ContestLobby_Text_27F03E: @ 827F03E
+LilycoveCity_ContestLobby_Text_WhatImageWhenYouHearX: @ 827F03E
.string "Ah, I see.\n"
.string "That's a very edifying comment.\p"
.string "You get a good feel for what\n"
@@ -22,7 +22,7 @@ LilycoveCity_ContestLobby_Text_27F03E: @ 827F03E
.string "When you hear the word “{STR_VAR_2},”\n"
.string "what image do you get?$"
-LilycoveCity_ContestLobby_Text_27F0EC: @ 827F0EC
+LilycoveCity_ContestLobby_Text_ThatsAllForInterview: @ 827F0EC
.string "I see!\p"
.string "So that's how you imagine the concept\n"
.string "of “{STR_VAR_2}” to be.\p"
@@ -34,12 +34,12 @@ LilycoveCity_ContestLobby_Text_27F0EC: @ 827F0EC
.string "make it to television.\l"
.string "I hope you'll look forward to it!$"
-LilycoveCity_ContestLobby_Text_27F1EF: @ 827F1EF
+LilycoveCity_ContestLobby_Text_PleaseDoShareStoryWithMe: @ 827F1EF
.string "Oh, too bad…\p"
.string "Well, if you come across a good story,\n"
.string "please do share it with me.$"
-LilycoveCity_ContestLobby_Text_27F23F: @ 827F23F
+LilycoveCity_ContestLobby_Text_LookingForwardToNextContest: @ 827F23F
.string "I'll be looking forward to your next\n"
.string "POKéMON CONTEST.$"
@@ -108,7 +108,7 @@ gTVBravoTrainerText07:: @ 0827F65C
gTVBravoTrainerText08:: @ 0827F6E6
.string "Introducing the TRAINER's {STR_VAR_1}!$"
-BattleFrontier_BattleTowerLobby_Text_27F704:: @ 0827F704
+BattleFrontier_BattleTowerLobby_Text_InterviewRequest:: @ 0827F704
.string "Hello! You're the TRAINER who just had\n"
.string "a battle, right?\p"
.string "I'm gathering interviews with TRAINERS\n"
@@ -116,7 +116,7 @@ BattleFrontier_BattleTowerLobby_Text_27F704:: @ 0827F704
.string "May I get a few words from you about\n"
.string "your impressions on battling?$"
-BattleFrontier_BattleTowerLobby_Text_27F7BA:: @ 0827F7BA
+BattleFrontier_BattleTowerLobby_Text_HowDidBattleTowerTurnOut:: @ 0827F7BA
.string "You will? Really?\n"
.string "Thank you!\l"
.string "Then, uh…\p"
@@ -125,44 +125,44 @@ BattleFrontier_BattleTowerLobby_Text_27F7BA:: @ 0827F7BA
.string "Were you satisfied with the battle?\n"
.string "Or are you unhappy?$"
-BattleFrontier_BattleTowerLobby_Text_27F84C:: @ 0827F84C
+BattleFrontier_BattleTowerLobby_Text_SorryWeDisturbedYou:: @ 0827F84C
.string "Oh…\n"
.string "Sorry we disturbed you.\p"
.string "Please give us an interview the next\n"
.string "time you visit the BATTLE TOWER.$"
-BattleFrontier_BattleTowerLobby_Text_27F8AE:: @ 0827F8AE
+BattleFrontier_BattleTowerLobby_Text_ObviousYouHadGreatBattle:: @ 0827F8AE
.string "Well, of course!\p"
.string "That unmistakable look of satisfaction\n"
.string "on your face…\p"
.string "It's obvious that you've had a great\n"
.string "battle.$"
-BattleFrontier_BattleTowerLobby_Text_27F921:: @ 0827F921
+BattleFrontier_BattleTowerLobby_Text_DifficultToMakeBattleTurnOutAsPlanned:: @ 0827F921
.string "Oh, I see…\p"
.string "Well, it certainly is difficult to make a\n"
.string "battle turn out exactly as planned.$"
-BattleFrontier_BattleTowerLobby_Text_27F97A:: @ 0827F97A
+BattleFrontier_BattleTowerLobby_Text_DescribeYourBattle:: @ 0827F97A
.string "Oh, oh, may I ask one more question?\p"
.string "If you were to describe your\n"
.string "impressions about this battle with\l"
.string "one saying, what would it be?$"
-BattleFrontier_BattleTowerLobby_Text_27F9FD:: @ 0827F9FD
+BattleFrontier_BattleTowerLobby_Text_ThatsGreatLine:: @ 0827F9FD
.string "Oh, that is stunningly cool!\p"
.string "That's a great line!\n"
.string "I hope you'll do great next time, too.\p"
.string "I hope to see you again!$"
-BattleFrontier_BattleTowerLobby_Text_27FA6F:: @ 0827FA6F
+BattleFrontier_BattleTowerLobby_Text_SilentType:: @ 0827FA6F
.string "Oh, I see…\p"
.string "Still, being the silent type is also\n"
.string "cool, isn't it?\p"
.string "I hope you'll give me the opportunity\n"
.string "to share your thoughts again!$"
-BattleFrontier_BattleTowerLobby_Text_27FAF3:: @ 0827FAF3
+BattleFrontier_BattleTowerLobby_Text_LookingForwardToNextBattle:: @ 0827FAF3
.string "I'll be looking forward to your\n"
.string "next battle!$"
@@ -269,7 +269,7 @@ gTVBravoTrainerBattleTowerText14:: @ 082801E6
.string "That's all the time we have!\n"
.string "Until next time, see you!$"
-SlateportCity_PokemonFanClub_Text_280270: @ 08280270
+SlateportCity_PokemonFanClub_Text_InterviewRequestHasName: @ 08280270
.string "Wow!\p"
.string "It's plain to see that you lavish your\n"
.string "love on your {STR_VAR_1}.\p"
@@ -280,36 +280,36 @@ SlateportCity_PokemonFanClub_Text_280270: @ 08280270
.string "Would you be willing to answer a few\n"
.string "simple questions for me?$"
-SlateportCity_PokemonFanClub_Text_28034F: @ 0828034F
+SlateportCity_PokemonFanClub_Text_HereGoesQuickAnswers: @ 0828034F
.string "Great! Thank you!\p"
.string "Okay, here goes.\n"
.string "I just need quick answers, okay?$"
-SlateportCity_PokemonFanClub_Text_280393: @ 08280393
+SlateportCity_PokemonFanClub_Text_DescribeFeelingsFirstMetMon: @ 08280393
.string "When you first met {STR_VAR_1},\n"
.string "what did you feel?\p"
.string "How would you describe your feelings\n"
.string "at the time?$"
-SlateportCity_PokemonFanClub_Text_2803EF: @ 082803EF
+SlateportCity_PokemonFanClub_Text_LikenMonToSomethingYouLike: @ 082803EF
.string "Your {STR_VAR_1} is cared for lovingly.\p"
.string "If you were to liken it to something\n"
.string "that you like, what would it be?$"
-SlateportCity_PokemonFanClub_Text_280454: @ 08280454
+SlateportCity_PokemonFanClub_Text_WhatAttractedYouAboutMon: @ 08280454
.string "This question also relates to your\n"
.string "beloved {STR_VAR_1}.\p"
.string "What was it about {STR_VAR_1} that\n"
.string "attracted you?$"
-SlateportCity_PokemonFanClub_Text_2804AC: @ 082804AC
+SlateportCity_PokemonFanClub_Text_WhatDoPokemonMeanToYou: @ 082804AC
.string "Okay, that makes sense.\p"
.string "The next question might be a little\n"
.string "on the tough side.\p"
.string "Here goes…\p"
.string "What do POKéMON mean to you?$"
-SlateportCity_PokemonFanClub_Text_280523: @ 08280523
+SlateportCity_PokemonFanClub_Text_ThatsAllForInterview: @ 08280523
.string "I see!\p"
.string "Hmhm…\p"
.string "Okay!\n"
@@ -321,16 +321,16 @@ SlateportCity_PokemonFanClub_Text_280523: @ 08280523
.string "Okay, that's all.\n"
.string "Bye-bye!$"
-SlateportCity_PokemonFanClub_Text_2805E2: @ 082805E2
+SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe: @ 082805E2
.string "Oh, okay…\p"
.string "Well, if you get the urge to tell me\n"
.string "about POKéMON, I'll be here!$"
-SlateportCity_PokemonFanClub_Text_28062E: @ 0828062E
+SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews: @ 0828062E
.string "I enjoy this job--you get to learn\n"
.string "about POKéMON by doing interviews.$"
-SlateportCity_PokemonFanClub_Text_280674: @ 08280674
+SlateportCity_PokemonFanClub_Text_InterviewRequest: @ 08280674
.string "Hi, you seem to be very close to your\n"
.string "{STR_VAR_1}.\p"
.string "Do you know what?\n"
@@ -340,12 +340,12 @@ SlateportCity_PokemonFanClub_Text_280674: @ 08280674
.string "I'm wondering if you'd be willing to tell\n"
.string "me a little about your {STR_VAR_1}?$"
-SlateportCity_PokemonFanClub_Text_28073B: @ 0828073B
+SlateportCity_PokemonFanClub_Text_TellMeAnythingAboutYourMon: @ 0828073B
.string "Wow, thank you!\p"
.string "Okay, then, please tell me anything\n"
.string "you'd like about your {STR_VAR_1}.$"
-SlateportCity_PokemonFanClub_Text_280789: @ 08280789
+SlateportCity_PokemonFanClub_Text_ThatsAllForInterview2: @ 08280789
.string "Wow…\n"
.string "That's an interesting account.\p"
.string "You really are tight with {STR_VAR_1},\n"
@@ -479,7 +479,7 @@ gTVFanClubText07:: @ 082810E7
.string "A-whoops, will you look at the time?\n"
.string "Time to say good-bye until next time!$"
-SlateportCity_OceanicMuseum_1F_Text_2811A0: @ 082811A0
+SlateportCity_OceanicMuseum_1F_Text_InterviewRequest: @ 082811A0
.string "Oh?\n"
.string "Do you perhaps like POKéMON?\p"
.string "I'm on assignment with the TV network.\p"
@@ -488,32 +488,32 @@ SlateportCity_OceanicMuseum_1F_Text_2811A0: @ 082811A0
.string "If you don't mind, could you tell me\n"
.string "something about yourself?$"
-SlateportCity_OceanicMuseum_1F_Text_28126D: @ 0828126D
+SlateportCity_OceanicMuseum_1F_Text_InterviewRequestShort: @ 0828126D
.string "I'm gathering stories on POKéMON and\n"
.string "TRAINERS that occurred recently.\p"
.string "If you don't mind, could you tell me\n"
.string "something about yourself?$"
-SlateportCity_OceanicMuseum_1F_Text_2812F2: @ 082812F2
+SlateportCity_OceanicMuseum_1F_Text_TellMeExperienceInvolvingPokemon: @ 082812F2
.string "Oh, you will?\n"
.string "Thank you!\p"
.string "Then, please, tell me anything of\n"
.string "interest that you experienced recently\l"
.string "involving POKéMON.$"
-SlateportCity_OceanicMuseum_1F_Text_281367: @ 08281367
+SlateportCity_OceanicMuseum_1F_Text_LetMeKnowIfYouHaveStory: @ 08281367
.string "Oh, I see…\p"
.string "Well, if you do have an interesting\n"
.string "story to tell, please let me know.$"
-SlateportCity_OceanicMuseum_1F_Text_2813B9: @ 082813B9
+SlateportCity_OceanicMuseum_1F_Text_ThatsAllForInterview: @ 082813B9
.string "Oh, what an uplifting story!\p"
.string "I'll be sure to get your story told\n"
.string "on television.\p"
.string "It should be aired sometime, I think,\n"
.string "so please look forward to it.$"
-SlateportCity_OceanicMuseum_1F_Text_28144D: @ 0828144D
+SlateportCity_OceanicMuseum_1F_Text_BetterWriteUpStory: @ 0828144D
.string "Hmmm…\n"
.string "I've got a good story for a TV program.\p"
.string "I'd better write it up in a hurry!$"
@@ -612,44 +612,44 @@ gTV3CheersForPokeblocksText05:: @ 08281B93
.string "Tune in next time!\n"
.string "Our slogan is “3 CHEERS FOR {POKEBLOCK}S!”$"
-LilycoveCity_PokemonTrainerFanClub_Text_281BCB:: @ 8281BCB
+LilycoveCity_PokemonTrainerFanClub_Text_WhatsYourOpinionOfTrainer:: @ 8281BCB
.string "Hi, there!\p"
.string "I'm a big fan of {STR_VAR_1}.\n"
.string "What's your opinion of {STR_VAR_1}?$"
-LilycoveCity_PokemonTrainerFanClub_Text_281C06:: @ 8281C06
+LilycoveCity_PokemonTrainerFanClub_Text_ThatsWhatYouThink:: @ 8281C06
.string "I see, I see. That's what you think\n"
.string "about the TRAINER.$"
-LilycoveCity_PokemonTrainerFanClub_Text_281C3D:: @ 8281C3D
+LilycoveCity_PokemonTrainerFanClub_Text_HaveYouForgottenTrainer:: @ 8281C3D
.string "Have you completely forgotten\n"
.string "about {STR_VAR_1}?$"
-LilycoveCity_PokemonTrainerFanClub_Text_281C65:: @ 8281C65
+LilycoveCity_PokemonTrainerFanClub_Text_WhatsYourOpinionOfTrainer2:: @ 8281C65
.string "I'm a big fan of {STR_VAR_1}.\n"
.string "What's your opinion of {STR_VAR_1}?$"
-LilycoveCity_PokemonTrainerFanClub_Text_281C95:: @ 8281C95
+LilycoveCity_PokemonTrainerFanClub_Text_HowStrongRateTrainer:: @ 8281C95
.string "How strong would you rate {STR_VAR_1}\n"
.string "on a scale of one hundred?$"
-LilycoveCity_PokemonTrainerFanClub_Text_281CCD:: @ 8281CCD
+LilycoveCity_PokemonTrainerFanClub_Text_HaveYouForgottenTrainer2:: @ 8281CCD
.string "Have you completely forgotten\n"
.string "about {STR_VAR_1}?$"
-LilycoveCity_PokemonTrainerFanClub_Text_281CF5:: @ 8281CF5
+LilycoveCity_PokemonTrainerFanClub_Text_YouShouldMeetTrainer:: @ 8281CF5
.string "Oh, I see!\n"
.string "You should meet {STR_VAR_1} sometime.\l"
.string "I'm sure you'll become a fan, too!$"
-LilycoveCity_PokemonTrainerFanClub_Text_281D40:: @ 8281D40
+LilycoveCity_PokemonTrainerFanClub_Text_ThankYouIllShareThisInfo:: @ 8281D40
.string "I see, I see.\p"
.string "Thank you!\n"
.string "That's very useful to know.\p"
.string "I'll share this information with other\n"
.string "{STR_VAR_1} fans and discuss it.$"
-LilycoveCity_PokemonTrainerFanClub_Text_281DB4:: @ 8281DB4
+LilycoveCity_PokemonTrainerFanClub_HopeYouCatchTVSpecial:: @ 8281DB4
.string "There's going to be a TV special on\n"
.string "{STR_VAR_1} very soon.\p"
.string "I hope you catch it!$"
diff --git a/include/battle_tower.h b/include/battle_tower.h
index 8bc6e6554..2366cac12 100644
--- a/include/battle_tower.h
+++ b/include/battle_tower.h
@@ -48,7 +48,7 @@ extern u16 gUnknown_03006298[];
extern const struct BattleFrontierTrainer *gFacilityTrainers;
extern const struct FacilityMon *gFacilityTrainerMons;
-void sub_8161F74(void);
+void CallBattleTowerFunc(void);
u16 sub_8162548(u8 challengeNum, u8 battleNum);
void SetBattleFacilityTrainerGfxId(u16 trainerId, u8 tempVarId);
void SetEReaderTrainerGfxId(void);
diff --git a/include/constants/battle_frontier.h b/include/constants/battle_frontier.h
index b849686f5..54d50c18a 100644
--- a/include/constants/battle_frontier.h
+++ b/include/constants/battle_frontier.h
@@ -46,18 +46,30 @@
#define MAX_BATTLE_FRONTIER_POINTS 9999
-// Frontier Maniac
-#define FRONTIER_MANIAC_BATTLE_TOWER_SINGLES 0
-#define FRONTIER_MANIAC_BATTLE_TOWER_DOUBLES 1
-#define FRONTIER_MANIAC_BATTLE_TOWER_MULTIS 2
-#define FRONTIER_MANIAC_BATTLE_TOWER_LINK_MULTIS 3
-#define FRONTIER_MANIAC_BATTLE_DOME 4
-#define FRONTIER_MANIAC_BATTLE_FACTORY 5
-#define FRONTIER_MANIAC_BATTLE_PALACE 6
-#define FRONTIER_MANIAC_BATTLE_ARENA 7
-#define FRONTIER_MANIAC_BATTLE_PIKE 8
-#define FRONTIER_MANIAC_BATTLE_PYRAMID 9
-#define FRONTIER_MANIAC_FACILITY_COUNT 10
+// These sets of facility ids would be redunant if the order was consistent
+// The order is important for this set so that all the non-link records can be continuous
+#define RANKING_HALL_BATTLE_TOWER_SINGLES 0
+#define RANKING_HALL_BATTLE_TOWER_DOUBLES 1
+#define RANKING_HALL_BATTLE_TOWER_MULTIS 2
+#define RANKING_HALL_BATTLE_DOME 3
+#define RANKING_HALL_BATTLE_PALACE 4
+#define RANKING_HALL_BATTLE_ARENA 5
+#define RANKING_HALL_BATTLE_FACTORY 6
+#define RANKING_HALL_BATTLE_PIKE 7
+#define RANKING_HALL_BATTLE_PYRAMID 8
+#define RANKING_HALL_BATTLE_TOWER_LINK 9
+
+#define FRONTIER_MANIAC_BATTLE_TOWER_SINGLES 0
+#define FRONTIER_MANIAC_BATTLE_TOWER_DOUBLES 1
+#define FRONTIER_MANIAC_BATTLE_TOWER_MULTIS 2
+#define FRONTIER_MANIAC_BATTLE_TOWER_LINK 3
+#define FRONTIER_MANIAC_BATTLE_DOME 4
+#define FRONTIER_MANIAC_BATTLE_FACTORY 5
+#define FRONTIER_MANIAC_BATTLE_PALACE 6
+#define FRONTIER_MANIAC_BATTLE_ARENA 7
+#define FRONTIER_MANIAC_BATTLE_PIKE 8
+#define FRONTIER_MANIAC_BATTLE_PYRAMID 9
+#define FRONTIER_MANIAC_FACILITY_COUNT 10
#define FRONTIER_MANIAC_MESSAGE_COUNT 3
@@ -77,6 +89,11 @@
// For 'ShowFacilityResultsWindow' function which is a part of the 'CallFrontierUtilFunc' special.
#define RESULTS_LINK_CONTEST 7
+#define EXCHANGE_CORNER_DECOR1_CLERK 0
+#define EXCHANGE_CORNER_DECOR2_CLERK 1
+#define EXCHANGE_CORNER_VITAMIN_CLERK 2
+#define EXCHANGE_CORNER_HOLD_ITEM_CLERK 3
+
#define F_EV_SPREAD_HP (1 << 0)
#define F_EV_SPREAD_ATTACK (1 << 1)
#define F_EV_SPREAD_DEFENSE (1 << 2)
diff --git a/include/constants/battle_setup.h b/include/constants/battle_setup.h
index d98e1762f..d825c88bc 100644
--- a/include/constants/battle_setup.h
+++ b/include/constants/battle_setup.h
@@ -13,6 +13,6 @@
#define TRAINER_BATTLE_PYRAMID 9
#define TRAINER_BATTLE_SET_TRAINER_A 10
#define TRAINER_BATTLE_SET_TRAINER_B 11
-#define TRAINER_BATTLE_12 12
+#define TRAINER_BATTLE_HILL 12
#endif // GUARD_CONSTANTS_BATTLE_SETUP_H
diff --git a/include/constants/battle_tower.h b/include/constants/battle_tower.h
new file mode 100644
index 000000000..508656fab
--- /dev/null
+++ b/include/constants/battle_tower.h
@@ -0,0 +1,21 @@
+#ifndef GUARD_CONSTANTS_BATTLE_TOWER_H
+#define GUARD_CONSTANTS_BATTLE_TOWER_H
+
+#define BATTLE_TOWER_FUNC_0 0
+#define BATTLE_TOWER_FUNC_1 1
+#define BATTLE_TOWER_FUNC_2 2
+#define BATTLE_TOWER_FUNC_CHOOSE_TRAINER 3
+#define BATTLE_TOWER_FUNC_4 4
+#define BATTLE_TOWER_FUNC_GIVE_RIBBONS 5
+#define BATTLE_TOWER_FUNC_SAVE 6
+#define BATTLE_TOWER_FUNC_7 7
+#define BATTLE_TOWER_FUNC_NOP 8
+#define BATTLE_TOWER_FUNC_NOP2 9
+#define BATTLE_TOWER_FUNC_10 10
+#define BATTLE_TOWER_FUNC_11 11
+#define BATTLE_TOWER_FUNC_12 12
+#define BATTLE_TOWER_FUNC_13 13
+#define BATTLE_TOWER_FUNC_14 14
+#define BATTLE_TOWER_FUNC_15 15
+
+#endif //GUARD_CONSTANTS_BATTLE_TOWER_H
diff --git a/include/constants/field_specials.h b/include/constants/field_specials.h
index cbc5e96a3..81c173f75 100644
--- a/include/constants/field_specials.h
+++ b/include/constants/field_specials.h
@@ -13,6 +13,19 @@
#define SS_TIDAL_LOCATION_ROUTE124 3
#define SS_TIDAL_LOCATION_ROUTE131 4
+#define SS_TIDAL_BOARD_SLATEPORT 1
+#define SS_TIDAL_DEPART_SLATEPORT 2
+#define SS_TIDAL_HALFWAY_LILYCOVE 3
+#define SS_TIDAL_LAND_LILYCOVE 4
+#define SS_TIDAL_BOARD_LILYCOVE 5
+#define SS_TIDAL_DEPART_LILYCOVE 6
+#define SS_TIDAL_HALFWAY_SLATEPORT 7
+#define SS_TIDAL_LAND_SLATEPORT 8
+#define SS_TIDAL_EXIT_CURRENTS_RIGHT 9
+#define SS_TIDAL_EXIT_CURRENTS_LEFT 10
+
+#define SS_TIDAL_MAX_STEPS 205
+
// Scrollable Multichoice Menus
#define SCROLL_MULTI_NONE 0
#define SCROLL_MULTI_GLASS_WORKSHOP_VENDOR 1
diff --git a/include/constants/flags.h b/include/constants/flags.h
index 8a507e976..1eb8a0673 100644
--- a/include/constants/flags.h
+++ b/include/constants/flags.h
@@ -125,7 +125,7 @@
#define FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT 0x6F
#define FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE 0x70
#define FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE 0x71 // Unused Flag. Used in R/S to indicate whether player defeated or caught Groudon/Kyogre in Cave of Origin.
-#define FLAG_SCOTT_CALL_NATIONAL_DEX 0x72 // Used in order to activate a phone call from Scott, inviting the player to the SS Tidal.
+#define FLAG_SCOTT_CALL_BATTLE_FRONTIER 0x72 // Used in order to activate a phone call from Scott, inviting the player to the SS Tidal.
#define FLAG_RECEIVED_METEORITE 0x73
#define FLAG_ADVENTURE_STARTED 0x74 // RECEIVED Pokédex.
#define FLAG_DEFEATED_MAGMA_SPACE_CENTER 0x75 // Set when Team Magma is defeated at Mossdeep's Space Center.
@@ -151,7 +151,7 @@
#define FLAG_THANKED_FOR_PLAYING_WITH_WALLY 0x87
#define FLAG_ENABLE_FIRST_WALLY_POKENAV_CALL 0x88 // Set after defeating Wally outside Mauville Gym. Will activate a call later to register Wally.
#define FLAG_RECEIVED_HM01 0x89
-#define FLAG_REGISTER_WINONA_POKENAV 0x8A // Set after obtaining registering Winona, and cleared after Scott's call.
+#define FLAG_SCOTT_CALL_FORTREE_GYM 0x8A // Triggers call from Scott after defeating Winona
#define FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY 0x8B
#define FLAG_RECEIVED_6_SODA_POP 0x8C
#define FLAG_DEFEATED_SEASHORE_HOUSE 0x8D
@@ -363,7 +363,7 @@
#define FLAG_MET_BATTLE_FRONTIER_MANIAC 0x154
#define FLAG_ENTERED_CONTEST 0x155
#define FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN 0x156
-#define FLAG_MET_BATTLE_FRONTIER_BETTOR 0x157
+#define FLAG_MET_BATTLE_FRONTIER_GAMBLER 0x157
#define FLAG_ENABLE_MR_STONE_POKENAV 0x158
#define FLAG_NURSE_MENTIONS_GOLD_CARD 0x159
#define FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR 0x15A
@@ -491,7 +491,7 @@
#define FLAG_MET_SCOTT_IN_EVERGRANDE 0x1CF
#define FLAG_MET_SCOTT_ON_SS_TIDAL 0x1D0
#define FLAG_SCOTT_GIVES_BATTLE_POINTS 0x1D1
-#define FLAG_RECEIVED_STARF_BERRY_FROM_SCOTT 0x1D2
+#define FLAG_COLLECTED_ALL_GOLD_SYMBOLS 0x1D2
#define FLAG_ENABLE_ROXANNE_MATCH_CALL 0x1D3
#define FLAG_ENABLE_BRAWLY_MATCH_CALL 0x1D4
#define FLAG_ENABLE_WATTSON_MATCH_CALL 0x1D5
@@ -934,7 +934,7 @@
#define FLAG_HIDE_ROUTE_116_MR_BRINEY 0x37B
#define FLAG_HIDE_WEATHER_INSTITUTE_1F_WORKERS 0x37C
#define FLAG_HIDE_WEATHER_INSTITUTE_2F_WORKERS 0x37D
-#define FLAG_HIDE_ROUTE_116_TUNNELER 0x37E
+#define FLAG_HIDE_ROUTE_116_WANDAS_BOYFRIEND 0x37E
#define FLAG_HIDE_LILYCOVE_CONTEST_HALL_CONTEST_ATTENDANT_2 0x37F
#define FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_UNKNOWN_0x380 0x380
#define FLAG_HIDE_ROUTE_101_BIRCH 0x381
diff --git a/include/constants/items.h b/include/constants/items.h
index b4e4798fb..db3474a72 100644
--- a/include/constants/items.h
+++ b/include/constants/items.h
@@ -467,18 +467,24 @@
#define FIRST_BERRY_INDEX ITEM_CHERI_BERRY
#define LAST_BERRY_INDEX ITEM_ENIGMA_BERRY
+
+// Range of berries given out by various NPCS
#define FIRST_BERRY_MASTER_BERRY ITEM_POMEG_BERRY
#define LAST_BERRY_MASTER_BERRY ITEM_NOMEL_BERRY
#define FIRST_BERRY_MASTER_WIFE_BERRY ITEM_CHERI_BERRY
#define LAST_BERRY_MASTER_WIFE_BERRY ITEM_SITRUS_BERRY
#define FIRST_KIRI_BERRY ITEM_POMEG_BERRY
#define LAST_KIRI_BERRY ITEM_NOMEL_BERRY
+#define FIRST_ROUTE_114_MAN_BERRY ITEM_RAZZ_BERRY
+#define LAST_ROUTE_114_MAN_BERRY ITEM_PINAP_BERRY
-#define NUM_BERRY_MASTER_BERRIES LAST_BERRY_MASTER_BERRY - FIRST_BERRY_MASTER_BERRY + 1
-#define NUM_BERRY_MASTER_BERRIES_SKIPPED FIRST_BERRY_MASTER_BERRY - FIRST_BERRY_INDEX
-#define NUM_BERRY_MASTER_WIFE_BERRIES LAST_BERRY_MASTER_WIFE_BERRY - FIRST_BERRY_MASTER_WIFE_BERRY + 1
-#define NUM_KIRI_BERRIES LAST_KIRI_BERRY - FIRST_KIRI_BERRY + 1
-#define NUM_KIRI_BERRIES_SKIPPED FIRST_KIRI_BERRY - FIRST_BERRY_INDEX
+#define NUM_BERRY_MASTER_BERRIES LAST_BERRY_MASTER_BERRY - FIRST_BERRY_MASTER_BERRY + 1
+#define NUM_BERRY_MASTER_BERRIES_SKIPPED FIRST_BERRY_MASTER_BERRY - FIRST_BERRY_INDEX
+#define NUM_BERRY_MASTER_WIFE_BERRIES LAST_BERRY_MASTER_WIFE_BERRY - FIRST_BERRY_MASTER_WIFE_BERRY + 1
+#define NUM_KIRI_BERRIES LAST_KIRI_BERRY - FIRST_KIRI_BERRY + 1
+#define NUM_KIRI_BERRIES_SKIPPED FIRST_KIRI_BERRY - FIRST_BERRY_INDEX
+#define NUM_ROUTE_114_MAN_BERRIES LAST_ROUTE_114_MAN_BERRY - FIRST_ROUTE_114_MAN_BERRY + 1
+#define NUM_ROUTE_114_MAN_BERRIES_SKIPPED FIRST_ROUTE_114_MAN_BERRY - FIRST_BERRY_INDEX
#define ITEM_TO_BERRY(itemId)(((itemId - FIRST_BERRY_INDEX) + 1))
diff --git a/include/constants/layouts.h b/include/constants/layouts.h
index 5e134b119..fe905a2c6 100755
--- a/include/constants/layouts.h
+++ b/include/constants/layouts.h
@@ -398,7 +398,7 @@
#define LAYOUT_SAFARI_ZONE_SOUTHEAST 395
#define LAYOUT_BATTLE_FRONTIER_RANKING_HALL 396
#define LAYOUT_BATTLE_FRONTIER_LOUNGE1 397
-#define LAYOUT_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER 398
+#define LAYOUT_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER 398
#define LAYOUT_BATTLE_FRONTIER_RECEPTION_GATE 399
#define LAYOUT_ARTISAN_CAVE_B1F 400
#define LAYOUT_ARTISAN_CAVE_1F 401
diff --git a/include/constants/map_groups.h b/include/constants/map_groups.h
index 23a8f224f..bedaaca2a 100755
--- a/include/constants/map_groups.h
+++ b/include/constants/map_groups.h
@@ -461,95 +461,95 @@
#define MAP_UNION_ROOM (60 | (25 << 8))
// Map Group 26
-#define MAP_SAFARI_ZONE_NORTHWEST (0 | (26 << 8))
-#define MAP_SAFARI_ZONE_NORTH (1 | (26 << 8))
-#define MAP_SAFARI_ZONE_SOUTHWEST (2 | (26 << 8))
-#define MAP_SAFARI_ZONE_SOUTH (3 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_OUTSIDE_WEST (4 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY (5 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_ELEVATOR (6 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR (7 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM (8 | (26 << 8))
-#define MAP_SOUTHERN_ISLAND_EXTERIOR (9 | (26 << 8))
-#define MAP_SOUTHERN_ISLAND_INTERIOR (10 | (26 << 8))
-#define MAP_SAFARI_ZONE_REST_HOUSE (11 | (26 << 8))
-#define MAP_SAFARI_ZONE_NORTHEAST (12 | (26 << 8))
-#define MAP_SAFARI_ZONE_SOUTHEAST (13 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_OUTSIDE_EAST (14 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM (15 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR2 (16 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM2 (17 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_DOME_LOBBY (18 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR (19 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM (20 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM (21 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY (22 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR (23 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM (24 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY (25 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE (26 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP (27 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY (28 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR (29 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM (30 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY (31 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM (32 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM (33 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY (34 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR (35 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM (36 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_RANDOM_ROOM1 (37 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_RANDOM_ROOM2 (38 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_RANDOM_ROOM3 (39 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_RANKING_HALL (40 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE1 (41 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER (42 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE2 (43 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE3 (44 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE4 (45 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_SCOTTS_HOUSE (46 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE5 (47 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE6 (48 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE7 (49 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_RECEPTION_GATE (50 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE8 (51 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_LOUNGE9 (52 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F (53 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_POKEMON_CENTER_2F (54 | (26 << 8))
-#define MAP_BATTLE_FRONTIER_MART (55 | (26 << 8))
-#define MAP_FARAWAY_ISLAND_ENTRANCE (56 | (26 << 8))
-#define MAP_FARAWAY_ISLAND_INTERIOR (57 | (26 << 8))
-#define MAP_BIRTH_ISLAND_EXTERIOR (58 | (26 << 8))
-#define MAP_BIRTH_ISLAND_HARBOR (59 | (26 << 8))
-#define MAP_TRAINER_HILL_ENTRANCE (60 | (26 << 8))
-#define MAP_TRAINER_HILL_1F (61 | (26 << 8))
-#define MAP_TRAINER_HILL_2F (62 | (26 << 8))
-#define MAP_TRAINER_HILL_3F (63 | (26 << 8))
-#define MAP_TRAINER_HILL_4F (64 | (26 << 8))
-#define MAP_TRAINER_HILL_ROOF (65 | (26 << 8))
-#define MAP_NAVEL_ROCK_EXTERIOR (66 | (26 << 8))
-#define MAP_NAVEL_ROCK_HARBOR (67 | (26 << 8))
-#define MAP_NAVEL_ROCK_ENTRANCE (68 | (26 << 8))
-#define MAP_NAVEL_ROCK_B1F (69 | (26 << 8))
-#define MAP_NAVEL_ROCK_FORK (70 | (26 << 8))
-#define MAP_NAVEL_ROCK_UP1 (71 | (26 << 8))
-#define MAP_NAVEL_ROCK_UP2 (72 | (26 << 8))
-#define MAP_NAVEL_ROCK_UP3 (73 | (26 << 8))
-#define MAP_NAVEL_ROCK_UP4 (74 | (26 << 8))
-#define MAP_NAVEL_ROCK_TOP (75 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN01 (76 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN02 (77 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN03 (78 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN04 (79 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN05 (80 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN06 (81 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN07 (82 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN08 (83 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN09 (84 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN10 (85 | (26 << 8))
-#define MAP_NAVEL_ROCK_DOWN11 (86 | (26 << 8))
-#define MAP_NAVEL_ROCK_BOTTOM (87 | (26 << 8))
-#define MAP_TRAINER_HILL_ELEVATOR (88 | (26 << 8))
+#define MAP_SAFARI_ZONE_NORTHWEST (0 | (26 << 8))
+#define MAP_SAFARI_ZONE_NORTH (1 | (26 << 8))
+#define MAP_SAFARI_ZONE_SOUTHWEST (2 | (26 << 8))
+#define MAP_SAFARI_ZONE_SOUTH (3 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_OUTSIDE_WEST (4 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY (5 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_ELEVATOR (6 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR (7 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM (8 | (26 << 8))
+#define MAP_SOUTHERN_ISLAND_EXTERIOR (9 | (26 << 8))
+#define MAP_SOUTHERN_ISLAND_INTERIOR (10 | (26 << 8))
+#define MAP_SAFARI_ZONE_REST_HOUSE (11 | (26 << 8))
+#define MAP_SAFARI_ZONE_NORTHEAST (12 | (26 << 8))
+#define MAP_SAFARI_ZONE_SOUTHEAST (13 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_OUTSIDE_EAST (14 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM (15 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR2 (16 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM2 (17 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_DOME_LOBBY (18 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR (19 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM (20 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM (21 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY (22 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR (23 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM (24 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY (25 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE (26 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP (27 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY (28 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR (29 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM (30 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY (31 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM (32 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM (33 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY (34 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR (35 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM (36 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_RANDOM_ROOM1 (37 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_RANDOM_ROOM2 (38 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_RANDOM_ROOM3 (39 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_RANKING_HALL (40 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE1 (41 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER (42 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE2 (43 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE3 (44 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE4 (45 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_SCOTTS_HOUSE (46 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE5 (47 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE6 (48 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE7 (49 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_RECEPTION_GATE (50 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE8 (51 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_LOUNGE9 (52 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F (53 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_POKEMON_CENTER_2F (54 | (26 << 8))
+#define MAP_BATTLE_FRONTIER_MART (55 | (26 << 8))
+#define MAP_FARAWAY_ISLAND_ENTRANCE (56 | (26 << 8))
+#define MAP_FARAWAY_ISLAND_INTERIOR (57 | (26 << 8))
+#define MAP_BIRTH_ISLAND_EXTERIOR (58 | (26 << 8))
+#define MAP_BIRTH_ISLAND_HARBOR (59 | (26 << 8))
+#define MAP_TRAINER_HILL_ENTRANCE (60 | (26 << 8))
+#define MAP_TRAINER_HILL_1F (61 | (26 << 8))
+#define MAP_TRAINER_HILL_2F (62 | (26 << 8))
+#define MAP_TRAINER_HILL_3F (63 | (26 << 8))
+#define MAP_TRAINER_HILL_4F (64 | (26 << 8))
+#define MAP_TRAINER_HILL_ROOF (65 | (26 << 8))
+#define MAP_NAVEL_ROCK_EXTERIOR (66 | (26 << 8))
+#define MAP_NAVEL_ROCK_HARBOR (67 | (26 << 8))
+#define MAP_NAVEL_ROCK_ENTRANCE (68 | (26 << 8))
+#define MAP_NAVEL_ROCK_B1F (69 | (26 << 8))
+#define MAP_NAVEL_ROCK_FORK (70 | (26 << 8))
+#define MAP_NAVEL_ROCK_UP1 (71 | (26 << 8))
+#define MAP_NAVEL_ROCK_UP2 (72 | (26 << 8))
+#define MAP_NAVEL_ROCK_UP3 (73 | (26 << 8))
+#define MAP_NAVEL_ROCK_UP4 (74 | (26 << 8))
+#define MAP_NAVEL_ROCK_TOP (75 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN01 (76 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN02 (77 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN03 (78 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN04 (79 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN05 (80 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN06 (81 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN07 (82 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN08 (83 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN09 (84 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN10 (85 | (26 << 8))
+#define MAP_NAVEL_ROCK_DOWN11 (86 | (26 << 8))
+#define MAP_NAVEL_ROCK_BOTTOM (87 | (26 << 8))
+#define MAP_TRAINER_HILL_ELEVATOR (88 | (26 << 8))
// Map Group 27
#define MAP_ROUTE104_PROTOTYPE (0 | (27 << 8))
diff --git a/include/constants/metatile_labels.h b/include/constants/metatile_labels.h
index c3ec28406..58ac90eab 100644
--- a/include/constants/metatile_labels.h
+++ b/include/constants/metatile_labels.h
@@ -149,8 +149,8 @@
#define METATILE_Fortree_SecretBase_LongGrass_BottomLeft 0x281
#define METATILE_Fortree_SecretBase_LongGrass_BottomMid 0x282
#define METATILE_Fortree_SecretBase_LongGrass_BottomRight 0x283
-#define METATILE_Fortree_WoodBridge_Kecleon0 0x297
-#define METATILE_Fortree_WoodBridge_Kecleon1 0x29F
+#define METATILE_Fortree_WoodBridge1_Top 0x297
+#define METATILE_Fortree_WoodBridge1_Bottom 0x29F
// gTileset_Sootopolis
#define METATILE_Sootopolis_Door_Closed 0x248
diff --git a/include/constants/trainer_hill.h b/include/constants/trainer_hill.h
index cab56a5ac..f7a270428 100644
--- a/include/constants/trainer_hill.h
+++ b/include/constants/trainer_hill.h
@@ -1,27 +1,46 @@
#ifndef GUARD_CONSTANTS_TRAINER_HILL_H
#define GUARD_CONSTANTS_TRAINER_HILL_H
+#define TRAINER_HILL_1F 1
+#define TRAINER_HILL_2F 2
+#define TRAINER_HILL_3F 3
+#define TRAINER_HILL_4F 4
+#define TRAINER_HILL_ROOF 5
+#define TRAINER_HILL_ENTRANCE 6
+
+#define NUM_TRAINER_HILL_FLOORS 4
+#define NUM_TRAINER_HILL_FLOORS_JP 2
+
+#define NUM_TRAINER_HILL_PRIZE_LISTS 10
+
#define TRAINER_HILL_FUNC_START 0
-#define TRAINER_HILL_FUNC_1 1
-#define TRAINER_HILL_FUNC_2 2
-#define TRAINER_HILL_FUNC_3 3
+#define TRAINER_HILL_FUNC_GET_OWNER_STATE 1
+#define TRAINER_HILL_FUNC_GIVE_PRIZE 2
+#define TRAINER_HILL_FUNC_CHECK_FINAL_TIME 3
#define TRAINER_HILL_FUNC_RESUME_TIMER 4
#define TRAINER_HILL_FUNC_SET_LOST 5
#define TRAINER_HILL_FUNC_GET_CHALLENGE_STATUS 6
-#define TRAINER_HILL_FUNC_7 7
-#define TRAINER_HILL_FUNC_8 8
-#define TRAINER_HILL_FUNC_9 9
-#define TRAINER_HILL_FUNC_IS_IN 10
-#define TRAINER_HILL_FUNC_11 11
-#define TRAINER_HILL_FUNC_12 12
-#define TRAINER_HILL_FUNC_13 13
-#define TRAINER_HILL_FUNC_14 14
-#define TRAINER_HILL_FUNC_15 15
-#define TRAINER_HILL_FUNC_16 16
+#define TRAINER_HILL_FUNC_GET_CHALLENGE_TIME 7
+#define TRAINER_HILL_FUNC_GET_ALL_FLOORS_USED 8
+#define TRAINER_HILL_FUNC_CLEAR_RESULT 9
+#define TRAINER_HILL_FUNC_IN_CHALLENGE 10
+#define TRAINER_HILL_FUNC_POST_BATTLE_TEXT 11
+#define TRAINER_HILL_FUNC_SET_ALL_TRAINER_FLAGS 12
+#define TRAINER_HILL_FUNC_GET_GAME_SAVED 13
+#define TRAINER_HILL_FUNC_SET_GAME_SAVED 14
+#define TRAINER_HILL_FUNC_CLEAR_GAME_SAVED 15
+#define TRAINER_HILL_FUNC_GET_WON 16
#define TRAINER_HILL_FUNC_SET_TAG 17
-// Values returned by the TrainerHillGetChallengeStatus
-// function.
+#define TRAINER_HILL_TEXT_INTRO 2
+#define TRAINER_HILL_TEXT_PLAYER_LOST 3
+#define TRAINER_HILL_TEXT_PLAYER_WON 4
+#define TRAINER_HILL_TEXT_AFTER 5
+
+#define NUM_TRAINER_HILL_TRAINERS (NUM_TRAINER_HILL_FLOORS * 2)
+#define NUM_TRAINER_HILL_TRAINERS_JP (NUM_TRAINER_HILL_FLOORS_JP * 2)
+
+// Values returned by TrainerHillGetChallengeStatus
#define TRAINER_HILL_PLAYER_STATUS_LOST 0
#define TRAINER_HILL_PLAYER_STATUS_ECARD_SCANNED 1
#define TRAINER_HILL_PLAYER_STATUS_NORMAL 2
diff --git a/include/constants/vars.h b/include/constants/vars.h
index 0d217b192..c2865a37a 100644
--- a/include/constants/vars.h
+++ b/include/constants/vars.h
@@ -194,7 +194,7 @@
#define VAR_TRICK_HOUSE_PUZZLE_7_STATE 0x40B1
#define VAR_TRICK_HOUSE_PUZZLE_8_STATE 0x40B2
#define VAR_WEATHER_INSTITUTE_STATE 0x40B3
-#define VAR_PORTHOLE_STATE 0x40B4
+#define VAR_SS_TIDAL_STATE 0x40B4
#define VAR_TRICK_HOUSE_ENTER_FROM_CORRIDOR 0x40B5
#define VAR_TRICK_HOUSE_PUZZLE_7_STATE_2 0x40B6 // Leftover from RS, never set
#define VAR_SLATEPORT_FAN_CLUB_STATE 0x40B7
@@ -257,9 +257,9 @@
#define VAR_SECRET_BASE_IS_NOT_LOCAL 0x40F0 // Set to TRUE while in another player's secret base.
#define VAR_DAILY_BP 0x40F1
#define VAR_WALLY_CALL_STEP_COUNTER 0x40F2
-#define VAR_WINONA_CALL_STEP_COUNTER 0x40F3
+#define VAR_SCOTT_FORTREE_CALL_STEP_COUNTER 0x40F3
#define VAR_ROXANNE_CALL_STEP_COUNTER 0x40F4
-#define VAR_SCOTT_CALL_STEP_COUNTER 0x40F5
+#define VAR_SCOTT_BF_CALL_STEP_COUNTER 0x40F5
#define VAR_RIVAL_RAYQUAZA_CALL_STEP_COUNTER 0x40F6
#define VAR_UNUSED_0x40F7 0x40F7 // Unused Var
#define VAR_UNUSED_0x40F8 0x40F8 // Unused Var
diff --git a/include/event_scripts.h b/include/event_scripts.h
index 2d52b3d04..3e4251cf6 100644
--- a/include/event_scripts.h
+++ b/include/event_scripts.h
@@ -383,10 +383,6 @@ extern const u8 EventScript_FldEffRockSmash[];
extern const u8 LittlerootTown_BrendansHouse_2F_EventScript_TurnOffPlayerPC[];
extern const u8 LittlerootTown_MaysHouse_2F_EventScript_TurnOffPlayerPC[];
-//contest_strings
-extern const u8 gText_0827D507[];
-extern const u8 gText_0827D531[];
-
//mauville_old_man
extern const u8 gOtherText_Is[];
extern const u8 gOtherText_DontYouAgree[];
@@ -553,11 +549,11 @@ extern const u8 EventScript_EggHatch[];
extern const u8 UnusualWeather_EventScript_EndEventAndCleanup_1[];
extern const u8 IslandCave_EventScript_OpenRegiEntrance[];
extern const u8 MauvilleCity_EventScript_RegisterWallyCall[];
-extern const u8 Route119_EventScript_1F49EC[];
+extern const u8 Route119_EventScript_ScottWonAtFortreeGymCall[];
extern const u8 LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall[];
extern const u8 RustboroCity_Gym_EventScript_RegisterRoxanne[];
extern const u8 MossdeepCity_SpaceCenter_2F_EventScript_RivalRayquazaCall[];
-extern const u8 SSTidalCorridor_EventScript_23C050[];
+extern const u8 SSTidalCorridor_EventScript_ReachedStepCount[];
extern const u8 EventScript_FallDownHoleMtPyre[];
// Secret Base
@@ -586,6 +582,6 @@ extern const u8 SecretBase_EventScript_TreeUseSecretPower[];
extern const u8 SecretBase_EventScript_ShrubUseSecretPower[];
// trainer hill
-extern const u8 EventScript_2C83F0[];
+extern const u8 TrainerHill_EventScript_TrainerBattle[];
#endif // GUARD_EVENT_SCRIPTS_H
diff --git a/include/field_specials.h b/include/field_specials.h
index 952081e93..3529290a6 100644
--- a/include/field_specials.h
+++ b/include/field_specials.h
@@ -13,8 +13,8 @@ void IncrementBirthIslandRockStepCount(void);
bool8 UnusualWeatherHasExpired(void);
bool8 ShouldDoBrailleRegicePuzzle(void);
bool32 ShouldDoWallyCall(void);
-bool32 ShouldDoWinonaCall(void);
-bool32 ShouldDoScottCall(void);
+bool32 ShouldDoScottFortreeCall(void);
+bool32 ShouldDoScottBattleFrontierCall(void);
bool32 ShouldDoRoxanneCall(void);
bool32 ShouldDoRivalRayquazaCall(void);
bool32 CountSSTidalStep(u16 delta);
diff --git a/include/global.h b/include/global.h
index 9b98629cf..f067f5bbc 100644
--- a/include/global.h
+++ b/include/global.h
@@ -393,11 +393,11 @@ struct BattleFrontier
/*0xEBA*/ u16 field_EBA;
/*0xEBC*/ u32 battlesCount;
/*0xEC0*/ u16 field_EC0[16];
- /*0xEE0*/ u8 field_EE0;
+ /*0xEE0*/ u8 trainerFlags;
/*0xEE1*/ u8 opponentName[2][PLAYER_NAME_LENGTH + 1];
/*0xEF1*/ u8 field_EF1[2][4];
- /*0xEF9*/ u8 field_EF9_0:7;
- /*0xEF9*/ u8 field_EF9_1:1;
+ /*0xEF9*/ u8 unk_EF9:7;
+ /*0xEF9*/ u8 savedGame:1;
/*0xEFA*/ u8 field_EFA;
/*0xEFB*/ u8 field_EFB;
/*0xEFC*/ struct FrontierMonData field_EFC[3];
@@ -808,15 +808,15 @@ struct SaveTrainerHill
{
/*0x3D64*/ u32 timer;
/*0x3D68*/ u32 bestTime;
- /*0x3D6C*/ u8 field_3D6C;
+ /*0x3D6C*/ u8 unk_3D6C;
/*0x3D6D*/ u8 unused;
- /*0x3D6E*/ u16 field_3D6E_0a:1; // 1
- /*0x3D6E*/ u16 field_3D6E_0b:1; // 2
- /*0x3D6E*/ u16 field_3D6E_0c:1; // 4
- /*0x3D6E*/ u16 hasLost:1; // 8
- /*0x3D6E*/ u16 maybeECardScanDuringChallenge:1; // x10
- /*0x3D6E*/ u16 field_3D6E_0f:1; // x20
- /*0x3D6E*/ u16 tag:2; // x40, x80 = xC0
+ /*0x3D6E*/ u16 receivedPrize:1;
+ /*0x3D6E*/ u16 checkedFinalTime:1;
+ /*0x3D6E*/ u16 spokeToOwner:1;
+ /*0x3D6E*/ u16 hasLost:1;
+ /*0x3D6E*/ u16 maybeECardScanDuringChallenge:1;
+ /*0x3D6E*/ u16 field_3D6E_0f:1;
+ /*0x3D6E*/ u16 tag:2;
};
struct MysteryEventStruct
diff --git a/include/strings.h b/include/strings.h
index cdd02aa28..43b87e888 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -583,6 +583,8 @@ extern const u8 gText_BigGirl[];
extern const u8 gText_Son[];
extern const u8 gText_Daughter[];
+// Multichoice strings
+extern const u8 gText_Exit[];
extern const u8 gText_1F[];
extern const u8 gText_2F[];
extern const u8 gText_3F[];
@@ -601,8 +603,6 @@ extern const u8 gText_B4F[];
extern const u8 gText_Rooftop[];
extern const u8 gText_ElevatorNowOn[];
-extern const u8 gText_Exit[];
-
extern const u8 gText_BlueFlute[];
extern const u8 gText_YellowFlute[];
extern const u8 gText_RedFlute[];
@@ -610,7 +610,6 @@ extern const u8 gText_WhiteFlute[];
extern const u8 gText_BlackFlute[];
extern const u8 gText_PrettyChair[];
extern const u8 gText_PrettyDesk[];
-extern const u8 gText_Exit[];
extern const u8 gText_0Pts[];
extern const u8 gText_10Pts[];
@@ -635,14 +634,12 @@ extern const u8 gText_DittoDoll48BP[];
extern const u8 gText_CyndaquilDoll80BP[];
extern const u8 gText_ChikoritaDoll80BP[];
extern const u8 gText_TotodileDoll80BP[];
-extern const u8 gText_Exit[];
extern const u8 gText_LaprasDoll128BP[];
extern const u8 gText_SnorlaxDoll128BP[];
extern const u8 gText_VenusaurDoll256BP[];
extern const u8 gText_CharizardDoll256BP[];
extern const u8 gText_BlastoiseDoll256BP[];
-extern const u8 gText_Exit[];
extern const u8 gText_Protein1BP[];
extern const u8 gText_Calcium1BP[];
@@ -650,7 +647,6 @@ extern const u8 gText_Iron1BP[];
extern const u8 gText_Zinc1BP[];
extern const u8 gText_Carbos1BP[];
extern const u8 gText_HpUp1BP[];
-extern const u8 gText_Exit[];
extern const u8 gText_Leftovers48BP[];
extern const u8 gText_WhiteHerb48BP[];
@@ -661,7 +657,6 @@ extern const u8 gText_ChoiceBand64BP[];
extern const u8 gText_KingsRock64BP[];
extern const u8 gText_FocusBand64BP[];
extern const u8 gText_ScopeLens64BP[];
-extern const u8 gText_Exit[];
extern const u8 gText_EnergyPowder50[];
extern const u8 gText_EnergyRoot80[];
@@ -674,7 +669,6 @@ extern const u8 gText_Calcium1000[];
extern const u8 gText_Zinc1000[];
extern const u8 gText_HPUp1000[];
extern const u8 gText_PPUp3000[];
-extern const u8 gText_Exit[];
extern const u8 gText_BattleTower2[];
extern const u8 gText_BattleDome[];
@@ -685,8 +679,8 @@ extern const u8 gText_BattlePike[];
extern const u8 gText_BattlePyramid[];
extern const u8 gText_RankingHall[];
extern const u8 gText_ExchangeService[];
-extern const u8 gText_Exit[];
+// Battle Frontier Move Tutors
extern const u8 gText_Softboiled16BP[];
extern const u8 gText_SeismicToss24BP[];
extern const u8 gText_DreamEater24BP[];
@@ -697,8 +691,6 @@ extern const u8 gText_RockSlide48BP[];
extern const u8 gText_Counter48BP[];
extern const u8 gText_ThunderWave48BP[];
extern const u8 gText_SwordsDance48BP[];
-extern const u8 gText_Exit[];
-
extern const u8 gText_DefenseCurl16BP[];
extern const u8 gText_Snore24BP[];
extern const u8 gText_MudSlap24BP[];
@@ -709,7 +701,6 @@ extern const u8 gText_PsychUp48BP[];
extern const u8 gText_IcePunch48BP[];
extern const u8 gText_ThunderPunch48BP[];
extern const u8 gText_FirePunch48BP[];
-extern const u8 gText_Exit[];
extern const u8 gText_SlateportCity[];
extern const u8 gText_BattleFrontier[];
@@ -717,7 +708,6 @@ extern const u8 gText_SouthernIsland[];
extern const u8 gText_NavelRock[];
extern const u8 gText_BirthIsland[];
extern const u8 gText_FarawayIsland[];
-extern const u8 gText_Exit[];
extern const u8 gText_BattleTrainers[];
extern const u8 gText_BattleBasics[];
@@ -725,38 +715,34 @@ extern const u8 gText_PokemonNature[];
extern const u8 gText_PokemonMoves[];
extern const u8 gText_Underpowered[];
extern const u8 gText_WhenInDanger[];
-extern const u8 gText_Exit[];
-extern const u8 BattleFrontier_Lounge2_Text_260971[];
-extern const u8 BattleFrontier_Lounge2_Text_260A1E[];
-extern const u8 BattleFrontier_Lounge2_Text_260AE7[];
-extern const u8 BattleFrontier_Lounge2_Text_2619AC[];
-extern const u8 BattleFrontier_Lounge2_Text_261A91[];
-extern const u8 BattleFrontier_Lounge2_Text_261B0C[];
-extern const u8 BattleFrontier_Lounge2_Text_261B95[];
-extern const u8 BattleFrontier_Lounge2_Text_261B95[];
-extern const u8 BattleFrontier_Lounge2_Text_261B95[];
-extern const u8 BattleFrontier_Lounge2_Text_261C1A[];
-extern const u8 BattleFrontier_Lounge2_Text_261C1A[];
-extern const u8 BattleFrontier_Lounge2_Text_261C1A[];
-extern const u8 BattleFrontier_Lounge2_Text_260BC4[];
-extern const u8 BattleFrontier_Lounge2_Text_260C6D[];
-extern const u8 BattleFrontier_Lounge2_Text_260D3A[];
-extern const u8 BattleFrontier_Lounge2_Text_260E1E[];
-extern const u8 BattleFrontier_Lounge2_Text_260EC7[];
-extern const u8 BattleFrontier_Lounge2_Text_260F74[];
-extern const u8 BattleFrontier_Lounge2_Text_2614E6[];
-extern const u8 BattleFrontier_Lounge2_Text_261591[];
-extern const u8 BattleFrontier_Lounge2_Text_26166F[];
-extern const u8 BattleFrontier_Lounge2_Text_261282[];
-extern const u8 BattleFrontier_Lounge2_Text_261329[];
-extern const u8 BattleFrontier_Lounge2_Text_261403[];
-extern const u8 BattleFrontier_Lounge2_Text_261026[];
-extern const u8 BattleFrontier_Lounge2_Text_2610CC[];
-extern const u8 BattleFrontier_Lounge2_Text_261194[];
-extern const u8 BattleFrontier_Lounge2_Text_26174D[];
-extern const u8 BattleFrontier_Lounge2_Text_2617F9[];
-extern const u8 BattleFrontier_Lounge2_Text_2618C4[];
+// Battle Frontier Maniac
+extern const u8 BattleFrontier_Lounge2_Text_SalonMaidenIsThere[];
+extern const u8 BattleFrontier_Lounge2_Text_SalonMaidenSilverMons[];
+extern const u8 BattleFrontier_Lounge2_Text_SalonMaidenGoldMons[];
+extern const u8 BattleFrontier_Lounge2_Text_DoubleBattleAdvice1[];
+extern const u8 BattleFrontier_Lounge2_Text_DoubleBattleAdvice2[];
+extern const u8 BattleFrontier_Lounge2_Text_DoubleBattleAdvice3[];
+extern const u8 BattleFrontier_Lounge2_Text_MultiBattleAdvice[];
+extern const u8 BattleFrontier_Lounge2_Text_LinkMultiBattleAdvice[];
+extern const u8 BattleFrontier_Lounge2_Text_DomeAceIsThere[];
+extern const u8 BattleFrontier_Lounge2_Text_DomeAceSilverMons[];
+extern const u8 BattleFrontier_Lounge2_Text_DomeAceGoldMons[];
+extern const u8 BattleFrontier_Lounge2_Text_FactoryHeadIsThere[];
+extern const u8 BattleFrontier_Lounge2_Text_FactoryHeadSilverMons[];
+extern const u8 BattleFrontier_Lounge2_Text_FactoryHeadGoldMons[];
+extern const u8 BattleFrontier_Lounge2_Text_PalaceMavenIsThere[];
+extern const u8 BattleFrontier_Lounge2_Text_PalaceMavenSilverMons[];
+extern const u8 BattleFrontier_Lounge2_Text_PalaceMavenGoldMons[];
+extern const u8 BattleFrontier_Lounge2_Text_ArenaTycoonIsThere[];
+extern const u8 BattleFrontier_Lounge2_Text_ArenaTycoonSilverMons[];
+extern const u8 BattleFrontier_Lounge2_Text_ArenaTycoonGoldMons[];
+extern const u8 BattleFrontier_Lounge2_Text_PikeQueenIsThere[];
+extern const u8 BattleFrontier_Lounge2_Text_PikeQueenSilverMons[];
+extern const u8 BattleFrontier_Lounge2_Text_PikeQueenGoldMons[];
+extern const u8 BattleFrontier_Lounge2_Text_PyramidKingIsThere[];
+extern const u8 BattleFrontier_Lounge2_Text_PyramidKingSilverMons[];
+extern const u8 BattleFrontier_Lounge2_Text_PyramidKingGoldMons[];
// Battle Frontier Nature Girl
extern const u8 BattleFrontier_Lounge5_Text_NatureGirlHardy[];
@@ -782,85 +768,83 @@ extern const u8 BattleFrontier_Lounge5_Text_NatureGirlGentle[];
extern const u8 BattleFrontier_Lounge5_Text_NatureGirlSassy[];
extern const u8 BattleFrontier_Lounge5_Text_NatureGirlCareful[];
-extern const u8 BattleFrontier_Lounge3_Text_262261[];
-extern const u8 BattleFrontier_Lounge3_Text_26230D[];
-extern const u8 BattleFrontier_Lounge3_Text_2623B9[];
-extern const u8 BattleFrontier_Lounge3_Text_262464[];
-extern const u8 BattleFrontier_Lounge3_Text_26250E[];
-extern const u8 BattleFrontier_Lounge3_Text_2625B8[];
-extern const u8 BattleFrontier_Lounge3_Text_26266A[];
-extern const u8 BattleFrontier_Lounge3_Text_26271C[];
-extern const u8 BattleFrontier_Lounge3_Text_2627C9[];
-extern const u8 BattleFrontier_Lounge3_Text_262876[];
-extern const u8 BattleFrontier_Lounge3_Text_26291A[];
-extern const u8 BattleFrontier_Lounge3_Text_2629BC[];
-
-extern const u8 BattleFrontier_Lounge3_Text_262C04[];
-extern const u8 BattleFrontier_Lounge3_Text_262C90[];
-extern const u8 BattleFrontier_Lounge3_Text_262D1C[];
-extern const u8 BattleFrontier_Lounge3_Text_262DA7[];
-extern const u8 BattleFrontier_Lounge3_Text_262E34[];
-extern const u8 BattleFrontier_Lounge3_Text_262EC1[];
-extern const u8 BattleFrontier_Lounge3_Text_262F56[];
-extern const u8 BattleFrontier_Lounge3_Text_262FEB[];
-extern const u8 BattleFrontier_Lounge3_Text_263078[];
-extern const u8 BattleFrontier_Lounge3_Text_263105[];
-extern const u8 BattleFrontier_Lounge3_Text_26318C[];
-extern const u8 BattleFrontier_Lounge3_Text_263211[];
+// Battle Frontier Gambler
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattleTowerSingle[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattleTowerDouble[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattleTowerMulti[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattleDomeSingle[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattleDomeDouble[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattleFactorySingle[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattleFactoryDouble[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattlePalaceSingle[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattlePalaceDouble[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattleArena[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattlePike[];
+extern const u8 BattleFrontier_Lounge3_Text_ChallengeBattlePyramid[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattleTowerSingle[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattleTowerDouble[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattleTowerMulti[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattleDomeSingle[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattleDomeDouble[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattleFactorySingle[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattleFactoryDouble[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattlePalaceSingle[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattlePalaceDouble[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattleArena[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattlePike[];
+extern const u8 BattleFrontier_Lounge3_Text_GetToBattlePyramid[];
extern const u8 gText_BP[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2601AA[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2601D0[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_260201[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26022F[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26025B[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_260287[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2602B5[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2602E0[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26030F[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26033E[];
-
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C[];
-
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_260397[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2603BE[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2603E6[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26040E[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_260436[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26045C[];
-
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26047A[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2604AC[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2604D8[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_26050F[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_260542[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_260575[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2605A8[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_2605E2[];
-extern const u8 BattleFrontier_BattlePointExchangeServiceCorner_Text_260613[];
-
-extern const u8 BattleFrontier_Lounge7_Text_265E30[];
-extern const u8 BattleFrontier_Lounge7_Text_265E5B[];
-extern const u8 BattleFrontier_Lounge7_Text_265E8A[];
-extern const u8 BattleFrontier_Lounge7_Text_265EC0[];
-extern const u8 BattleFrontier_Lounge7_Text_265EED[];
-extern const u8 BattleFrontier_Lounge7_Text_265F1C[];
-extern const u8 BattleFrontier_Lounge7_Text_265F47[];
-extern const u8 BattleFrontier_Lounge7_Text_265F77[];
-extern const u8 BattleFrontier_Lounge7_Text_265FAA[];
-extern const u8 BattleFrontier_Lounge7_Text_265FDD[];
-
-extern const u8 BattleFrontier_Lounge7_Text_26600A[];
-extern const u8 BattleFrontier_Lounge7_Text_26603E[];
-extern const u8 BattleFrontier_Lounge7_Text_266070[];
-extern const u8 BattleFrontier_Lounge7_Text_2660A6[];
-extern const u8 BattleFrontier_Lounge7_Text_2660D0[];
-extern const u8 BattleFrontier_Lounge7_Text_2660FF[];
-extern const u8 BattleFrontier_Lounge7_Text_26612D[];
-extern const u8 BattleFrontier_Lounge7_Text_26615F[];
-extern const u8 BattleFrontier_Lounge7_Text_266185[];
-extern const u8 BattleFrontier_Lounge7_Text_2661B5[];
+// Battle Frontier Exchange Corner
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_KissPosterDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_KissCushionDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_SmoochumDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_TogepiDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_MeowthDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_ClefairyDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_DittoDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_CyndaquilDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_ChikoritaDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_TotodileDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_LargeDollDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_ProteinDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_CalciumDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_IronDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_ZincDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_CarbosDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_HPUpDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_LeftoversDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_WhiteHerbDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_QuickClawDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_MentalHerbDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_BrightpowderDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_ChoiceBandDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_KingsRockDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_FocusBandDesc[];
+extern const u8 BattleFrontier_ExchangeServiceCorner_Text_ScopeLensDesc[];
+
+// Battle Frontier Move Tutors
+extern const u8 BattleFrontier_Lounge7_Text_SoftboiledDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_SeismicTossDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_DreamEaterDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_MegaPunchDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_MegaKickDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_BodySlamDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_RockSlideDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_CounterDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_ThunderWaveDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_SwordsDanceDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_DefenseCurlDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_SnoreDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_MudSlapDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_SwiftDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_IcyWindDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_EndureDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_PsychUpDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_IcePunchDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_ThunderPunchDesc[];
+extern const u8 BattleFrontier_Lounge7_Text_FirePunchDesc[];
extern const u8 gText_YourPartnerHasRetired[];
@@ -1328,11 +1312,11 @@ extern const u8 gText_Are2[];
extern const u8 gText_123Dot[][3];
// Frontier util.
-extern const u8 gUnknown_085ED164[];
-extern const u8 gUnknown_085ED170[];
-extern const u8 gUnknown_085ED17C[];
-extern const u8 gUnknown_085ED188[];
-extern const u8 gUnknown_085ED190[];
+extern const u8 gText_FacilitySingle[];
+extern const u8 gText_FacilityDouble[];
+extern const u8 gText_FacilityMulti[];
+extern const u8 gText_FacilityLink[];
+extern const u8 gText_Facility[];
extern const u8 gText_RecordsLv50[];
extern const u8 gText_RecordsOpenLevel[];
diff --git a/include/trainer_hill.h b/include/trainer_hill.h
index a592ef580..c07aeb6d7 100644
--- a/include/trainer_hill.h
+++ b/include/trainer_hill.h
@@ -32,15 +32,15 @@ struct TrHillDisplay
struct TrHillFloor
{
- u8 unk0;
- u8 unk1;
+ u8 trainerNum1;
+ u8 trainerNum2;
struct TrainerHillTrainer trainers[2];
struct TrHillDisplay display;
};
struct TrHillTag
{
- u8 unkField_0;
+ u8 numTrainers;
u8 unused1;
u8 numFloors;
u32 checksum;
@@ -60,22 +60,21 @@ void CopyTrainerHillTrainerText(u8 which, u16 trainerId);
bool8 InTrainerHillChallenge(void);
void nullsub_129(void);
void PrintOnTrainerHillRecordsWindow(void);
-void sub_81D5DF8(void);
-bool32 sub_81D5F48(void);
-void sub_81D5FB4(u16 *mapArg);
+void LoadTrainerHillEventObjectTemplates(void);
+bool32 LoadTrainerHillFloorEventObjectScripts(void);
+void GenerateTrainerHillFloorLayout(u16 *mapArg);
bool32 InTrainerHill(void);
u8 GetCurrentTrainerHillMapId(void);
-const struct WarpEvent* sub_81D6120(void);
-const struct WarpEvent* sub_81D6134(u8 warpEventId);
+const struct WarpEvent* SetWarpDestinationTrainerHill4F(void);
+const struct WarpEvent* SetWarpDestinationTrainerHillFinalFloor(u8 warpEventId);
u16 LocalIdToHillTrainerId(u8 localId);
bool8 GetHillTrainerFlag(u8 eventObjectId);
void SetHillTrainerFlag(void);
const u8 *GetTrainerHillTrainerScript(void);
void FillHillTrainerParty(void);
void FillHillTrainersParties(void);
-u32 sub_81D63C4(void);
u8 GetTrainerEncounterMusicIdInTrainerHill(u16 trainerId);
-u8 sub_81D6490(void);
+u8 GetNumFloorsInTrainerHillChallenge(void);
void sub_81D64C0(void);
bool32 sub_81D6534(void);
diff --git a/src/battle_message.c b/src/battle_message.c
index fd4213baf..1701f26ec 100644
--- a/src/battle_message.c
+++ b/src/battle_message.c
@@ -24,6 +24,7 @@
#include "constants/items.h"
#include "constants/moves.h"
#include "constants/trainers.h"
+#include "constants/trainer_hill.h"
struct BattleWindowText
{
@@ -2574,7 +2575,7 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst)
}
else if (gBattleTypeFlags & BATTLE_TYPE_TRAINER_HILL)
{
- CopyTrainerHillTrainerText(4, gTrainerBattleOpponent_A);
+ CopyTrainerHillTrainerText(TRAINER_HILL_TEXT_PLAYER_WON, gTrainerBattleOpponent_A);
toCpy = gStringVar4;
}
else
@@ -2590,7 +2591,7 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst)
}
else if (gBattleTypeFlags & BATTLE_TYPE_TRAINER_HILL)
{
- CopyTrainerHillTrainerText(3, gTrainerBattleOpponent_A);
+ CopyTrainerHillTrainerText(TRAINER_HILL_TEXT_PLAYER_LOST, gTrainerBattleOpponent_A);
toCpy = gStringVar4;
}
break;
@@ -2671,7 +2672,7 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst)
}
else if (gBattleTypeFlags & BATTLE_TYPE_TRAINER_HILL)
{
- CopyTrainerHillTrainerText(4, gTrainerBattleOpponent_B);
+ CopyTrainerHillTrainerText(TRAINER_HILL_TEXT_PLAYER_WON, gTrainerBattleOpponent_B);
toCpy = gStringVar4;
}
else
@@ -2687,7 +2688,7 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst)
}
else if (gBattleTypeFlags & BATTLE_TYPE_TRAINER_HILL)
{
- CopyTrainerHillTrainerText(3, gTrainerBattleOpponent_B);
+ CopyTrainerHillTrainerText(TRAINER_HILL_TEXT_PLAYER_LOST, gTrainerBattleOpponent_B);
toCpy = gStringVar4;
}
break;
diff --git a/src/battle_setup.c b/src/battle_setup.c
index 77d98def7..b98b5df06 100644
--- a/src/battle_setup.c
+++ b/src/battle_setup.c
@@ -1,25 +1,18 @@
#include "global.h"
-#include "constants/trainers.h"
#include "battle.h"
-#include "constants/battle_setup.h"
#include "battle_setup.h"
#include "battle_transition.h"
#include "main.h"
#include "task.h"
#include "safari_zone.h"
#include "script.h"
-#include "constants/game_stat.h"
#include "event_data.h"
-#include "constants/species.h"
-#include "constants/songs.h"
#include "metatile_behavior.h"
-#include "constants/maps.h"
#include "field_player_avatar.h"
#include "fieldmap.h"
#include "random.h"
#include "starter_choose.h"
#include "script_pokemon_80F8.h"
-#include "constants/items.h"
#include "palette.h"
#include "window.h"
#include "event_object_movement.h"
@@ -42,10 +35,18 @@
#include "fldeff_misc.h"
#include "field_control_avatar.h"
#include "mirage_tower.h"
-#include "constants/map_types.h"
-#include "constants/battle_frontier.h"
#include "field_screen_effect.h"
#include "data.h"
+#include "constants/battle_frontier.h"
+#include "constants/battle_setup.h"
+#include "constants/game_stat.h"
+#include "constants/items.h"
+#include "constants/songs.h"
+#include "constants/map_types.h"
+#include "constants/maps.h"
+#include "constants/species.h"
+#include "constants/trainers.h"
+#include "constants/trainer_hill.h"
enum
{
@@ -1140,7 +1141,7 @@ const u8 *BattleSetup_ConfigureTrainerBattle(const u8 *data)
case TRAINER_BATTLE_SET_TRAINER_B:
TrainerBattleLoadArgs(sTrainerBOrdinaryBattleParams, data);
return NULL;
- case TRAINER_BATTLE_12:
+ case TRAINER_BATTLE_HILL:
if (gApproachingTrainerId == 0)
{
TrainerBattleLoadArgs(sOrdinaryBattleParams, data);
@@ -1364,9 +1365,9 @@ void ShowTrainerIntroSpeech(void)
else if (InTrainerHillChallenge())
{
if (gNoOfApproachingTrainers == 0 || gNoOfApproachingTrainers == 1)
- CopyTrainerHillTrainerText(2, LocalIdToHillTrainerId(gSpecialVar_LastTalked));
+ CopyTrainerHillTrainerText(TRAINER_HILL_TEXT_INTRO, LocalIdToHillTrainerId(gSpecialVar_LastTalked));
else
- CopyTrainerHillTrainerText(2, LocalIdToHillTrainerId(gEventObjects[gApproachingTrainers[gApproachingTrainerId].eventObjectId].localId));
+ CopyTrainerHillTrainerText(TRAINER_HILL_TEXT_INTRO, LocalIdToHillTrainerId(gEventObjects[gApproachingTrainers[gApproachingTrainerId].eventObjectId].localId));
sub_80982B8();
}
diff --git a/src/battle_tower.c b/src/battle_tower.c
index a6e816b7d..27fdc9d6e 100644
--- a/src/battle_tower.c
+++ b/src/battle_tower.c
@@ -24,6 +24,7 @@
#include "tv.h"
#include "battle_factory.h"
#include "constants/battle_frontier.h"
+#include "constants/battle_tower.h"
#include "constants/items.h"
#include "constants/trainers.h"
#include "constants/event_objects.h"
@@ -52,7 +53,7 @@ static void AwardBattleTowerRibbons(void);
static void SaveBattleTowerProgress(void);
static void sub_8163914(void);
static void nullsub_61(void);
-static void SpriteCB_Null6(void);
+static void nullsub_116(void);
static void sub_81642A0(void);
static void sub_8164828(void);
static void sub_8164B74(void);
@@ -1051,24 +1052,24 @@ struct
#include "data/battle_frontier/battle_tent.h"
-static void (* const gUnknown_085DF96C[])(void) =
-{
- sub_8161F94,
- sub_8162054,
- sub_81620F4,
- ChooseNextBattleTowerTrainer,
- sub_81621C0,
- AwardBattleTowerRibbons,
- SaveBattleTowerProgress,
- sub_8163914,
- nullsub_61,
- SpriteCB_Null6,
- sub_81642A0,
- sub_8164828,
- sub_8164B74,
- sub_8164DCC,
- sub_8164DE4,
- sub_8164E04,
+static void (* const sBattleTowerFuncs[])(void) =
+{
+ [BATTLE_TOWER_FUNC_0] = sub_8161F94,
+ [BATTLE_TOWER_FUNC_1] = sub_8162054,
+ [BATTLE_TOWER_FUNC_2] = sub_81620F4,
+ [BATTLE_TOWER_FUNC_CHOOSE_TRAINER] = ChooseNextBattleTowerTrainer,
+ [BATTLE_TOWER_FUNC_4] = sub_81621C0,
+ [BATTLE_TOWER_FUNC_GIVE_RIBBONS] = AwardBattleTowerRibbons,
+ [BATTLE_TOWER_FUNC_SAVE] = SaveBattleTowerProgress,
+ [BATTLE_TOWER_FUNC_7] = sub_8163914,
+ [BATTLE_TOWER_FUNC_NOP] = nullsub_61,
+ [BATTLE_TOWER_FUNC_NOP2] = nullsub_116,
+ [BATTLE_TOWER_FUNC_10] = sub_81642A0,
+ [BATTLE_TOWER_FUNC_11] = sub_8164828,
+ [BATTLE_TOWER_FUNC_12] = sub_8164B74,
+ [BATTLE_TOWER_FUNC_13] = sub_8164DCC,
+ [BATTLE_TOWER_FUNC_14] = sub_8164DE4,
+ [BATTLE_TOWER_FUNC_15] = sub_8164E04,
};
static const u32 gUnknown_085DF9AC[][2] =
@@ -1145,9 +1146,9 @@ static const u16 gUnknown_085DFA52[] =
};
// code
-void sub_8161F74(void)
+void CallBattleTowerFunc(void)
{
- gUnknown_085DF96C[gSpecialVar_0x8004]();
+ sBattleTowerFuncs[gSpecialVar_0x8004]();
}
static void sub_8161F94(void)
@@ -2438,7 +2439,7 @@ static void nullsub_61(void)
}
-static void SpriteCB_Null6(void)
+static void nullsub_116(void)
{
}
diff --git a/src/contest.c b/src/contest.c
index 8191f7a39..4830e05d5 100644
--- a/src/contest.c
+++ b/src/contest.c
@@ -246,29 +246,8 @@ EWRAM_DATA u8 gUnknown_02039F5D = 0;
u32 gContestRngValue;
extern const u8 gText_LinkStandby4[];
-extern const u8 gText_0827D55A[];
-extern const u8 gText_0827E793[];
-extern const u8 gText_0827E32E[];
-extern const u8 gText_0827E35B[];
-extern const u8 gText_0827E38D[];
-extern const u8 gText_0827E2FE[];
-extern const u8 gText_RepeatedAppeal[];
-extern const u8 gText_0827E73C[];
-extern const u8 gText_0827E717[];
-extern const u8 gText_0827E76A[];
-extern const u8 gText_0827E7EA[];
-extern const u8 gText_0827E817[];
-extern const u8 gText_0827E58A[];
-extern const u8 gText_0827D56F[];
-extern const u8 gText_0827D597[];
-extern const u8 gText_Contest_Shyness[];
-extern const u8 gText_Contest_Anxiety[];
-extern const u8 gText_Contest_Laziness[];
-extern const u8 gText_Contest_Hesitancy[];
-extern const u8 gText_Contest_Fear[];
extern const u8 gText_BDot[];
extern const u8 gText_CDot[];
-extern const u8 *const gUnknown_08587E10[];
extern void (*const gContestEffectFuncs[])(void);
static const u8 gUnknown_08587A6C[] =
@@ -1345,9 +1324,9 @@ static void sub_80D833C(u8 taskId)
DmaCopy32Defvars(3, gPlttBufferUnfaded, eUnknownHeap1A004.unk18204, PLTT_BUFFER_SIZE * 2);
ConvertIntToDecimalStringN(gStringVar1, eContest.turnNumber + 1, STR_CONV_MODE_LEFT_ALIGN, 1);
if (!Contest_IsMonsTurnDisabled(gContestPlayerMonIndex))
- StringCopy(gDisplayedStringBattle, gText_0827D507);
+ StringCopy(gDisplayedStringBattle, gText_AppealNumWhichMoveWillBePlayed);
else
- StringCopy(gDisplayedStringBattle, gText_0827D531);
+ StringCopy(gDisplayedStringBattle, gText_AppealNumButItCantParticipate);
ContestClearGeneralTextWindow();
StringExpandPlaceholders(gStringVar4, gDisplayedStringBattle);
Contest_StartTextPrinter(gStringVar4, TRUE);
@@ -1443,9 +1422,9 @@ static void sub_80D8610(u8 taskId)
sub_80DC490(FALSE);
ConvertIntToDecimalStringN(gStringVar1, eContest.turnNumber + 1, STR_CONV_MODE_LEFT_ALIGN, 1);
if (!Contest_IsMonsTurnDisabled(gContestPlayerMonIndex))
- StringCopy(gDisplayedStringBattle, gText_0827D507);
+ StringCopy(gDisplayedStringBattle, gText_AppealNumWhichMoveWillBePlayed);
else
- StringCopy(gDisplayedStringBattle, gText_0827D531);
+ StringCopy(gDisplayedStringBattle, gText_AppealNumButItCantParticipate);
ContestClearGeneralTextWindow();
StringExpandPlaceholders(gStringVar4, gDisplayedStringBattle);
Contest_StartTextPrinter(gStringVar4, 0);
@@ -1673,8 +1652,8 @@ static void sub_80D8B38(u8 taskId)
if (eContestantStatus[r6].currMove < MOVES_COUNT)
StringCopy(gStringVar2, gMoveNames[eContestantStatus[r6].currMove]);
else
- StringCopy(gStringVar2, gUnknown_08587F1C[eContestantStatus[r6].moveCategory]);
- StringExpandPlaceholders(gStringVar4, gText_0827D55A);
+ StringCopy(gStringVar2, sInvalidContestMoveNames[eContestantStatus[r6].moveCategory]);
+ StringExpandPlaceholders(gStringVar4, gText_MonAppealedWithMove);
Contest_StartTextPrinter(gStringVar4, 1);
gTasks[taskId].data[0] = 6;
}
@@ -1932,7 +1911,7 @@ static void sub_80D8B38(u8 taskId)
{
ContestClearGeneralTextWindow();
StringCopy(gStringVar1, gContestMons[r6].nickname);
- StringExpandPlaceholders(gStringVar4, gText_0827E793);
+ StringExpandPlaceholders(gStringVar4, gText_MonCantAppealNextTurn);
Contest_StartTextPrinter(gStringVar4, 1);
}
gTasks[taskId].data[0] = 52;
@@ -1953,11 +1932,11 @@ static void sub_80D8B38(u8 taskId)
{
ContestClearGeneralTextWindow();
if (r3 == 1)
- Contest_StartTextPrinter(gText_0827E32E, TRUE);
+ Contest_StartTextPrinter(gText_AppealComboWentOverWell, TRUE);
else if (r3 == 2)
- Contest_StartTextPrinter(gText_0827E35B, TRUE);
+ Contest_StartTextPrinter(gText_AppealComboWentOverVeryWell, TRUE);
else
- Contest_StartTextPrinter(gText_0827E38D, TRUE);
+ Contest_StartTextPrinter(gText_AppealComboWentOverExcellently, TRUE);
sub_80DD720(3);
gTasks[taskId].data[10] = 0;
gTasks[taskId].data[0] = 45;
@@ -1966,7 +1945,7 @@ static void sub_80D8B38(u8 taskId)
{
ContestClearGeneralTextWindow();
StringCopy(gStringVar1, gContestMons[r6].nickname);
- StringExpandPlaceholders(gStringVar4, gText_0827E2FE);
+ StringExpandPlaceholders(gStringVar4, gText_JudgeLookedAtMonExpectantly);
Contest_StartTextPrinter(gStringVar4, 1);
sub_80DD720(2);
gTasks[taskId].data[10] = 0;
@@ -2056,7 +2035,7 @@ static void sub_80D8B38(u8 taskId)
}
else
{
- StringCopy(gStringVar3, gUnknown_08587F08[gContestMoves[eContestantStatus[r6].currMove].contestCategory]);
+ StringCopy(gStringVar3, sContestConditions[gContestMoves[eContestantStatus[r6].currMove].contestCategory]);
}
if (r3 > 0)
{
@@ -2075,11 +2054,11 @@ static void sub_80D8B38(u8 taskId)
else
{
if (r3 < 0)
- StringExpandPlaceholders(gStringVar4, gText_0827E73C);
+ StringExpandPlaceholders(gStringVar4, gText_MonsXDidntGoOverWell);
else if (r3 > 0 && eContest.applauseLevel <= 4)
- StringExpandPlaceholders(gStringVar4, gText_0827E717);
+ StringExpandPlaceholders(gStringVar4, gText_MonsXWentOverGreat);
else
- StringExpandPlaceholders(gStringVar4, gText_0827E76A);
+ StringExpandPlaceholders(gStringVar4, gText_MonsXGotTheCrowdGoing);
Contest_StartTextPrinter(gStringVar4, 1);
gTasks[taskId].data[10] = 0;
gTasks[taskId].data[11] = 0;
@@ -2189,7 +2168,7 @@ static void sub_80D8B38(u8 taskId)
StringCopy(gStringVar3, gContestMons[gContestResources->field_10->excitementFreezer].nickname);
StringCopy(gStringVar1, gContestMons[r6].nickname);
StringCopy(gStringVar2, gMoveNames[eContestantStatus[r6].currMove]);
- StringExpandPlaceholders(gStringVar4, gText_0827E7EA);
+ StringExpandPlaceholders(gStringVar4, gText_CrowdContinuesToWatchMon);
Contest_StartTextPrinter(gStringVar4, TRUE);
gTasks[taskId].data[0] = 58;
return;
@@ -2197,7 +2176,7 @@ static void sub_80D8B38(u8 taskId)
if (!Contest_RunTextPrinters())
{
ContestClearGeneralTextWindow();
- StringExpandPlaceholders(gStringVar4, gText_0827E817);
+ StringExpandPlaceholders(gStringVar4, gText_MonsMoveIsIgnored);
Contest_StartTextPrinter(gStringVar4, TRUE);
gTasks[taskId].data[0] = 59;
}
@@ -2215,7 +2194,7 @@ static void sub_80D8B38(u8 taskId)
sub_80DC9B4(r6);
StringCopy(gStringVar1, gContestMons[r6].nickname);
StringCopy(gStringVar2, gMoveNames[eContestantStatus[r6].currMove]);
- StringExpandPlaceholders(gStringVar4, gText_0827E58A);
+ StringExpandPlaceholders(gStringVar4, gText_MonWasTooNervousToMove);
Contest_StartTextPrinter(gStringVar4, TRUE);
gTasks[taskId].data[0] = 34;
return;
@@ -2259,7 +2238,7 @@ static void sub_80D8B38(u8 taskId)
case 31:
ContestClearGeneralTextWindow();
StringCopy(gStringVar1, gContestMons[r6].nickname);
- StringExpandPlaceholders(gStringVar4, gText_0827D56F);
+ StringExpandPlaceholders(gStringVar4, gText_MonWasWatchingOthers);
Contest_StartTextPrinter(gStringVar4, TRUE);
gTasks[taskId].data[0] = 32;
return;
@@ -2427,11 +2406,11 @@ static void sub_80DA3CC(u8 taskId)
{
if (gTasks[taskId].data[0] == 0)
{
- u8 r4 = eContestantStatus[gContestPlayerMonIndex].attentionLevel;
+ u8 attention = eContestantStatus[gContestPlayerMonIndex].attentionLevel;
ContestClearGeneralTextWindow();
StringCopy(gStringVar1, gContestMons[gContestPlayerMonIndex].nickname);
- StringExpandPlaceholders(gStringVar4, gUnknown_08587D90[r4]);
+ StringExpandPlaceholders(gStringVar4, sRoundResultTexts[attention]);
Contest_StartTextPrinter(gStringVar4, TRUE);
gTasks[taskId].data[0]++;
}
@@ -2522,7 +2501,7 @@ static void sub_80DA5E8(u8 taskId)
ContestDebugPrintBitStrings();
}
gContestRngValue = gRngValue;
- StringExpandPlaceholders(gStringVar4, gText_0827D597);
+ StringExpandPlaceholders(gStringVar4, gText_AllOutOfAppealTime);
Contest_StartTextPrinter(gStringVar4, TRUE);
gTasks[taskId].data[2] = 0;
gTasks[taskId].func = sub_80DA6B4;
@@ -4381,7 +4360,7 @@ static void sub_80DD45C(u8 contestant, u8 stringId)
StringCopy(gStringVar3, gText_Contest_Hesitancy);
else
StringCopy(gStringVar3, gText_Contest_Fear);
- StringExpandPlaceholders(gStringVar4, gUnknown_08587E10[stringId]);
+ StringExpandPlaceholders(gStringVar4, sAppealResultTexts[stringId]);
ContestClearGeneralTextWindow();
Contest_StartTextPrinter(gStringVar4, 1);
}
diff --git a/src/data/battle_frontier/battle_frontier_exchange_corner.h b/src/data/battle_frontier/battle_frontier_exchange_corner.h
index bcb3cdd62..d29dbdc44 100644
--- a/src/data/battle_frontier/battle_frontier_exchange_corner.h
+++ b/src/data/battle_frontier/battle_frontier_exchange_corner.h
@@ -50,50 +50,50 @@ static const u16 sFrontierExchangeCorner_HoldItems[] =
static const u8 *const sFrontierExchangeCorner_Decor1Descriptions[] =
{
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2601AA,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2601D0,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_260201,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26022F,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26025B,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_260287,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2602B5,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2602E0,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26030F,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26033E,
+ BattleFrontier_ExchangeServiceCorner_Text_KissPosterDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_KissCushionDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_SmoochumDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_TogepiDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_MeowthDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_ClefairyDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_DittoDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_CyndaquilDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_ChikoritaDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_TotodileDollDesc,
gText_Exit,
};
static const u8 *const sFrontierExchangeCorner_Decor2Descriptions[] =
{
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C,
+ BattleFrontier_ExchangeServiceCorner_Text_LargeDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_LargeDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_LargeDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_LargeDollDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_LargeDollDesc,
gText_Exit
};
static const u8 *const sFrontierExchangeCorner_VitaminsDescriptions[] =
{
- BattleFrontier_BattlePointExchangeServiceCorner_Text_260397,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2603BE,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2603E6,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26040E,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_260436,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26045C,
+ BattleFrontier_ExchangeServiceCorner_Text_ProteinDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_CalciumDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_IronDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_ZincDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_CarbosDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_HPUpDesc,
gText_Exit
};
static const u8 *const sFrontierExchangeCorner_HoldItemsDescriptions[] =
{
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26047A,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2604AC,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2604D8,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_26050F,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_260542,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_260575,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2605A8,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_2605E2,
- BattleFrontier_BattlePointExchangeServiceCorner_Text_260613,
+ BattleFrontier_ExchangeServiceCorner_Text_LeftoversDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_WhiteHerbDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_QuickClawDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_MentalHerbDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_BrightpowderDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_ChoiceBandDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_KingsRockDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_FocusBandDesc,
+ BattleFrontier_ExchangeServiceCorner_Text_ScopeLensDesc,
gText_Exit
};
diff --git a/src/data/battle_frontier/trainer_hill.h b/src/data/battle_frontier/trainer_hill.h
index 54d49422a..f38cfcc38 100644
--- a/src/data/battle_frontier/trainer_hill.h
+++ b/src/data/battle_frontier/trainer_hill.h
@@ -1,16 +1,17 @@
#define TRAINER_HILL_OTID 0x10000000
-static const struct TrHillTag gUnknown_0862609C = {
- .unkField_0 = 4,
+static const struct TrHillTag sDataTagJPDefault = {
+ .numTrainers = NUM_TRAINER_HILL_TRAINERS_JP,
.unused1 = 1,
- .numFloors = 2,
+ .numFloors = NUM_TRAINER_HILL_FLOORS_JP,
.checksum = 0x0
};
-static const struct TrHillFloor gUnknown_0862609C_floors[] = {
+
+static const struct TrHillFloor sDataTagJPDefault_Floors[] = {
[0] = {
- .unk0 = 0,
- .unk1 = 0,
+ .trainerNum1 = 0,
+ .trainerNum2 = 0,
.trainers = {
[0] = {
.name = __("シゲノブ$$$$ "),
@@ -33,7 +34,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 100,
.spAttackEV = 0,
.spDefenseEV = 100,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -57,7 +58,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 0,
.spAttackEV = 150,
.spDefenseEV = 120,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -81,7 +82,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 0,
.spAttackEV = 0,
.spDefenseEV = 200,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -122,7 +123,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 0,
.spAttackEV = 100,
.spDefenseEV = 100,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -146,7 +147,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 0,
.spAttackEV = 100,
.spDefenseEV = 100,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -170,7 +171,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 0,
.spAttackEV = 100,
.spDefenseEV = 100,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -194,8 +195,8 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
}
},
[1] = {
- .unk0 = 0,
- .unk1 = 0,
+ .trainerNum1 = 0,
+ .trainerNum2 = 0,
.trainers = {
[0] = {
.name = __("シゲゾウ$$$$ "),
@@ -218,7 +219,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 120,
.spAttackEV = 150,
.spDefenseEV = 0,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -242,7 +243,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 0,
.spAttackEV = 100,
.spDefenseEV = 100,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -266,7 +267,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 0,
.spAttackEV = 110,
.spDefenseEV = 100,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -307,7 +308,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 0,
.spAttackEV = 110,
.spDefenseEV = 100,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -331,7 +332,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 100,
.spAttackEV = 110,
.spDefenseEV = 100,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -355,7 +356,7 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
.speedEV = 80,
.spAttackEV = 80,
.spDefenseEV = 80,
- .otId = 0x10000000,
+ .otId = TRAINER_HILL_OTID,
.hpIV = 5,
.attackIV = 5,
.defenseIV = 5,
@@ -382,18 +383,18 @@ static const struct TrHillFloor gUnknown_0862609C_floors[] = {
static const struct TrHillTag sDataTagNormal =
{
- .unkField_0 = 8,
+ .numTrainers = NUM_TRAINER_HILL_TRAINERS,
.unused1 = 2,
- .numFloors = 4,
+ .numFloors = NUM_TRAINER_HILL_FLOORS,
.checksum = 0x00051E05
};
-static const struct TrHillFloor sDataTagNormal_floors[] =
+static const struct TrHillFloor sDataTagNormal_Floors[] =
{
[0] =
{
- .unk0 = 0x11,
- .unk1 = 0x12,
+ .trainerNum1 = 17,
+ .trainerNum2 = 18,
.trainers =
{
[0] =
@@ -694,8 +695,8 @@ static const struct TrHillFloor sDataTagNormal_floors[] =
},
[1] =
{
- .unk0 = 0x13,
- .unk1 = 0x14,
+ .trainerNum1 = 19,
+ .trainerNum2 = 20,
.trainers =
{
[0] =
@@ -999,8 +1000,8 @@ static const struct TrHillFloor sDataTagNormal_floors[] =
},
[2] =
{
- .unk0 = 0x15,
- .unk1 = 0x16,
+ .trainerNum1 = 21,
+ .trainerNum2 = 22,
.trainers =
{
[0] =
@@ -1303,8 +1304,8 @@ static const struct TrHillFloor sDataTagNormal_floors[] =
},
[3] =
{
- .unk0 = 0x17,
- .unk1 = 0x18,
+ .trainerNum1 = 23,
+ .trainerNum2 = 24,
.trainers =
{
[0] =
@@ -1602,17 +1603,17 @@ static const struct TrHillFloor sDataTagNormal_floors[] =
static const struct TrHillTag sDataTagVariety =
{
- .unkField_0 = 8,
+ .numTrainers = NUM_TRAINER_HILL_TRAINERS,
.unused1 = 1,
- .numFloors = 4,
+ .numFloors = NUM_TRAINER_HILL_FLOORS,
.checksum = 0x00054C15
};
-static const struct TrHillFloor sDataTagVariety_floors[] = {
+static const struct TrHillFloor sDataTagVariety_Floors[] = {
[0] =
{
- .unk0 = 0x29,
- .unk1 = 0x2A,
+ .trainerNum1 = 41,
+ .trainerNum2 = 42,
.trainers =
{
[0] =
@@ -1904,8 +1905,8 @@ static const struct TrHillFloor sDataTagVariety_floors[] = {
},
[1] =
{
- .unk0 = 0x2B,
- .unk1 = 0x2C,
+ .trainerNum1 = 43,
+ .trainerNum2 = 44,
.trainers =
{
[0] =
@@ -2227,8 +2228,8 @@ static const struct TrHillFloor sDataTagVariety_floors[] = {
},
[2] =
{
- .unk0 = 0x2D,
- .unk1 = 0x2E,
+ .trainerNum1 = 45,
+ .trainerNum2 = 46,
.trainers =
{
[0] =
@@ -2531,8 +2532,8 @@ static const struct TrHillFloor sDataTagVariety_floors[] = {
},
[3] =
{
- .unk0 = 0x2F,
- .unk1 = 0x30,
+ .trainerNum1 = 47,
+ .trainerNum2 = 48,
.trainers =
{
[0] =
@@ -2828,17 +2829,17 @@ static const struct TrHillFloor sDataTagVariety_floors[] = {
static const struct TrHillTag sDataTagUnique =
{
- .unkField_0 = 8,
+ .numTrainers = NUM_TRAINER_HILL_TRAINERS,
.unused1 = 3,
- .numFloors = 4,
+ .numFloors = NUM_TRAINER_HILL_FLOORS,
.checksum = 0x000652F3
};
-static const struct TrHillFloor sDataTagUnique_floors[] = {
+static const struct TrHillFloor sDataTagUnique_Floors[] = {
[0] =
{
- .unk0 = 0x31,
- .unk1 = 0x32,
+ .trainerNum1 = 49,
+ .trainerNum2 = 50,
.trainers =
{
[0] =
@@ -3135,8 +3136,8 @@ static const struct TrHillFloor sDataTagUnique_floors[] = {
},
[1] =
{
- .unk0 = 0x33,
- .unk1 = 0x34,
+ .trainerNum1 = 51,
+ .trainerNum2 = 52,
.trainers =
{
[0] =
@@ -3439,8 +3440,8 @@ static const struct TrHillFloor sDataTagUnique_floors[] = {
},
[2] =
{
- .unk0 = 0x35,
- .unk1 = 0x36,
+ .trainerNum1 = 53,
+ .trainerNum2 = 54,
.trainers =
{
[0] =
@@ -3743,8 +3744,8 @@ static const struct TrHillFloor sDataTagUnique_floors[] = {
},
[3] =
{
- .unk0 = 0x38,
- .unk1 = 0x37,
+ .trainerNum1 = 56,
+ .trainerNum2 = 55,
.trainers =
{
[0] =
@@ -4039,17 +4040,17 @@ static const struct TrHillFloor sDataTagUnique_floors[] = {
static const struct TrHillTag sDataTagExpert =
{
- .unkField_0 = 8,
+ .numTrainers = NUM_TRAINER_HILL_TRAINERS,
.unused1 = 1,
- .numFloors = 4,
+ .numFloors = NUM_TRAINER_HILL_FLOORS,
.checksum = 0x00061F3F
};
-static const struct TrHillFloor sDataTagExpert_floors[] = {
+static const struct TrHillFloor sDataTagExpert_Floors[] = {
[0] =
{
- .unk0 = 0x39,
- .unk1 = 0x3A,
+ .trainerNum1 = 57,
+ .trainerNum2 = 58,
.trainers =
{
[0] =
@@ -4353,8 +4354,8 @@ static const struct TrHillFloor sDataTagExpert_floors[] = {
},
[1] =
{
- .unk0 = 0x3B,
- .unk1 = 0x3C,
+ .trainerNum1 = 59,
+ .trainerNum2 = 60,
.trainers =
{
[0] =
@@ -4658,8 +4659,8 @@ static const struct TrHillFloor sDataTagExpert_floors[] = {
},
[2] =
{
- .unk0 = 0x3D,
- .unk1 = 0x3E,
+ .trainerNum1 = 61,
+ .trainerNum2 = 62,
.trainers =
{
[0] =
@@ -4963,8 +4964,8 @@ static const struct TrHillFloor sDataTagExpert_floors[] = {
},
[3] =
{
- .unk0 = 0x3F,
- .unk1 = 0x40,
+ .trainerNum1 = 63,
+ .trainerNum2 = 64,
.trainers =
{
[0] =
diff --git a/src/data/contest_text_tables.h b/src/data/contest_text_tables.h
index 8375520d1..f893bc66a 100644
--- a/src/data/contest_text_tables.h
+++ b/src/data/contest_text_tables.h
@@ -1,414 +1,439 @@
#include "global.h"
-extern const u8 gContestEffect00hDescription[];
-extern const u8 gContestEffect01hDescription[];
-extern const u8 gContestEffect02hDescription[];
-extern const u8 gContestEffect03hDescription[];
-extern const u8 gContestEffect04hDescription[];
-extern const u8 gContestEffect05hDescription[];
-extern const u8 gContestEffect06hDescription[];
-extern const u8 gContestEffect07hDescription[];
-extern const u8 gContestEffect08hDescription[];
-extern const u8 gContestEffect09hDescription[];
-extern const u8 gContestEffect0AhDescription[];
-extern const u8 gContestEffect0BhDescription[];
-extern const u8 gContestEffect0ChDescription[];
-extern const u8 gContestEffect0DhDescription[];
-extern const u8 gContestEffect0EhDescription[];
-extern const u8 gContestEffect0FhDescription[];
-extern const u8 gContestEffect10hDescription[];
-extern const u8 gContestEffect11hDescription[];
-extern const u8 gContestEffect12hDescription[];
-extern const u8 gContestEffect13hDescription[];
-extern const u8 gContestEffect14hDescription[];
-extern const u8 gContestEffect15hDescription[];
-extern const u8 gContestEffect16hDescription[];
-extern const u8 gContestEffect17hDescription[];
-extern const u8 gContestEffect18hDescription[];
-extern const u8 gContestEffect19hDescription[];
-extern const u8 gContestEffect1AhDescription[];
-extern const u8 gContestEffect1BhDescription[];
-extern const u8 gContestEffect1ChDescription[];
-extern const u8 gContestEffect1DhDescription[];
-extern const u8 gContestEffect1EhDescription[];
-extern const u8 gContestEffect1FhDescription[];
-extern const u8 gContestEffect20hDescription[];
-extern const u8 gContestEffect21hDescription[];
-extern const u8 gContestEffect22hDescription[];
-extern const u8 gContestEffect23hDescription[];
-extern const u8 gContestEffect24hDescription[];
-extern const u8 gContestEffect25hDescription[];
-extern const u8 gContestEffect26hDescription[];
-extern const u8 gContestEffect27hDescription[];
-extern const u8 gContestEffect28hDescription[];
-extern const u8 gContestEffect29hDescription[];
-extern const u8 gContestEffect2AhDescription[];
-extern const u8 gContestEffect2BhDescription[];
-extern const u8 gContestEffect2ChDescription[];
-extern const u8 gContestEffect2DhDescription[];
-extern const u8 gContestEffect2EhDescription[];
-extern const u8 gContestEffect2FhDescription[];
+// gContestEffectDescriptionPointers
+extern const u8 gText_HighlyAppealingMove[];
+extern const u8 gText_UserMoreEasilyStartled[];
+extern const u8 gText_GreatAppealButNoMoreToEnd[];
+extern const u8 gText_UsedRepeatedlyWithoutBoringJudge[];
+extern const u8 gText_AvoidStartledByOthersOnce[];
+extern const u8 gText_AvoidStartledByOthers[];
+extern const u8 gText_AvoidStartledByOthersLittle[];
+extern const u8 gText_UserLessLikelyStartled[];
+extern const u8 gText_SlightlyStartleFrontMon[];
+extern const u8 gText_SlightlyStartleAppealed[];
+extern const u8 gText_StartleAppealedBeforeUser[];
+extern const u8 gText_StartleAllAppealed[];
+extern const u8 gText_BadlyStartleFrontMon[];
+extern const u8 gText_BadlyStartleAppealed[];
+extern const u8 gText_StartleAppealedBeforeUser2[];
+extern const u8 gText_StartleAllAppealed2[];
+extern const u8 gText_ShiftJudgesAttentionFromOthers[];
+extern const u8 gText_StartleMonHasJudgesAttention[];
+extern const u8 gText_JamOthersMissesTurn[];
+extern const u8 gText_StartleMonsMadeSameTypeAppeal[];
+extern const u8 gText_BadlyStartleCoolAppeals[];
+extern const u8 gText_BadlyStartleBeautyAppeals[];
+extern const u8 gText_BadlyStartleCuteAppeals[];
+extern const u8 gText_BadlyStartleSmartAppeals[];
+extern const u8 gText_BadlyStartleToughAppeals[];
+extern const u8 gText_MakeMonAfterUserNervous[];
+extern const u8 gText_MakeAllMonsAfterUserNervous[];
+extern const u8 gText_WorsenConditionOfThoseMadeAppeals[];
+extern const u8 gText_BadlyStartleMonsGoodCondition[];
+extern const u8 gText_AppealGreatIfPerformedFirst[];
+extern const u8 gText_AppealGreatIfPerformedLast[];
+extern const u8 gText_AppealAsGoodAsThoseBeforeIt[];
+extern const u8 gText_AppealAsGoodAsOneBeforeIt[];
+extern const u8 gText_AppealBetterLaterItsPerformed[];
+extern const u8 gText_AppealVariesDependingOnTiming[];
+extern const u8 gText_WorksWellIfSameTypeAsBefore[];
+extern const u8 gText_WorksWellIfDifferentTypeAsBefore[];
+extern const u8 gText_AffectedByAppealInFront[];
+extern const u8 gText_UpsConditionHelpsPreventNervousness[];
+extern const u8 gText_AppealWorksWellIfConditionGood[];
+extern const u8 gText_NextAppealMadeEarlier[];
+extern const u8 gText_NextAppealMadeLater[];
+extern const u8 gText_TurnOrderMoreEasilyScrambled[];
+extern const u8 gText_ScrambleOrderOfNextAppeals[];
+extern const u8 gText_AppealExcitesAudienceInAnyContest[];
+extern const u8 gText_BadlyStartlesMonsGoodAppeals[];
+extern const u8 gText_AppealBestMoreCrowdExcited[];
+extern const u8 gText_TemporarilyStopCrowdExcited[];
-extern const u8 gUnusedContestMoveName0[];
-extern const u8 gUnusedContestMoveName1[];
-extern const u8 gUnusedContestMoveName2[];
-extern const u8 gUnusedContestMoveName3[];
-extern const u8 gUnusedContestMoveName4[];
-extern const u8 gUnusedContestMoveName5[];
-extern const u8 gUnusedContestMoveName6[];
-extern const u8 gUnusedContestMoveName7[];
-extern const u8 gUnusedContestMoveName8[];
-extern const u8 gUnusedContestMoveName9[];
-extern const u8 gUnusedContestMoveName10[];
-extern const u8 gUnusedContestMoveName11[];
-extern const u8 gUnusedContestMoveName12[];
+// sUnusedComboMoveNameTexts
+extern const u8 gText_RainDance[];
+extern const u8 gText_Rage[];
+extern const u8 gText_FocusEnergy[];
+extern const u8 gText_Hypnosis[];
+extern const u8 gText_Softboiled[];
+extern const u8 gText_HornAttack[];
+extern const u8 gText_SwordsDance[];
+extern const u8 gText_Conversion[];
+extern const u8 gText_SunnyDay[];
+extern const u8 gText_Rest2[];
+extern const u8 gText_Vicegrip[];
+extern const u8 gText_DefenseCurl[];
+extern const u8 gText_LockOn[];
+// gContestMoveTypeTextPointers
extern const u8 gContestMoveTypeCoolText[];
extern const u8 gContestMoveTypeBeautyText[];
extern const u8 gContestMoveTypeCuteText[];
extern const u8 gContestMoveTypeSmartText[];
extern const u8 gContestMoveTypeToughText[];
-extern const u8 gText_0827D5C1[];
-extern const u8 gText_0827D5DC[];
-extern const u8 gText_0827D600[];
-extern const u8 gText_0827D612[];
-extern const u8 gText_0827D612[];
-extern const u8 gText_0827D62D[];
-extern const u8 gText_0827D654[];
-extern const u8 gText_0827D67E[];
-extern const u8 gText_0827D69C[];
-extern const u8 gText_0827D6BA[];
-extern const u8 gText_0827D6E5[];
-extern const u8 gText_0827D706[];
-extern const u8 gText_0827D71D[];
+// sUnusedAppealResultTexts
+extern const u8 gText_ButAppealWasJammed[];
+extern const u8 gText_FollowedAnotherMonsLead[];
+extern const u8 gText_ButItMessedUp[];
+extern const u8 gText_WentBetterThanUsual[];
+extern const u8 gText_JudgeLookedAwayForSomeReason[];
+extern const u8 gText_WorkedHardToBuildOnPastMistakes[];
+extern const u8 gText_CantMakeAnyMoreMoves[];
+extern const u8 gText_WorkedFrighteninglyWell[];
+extern const u8 gText_WorkedHardAsStandoutMon[];
+extern const u8 gText_JudgedLookedOnExpectantly[];
+extern const u8 gText_WorkedRatherWell[];
+extern const u8 gText_WorkedLittleBetterThanUsual[];
-extern const u8 gText_0827D743[];
-extern const u8 gText_0827D764[];
-extern const u8 gText_0827D785[];
-extern const u8 gText_0827D7A5[];
-extern const u8 gText_0827D7C8[];
-extern const u8 gText_0827D7E8[];
-extern const u8 gText_0827D831[];
-extern const u8 gText_0827D855[];
-extern const u8 gText_0827D830[];
-extern const u8 gText_0827D872[];
-extern const u8 gText_0827D88F[];
-extern const u8 gText_0827D8B5[];
-extern const u8 gText_0827D8E4[];
-extern const u8 gText_0827D8FE[];
-extern const u8 gText_0827D926[];
-extern const u8 gText_0827D947[];
-extern const u8 gText_0827D961[];
-extern const u8 gText_0827D986[];
-extern const u8 gText_0827D9B1[];
-extern const u8 gText_0827D9D9[];
-extern const u8 gText_0827DA03[];
-extern const u8 gText_0827DA31[];
-extern const u8 gText_0827DA5B[];
-extern const u8 gText_0827DA85[];
-extern const u8 gText_0827DAB2[];
-extern const u8 gText_0827DADA[];
-extern const u8 gText_0827DB03[];
-extern const u8 gText_0827D830[];
-extern const u8 gText_0827D830[];
-extern const u8 gText_0827D830[];
-extern const u8 gText_0827DB1F[];
-extern const u8 gText_0827DB4E[];
+// sRoundResultTexts
+extern const u8 gText_MonFailedToStandOutAtAll[];
+extern const u8 gText_MonDidntStandOutVeryMuch[];
+extern const u8 gText_MonCaughtALittleAttention[];
+extern const u8 gText_MonAttractedALotOfAttention[];
+extern const u8 gText_MonCommandedTotalAttention[];
+extern const u8 gText_MonHasntMadeItsAppeal[];
+extern const u8 gText_JudgesViewsOnMonHeldFirm[];
+extern const u8 gText_MonsXChangedPerceptions[];
+extern const u8 gText_EmptyContestString[];
+extern const u8 gText_MonsAppealEffectWoreOff[];
+extern const u8 gText_SpecialAppealsEffectWoreOff[];
+extern const u8 gText_EveryonesAppealsMadeToLookSame[];
+extern const u8 gText_CheapenedMonsAppeal[];
+extern const u8 gText_CheapenedMonsAppeal2[];
+extern const u8 gText_CheapenedAppealOfThoseAhead[];
+extern const u8 gText_CheapenedAppealOfThoseAhead2[];
+extern const u8 gText_StoleAttentionAwayFromMon[];
+extern const u8 gText_SeverelyCheapenedOtherAppeals[];
+extern const u8 gText_AnticipationSwelledForMonsAppealNext[];
+extern const u8 gText_CheapenedJudgesFavoriteAppeal[];
+extern const u8 gText_AppealsOfOthersCheapenedByHalf[];
+extern const u8 gText_StoodOutToMakeUpForBeingJammed[];
+extern const u8 gText_CantParticipateInAppealsAnyMore[];
+extern const u8 gText_TouchedJudgeForFantasticAppeal[];
+extern const u8 gText_AnticipationRoseForUpcomingAppeals[];
+extern const u8 gText_StoodOutAsMuchAsSpecialAppeals[];
+extern const u8 gText_StoodOutAsMuchAsMon[];
+extern const u8 gText_JammedAppealsMadeEvenLessNoticeable[];
+extern const u8 gText_EveryonesAppealsMadeSame[];
-extern const u8 gText_827DB75[];
-extern const u8 gText_827DBB0[];
-extern const u8 gText_827DBE0[];
-extern const u8 gText_827DC0F[];
-extern const u8 gText_827DC45[];
-extern const u8 gText_827DC7C[];
-extern const u8 gText_827DCB4[];
-extern const u8 gText_827DCE7[];
-extern const u8 gText_827DD12[];
-extern const u8 gText_827DD3D[];
-extern const u8 gText_827DD6F[];
-extern const u8 gText_827DD8E[];
-extern const u8 gText_827DDC7[];
-extern const u8 gText_827DDF2[];
-extern const u8 gText_827DE14[];
-extern const u8 gText_827DE44[];
-extern const u8 gText_827DE73[];
-extern const u8 gText_827DEA5[];
-extern const u8 gText_827DED9[];
-extern const u8 gText_827DF02[];
-extern const u8 gText_827DF3A[];
-extern const u8 gText_827DF63[];
-extern const u8 gText_827DF8C[];
-extern const u8 gText_827DFB8[];
-extern const u8 gText_827DFE2[];
-extern const u8 gText_827E00C[];
-extern const u8 gText_827E02F[];
-extern const u8 gText_827E05F[];
-extern const u8 gText_827E08B[];
-extern const u8 gText_827E0B5[];
-extern const u8 gText_827E0DD[];
-extern const u8 gText_827E107[];
-extern const u8 gText_827E143[];
-extern const u8 gText_827E17F[];
-extern const u8 gText_827E1BB[];
-extern const u8 gText_827E1F3[];
-extern const u8 gText_827E220[];
-extern const u8 gText_827E254[];
-extern const u8 gText_827E289[];
-extern const u8 gText_827E2C5[];
-extern const u8 gText_0827E2FE[];
-extern const u8 gText_0827E32E[];
-extern const u8 gText_0827E35B[];
-extern const u8 gText_0827E38D[];
-extern const u8 gText_0827E3C1[];
-extern const u8 gText_0827E3EB[];
-extern const u8 gText_0827E416[];
-extern const u8 gText_0827E448[];
-extern const u8 gText_0827E473[];
-extern const u8 gText_0827E4A6[];
-extern const u8 gText_0827E4D5[];
-extern const u8 gText_0827E504[];
-extern const u8 gText_0827E531[];
-extern const u8 gText_0827E55A[];
-extern const u8 gText_0827E5B2[];
-extern const u8 gText_0827E5D0[];
-extern const u8 gText_0827E606[];
-extern const u8 gText_0827E638[];
-extern const u8 gText_0827E658[];
-extern const u8 gText_0827E68B[];
-extern const u8 gText_0827E6C4[];
-extern const u8 gText_0827E7BA[];
+// sAppealResultTexts
+extern const u8 gText_BecameMoreConsciousOfOtherMons[];
+extern const u8 gText_MonCantMakeAnAppealAfterThis[];
+extern const u8 gText_SettledDownJustLittleBit[];
+extern const u8 gText_BecameObliviousToOtherMons[];
+extern const u8 gText_BecameLessAwareOfOtherMons[];
+extern const u8 gText_StoppedCaringAboutOtherMons[];
+extern const u8 gText_TriedToStartleOtherMons[];
+extern const u8 gText_TriedToDazzleOthers[];
+extern const u8 gText_JudgeLookedAwayFromMon[];
+extern const u8 gText_TriedToUnnerveNextMon[];
+extern const u8 gText_MonBecameNervous[];
+extern const u8 gText_AppealTriedToUnnerveWaitingMons[];
+extern const u8 gText_TauntedMonsDoingWell[];
+extern const u8 gText_MonRegainedItsForm[];
+extern const u8 gText_TriedToJamMonDoingWell[];
+extern const u8 gText_StandoutMonHustledEvenMore[];
+extern const u8 gText_LargelyUnnoticedMonWorkedHard[];
+extern const u8 gText_WorkedAsMuchAsMonBefore[];
+extern const u8 gText_WorkedAsMuchAsPrecedingMon[];
+extern const u8 gText_MonsAppealWasDud[];
+extern const u8 gText_MonsAppealDidNotGoWell[];
+extern const u8 gText_MonsAppealDidNotGoWell2[];
+extern const u8 gText_MonsAppealDidNotGoWell3[];
+extern const u8 gText_MonsAppealDidNotWorkVeryWell[];
+extern const u8 gText_MonsAppealWentSlightlyWell[];
+extern const u8 gText_MonsAppealWentSlightlyWell2[];
+extern const u8 gText_MonsAppealWentPrettyWell[];
+extern const u8 gText_MonsAppealWentPrettyWell2[];
+extern const u8 gText_MonsAppealWentVeryWell[];
+extern const u8 gText_MonsAppealWentExcellently[];
+extern const u8 gText_MonsAppealWentExcellently2[];
+extern const u8 gText_SameTypeAsOneBeforeGood[];
+extern const u8 gText_NotSameTypeAsOneBeforeGood[];
+extern const u8 gText_StoodOutMuchMoreThanMonBefore[];
+extern const u8 gText_DidntDoAsWellAsMonBefore[];
+extern const u8 gText_MonsConditionRoseAboveUsual[];
+extern const u8 gText_MonsHotStatusMadeGreatAppeal[];
+extern const u8 gText_MovedUpInLineForNextAppeal[];
+extern const u8 gText_MovedBackInLineForNextAppeal[];
+extern const u8 gText_ScrambledUpOrderForNextTurn[];
+extern const u8 gText_JudgeLookedAtMonExpectantly[];
+extern const u8 gText_AppealComboWentOverWell[];
+extern const u8 gText_AppealComboWentOverVeryWell[];
+extern const u8 gText_AppealComboWentOverExcellently[];
+extern const u8 gText_MonManagedToAvertGaze[];
+extern const u8 gText_MonManagedToAvoidSeeingIt[];
+extern const u8 gText_MonIsntFazedByThatSortOfThing[];
+extern const u8 gText_MonBecameALittleDistracted[];
+extern const u8 gText_TriedToStartleOtherPokemon[];
+extern const u8 gText_MonLookedDownOutOfDistraction[];
+extern const u8 gText_MonTurnedBackOutOfDistraction[];
+extern const u8 gText_MonCouldntHelpUtteringCry[];
+extern const u8 gText_MonCouldntHelpLeapingUp[];
+extern const u8 gText_MonTrippedOutOfDistraction[];
+extern const u8 gText_ButItMessedUp2[];
+extern const u8 gText_ButItFailedToMakeTargetNervous[];
+extern const u8 gText_ButItFailedToMakeAnyoneNervous[];
+extern const u8 gText_ButItWasIgnored[];
+extern const u8 gText_CouldntImproveItsCondition[];
+extern const u8 gText_BadConditionResultedInWeakAppeal[];
+extern const u8 gText_MonWasUnaffected[];
+extern const u8 gText_AttractedCrowdsAttention[];
+
+// sContestConditions
+extern const u8 gText_Contest_Coolness[];
+extern const u8 gText_Contest_Beauty[];
+extern const u8 gText_Contest_Cuteness[];
+extern const u8 gText_Contest_Smartness[];
+extern const u8 gText_Contest_Toughness[];
-extern const u8 gText_0827E85F[];
-extern const u8 gText_0827E868[];
-extern const u8 gText_0827E86F[];
-extern const u8 gText_0827E878[];
-extern const u8 gText_0827E882[];
+// sInvalidContestMoveNames
+extern const u8 gText_CoolMove[];
+extern const u8 gText_BeautyMove[];
+extern const u8 gText_CuteMove[];
+extern const u8 gText_SmartMove[];
+extern const u8 gText_ToughMove[];
+extern const u8 gText_3QuestionMarks[];
-extern const u8 gText_0827E894[];
-extern const u8 gText_0827E89E[];
-extern const u8 gText_0827E8AA[];
-extern const u8 gText_0827E8B4[];
-extern const u8 gText_0827E8BF[];
-extern const u8 gText_0827E8CA[];
+// Misc, used directly
+extern const u8 gText_MonAppealedWithMove[];
+extern const u8 gText_MonCantAppealNextTurn[];
+extern const u8 gText_RepeatedAppeal[];
+extern const u8 gText_MonsXDidntGoOverWell[];
+extern const u8 gText_MonsXWentOverGreat[];
+extern const u8 gText_MonsXGotTheCrowdGoing[];
+extern const u8 gText_CrowdContinuesToWatchMon[];
+extern const u8 gText_MonsMoveIsIgnored[];
+extern const u8 gText_MonWasTooNervousToMove[];
+extern const u8 gText_MonWasWatchingOthers[];
+extern const u8 gText_AllOutOfAppealTime[];
+extern const u8 gText_Contest_Shyness[];
+extern const u8 gText_Contest_Anxiety[];
+extern const u8 gText_Contest_Laziness[];
+extern const u8 gText_Contest_Hesitancy[];
+extern const u8 gText_Contest_Fear[];
+extern const u8 gText_AppealNumWhichMoveWillBePlayed[];
+extern const u8 gText_AppealNumButItCantParticipate[];
const u8 *const gContestEffectDescriptionPointers[] =
{
- gContestEffect00hDescription,
- gContestEffect01hDescription,
- gContestEffect02hDescription,
- gContestEffect03hDescription,
- gContestEffect04hDescription,
- gContestEffect05hDescription,
- gContestEffect06hDescription,
- gContestEffect07hDescription,
- gContestEffect08hDescription,
- gContestEffect09hDescription,
- gContestEffect0AhDescription,
- gContestEffect0BhDescription,
- gContestEffect0ChDescription,
- gContestEffect0DhDescription,
- gContestEffect0EhDescription,
- gContestEffect0FhDescription,
- gContestEffect10hDescription,
- gContestEffect11hDescription,
- gContestEffect12hDescription,
- gContestEffect13hDescription,
- gContestEffect14hDescription,
- gContestEffect15hDescription,
- gContestEffect16hDescription,
- gContestEffect17hDescription,
- gContestEffect18hDescription,
- gContestEffect19hDescription,
- gContestEffect1AhDescription,
- gContestEffect1BhDescription,
- gContestEffect1ChDescription,
- gContestEffect1DhDescription,
- gContestEffect1EhDescription,
- gContestEffect1FhDescription,
- gContestEffect20hDescription,
- gContestEffect21hDescription,
- gContestEffect22hDescription,
- gContestEffect23hDescription,
- gContestEffect24hDescription,
- gContestEffect25hDescription,
- gContestEffect26hDescription,
- gContestEffect27hDescription,
- gContestEffect28hDescription,
- gContestEffect29hDescription,
- gContestEffect2AhDescription,
- gContestEffect2BhDescription,
- gContestEffect2ChDescription,
- gContestEffect2DhDescription,
- gContestEffect2EhDescription,
- gContestEffect2FhDescription
+ [CONTEST_EFFECT_HIGHLY_APPEALING] = gText_HighlyAppealingMove,
+ [CONTEST_EFFECT_USER_MORE_EASILY_STARTLED] = gText_UserMoreEasilyStartled,
+ [CONTEST_EFFECT_GREAT_APPEAL_BUT_NO_MORE_MOVES] = gText_GreatAppealButNoMoreToEnd,
+ [CONTEST_EFFECT_REPETITION_NOT_BORING] = gText_UsedRepeatedlyWithoutBoringJudge,
+ [CONTEST_EFFECT_AVOID_STARTLE_ONCE] = gText_AvoidStartledByOthersOnce,
+ [CONTEST_EFFECT_AVOID_STARTLE] = gText_AvoidStartledByOthers,
+ [CONTEST_EFFECT_AVOID_STARTLE_SLIGHTLY] = gText_AvoidStartledByOthersLittle,
+ [CONTEST_EFFECT_USER_LESS_EASILY_STARTLED] = gText_UserLessLikelyStartled,
+ [CONTEST_EFFECT_STARTLE_FRONT_MON] = gText_SlightlyStartleFrontMon,
+ [CONTEST_EFFECT_SLIGHTLY_STARTLE_PREV_MONS] = gText_SlightlyStartleAppealed,
+ [CONTEST_EFFECT_STARTLE_PREV_MON] = gText_StartleAppealedBeforeUser,
+ [CONTEST_EFFECT_STARTLE_PREV_MONS] = gText_StartleAllAppealed,
+ [CONTEST_EFFECT_BADLY_STARTLE_FRONT_MON] = gText_BadlyStartleFrontMon,
+ [CONTEST_EFFECT_BADLY_STARTLE_PREV_MONS] = gText_BadlyStartleAppealed,
+ [CONTEST_EFFECT_STARTLE_PREV_MON_2] = gText_StartleAppealedBeforeUser2,
+ [CONTEST_EFFECT_STARTLE_PREV_MONS_2] = gText_StartleAllAppealed2,
+ [CONTEST_EFFECT_SHIFT_JUDGE_ATTENTION] = gText_ShiftJudgesAttentionFromOthers,
+ [CONTEST_EFFECT_STARTLE_MON_WITH_JUDGES_ATTENTION] = gText_StartleMonHasJudgesAttention,
+ [CONTEST_EFFECT_JAMS_OTHERS_BUT_MISS_ONE_TURN] = gText_JamOthersMissesTurn,
+ [CONTEST_EFFECT_STARTLE_MONS_SAME_TYPE_APPEAL] = gText_StartleMonsMadeSameTypeAppeal,
+ [CONTEST_EFFECT_STARTLE_MONS_COOL_APPEAL] = gText_BadlyStartleCoolAppeals,
+ [CONTEST_EFFECT_STARTLE_MONS_BEAUTY_APPEAL] = gText_BadlyStartleBeautyAppeals,
+ [CONTEST_EFFECT_STARTLE_MONS_CUTE_APPEAL] = gText_BadlyStartleCuteAppeals,
+ [CONTEST_EFFECT_STARTLE_MONS_SMART_APPEAL] = gText_BadlyStartleSmartAppeals,
+ [CONTEST_EFFECT_STARTLE_MONS_TOUGH_APPEAL] = gText_BadlyStartleToughAppeals,
+ [CONTEST_EFFECT_MAKE_FOLLOWING_MON_NERVOUS] = gText_MakeMonAfterUserNervous,
+ [CONTEST_EFFECT_MAKE_FOLLOWING_MONS_NERVOUS] = gText_MakeAllMonsAfterUserNervous,
+ [CONTEST_EFFECT_WORSEN_CONDITION_OF_PREV_MONS] = gText_WorsenConditionOfThoseMadeAppeals,
+ [CONTEST_EFFECT_BADLY_STARTLES_MONS_IN_GOOD_CONDITION] = gText_BadlyStartleMonsGoodCondition,
+ [CONTEST_EFFECT_BETTER_IF_FIRST] = gText_AppealGreatIfPerformedFirst,
+ [CONTEST_EFFECT_BETTER_IF_LAST] = gText_AppealGreatIfPerformedLast,
+ [CONTEST_EFFECT_APPEAL_AS_GOOD_AS_PREV_ONES] = gText_AppealAsGoodAsThoseBeforeIt,
+ [CONTEST_EFFECT_APPEAL_AS_GOOD_AS_PREV_ONE] = gText_AppealAsGoodAsOneBeforeIt,
+ [CONTEST_EFFECT_BETTER_WHEN_LATER] = gText_AppealBetterLaterItsPerformed,
+ [CONTEST_EFFECT_QUALITY_DEPENDS_ON_TIMING] = gText_AppealVariesDependingOnTiming,
+ [CONTEST_EFFECT_BETTER_IF_SAME_TYPE] = gText_WorksWellIfSameTypeAsBefore,
+ [CONTEST_EFFECT_BETTER_IF_DIFF_TYPE] = gText_WorksWellIfDifferentTypeAsBefore,
+ [CONTEST_EFFECT_AFFECTED_BY_PREV_APPEAL] = gText_AffectedByAppealInFront,
+ [CONTEST_EFFECT_IMPROVE_CONDITION_PREVENT_NERVOUSNESS] = gText_UpsConditionHelpsPreventNervousness,
+ [CONTEST_EFFECT_BETTER_WITH_GOOD_CONDITION] = gText_AppealWorksWellIfConditionGood,
+ [CONTEST_EFFECT_NEXT_APPEAL_EARLIER] = gText_NextAppealMadeEarlier,
+ [CONTEST_EFFECT_NEXT_APPEAL_LATER] = gText_NextAppealMadeLater,
+ [CONTEST_EFFECT_MAKE_SCRAMBLING_TURN_ORDER_EASIER] = gText_TurnOrderMoreEasilyScrambled,
+ [CONTEST_EFFECT_SCRAMBLE_NEXT_TURN_ORDER] = gText_ScrambleOrderOfNextAppeals,
+ [CONTEST_EFFECT_EXCITE_AUDIENCE_IN_ANY_CONTEST] = gText_AppealExcitesAudienceInAnyContest,
+ [CONTEST_EFFECT_BADLY_STARTLE_MONS_WITH_GOOD_APPEALS] = gText_BadlyStartlesMonsGoodAppeals,
+ [CONTEST_EFFECT_BETTER_WHEN_AUDIENCE_EXCITED] = gText_AppealBestMoreCrowdExcited,
+ [CONTEST_EFFECT_DONT_EXCITE_AUDIENCE] = gText_TemporarilyStopCrowdExcited
};
// Unreferenced array of pointers to move names.
// All of the moves except Conversion are combo starters, so this may have
// been an early list of combo starters.
-const u8 *const gUnknown_8587D10[] =
+static const u8 *const sUnusedComboMoveNameTexts[] =
{
- gUnusedContestMoveName0,
- gUnusedContestMoveName0,
- gUnusedContestMoveName1,
- gUnusedContestMoveName2,
- gUnusedContestMoveName3,
- gUnusedContestMoveName4,
- gUnusedContestMoveName5,
- gUnusedContestMoveName6,
- gUnusedContestMoveName7,
- gUnusedContestMoveName8,
- gUnusedContestMoveName9,
- gUnusedContestMoveName10,
- gUnusedContestMoveName11,
- gUnusedContestMoveName12
+ gText_RainDance,
+ gText_RainDance,
+ gText_Rage,
+ gText_FocusEnergy,
+ gText_Hypnosis,
+ gText_Softboiled,
+ gText_HornAttack,
+ gText_SwordsDance,
+ gText_Conversion,
+ gText_SunnyDay,
+ gText_Rest2,
+ gText_Vicegrip,
+ gText_DefenseCurl,
+ gText_LockOn
};
const u8 *const gContestMoveTypeTextPointers[] =
{
- gContestMoveTypeCoolText,
- gContestMoveTypeBeautyText,
- gContestMoveTypeCuteText,
- gContestMoveTypeSmartText,
- gContestMoveTypeToughText
+ [CONTEST_CATEGORY_COOL] = gContestMoveTypeCoolText,
+ [CONTEST_CATEGORY_BEAUTY] = gContestMoveTypeBeautyText,
+ [CONTEST_CATEGORY_CUTE] = gContestMoveTypeCuteText,
+ [CONTEST_CATEGORY_SMART] = gContestMoveTypeSmartText,
+ [CONTEST_CATEGORY_TOUGH] = gContestMoveTypeToughText
};
-const u8 *const gUnknown_08587D5C[] =
+static const u8 *const sUnusedAppealResultTexts[] =
{
- gText_0827D5C1,
- gText_0827D5DC,
- gText_0827D600,
- gText_0827D612,
- gText_0827D612,
- gText_0827D62D,
- gText_0827D654,
- gText_0827D67E,
- gText_0827D69C,
- gText_0827D6BA,
- gText_0827D6E5,
- gText_0827D706,
- gText_0827D71D
+ gText_ButAppealWasJammed,
+ gText_FollowedAnotherMonsLead,
+ gText_ButItMessedUp,
+ gText_WentBetterThanUsual,
+ gText_WentBetterThanUsual,
+ gText_JudgeLookedAwayForSomeReason,
+ gText_WorkedHardToBuildOnPastMistakes,
+ gText_CantMakeAnyMoreMoves,
+ gText_WorkedFrighteninglyWell,
+ gText_WorkedHardAsStandoutMon,
+ gText_JudgedLookedOnExpectantly,
+ gText_WorkedRatherWell,
+ gText_WorkedLittleBetterThanUsual
};
-const u8 *const gUnknown_08587D90[] =
+// Takes the .attentionLevel of a contestant as an index. Only 0-5 are used
+static const u8 *const sRoundResultTexts[] =
{
- gText_0827D743,
- gText_0827D764,
- gText_0827D785,
- gText_0827D7A5,
- gText_0827D7C8,
- gText_0827D7E8,
- gText_0827D831,
- gText_0827D855,
- gText_0827D830,
- gText_0827D872,
- gText_0827D88F,
- gText_0827D8B5,
- gText_0827D8E4,
- gText_0827D8FE,
- gText_0827D926,
- gText_0827D947,
- gText_0827D961,
- gText_0827D986,
- gText_0827D9B1,
- gText_0827D9D9,
- gText_0827DA03,
- gText_0827DA31,
- gText_0827DA5B,
- gText_0827DA85,
- gText_0827DAB2,
- gText_0827DADA,
- gText_0827DB03,
- gText_0827D830,
- gText_0827D830,
- gText_0827D830,
- gText_0827DB1F,
- gText_0827DB4E
+ gText_MonFailedToStandOutAtAll,
+ gText_MonDidntStandOutVeryMuch,
+ gText_MonCaughtALittleAttention,
+ gText_MonAttractedALotOfAttention,
+ gText_MonCommandedTotalAttention,
+ gText_MonHasntMadeItsAppeal,
+ gText_JudgesViewsOnMonHeldFirm, // here below unused
+ gText_MonsXChangedPerceptions,
+ gText_EmptyContestString,
+ gText_MonsAppealEffectWoreOff,
+ gText_SpecialAppealsEffectWoreOff,
+ gText_EveryonesAppealsMadeToLookSame,
+ gText_CheapenedMonsAppeal,
+ gText_CheapenedAppealOfThoseAhead,
+ gText_StoleAttentionAwayFromMon,
+ gText_CheapenedMonsAppeal2,
+ gText_SeverelyCheapenedOtherAppeals,
+ gText_AnticipationSwelledForMonsAppealNext,
+ gText_CheapenedAppealOfThoseAhead2,
+ gText_CheapenedJudgesFavoriteAppeal,
+ gText_AppealsOfOthersCheapenedByHalf,
+ gText_StoodOutToMakeUpForBeingJammed,
+ gText_CantParticipateInAppealsAnyMore,
+ gText_TouchedJudgeForFantasticAppeal,
+ gText_AnticipationRoseForUpcomingAppeals,
+ gText_StoodOutAsMuchAsSpecialAppeals,
+ gText_StoodOutAsMuchAsMon,
+ gText_EmptyContestString,
+ gText_EmptyContestString,
+ gText_EmptyContestString,
+ gText_JammedAppealsMadeEvenLessNoticeable,
+ gText_EveryonesAppealsMadeSame
};
-const u8 *const gUnknown_08587E10[] =
+static const u8 *const sAppealResultTexts[] =
{
- gText_827DB75,
- gText_827DBB0,
- gText_827DBE0,
- gText_827DC0F,
- gText_827DC45,
- gText_827DC7C,
- gText_827DCB4,
- gText_827DCE7,
- gText_827DD12,
- gText_827DD3D,
- gText_827DD6F,
- gText_827DD8E,
- gText_827DDC7,
- gText_827DDF2,
- gText_827DE14,
- gText_827DE44,
- gText_827DE73,
- gText_827DEA5,
- gText_827DED9,
- gText_827DF02,
- gText_827DF3A,
- gText_827DF63,
- gText_827DF8C,
- gText_827DFB8,
- gText_827DFE2,
- gText_827E00C,
- gText_827E02F,
- gText_827E05F,
- gText_827E08B,
- gText_827E0B5,
- gText_827E0DD,
- gText_827E107,
- gText_827E143,
- gText_827E17F,
- gText_827E1BB,
- gText_827E1F3,
- gText_827E220,
- gText_827E254,
- gText_827E289,
- gText_827E2C5,
- gText_0827E2FE,
- gText_0827E32E,
- gText_0827E35B,
- gText_0827E38D,
- gText_0827E3C1,
- gText_0827E3EB,
- gText_0827E416,
- gText_0827E448,
- gText_0827E473,
- gText_0827E4A6,
- gText_0827E4D5,
- gText_0827E504,
- gText_0827E531,
- gText_0827E55A,
- gText_0827E5B2,
- gText_0827E5D0,
- gText_0827E606,
- gText_0827E638,
- gText_0827E658,
- gText_0827E68B,
- gText_0827E6C4,
- gText_0827E7BA
+ [CONTEST_STRING_MORE_CONSCIOUS] = gText_BecameMoreConsciousOfOtherMons,
+ [CONTEST_STRING_NO_APPEAL] = gText_MonCantMakeAnAppealAfterThis,
+ [CONTEST_STRING_SETTLE_DOWN] = gText_SettledDownJustLittleBit,
+ [CONTEST_STRING_OBLIVIOUS_TO_OTHERS] = gText_BecameObliviousToOtherMons,
+ [CONTEST_STRING_LESS_AWARE] = gText_BecameLessAwareOfOtherMons,
+ [CONTEST_STRING_STOPPED_CARING] = gText_StoppedCaringAboutOtherMons,
+ [CONTEST_STRING_STARTLE_ATTEMPT] = gText_TriedToStartleOtherMons,
+ [CONTEST_STRING_DAZZLE_ATTEMPT] = gText_TriedToDazzleOthers,
+ [CONTEST_STRING_JUDGE_LOOK_AWAY2] = gText_JudgeLookedAwayFromMon,
+ [CONTEST_STRING_UNNERVE_ATTEMPT] = gText_TriedToUnnerveNextMon,
+ [CONTEST_STRING_NERVOUS] = gText_MonBecameNervous,
+ [CONTEST_STRING_UNNERVE_WAITING] = gText_AppealTriedToUnnerveWaitingMons,
+ [CONTEST_STRING_TAUNT_WELL] = gText_TauntedMonsDoingWell,
+ [CONTEST_STRING_REGAINED_FORM] = gText_MonRegainedItsForm,
+ [CONTEST_STRING_JAM_WELL] = gText_TriedToJamMonDoingWell,
+ [CONTEST_STRING_HUSTLE_STANDOUT] = gText_StandoutMonHustledEvenMore,
+ [CONTEST_STRING_WORK_HARD_UNNOTICED] = gText_LargelyUnnoticedMonWorkedHard,
+ [CONTEST_STRING_WORK_BEFORE] = gText_WorkedAsMuchAsMonBefore,
+ [CONTEST_STRING_APPEAL_NOT_WELL] = gText_MonsAppealDidNotGoWell,
+ [CONTEST_STRING_WORK_PRECEDING] = gText_WorkedAsMuchAsPrecedingMon,
+ [CONTEST_STRING_APPEAL_NOT_WELL2] = gText_MonsAppealDidNotGoWell2,
+ [CONTEST_STRING_APPEAL_NOT_SHOWN_WELL] = gText_MonsAppealDidNotGoWell3,
+ [CONTEST_STRING_APPEAL_SLIGHTLY_WELL] = gText_MonsAppealWentSlightlyWell,
+ [CONTEST_STRING_APPEAL_PRETTY_WELL] = gText_MonsAppealWentPrettyWell,
+ [CONTEST_STRING_APPEAL_EXCELLENTLY] = gText_MonsAppealWentExcellently,
+ [CONTEST_STRING_APPEAL_DUD] = gText_MonsAppealWasDud,
+ [CONTEST_STRING_APPEAL_NOT_VERY_WELL] = gText_MonsAppealDidNotWorkVeryWell,
+ [CONTEST_STRING_APPEAL_SLIGHTLY_WELL2] = gText_MonsAppealWentSlightlyWell2,
+ [CONTEST_STRING_APPEAL_PRETTY_WELL2] = gText_MonsAppealWentPrettyWell2,
+ [CONTEST_STRING_APPEAL_VERY_WELL] = gText_MonsAppealWentVeryWell,
+ [CONTEST_STRING_APPEAL_EXCELLENTLY2] = gText_MonsAppealWentExcellently2,
+ [CONTEST_STRING_SAME_TYPE_GOOD] = gText_SameTypeAsOneBeforeGood,
+ [CONTEST_STRING_DIFF_TYPE_GOOD] = gText_NotSameTypeAsOneBeforeGood,
+ [CONTEST_STRING_STOOD_OUT_AS_MUCH] = gText_StoodOutMuchMoreThanMonBefore,
+ [CONTEST_STRING_NOT_AS_WELL] = gText_DidntDoAsWellAsMonBefore,
+ [CONTEST_STRING_CONDITION_ROSE] = gText_MonsConditionRoseAboveUsual,
+ [CONTEST_STRING_HOT_STATUS] = gText_MonsHotStatusMadeGreatAppeal,
+ [CONTEST_STRING_MOVE_UP_LINE] = gText_MovedUpInLineForNextAppeal,
+ [CONTEST_STRING_MOVE_BACK_LINE] = gText_MovedBackInLineForNextAppeal,
+ [CONTEST_STRING_SCRAMBLE_ORDER] = gText_ScrambledUpOrderForNextTurn,
+ [CONTEST_STRING_JUDGE_EXPECTANTLY2] = gText_JudgeLookedAtMonExpectantly,
+ [CONTEST_STRING_WENT_OVER_WELL] = gText_AppealComboWentOverWell,
+ [CONTEST_STRING_WENT_OVER_VERY_WELL] = gText_AppealComboWentOverVeryWell,
+ [CONTEST_STRING_APPEAL_COMBO_EXCELLENTLY] = gText_AppealComboWentOverExcellently,
+ [CONTEST_STRING_AVERT_GAZE] = gText_MonManagedToAvertGaze,
+ [CONTEST_STRING_AVOID_SEEING] = gText_MonManagedToAvoidSeeingIt,
+ [CONTEST_STRING_NOT_FAZED] = gText_MonIsntFazedByThatSortOfThing,
+ [CONTEST_STRING_LITTLE_DISTRACTED] = gText_MonBecameALittleDistracted,
+ [CONTEST_STRING_ATTEMPT_STARTLE] = gText_TriedToStartleOtherPokemon,
+ [CONTEST_STRING_LOOKED_DOWN] = gText_MonLookedDownOutOfDistraction,
+ [CONTEST_STRING_TURNED_BACK] = gText_MonTurnedBackOutOfDistraction,
+ [CONTEST_STRING_UTTER_CRY] = gText_MonCouldntHelpUtteringCry,
+ [CONTEST_STRING_LEAPT_UP] = gText_MonCouldntHelpLeapingUp,
+ [CONTEST_STRING_TRIPPED_OVER] = gText_MonTrippedOutOfDistraction,
+ [CONTEST_STRING_MESSED_UP2] = gText_ButItMessedUp2,
+ [CONTEST_STRING_FAILED_TARGET_NERVOUS] = gText_ButItFailedToMakeTargetNervous,
+ [CONTEST_STRING_FAILED_ANYONE_NERVOUS] = gText_ButItFailedToMakeAnyoneNervous,
+ [CONTEST_STRING_IGNORED] = gText_ButItWasIgnored,
+ [CONTEST_STRING_NO_CONDITION_IMPROVE] = gText_CouldntImproveItsCondition,
+ [CONTEST_STRING_BAD_CONDITION_WEAK_APPEAL] = gText_BadConditionResultedInWeakAppeal,
+ [CONTEST_STRING_UNAFFECTED] = gText_MonWasUnaffected,
+ [CONTEST_STRING_ATTRACTED_ATTENTION] = gText_AttractedCrowdsAttention
};
-const u8 *const gUnknown_08587F08[] =
+static const u8 *const sContestConditions[] =
{
- gText_0827E85F,
- gText_0827E868,
- gText_0827E86F,
- gText_0827E878,
- gText_0827E882
+ [CONTEST_CATEGORY_COOL] = gText_Contest_Coolness,
+ [CONTEST_CATEGORY_BEAUTY] = gText_Contest_Beauty,
+ [CONTEST_CATEGORY_CUTE] = gText_Contest_Cuteness,
+ [CONTEST_CATEGORY_SMART] = gText_Contest_Smartness,
+ [CONTEST_CATEGORY_TOUGH] = gText_Contest_Toughness
};
-const u8 *const gUnknown_08587F1C[] =
+static const u8 *const sInvalidContestMoveNames[] =
{
- gText_0827E894,
- gText_0827E89E,
- gText_0827E8AA,
- gText_0827E8B4,
- gText_0827E8BF,
- gText_0827E8CA
+ [CONTEST_CATEGORY_COOL] = gText_CoolMove,
+ [CONTEST_CATEGORY_BEAUTY] = gText_BeautyMove,
+ [CONTEST_CATEGORY_CUTE] = gText_CuteMove,
+ [CONTEST_CATEGORY_SMART] = gText_SmartMove,
+ [CONTEST_CATEGORY_TOUGH] = gText_ToughMove,
+ [CONTEST_CATEGORIES_COUNT] = gText_3QuestionMarks
};
diff --git a/src/ereader_helpers.c b/src/ereader_helpers.c
index 7f0887790..2419c2806 100755
--- a/src/ereader_helpers.c
+++ b/src/ereader_helpers.c
@@ -448,7 +448,7 @@ static bool32 TryWriteTrainerHill_r(struct EReaderTrainerHillSet *ttdata, struct
AGB_ASSERT_EX(ttdata->id == 0, "cereader_tool.c", 452);
memset(buffer2, 0, 0x1000);
- buffer2->unkField_0 = ttdata->count;
+ buffer2->numTrainers = ttdata->count;
buffer2->unused1 = sub_81D38D4();
buffer2->numFloors = (ttdata->count + 1) / 2;
@@ -456,13 +456,13 @@ static bool32 TryWriteTrainerHill_r(struct EReaderTrainerHillSet *ttdata, struct
{
if (!(i & 1))
{
- buffer2->floors[i / 2].unk0 = ttdata->unk_8[i].unk0;
+ buffer2->floors[i / 2].trainerNum1 = ttdata->unk_8[i].unk0;
buffer2->floors[i / 2].display = ttdata->unk_8[i].unk14C;
buffer2->floors[i / 2].trainers[0] = ttdata->unk_8[i].unk4;
}
else
{
- buffer2->floors[i / 2].unk1 = ttdata->unk_8[i].unk0;
+ buffer2->floors[i / 2].trainerNum2 = ttdata->unk_8[i].unk0;
buffer2->floors[i / 2].trainers[1] = ttdata->unk_8[i].unk4;
}
}
diff --git a/src/field_control_avatar.c b/src/field_control_avatar.c
index b09a6f728..41b7a4dbf 100644
--- a/src/field_control_avatar.c
+++ b/src/field_control_avatar.c
@@ -33,6 +33,7 @@
#include "constants/map_types.h"
#include "constants/maps.h"
#include "constants/songs.h"
+#include "constants/trainer_hill.h"
static EWRAM_DATA u8 sWildEncounterImmunitySteps = 0;
static EWRAM_DATA u16 sPreviousPlayerMetatileBehavior = 0;
@@ -571,12 +572,12 @@ static bool8 TryStartStepCountScript(u16 metatileBehavior)
ScriptContext1_SetupScript(MauvilleCity_EventScript_RegisterWallyCall);
return TRUE;
}
- if (ShouldDoWinonaCall() == TRUE)
+ if (ShouldDoScottFortreeCall() == TRUE)
{
- ScriptContext1_SetupScript(Route119_EventScript_1F49EC);
+ ScriptContext1_SetupScript(Route119_EventScript_ScottWonAtFortreeGymCall);
return TRUE;
}
- if (ShouldDoScottCall() == TRUE)
+ if (ShouldDoScottBattleFrontierCall() == TRUE)
{
ScriptContext1_SetupScript(LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall);
return TRUE;
@@ -597,7 +598,7 @@ static bool8 TryStartStepCountScript(u16 metatileBehavior)
return TRUE;
if (CountSSTidalStep(1) == TRUE)
{
- ScriptContext1_SetupScript(SSTidalCorridor_EventScript_23C050);
+ ScriptContext1_SetupScript(SSTidalCorridor_EventScript_ReachedStepCount);
return TRUE;
}
if (TryStartMatchCall())
@@ -792,20 +793,16 @@ static void SetupWarp(struct MapHeader *unused, s8 warpEventId, struct MapPositi
if (trainerHillMapId)
{
- if (trainerHillMapId == sub_81D6490())
+ if (trainerHillMapId == GetNumFloorsInTrainerHillChallenge())
{
if (warpEventId == 0)
- {
warpEvent = &gMapHeader.events->warps[0];
- }
else
- {
- warpEvent = sub_81D6120();
- }
+ warpEvent = SetWarpDestinationTrainerHill4F();
}
- else if (trainerHillMapId == 5)
+ else if (trainerHillMapId == TRAINER_HILL_ROOF)
{
- warpEvent = sub_81D6134(warpEventId);
+ warpEvent = SetWarpDestinationTrainerHillFinalFloor(warpEventId);
}
else
{
diff --git a/src/field_special_scene.c b/src/field_special_scene.c
index 231f4dd42..439b1855a 100644
--- a/src/field_special_scene.c
+++ b/src/field_special_scene.c
@@ -14,6 +14,8 @@
#include "sprite.h"
#include "task.h"
#include "constants/event_objects.h"
+#include "constants/event_object_movement_constants.h"
+#include "constants/field_specials.h"
#include "constants/songs.h"
#include "constants/vars.h"
#include "constants/metatile_labels.h"
@@ -31,8 +33,18 @@ enum
//. rodata
static const s8 gTruckCamera_HorizontalTable[] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, -1, -1, -1, 0};
-const u8 gUnknown_0858E8AB[] = {0x18, 0xFE};
-const u8 gUnknown_0858E8AD[] = {0x17, 0xFE};
+
+static const u8 sSSTidalSailEastMovementScript[] =
+{
+ MOVEMENT_ACTION_WALK_FAST_RIGHT,
+ MOVEMENT_ACTION_STEP_END
+};
+
+static const u8 sSSTidalSailWestMovementScript[] =
+{
+ MOVEMENT_ACTION_WALK_FAST_LEFT,
+ MOVEMENT_ACTION_STEP_END
+};
// .text
static void Task_Truck3(u8);
@@ -256,7 +268,7 @@ bool8 sub_80FB59C(void)
void Task_HandlePorthole(u8 taskId)
{
s16 *data = gTasks[taskId].data;
- u16 *var = GetVarPointer(VAR_PORTHOLE_STATE);
+ u16 *cruiseState = GetVarPointer(VAR_SS_TIDAL_STATE);
struct WarpData *location = &gSaveBlock1Ptr->location;
switch (data[0])
@@ -268,40 +280,41 @@ void Task_HandlePorthole(u8 taskId)
data[0] = EXECUTE_MOVEMENT; // execute movement before checking if should be exited. strange?
}
break;
- case IDLE_CHECK: // idle and move.
+ case IDLE_CHECK:
if (gMain.newKeys & A_BUTTON)
data[1] = 1;
- if (!ScriptMovement_IsObjectMovementFinished(0xFF, location->mapNum, location->mapGroup))
+ if (!ScriptMovement_IsObjectMovementFinished(EVENT_OBJ_ID_PLAYER, location->mapNum, location->mapGroup))
return;
if (CountSSTidalStep(1) == TRUE)
{
- if (*var == 2)
- *var = 9;
+ if (*cruiseState == SS_TIDAL_DEPART_SLATEPORT)
+ *cruiseState = SS_TIDAL_EXIT_CURRENTS_RIGHT;
else
- *var = 10;
- data[0] = 3;
+ *cruiseState = SS_TIDAL_EXIT_CURRENTS_LEFT;
+ data[0] = EXIT_PORTHOLE;
return;
}
- data[0] = 2;
- case EXECUTE_MOVEMENT: // execute movement.
+ data[0] = EXECUTE_MOVEMENT;
+ //fallthrough
+ case EXECUTE_MOVEMENT:
if (data[1])
{
- data[0] = EXIT_PORTHOLE; // exit porthole.
+ data[0] = EXIT_PORTHOLE;
return;
}
- // run this once.
- if (*var == 2) // which direction?
+
+ if (*cruiseState == SS_TIDAL_DEPART_SLATEPORT)
{
- ScriptMovement_StartObjectMovementScript(0xFF, location->mapNum, location->mapGroup, gUnknown_0858E8AB);
- data[0] = IDLE_CHECK; // run case 1.
+ ScriptMovement_StartObjectMovementScript(EVENT_OBJ_ID_PLAYER, location->mapNum, location->mapGroup, sSSTidalSailEastMovementScript);
+ data[0] = IDLE_CHECK;
}
else
{
- ScriptMovement_StartObjectMovementScript(0xFF, location->mapNum, location->mapGroup, gUnknown_0858E8AD);
- data[0] = IDLE_CHECK; // run case 1.
+ ScriptMovement_StartObjectMovementScript(EVENT_OBJ_ID_PLAYER, location->mapNum, location->mapGroup, sSSTidalSailWestMovementScript);
+ data[0] = IDLE_CHECK;
}
break;
- case EXIT_PORTHOLE: // exit porthole.
+ case EXIT_PORTHOLE:
FlagClear(FLAG_DONT_TRANSITION_MUSIC);
FlagClear(FLAG_HIDE_MAP_NAME_POPUP);
SetWarpDestinationToDynamicWarp(0);
@@ -311,32 +324,28 @@ void Task_HandlePorthole(u8 taskId)
}
}
-void sub_80FB6EC(void)
+static void ShowSSTidalWhileSailing(void)
{
u8 spriteId = AddPseudoEventObject(EVENT_OBJ_GFX_SS_TIDAL, SpriteCallbackDummy, 112, 80, 0);
gSprites[spriteId].coordOffsetEnabled = FALSE;
- if (VarGet(VAR_PORTHOLE_STATE) == 2)
- {
- StartSpriteAnim(&gSprites[spriteId], GetFaceDirectionAnimNum(4));
- }
+ if (VarGet(VAR_SS_TIDAL_STATE) == SS_TIDAL_DEPART_SLATEPORT)
+ StartSpriteAnim(&gSprites[spriteId], GetFaceDirectionAnimNum(DIR_EAST));
else
- {
- StartSpriteAnim(&gSprites[spriteId], GetFaceDirectionAnimNum(3));
- }
+ StartSpriteAnim(&gSprites[spriteId], GetFaceDirectionAnimNum(DIR_WEST));
}
void sub_80FB768(void)
{
- sub_80FB6EC();
+ ShowSSTidalWhileSailing();
gEventObjects[gPlayerAvatar.eventObjectId].invisible = TRUE;
pal_fill_black();
CreateTask(Task_HandlePorthole, 80);
ScriptContext2_Enable();
}
-void sub_80FB7A4(void)
+void LookThroughPorthole(void)
{
FlagSet(FLAG_SYS_CRUISE_MODE);
FlagSet(FLAG_DONT_TRANSITION_MUSIC);
diff --git a/src/field_specials.c b/src/field_specials.c
index 0d9f495a9..57e0d087a 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -303,9 +303,10 @@ void ResetSSTidalFlag(void)
FlagClear(FLAG_SYS_CRUISE_MODE);
}
+// Returns TRUE if the Cruise is over
bool32 CountSSTidalStep(u16 delta)
{
- if (!FlagGet(FLAG_SYS_CRUISE_MODE) || (*GetVarPointer(VAR_CRUISE_STEP_COUNT) += delta) <= 0xcc)
+ if (!FlagGet(FLAG_SYS_CRUISE_MODE) || (*GetVarPointer(VAR_CRUISE_STEP_COUNT) += delta) < SS_TIDAL_MAX_STEPS)
{
return FALSE;
}
@@ -315,21 +316,21 @@ bool32 CountSSTidalStep(u16 delta)
u8 GetSSTidalLocation(s8 *mapGroup, s8 *mapNum, s16 *x, s16 *y)
{
u16 *varCruiseStepCount = GetVarPointer(VAR_CRUISE_STEP_COUNT);
- switch (*GetVarPointer(VAR_PORTHOLE_STATE))
+ switch (*GetVarPointer(VAR_SS_TIDAL_STATE))
{
- case 1:
- case 8:
+ case SS_TIDAL_BOARD_SLATEPORT:
+ case SS_TIDAL_LAND_SLATEPORT:
return SS_TIDAL_LOCATION_SLATEPORT;
- case 3:
- case 9:
+ case SS_TIDAL_HALFWAY_LILYCOVE:
+ case SS_TIDAL_EXIT_CURRENTS_RIGHT:
return SS_TIDAL_LOCATION_ROUTE131;
- case 4:
- case 5:
+ case SS_TIDAL_LAND_LILYCOVE:
+ case SS_TIDAL_BOARD_LILYCOVE:
return SS_TIDAL_LOCATION_LILYCOVE;
- case 6:
- case 10:
+ case SS_TIDAL_DEPART_LILYCOVE:
+ case SS_TIDAL_EXIT_CURRENTS_LEFT:
return SS_TIDAL_LOCATION_ROUTE124;
- case 2:
+ case SS_TIDAL_DEPART_SLATEPORT:
if (*varCruiseStepCount < 60)
{
*mapNum = MAP_NUM(ROUTE134);
@@ -346,7 +347,7 @@ u8 GetSSTidalLocation(s8 *mapGroup, s8 *mapNum, s16 *x, s16 *y)
*x = *varCruiseStepCount - 140;
}
break;
- case 7:
+ case SS_TIDAL_HALFWAY_SLATEPORT:
if (*varCruiseStepCount < 66)
{
*mapNum = MAP_NUM(ROUTE132);
@@ -395,9 +396,9 @@ bool32 ShouldDoWallyCall(void)
return TRUE;
}
-bool32 ShouldDoWinonaCall(void)
+bool32 ShouldDoScottFortreeCall(void)
{
- if (FlagGet(FLAG_REGISTER_WINONA_POKENAV))
+ if (FlagGet(FLAG_SCOTT_CALL_FORTREE_GYM))
{
switch (gMapHeader.mapType)
{
@@ -405,7 +406,7 @@ bool32 ShouldDoWinonaCall(void)
case MAP_TYPE_CITY:
case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_ROUTE:
- if (++(*GetVarPointer(VAR_WINONA_CALL_STEP_COUNTER)) < 10)
+ if (++(*GetVarPointer(VAR_SCOTT_FORTREE_CALL_STEP_COUNTER)) < 10)
{
return FALSE;
}
@@ -422,9 +423,9 @@ bool32 ShouldDoWinonaCall(void)
return TRUE;
}
-bool32 ShouldDoScottCall(void)
+bool32 ShouldDoScottBattleFrontierCall(void)
{
- if (FlagGet(FLAG_SCOTT_CALL_NATIONAL_DEX))
+ if (FlagGet(FLAG_SCOTT_CALL_BATTLE_FRONTIER))
{
switch (gMapHeader.mapType)
{
@@ -432,7 +433,7 @@ bool32 ShouldDoScottCall(void)
case MAP_TYPE_CITY:
case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_ROUTE:
- if (++(*GetVarPointer(VAR_SCOTT_CALL_STEP_COUNTER)) < 10)
+ if (++(*GetVarPointer(VAR_SCOTT_BF_CALL_STEP_COUNTER)) < 10)
{
return FALSE;
}
@@ -2082,78 +2083,78 @@ void ShowFrontierManiacMessage(void)
{
[FRONTIER_MANIAC_BATTLE_TOWER_SINGLES] =
{
- BattleFrontier_Lounge2_Text_260971,
- BattleFrontier_Lounge2_Text_260A1E,
- BattleFrontier_Lounge2_Text_260AE7
+ BattleFrontier_Lounge2_Text_SalonMaidenIsThere,
+ BattleFrontier_Lounge2_Text_SalonMaidenSilverMons,
+ BattleFrontier_Lounge2_Text_SalonMaidenGoldMons
},
[FRONTIER_MANIAC_BATTLE_TOWER_DOUBLES] =
{
- BattleFrontier_Lounge2_Text_2619AC,
- BattleFrontier_Lounge2_Text_261A91,
- BattleFrontier_Lounge2_Text_261B0C
+ BattleFrontier_Lounge2_Text_DoubleBattleAdvice1,
+ BattleFrontier_Lounge2_Text_DoubleBattleAdvice2,
+ BattleFrontier_Lounge2_Text_DoubleBattleAdvice3
},
[FRONTIER_MANIAC_BATTLE_TOWER_MULTIS] =
{
- BattleFrontier_Lounge2_Text_261B95,
- BattleFrontier_Lounge2_Text_261B95,
- BattleFrontier_Lounge2_Text_261B95
+ BattleFrontier_Lounge2_Text_MultiBattleAdvice,
+ BattleFrontier_Lounge2_Text_MultiBattleAdvice,
+ BattleFrontier_Lounge2_Text_MultiBattleAdvice
},
- [FRONTIER_MANIAC_BATTLE_TOWER_LINK_MULTIS] =
+ [FRONTIER_MANIAC_BATTLE_TOWER_LINK] =
{
- BattleFrontier_Lounge2_Text_261C1A,
- BattleFrontier_Lounge2_Text_261C1A,
- BattleFrontier_Lounge2_Text_261C1A
+ BattleFrontier_Lounge2_Text_LinkMultiBattleAdvice,
+ BattleFrontier_Lounge2_Text_LinkMultiBattleAdvice,
+ BattleFrontier_Lounge2_Text_LinkMultiBattleAdvice
},
[FRONTIER_MANIAC_BATTLE_DOME] =
{
- BattleFrontier_Lounge2_Text_260BC4,
- BattleFrontier_Lounge2_Text_260C6D,
- BattleFrontier_Lounge2_Text_260D3A
+ BattleFrontier_Lounge2_Text_DomeAceIsThere,
+ BattleFrontier_Lounge2_Text_DomeAceSilverMons,
+ BattleFrontier_Lounge2_Text_DomeAceGoldMons
},
[FRONTIER_MANIAC_BATTLE_FACTORY] =
{
- BattleFrontier_Lounge2_Text_260E1E,
- BattleFrontier_Lounge2_Text_260EC7,
- BattleFrontier_Lounge2_Text_260F74
+ BattleFrontier_Lounge2_Text_FactoryHeadIsThere,
+ BattleFrontier_Lounge2_Text_FactoryHeadSilverMons,
+ BattleFrontier_Lounge2_Text_FactoryHeadGoldMons
},
[FRONTIER_MANIAC_BATTLE_PALACE] =
{
- BattleFrontier_Lounge2_Text_2614E6,
- BattleFrontier_Lounge2_Text_261591,
- BattleFrontier_Lounge2_Text_26166F
+ BattleFrontier_Lounge2_Text_PalaceMavenIsThere,
+ BattleFrontier_Lounge2_Text_PalaceMavenSilverMons,
+ BattleFrontier_Lounge2_Text_PalaceMavenGoldMons
},
[FRONTIER_MANIAC_BATTLE_ARENA] =
{
- BattleFrontier_Lounge2_Text_261282,
- BattleFrontier_Lounge2_Text_261329,
- BattleFrontier_Lounge2_Text_261403
+ BattleFrontier_Lounge2_Text_ArenaTycoonIsThere,
+ BattleFrontier_Lounge2_Text_ArenaTycoonSilverMons,
+ BattleFrontier_Lounge2_Text_ArenaTycoonGoldMons
},
[FRONTIER_MANIAC_BATTLE_PIKE] =
{
- BattleFrontier_Lounge2_Text_261026,
- BattleFrontier_Lounge2_Text_2610CC,
- BattleFrontier_Lounge2_Text_261194
+ BattleFrontier_Lounge2_Text_PikeQueenIsThere,
+ BattleFrontier_Lounge2_Text_PikeQueenSilverMons,
+ BattleFrontier_Lounge2_Text_PikeQueenGoldMons
},
[FRONTIER_MANIAC_BATTLE_PYRAMID] =
{
- BattleFrontier_Lounge2_Text_26174D,
- BattleFrontier_Lounge2_Text_2617F9,
- BattleFrontier_Lounge2_Text_2618C4
+ BattleFrontier_Lounge2_Text_PyramidKingIsThere,
+ BattleFrontier_Lounge2_Text_PyramidKingSilverMons,
+ BattleFrontier_Lounge2_Text_PyramidKingGoldMons
},
};
static const u8 sFrontierManiacStreakThresholds[][FRONTIER_MANIAC_MESSAGE_COUNT - 1] =
{
- [FRONTIER_MANIAC_BATTLE_TOWER_SINGLES] = { 21, 56 },
- [FRONTIER_MANIAC_BATTLE_TOWER_DOUBLES] = { 21, 35 },
- [FRONTIER_MANIAC_BATTLE_TOWER_MULTIS] = { 255, 255 },
- [FRONTIER_MANIAC_BATTLE_TOWER_LINK_MULTIS] = { 255, 255 },
- [FRONTIER_MANIAC_BATTLE_DOME] = { 2, 4 },
- [FRONTIER_MANIAC_BATTLE_FACTORY] = { 7, 21 },
- [FRONTIER_MANIAC_BATTLE_PALACE] = { 7, 21 },
- [FRONTIER_MANIAC_BATTLE_ARENA] = { 14, 28 },
- [FRONTIER_MANIAC_BATTLE_PIKE] = { 13, 112 }, //BUG: 112 (0x70) is probably a mistake; the Pike Queen is battled twice well before that
- [FRONTIER_MANIAC_BATTLE_PYRAMID] = { 7, 56 }
+ [FRONTIER_MANIAC_BATTLE_TOWER_SINGLES] = { 21, 56 },
+ [FRONTIER_MANIAC_BATTLE_TOWER_DOUBLES] = { 21, 35 },
+ [FRONTIER_MANIAC_BATTLE_TOWER_MULTIS] = { 255, 255 },
+ [FRONTIER_MANIAC_BATTLE_TOWER_LINK] = { 255, 255 },
+ [FRONTIER_MANIAC_BATTLE_DOME] = { 2, 4 },
+ [FRONTIER_MANIAC_BATTLE_FACTORY] = { 7, 21 },
+ [FRONTIER_MANIAC_BATTLE_PALACE] = { 7, 21 },
+ [FRONTIER_MANIAC_BATTLE_ARENA] = { 14, 28 },
+ [FRONTIER_MANIAC_BATTLE_PIKE] = { 13, 112 }, //BUG: 112 (0x70) is probably a mistake; the Pike Queen is battled twice well before that
+ [FRONTIER_MANIAC_BATTLE_PYRAMID] = { 7, 56 }
};
u8 i;
@@ -2165,7 +2166,7 @@ void ShowFrontierManiacMessage(void)
case FRONTIER_MANIAC_BATTLE_TOWER_SINGLES:
case FRONTIER_MANIAC_BATTLE_TOWER_DOUBLES:
case FRONTIER_MANIAC_BATTLE_TOWER_MULTIS:
- case FRONTIER_MANIAC_BATTLE_TOWER_LINK_MULTIS:
+ case FRONTIER_MANIAC_BATTLE_TOWER_LINK:
if (gSaveBlock2Ptr->frontier.towerWinStreaks[facility][FRONTIER_LVL_50]
>= gSaveBlock2Ptr->frontier.towerWinStreaks[facility][FRONTIER_LVL_OPEN])
{
@@ -2903,18 +2904,18 @@ void ShowFrontierGamblerLookingMessage(void)
{
static const u8 *const sFrontierGamblerLookingMessages[] =
{
- BattleFrontier_Lounge3_Text_262261,
- BattleFrontier_Lounge3_Text_26230D,
- BattleFrontier_Lounge3_Text_2623B9,
- BattleFrontier_Lounge3_Text_262464,
- BattleFrontier_Lounge3_Text_26250E,
- BattleFrontier_Lounge3_Text_2625B8,
- BattleFrontier_Lounge3_Text_26266A,
- BattleFrontier_Lounge3_Text_26271C,
- BattleFrontier_Lounge3_Text_2627C9,
- BattleFrontier_Lounge3_Text_262876,
- BattleFrontier_Lounge3_Text_26291A,
- BattleFrontier_Lounge3_Text_2629BC,
+ BattleFrontier_Lounge3_Text_ChallengeBattleTowerSingle,
+ BattleFrontier_Lounge3_Text_ChallengeBattleTowerDouble,
+ BattleFrontier_Lounge3_Text_ChallengeBattleTowerMulti,
+ BattleFrontier_Lounge3_Text_ChallengeBattleDomeSingle,
+ BattleFrontier_Lounge3_Text_ChallengeBattleDomeDouble,
+ BattleFrontier_Lounge3_Text_ChallengeBattleFactorySingle,
+ BattleFrontier_Lounge3_Text_ChallengeBattleFactoryDouble,
+ BattleFrontier_Lounge3_Text_ChallengeBattlePalaceSingle,
+ BattleFrontier_Lounge3_Text_ChallengeBattlePalaceDouble,
+ BattleFrontier_Lounge3_Text_ChallengeBattleArena,
+ BattleFrontier_Lounge3_Text_ChallengeBattlePike,
+ BattleFrontier_Lounge3_Text_ChallengeBattlePyramid,
};
u16 challenge = VarGet(VAR_FRONTIER_GAMBLER_CHALLENGE);
@@ -2926,18 +2927,18 @@ void ShowFrontierGamblerGoMessage(void)
{
static const u8 *const sFrontierGamblerGoMessages[] =
{
- BattleFrontier_Lounge3_Text_262C04,
- BattleFrontier_Lounge3_Text_262C90,
- BattleFrontier_Lounge3_Text_262D1C,
- BattleFrontier_Lounge3_Text_262DA7,
- BattleFrontier_Lounge3_Text_262E34,
- BattleFrontier_Lounge3_Text_262EC1,
- BattleFrontier_Lounge3_Text_262F56,
- BattleFrontier_Lounge3_Text_262FEB,
- BattleFrontier_Lounge3_Text_263078,
- BattleFrontier_Lounge3_Text_263105,
- BattleFrontier_Lounge3_Text_26318C,
- BattleFrontier_Lounge3_Text_263211,
+ BattleFrontier_Lounge3_Text_GetToBattleTowerSingle,
+ BattleFrontier_Lounge3_Text_GetToBattleTowerDouble,
+ BattleFrontier_Lounge3_Text_GetToBattleTowerMulti,
+ BattleFrontier_Lounge3_Text_GetToBattleDomeSingle,
+ BattleFrontier_Lounge3_Text_GetToBattleDomeDouble,
+ BattleFrontier_Lounge3_Text_GetToBattleFactorySingle,
+ BattleFrontier_Lounge3_Text_GetToBattleFactoryDouble,
+ BattleFrontier_Lounge3_Text_GetToBattlePalaceSingle,
+ BattleFrontier_Lounge3_Text_GetToBattlePalaceDouble,
+ BattleFrontier_Lounge3_Text_GetToBattleArena,
+ BattleFrontier_Lounge3_Text_GetToBattlePike,
+ BattleFrontier_Lounge3_Text_GetToBattlePyramid,
};
ShowFieldMessage(sFrontierGamblerGoMessages[VarGet(VAR_FRONTIER_GAMBLER_SET_CHALLENGE)]);
@@ -3212,31 +3213,31 @@ static void ShowBattleFrontierTutorMoveDescription(u8 menu, u16 selection)
{
static const u8 *const sBattleFrontier_TutorMoveDescriptions1[] =
{
- BattleFrontier_Lounge7_Text_265E30,
- BattleFrontier_Lounge7_Text_265E5B,
- BattleFrontier_Lounge7_Text_265E8A,
- BattleFrontier_Lounge7_Text_265EC0,
- BattleFrontier_Lounge7_Text_265EED,
- BattleFrontier_Lounge7_Text_265F1C,
- BattleFrontier_Lounge7_Text_265F47,
- BattleFrontier_Lounge7_Text_265F77,
- BattleFrontier_Lounge7_Text_265FAA,
- BattleFrontier_Lounge7_Text_265FDD,
+ BattleFrontier_Lounge7_Text_SoftboiledDesc,
+ BattleFrontier_Lounge7_Text_SeismicTossDesc,
+ BattleFrontier_Lounge7_Text_DreamEaterDesc,
+ BattleFrontier_Lounge7_Text_MegaPunchDesc,
+ BattleFrontier_Lounge7_Text_MegaKickDesc,
+ BattleFrontier_Lounge7_Text_BodySlamDesc,
+ BattleFrontier_Lounge7_Text_RockSlideDesc,
+ BattleFrontier_Lounge7_Text_CounterDesc,
+ BattleFrontier_Lounge7_Text_ThunderWaveDesc,
+ BattleFrontier_Lounge7_Text_SwordsDanceDesc,
gText_Exit,
};
static const u8 *const sBattleFrontier_TutorMoveDescriptions2[] =
{
- BattleFrontier_Lounge7_Text_26600A,
- BattleFrontier_Lounge7_Text_26603E,
- BattleFrontier_Lounge7_Text_266070,
- BattleFrontier_Lounge7_Text_2660A6,
- BattleFrontier_Lounge7_Text_2660D0,
- BattleFrontier_Lounge7_Text_2660FF,
- BattleFrontier_Lounge7_Text_26612D,
- BattleFrontier_Lounge7_Text_26615F,
- BattleFrontier_Lounge7_Text_266185,
- BattleFrontier_Lounge7_Text_2661B5,
+ BattleFrontier_Lounge7_Text_DefenseCurlDesc,
+ BattleFrontier_Lounge7_Text_SnoreDesc,
+ BattleFrontier_Lounge7_Text_MudSlapDesc,
+ BattleFrontier_Lounge7_Text_SwiftDesc,
+ BattleFrontier_Lounge7_Text_IcyWindDesc,
+ BattleFrontier_Lounge7_Text_EndureDesc,
+ BattleFrontier_Lounge7_Text_PsychUpDesc,
+ BattleFrontier_Lounge7_Text_IcePunchDesc,
+ BattleFrontier_Lounge7_Text_ThunderPunchDesc,
+ BattleFrontier_Lounge7_Text_FirePunchDesc,
gText_Exit,
};
diff --git a/src/fieldmap.c b/src/fieldmap.c
index b2b80a2df..f595803ff 100644
--- a/src/fieldmap.c
+++ b/src/fieldmap.c
@@ -75,7 +75,7 @@ void InitBattlePyramidMap(bool8 setPlayerPosition)
void InitTrainerHillMap(void)
{
CpuFastFill(0x03ff03ff, gBackupMapData, sizeof(gBackupMapData));
- sub_81D5FB4(gBackupMapData);
+ GenerateTrainerHillFloorLayout(gBackupMapData);
}
static void InitMapLayoutData(struct MapHeader *mapHeader)
diff --git a/src/frontier_util.c b/src/frontier_util.c
index 4a17159a6..baf830af9 100644
--- a/src/frontier_util.c
+++ b/src/frontier_util.c
@@ -680,38 +680,38 @@ const u16 gFrontierBannedSpecies[] =
SPECIES_KYOGRE, SPECIES_GROUDON, SPECIES_RAYQUAZA, SPECIES_JIRACHI, SPECIES_DEOXYS, 0xFFFF
};
-static const u8 *const gUnknown_08611CB0[][2] =
-{
- {gText_BattleTower2, gUnknown_085ED164},
- {gText_BattleTower2, gUnknown_085ED170},
- {gText_BattleTower2, gUnknown_085ED17C},
- {gText_BattleDome, gUnknown_085ED164},
- {gText_BattlePalace, gUnknown_085ED164},
- {gText_BattleArena, gUnknown_085ED190},
- {gText_BattleFactory, gUnknown_085ED164},
- {gText_BattlePike, gUnknown_085ED190},
- {gText_BattlePyramid, gUnknown_085ED190},
- {gText_BattleTower2, gUnknown_085ED188},
+static const u8 *const sRecordsWindowChallengeTexts[][2] =
+{
+ [RANKING_HALL_BATTLE_TOWER_SINGLES] = {gText_BattleTower2, gText_FacilitySingle},
+ [RANKING_HALL_BATTLE_TOWER_DOUBLES] = {gText_BattleTower2, gText_FacilityDouble},
+ [RANKING_HALL_BATTLE_TOWER_MULTIS] = {gText_BattleTower2, gText_FacilityMulti},
+ [RANKING_HALL_BATTLE_DOME] = {gText_BattleDome, gText_FacilitySingle},
+ [RANKING_HALL_BATTLE_PALACE] = {gText_BattlePalace, gText_FacilitySingle},
+ [RANKING_HALL_BATTLE_ARENA] = {gText_BattleArena, gText_Facility},
+ [RANKING_HALL_BATTLE_FACTORY] = {gText_BattleFactory, gText_FacilitySingle},
+ [RANKING_HALL_BATTLE_PIKE] = {gText_BattlePike, gText_Facility},
+ [RANKING_HALL_BATTLE_PYRAMID] = {gText_BattlePyramid, gText_Facility},
+ [RANKING_HALL_BATTLE_TOWER_LINK] = {gText_BattleTower2, gText_FacilityLink},
};
-static const u8 *const gLevelModeText[] =
+static const u8 *const sLevelModeText[] =
{
gText_RecordsLv50,
gText_RecordsOpenLevel,
};
-static const u8 *const gHallFacilityToRecordsText[] =
-{
- gText_FrontierFacilityWinStreak,
- gText_FrontierFacilityWinStreak,
- gText_FrontierFacilityWinStreak,
- gText_FrontierFacilityClearStreak,
- gText_FrontierFacilityWinStreak,
- gText_FrontierFacilityKOsStreak,
- gText_FrontierFacilityWinStreak,
- gText_FrontierFacilityRoomsCleared,
- gText_FrontierFacilityFloorsCleared,
- gText_FrontierFacilityWinStreak,
+static const u8 *const sHallFacilityToRecordsText[] =
+{
+ [RANKING_HALL_BATTLE_TOWER_SINGLES] = gText_FrontierFacilityWinStreak,
+ [RANKING_HALL_BATTLE_TOWER_DOUBLES] = gText_FrontierFacilityWinStreak,
+ [RANKING_HALL_BATTLE_TOWER_MULTIS] = gText_FrontierFacilityWinStreak,
+ [RANKING_HALL_BATTLE_DOME] = gText_FrontierFacilityClearStreak,
+ [RANKING_HALL_BATTLE_PALACE] = gText_FrontierFacilityWinStreak,
+ [RANKING_HALL_BATTLE_ARENA] = gText_FrontierFacilityKOsStreak,
+ [RANKING_HALL_BATTLE_FACTORY] = gText_FrontierFacilityWinStreak,
+ [RANKING_HALL_BATTLE_PIKE] = gText_FrontierFacilityRoomsCleared,
+ [RANKING_HALL_BATTLE_PYRAMID] = gText_FrontierFacilityFloorsCleared,
+ [RANKING_HALL_BATTLE_TOWER_LINK] = gText_FrontierFacilityWinStreak,
};
static const u16 gFacilityToBrainTrainerId[] =
@@ -2220,8 +2220,8 @@ static void Print1PRecord(s32 position, s32 x, s32 y, struct RankingHall1P *hall
if (winStreak > 9999)
winStreak = 9999;
ConvertIntToDecimalStringN(gStringVar2, winStreak, STR_CONV_MODE_RIGHT_ALIGN, 4);
- StringExpandPlaceholders(gStringVar4, gHallFacilityToRecordsText[hallFacilityId]);
- AddTextPrinterParameterized(gRecordsWindowId, 1, gStringVar4, GetStringRightAlignXOffset(1, gHallFacilityToRecordsText[hallFacilityId], 0xC8), (8 * (y + 5 * position)) + 1, TEXT_SPEED_FF, NULL);
+ StringExpandPlaceholders(gStringVar4, sHallFacilityToRecordsText[hallFacilityId]);
+ AddTextPrinterParameterized(gRecordsWindowId, 1, gStringVar4, GetStringRightAlignXOffset(1, sHallFacilityToRecordsText[hallFacilityId], 0xC8), (8 * (y + 5 * position)) + 1, TEXT_SPEED_FF, NULL);
}
}
@@ -2247,8 +2247,8 @@ static void Print2PRecord(s32 position, s32 x, s32 y, struct RankingHall2P *hall
if (winStreak > 9999)
winStreak = 9999;
ConvertIntToDecimalStringN(gStringVar2, winStreak, STR_CONV_MODE_RIGHT_ALIGN, 4);
- StringExpandPlaceholders(gStringVar4, gHallFacilityToRecordsText[9]);
- AddTextPrinterParameterized(gRecordsWindowId, 1, gStringVar4, GetStringRightAlignXOffset(1, gHallFacilityToRecordsText[9], 0xC8), (8 * (y + 5 * position)) + 1, TEXT_SPEED_FF, NULL);
+ StringExpandPlaceholders(gStringVar4, sHallFacilityToRecordsText[RANKING_HALL_BATTLE_TOWER_LINK]);
+ AddTextPrinterParameterized(gRecordsWindowId, 1, gStringVar4, GetStringRightAlignXOffset(1, sHallFacilityToRecordsText[RANKING_HALL_BATTLE_TOWER_LINK], 0xC8), (8 * (y + 5 * position)) + 1, TEXT_SPEED_FF, NULL);
}
}
@@ -2327,12 +2327,12 @@ static void PrintHallRecords(s32 hallFacilityId, s32 lvlMode)
struct RankingHall1P records1P[3];
struct RankingHall2P records2P[3];
- StringCopy(gStringVar1, gUnknown_08611CB0[hallFacilityId][0]);
- StringExpandPlaceholders(gStringVar4, gUnknown_08611CB0[hallFacilityId][1]);
+ StringCopy(gStringVar1, sRecordsWindowChallengeTexts[hallFacilityId][0]);
+ StringExpandPlaceholders(gStringVar4, sRecordsWindowChallengeTexts[hallFacilityId][1]);
AddTextPrinterParameterized(gRecordsWindowId, 1, gStringVar4, 0, 1, TEXT_SPEED_FF, NULL);
- x = GetStringRightAlignXOffset(1, gLevelModeText[lvlMode], 0xD0);
- AddTextPrinterParameterized(gRecordsWindowId, 1, gLevelModeText[lvlMode], x, 1, TEXT_SPEED_FF, NULL);
- if (hallFacilityId == HALL_FACILITIES_COUNT)
+ x = GetStringRightAlignXOffset(1, sLevelModeText[lvlMode], 0xD0);
+ AddTextPrinterParameterized(gRecordsWindowId, 1, sLevelModeText[lvlMode], x, 1, TEXT_SPEED_FF, NULL);
+ if (hallFacilityId == RANKING_HALL_BATTLE_TOWER_LINK)
{
gSaveBlock2Ptr->frontier.opponentName[0][PLAYER_NAME_LENGTH] = EOS;
gSaveBlock2Ptr->frontier.opponentName[1][PLAYER_NAME_LENGTH] = EOS;
diff --git a/src/overworld.c b/src/overworld.c
index 42a39d03e..c2e3d2789 100644
--- a/src/overworld.c
+++ b/src/overworld.c
@@ -64,6 +64,7 @@
#include "constants/region_map_sections.h"
#include "constants/songs.h"
#include "constants/species.h"
+#include "constants/trainer_hill.h"
#include "constants/weather.h"
#define PLAYER_TRADING_STATE_IDLE 0x80
@@ -854,7 +855,7 @@ static void mli0_load_map(u32 a1)
if (gMapHeader.mapLayoutId == LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE)
LoadBattlePyramidEventObjectTemplates();
else if (InTrainerHill())
- sub_81D5DF8();
+ LoadTrainerHillEventObjectTemplates();
else
LoadEventObjTemplatesFromHeader();
}
@@ -1721,8 +1722,8 @@ void CB2_ContinueSavedGame(void)
trainerHillMapId = GetCurrentTrainerHillMapId();
if (gMapHeader.mapLayoutId == LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE)
LoadBattlePyramidFloorEventObjectScripts();
- else if (trainerHillMapId != 0 && trainerHillMapId != 6)
- sub_81D5F48();
+ else if (trainerHillMapId != 0 && trainerHillMapId != TRAINER_HILL_ENTRANCE)
+ LoadTrainerHillFloorEventObjectScripts();
else
LoadSaveblockEventObjScripts();
diff --git a/src/strings.c b/src/strings.c
index ef63b52c4..afa567b9f 100644
--- a/src/strings.c
+++ b/src/strings.c
@@ -1220,11 +1220,11 @@ const u8 gText_BattleArena[] = _("BATTLE ARENA");
const u8 gText_BattlePike[] = _("BATTLE PIKE");
const u8 gText_BattlePyramid[] = _("BATTLE PYRAMID");
-ALIGNED(4) const u8 gUnknown_085ED164[] = _("{STR_VAR_1} SINGLE");
-ALIGNED(4) const u8 gUnknown_085ED170[] = _("{STR_VAR_1} DOUBLE");
-ALIGNED(4) const u8 gUnknown_085ED17C[] = _("{STR_VAR_1} MULTI");
-ALIGNED(4) const u8 gUnknown_085ED188[] = _("{STR_VAR_1} LINK");
-ALIGNED(4) const u8 gUnknown_085ED190[] = _("{STR_VAR_1}");
+ALIGNED(4) const u8 gText_FacilitySingle[] = _("{STR_VAR_1} SINGLE");
+ALIGNED(4) const u8 gText_FacilityDouble[] = _("{STR_VAR_1} DOUBLE");
+ALIGNED(4) const u8 gText_FacilityMulti[] = _("{STR_VAR_1} MULTI");
+ALIGNED(4) const u8 gText_FacilityLink[] = _("{STR_VAR_1} LINK");
+ALIGNED(4) const u8 gText_Facility[] = _("{STR_VAR_1}");
const u8 gText_Give[] = _("Give");
const u8 gText_NoNeed[] = _("No need");
diff --git a/src/trainer_hill.c b/src/trainer_hill.c
index af6b0621d..b84920a62 100644
--- a/src/trainer_hill.c
+++ b/src/trainer_hill.c
@@ -22,6 +22,7 @@
#include "trainer_hill.h"
#include "window.h"
#include "util.h"
+#include "constants/battle_ai.h"
#include "constants/event_object_movement_constants.h"
#include "constants/event_objects.h"
#include "constants/items.h"
@@ -45,7 +46,7 @@ struct TrHillStruct2
{
u8 floorId;
struct TrHillTag tag;
- struct TrHillFloor floors[4];
+ struct TrHillFloor floors[NUM_TRAINER_HILL_FLOORS];
};
static EWRAM_DATA struct TrHillStruct2 *sHillData = NULL;
@@ -54,30 +55,30 @@ EWRAM_DATA u32 *gTrainerHillVBlankCounter = NULL;
// This file's functions.
static void TrainerHillStartChallenge(void);
-static void sub_81D58D8(void);
-static void sub_81D5924(void);
-static void sub_81D59D0(void);
+static void GetOwnerState(void);
+static void GiveChallengePrize(void);
+static void CheckFinalTime(void);
static void TrainerHillResumeTimer(void);
static void TrainerHillSetPlayerLost(void);
static void TrainerHillGetChallengeStatus(void);
-static void sub_81D5B2C(void);
-static void sub_81D5BBC(void);
-static void sub_81D5C00(void);
-static void GetInTrainerHill(void);
-static void sub_81D62B4(void);
-static void sub_81D64AC(void);
-static void sub_81D64DC(void);
-static void sub_81D64FC(void);
-static void sub_81D6518(void);
-static void sub_81D6568(void);
+static void BufferChallengeTime(void);
+static void GetAllFloorsUsed(void);
+static void ClearVarResult(void);
+static void IsTrainerHillChallengeActive(void);
+static void ShowTrainerHillPostBattleText(void);
+static void SetAllTrainerFlags(void);
+static void GetGameSaved(void);
+static void SetGameSaved(void);
+static void ClearGameSaved(void);
+static void GetChallengeWon(void);
static void TrainerHillSetTag(void);
static void SetUpDataStruct(void);
static void FreeDataStruct(void);
static void nullsub_2(void);
static void SetTimerValue(u32 *dst, u32 val);
static u32 GetTimerValue(u32 *src);
-static void sub_81D642C(struct Pokemon *mon, u8 level);
-static u16 sub_81D6640(void);
+static void SetTrainerHillMonLevel(struct Pokemon *mon, u8 level);
+static u16 GetPrizeItemId(void);
// const data
#include "data/battle_frontier/trainer_hill.h"
@@ -86,7 +87,7 @@ struct
{
u8 trainerClass;
u8 musicId;
-} static const gUnknown_0862A3B4[] =
+} static const sTrainerClassesAndMusic[] =
{
{TRAINER_CLASS_TEAM_AQUA, TRAINER_ENCOUNTER_MUSIC_AQUA},
{TRAINER_CLASS_AQUA_ADMIN, TRAINER_ENCOUNTER_MUSIC_AQUA},
@@ -144,63 +145,64 @@ struct
{TRAINER_CLASS_SCHOOL_KID, TRAINER_ENCOUNTER_MUSIC_MALE},
};
-static const u16 gUnknown_0862A48C[] = {ITEM_RARE_CANDY, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A498[] = {ITEM_LUXURY_BALL, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A4A4[] = {ITEM_MAX_REVIVE, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A4B0[] = {ITEM_MAX_ETHER, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A4BC[] = {ITEM_ELIXIR, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A4C8[] = {ITEM_TM05_ROAR, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A4D4[] = {ITEM_TM36_SLUDGE_BOMB, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A4E0[] = {ITEM_TM06_TOXIC, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A4EC[] = {ITEM_TM11_SUNNY_DAY, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A4F8[] = {ITEM_TM26_EARTHQUAKE, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A504[] = {ITEM_RARE_CANDY, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A510[] = {ITEM_LUXURY_BALL, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A51C[] = {ITEM_MAX_REVIVE, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A528[] = {ITEM_MAX_ETHER, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A534[] = {ITEM_ELIXIR, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A540[] = {ITEM_TM31_BRICK_BREAK, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A54C[] = {ITEM_TM41_TORMENT, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A558[] = {ITEM_TM48_SKILL_SWAP, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A564[] = {ITEM_TM19_GIGA_DRAIN, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-static const u16 gUnknown_0862A570[] = {ITEM_TM45_ATTRACT, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
-
-static const u16 *const gUnknown_0862A57C[] =
-{
- gUnknown_0862A48C,
- gUnknown_0862A498,
- gUnknown_0862A4A4,
- gUnknown_0862A4B0,
- gUnknown_0862A4BC,
- gUnknown_0862A4C8,
- gUnknown_0862A4D4,
- gUnknown_0862A4E0,
- gUnknown_0862A4EC,
- gUnknown_0862A4F8
+static const u16 sPrizeListRareCandy1[] = {ITEM_RARE_CANDY, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListLuxuryBall1[] = {ITEM_LUXURY_BALL, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListMaxRevive1[] = {ITEM_MAX_REVIVE, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListMaxEther1[] = {ITEM_MAX_ETHER, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListElixir1[] = {ITEM_ELIXIR, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListRoar[] = {ITEM_TM05_ROAR, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListSludgeBomb[] = {ITEM_TM36_SLUDGE_BOMB, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListToxic[] = {ITEM_TM06_TOXIC, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListSunnyDay[] = {ITEM_TM11_SUNNY_DAY, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListEarthQuake[] = {ITEM_TM26_EARTHQUAKE, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+
+static const u16 sPrizeListRareCandy2[] = {ITEM_RARE_CANDY, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListLuxuryBall2[] = {ITEM_LUXURY_BALL, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListMaxRevive2[] = {ITEM_MAX_REVIVE, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListMaxEther2[] = {ITEM_MAX_ETHER, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListElixir2[] = {ITEM_ELIXIR, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListBrickBreak[] = {ITEM_TM31_BRICK_BREAK, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListTorment[] = {ITEM_TM41_TORMENT, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListSkillSwap[] = {ITEM_TM48_SKILL_SWAP, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListGigaSwap[] = {ITEM_TM19_GIGA_DRAIN, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+static const u16 sPrizeListAttract[] = {ITEM_TM45_ATTRACT, ITEM_ETHER, ITEM_MAX_POTION, ITEM_REVIVE, ITEM_FLUFFY_TAIL, ITEM_GREAT_BALL};
+
+static const u16 *const sPrizeLists1[NUM_TRAINER_HILL_PRIZE_LISTS] =
+{
+ sPrizeListRareCandy1,
+ sPrizeListLuxuryBall1,
+ sPrizeListMaxRevive1,
+ sPrizeListMaxEther1,
+ sPrizeListElixir1,
+ sPrizeListRoar,
+ sPrizeListSludgeBomb,
+ sPrizeListToxic,
+ sPrizeListSunnyDay,
+ sPrizeListEarthQuake
};
-static const u16 *const gUnknown_0862A5A4[] =
-{
- gUnknown_0862A504,
- gUnknown_0862A510,
- gUnknown_0862A51C,
- gUnknown_0862A528,
- gUnknown_0862A534,
- gUnknown_0862A540,
- gUnknown_0862A54C,
- gUnknown_0862A558,
- gUnknown_0862A564,
- gUnknown_0862A570
+static const u16 *const sPrizeLists2[NUM_TRAINER_HILL_PRIZE_LISTS] =
+{
+ sPrizeListRareCandy2,
+ sPrizeListLuxuryBall2,
+ sPrizeListMaxRevive2,
+ sPrizeListMaxEther2,
+ sPrizeListElixir2,
+ sPrizeListBrickBreak,
+ sPrizeListTorment,
+ sPrizeListSkillSwap,
+ sPrizeListGigaSwap,
+ sPrizeListAttract
};
-static const u16 *const *const gUnknown_0862A5CC[] =
+static const u16 *const *const sPrizeListSets[] =
{
- gUnknown_0862A57C,
- gUnknown_0862A5A4
+ sPrizeLists1,
+ sPrizeLists2
};
-static const u16 gUnknown_0862A5D4[] = INCBIN_U16("graphics/pokenav/862A5D4.gbapal");
-static const u8 sRecordWinColors[] = {0, 2, 3};
+static const u16 sUnknown_0862A5D4[] = INCBIN_U16("graphics/pokenav/862A5D4.gbapal");
+static const u8 sRecordWinColors[] = {TEXT_COLOR_TRANSPARENT, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY};
static const struct TrHillTag *const sDataPerTag[] =
{
@@ -221,24 +223,24 @@ static const u8 *const sFloorStrings[] =
static void (* const sHillFunctions[])(void) =
{
- TrainerHillStartChallenge,
- sub_81D58D8,
- sub_81D5924,
- sub_81D59D0,
- TrainerHillResumeTimer,
- TrainerHillSetPlayerLost,
- TrainerHillGetChallengeStatus,
- sub_81D5B2C,
- sub_81D5BBC,
- sub_81D5C00,
- GetInTrainerHill,
- sub_81D62B4,
- sub_81D64AC,
- sub_81D64DC,
- sub_81D64FC,
- sub_81D6518,
- sub_81D6568,
- TrainerHillSetTag,
+ [TRAINER_HILL_FUNC_START] = TrainerHillStartChallenge,
+ [TRAINER_HILL_FUNC_GET_OWNER_STATE] = GetOwnerState,
+ [TRAINER_HILL_FUNC_GIVE_PRIZE] = GiveChallengePrize,
+ [TRAINER_HILL_FUNC_CHECK_FINAL_TIME] = CheckFinalTime,
+ [TRAINER_HILL_FUNC_RESUME_TIMER] = TrainerHillResumeTimer,
+ [TRAINER_HILL_FUNC_SET_LOST] = TrainerHillSetPlayerLost,
+ [TRAINER_HILL_FUNC_GET_CHALLENGE_STATUS] = TrainerHillGetChallengeStatus,
+ [TRAINER_HILL_FUNC_GET_CHALLENGE_TIME] = BufferChallengeTime,
+ [TRAINER_HILL_FUNC_GET_ALL_FLOORS_USED] = GetAllFloorsUsed,
+ [TRAINER_HILL_FUNC_CLEAR_RESULT] = ClearVarResult,
+ [TRAINER_HILL_FUNC_IN_CHALLENGE] = IsTrainerHillChallengeActive,
+ [TRAINER_HILL_FUNC_POST_BATTLE_TEXT] = ShowTrainerHillPostBattleText,
+ [TRAINER_HILL_FUNC_SET_ALL_TRAINER_FLAGS] = SetAllTrainerFlags,
+ [TRAINER_HILL_FUNC_GET_GAME_SAVED] = GetGameSaved,
+ [TRAINER_HILL_FUNC_SET_GAME_SAVED] = SetGameSaved,
+ [TRAINER_HILL_FUNC_CLEAR_GAME_SAVED] = ClearGameSaved,
+ [TRAINER_HILL_FUNC_GET_WON] = GetChallengeWon,
+ [TRAINER_HILL_FUNC_SET_TAG] = TrainerHillSetTag,
};
static const u8 *const sTagMatchStrings[] =
@@ -249,7 +251,7 @@ static const u8 *const sTagMatchStrings[] =
gText_ExpertTagMatch,
};
-static const struct EventObjectTemplate gUnknown_0862A670 =
+static const struct EventObjectTemplate sTrainerEventObjectTemplate =
{
.graphicsId = EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL,
.elevation = 3,
@@ -259,8 +261,18 @@ static const struct EventObjectTemplate gUnknown_0862A670 =
.trainerType = 1,
};
-static const u32 gUnknown_0862A688[] = {MAP_NUM(TRAINER_HILL_2F), MAP_NUM(TRAINER_HILL_3F), MAP_NUM(TRAINER_HILL_4F), MAP_NUM(TRAINER_HILL_ROOF)};
-static const u8 gUnknown_0862A698[][3] = {{0, 1, 2}, {3, 4, 5}};
+static const u32 sNextFloorMapNum[NUM_TRAINER_HILL_FLOORS] =
+{
+ MAP_NUM(TRAINER_HILL_2F),
+ MAP_NUM(TRAINER_HILL_3F),
+ MAP_NUM(TRAINER_HILL_4F),
+ MAP_NUM(TRAINER_HILL_ROOF)
+};
+static const u8 sTrainerPartySlots[][PARTY_SIZE / 2] =
+{
+ {0, 1, 2},
+ {3, 4, 5}
+};
// code
void CallTrainerHillFunction(void)
@@ -274,8 +286,8 @@ void ResetTrainerHillResults(void)
{
s32 i;
- gSaveBlock2Ptr->frontier.field_EF9_1 = 0;
- gSaveBlock2Ptr->frontier.field_EF9_0 = 0;
+ gSaveBlock2Ptr->frontier.savedGame = 0;
+ gSaveBlock2Ptr->frontier.unk_EF9 = 0;
gSaveBlock1Ptr->trainerHill.bestTime = 0;
for (i = 0; i < 4; i++)
SetTimerValue(&gSaveBlock1Ptr->trainerHillTimes[i], HILL_MAX_TIME);
@@ -366,16 +378,16 @@ void CopyTrainerHillTrainerText(u8 which, u16 trainerId)
switch (which)
{
- case 2:
+ case TRAINER_HILL_TEXT_INTRO:
FrontierSpeechToString(sHillData->floors[floorId].trainers[id].speechBefore);
break;
- case 3:
+ case TRAINER_HILL_TEXT_PLAYER_LOST:
FrontierSpeechToString(sHillData->floors[floorId].trainers[id].speechWin);
break;
- case 4:
+ case TRAINER_HILL_TEXT_PLAYER_WON:
FrontierSpeechToString(sHillData->floors[floorId].trainers[id].speechLose);
break;
- case 5:
+ case TRAINER_HILL_TEXT_AFTER:
FrontierSpeechToString(sHillData->floors[floorId].trainers[id].speechAfter);
break;
}
@@ -391,42 +403,42 @@ static void TrainerHillStartChallenge(void)
else
gSaveBlock1Ptr->trainerHill.field_3D6E_0f = 0;
- gSaveBlock1Ptr->trainerHill.field_3D6C = 0;
+ gSaveBlock1Ptr->trainerHill.unk_3D6C = 0;
SetTrainerHillVBlankCounter(&gSaveBlock1Ptr->trainerHill.timer);
gSaveBlock1Ptr->trainerHill.timer = 0;
- gSaveBlock1Ptr->trainerHill.field_3D6E_0c = 0;
- gSaveBlock1Ptr->trainerHill.field_3D6E_0b = 0;
+ gSaveBlock1Ptr->trainerHill.spokeToOwner = 0;
+ gSaveBlock1Ptr->trainerHill.checkedFinalTime = 0;
gSaveBlock1Ptr->trainerHill.maybeECardScanDuringChallenge = 0;
- gSaveBlock2Ptr->frontier.field_EE0 = 0;
+ gSaveBlock2Ptr->frontier.trainerFlags = 0;
gBattleOutcome = 0;
- gSaveBlock1Ptr->trainerHill.field_3D6E_0a = 0;
+ gSaveBlock1Ptr->trainerHill.receivedPrize = 0;
}
-static void sub_81D58D8(void)
+static void GetOwnerState(void)
{
ClearTrainerHillVBlankCounter();
gSpecialVar_Result = 0;
- if (gSaveBlock1Ptr->trainerHill.field_3D6E_0c)
+ if (gSaveBlock1Ptr->trainerHill.spokeToOwner)
gSpecialVar_Result++;
- if (gSaveBlock1Ptr->trainerHill.field_3D6E_0a && gSaveBlock1Ptr->trainerHill.field_3D6E_0b)
+ if (gSaveBlock1Ptr->trainerHill.receivedPrize && gSaveBlock1Ptr->trainerHill.checkedFinalTime)
gSpecialVar_Result++;
- gSaveBlock1Ptr->trainerHill.field_3D6E_0c = 1;
+ gSaveBlock1Ptr->trainerHill.spokeToOwner = TRUE;
}
-static void sub_81D5924(void)
+static void GiveChallengePrize(void)
{
- u16 itemId = sub_81D6640();
+ u16 itemId = GetPrizeItemId();
- if (sHillData->tag.numFloors != 4 || gSaveBlock1Ptr->trainerHill.field_3D6E_0a)
+ if (sHillData->tag.numFloors != NUM_TRAINER_HILL_FLOORS || gSaveBlock1Ptr->trainerHill.receivedPrize)
{
gSpecialVar_Result = 2;
}
else if (AddBagItem(itemId, 1) == TRUE)
{
CopyItemName(itemId, gStringVar2);
- gSaveBlock1Ptr->trainerHill.field_3D6E_0a = 1;
- gSaveBlock2Ptr->frontier.field_EF9_0 = 0;
+ gSaveBlock1Ptr->trainerHill.receivedPrize = TRUE;
+ gSaveBlock2Ptr->frontier.unk_EF9 = 0;
gSpecialVar_Result = 0;
}
else
@@ -435,9 +447,11 @@ static void sub_81D5924(void)
}
}
-static void sub_81D59D0(void)
+// If bestTime > timer, the challenge was completed faster and its a new record
+// Otherwise the owner says it was a slow time and to complete it faster next time
+static void CheckFinalTime(void)
{
- if (gSaveBlock1Ptr->trainerHill.field_3D6E_0b)
+ if (gSaveBlock1Ptr->trainerHill.checkedFinalTime)
{
gSpecialVar_Result = 2;
}
@@ -452,12 +466,12 @@ static void sub_81D59D0(void)
gSpecialVar_Result = 1;
}
- gSaveBlock1Ptr->trainerHill.field_3D6E_0b = 1;
+ gSaveBlock1Ptr->trainerHill.checkedFinalTime = TRUE;
}
static void TrainerHillResumeTimer(void)
{
- if (!gSaveBlock1Ptr->trainerHill.field_3D6E_0c)
+ if (!gSaveBlock1Ptr->trainerHill.spokeToOwner)
{
if (gSaveBlock1Ptr->trainerHill.timer >= HILL_MAX_TIME)
gSaveBlock1Ptr->trainerHill.timer = HILL_MAX_TIME;
@@ -468,7 +482,7 @@ static void TrainerHillResumeTimer(void)
static void TrainerHillSetPlayerLost(void)
{
- gSaveBlock1Ptr->trainerHill.hasLost = 1;
+ gSaveBlock1Ptr->trainerHill.hasLost = TRUE;
}
static void TrainerHillGetChallengeStatus(void)
@@ -476,7 +490,7 @@ static void TrainerHillGetChallengeStatus(void)
if (gSaveBlock1Ptr->trainerHill.hasLost)
{
// The player lost their last match.
- gSaveBlock1Ptr->trainerHill.hasLost = 0;
+ gSaveBlock1Ptr->trainerHill.hasLost = FALSE;
gSpecialVar_Result = TRAINER_HILL_PLAYER_STATUS_LOST;
}
else if (gSaveBlock1Ptr->trainerHill.maybeECardScanDuringChallenge)
@@ -492,7 +506,7 @@ static void TrainerHillGetChallengeStatus(void)
}
}
-static void sub_81D5B2C(void)
+static void BufferChallengeTime(void)
{
s32 total, minutes, secondsWhole, secondsFraction;
@@ -511,23 +525,27 @@ static void sub_81D5B2C(void)
ConvertIntToDecimalStringN(gStringVar3, secondsFraction, STR_CONV_MODE_LEADING_ZEROS, 2);
}
-static void sub_81D5BBC(void)
+// Returns TRUE if all 4 floors are used
+// Returns FALSE otherwise, and buffers the number of floors used
+// The only time fewer than all 4 floors are used is for the JP-exclusive E-Reader and Default modes
+static void GetAllFloorsUsed(void)
{
SetUpDataStruct();
- if (sHillData->tag.numFloors != 4)
+ if (sHillData->tag.numFloors != NUM_TRAINER_HILL_FLOORS)
{
ConvertIntToDecimalStringN(gStringVar1, sHillData->tag.numFloors, STR_CONV_MODE_LEFT_ALIGN, 1);
- gSpecialVar_Result = 0;
+ gSpecialVar_Result = FALSE;
}
else
{
- gSpecialVar_Result = 1;
+ gSpecialVar_Result = TRUE;
}
FreeDataStruct();
}
-static void sub_81D5C00(void)
+// May have been dummied. Every time this is called a conditional for var result occurs afterwards
+static void ClearVarResult(void)
{
SetUpDataStruct();
gSpecialVar_Result = 0;
@@ -538,7 +556,7 @@ bool8 InTrainerHillChallenge(void)
{
if (VarGet(VAR_TRAINER_HILL_IS_ACTIVE) == 0)
return FALSE;
- else if (gSaveBlock1Ptr->trainerHill.field_3D6E_0c)
+ else if (gSaveBlock1Ptr->trainerHill.spokeToOwner)
return FALSE;
else if (GetCurrentTrainerHillMapId() != 0)
return TRUE;
@@ -546,12 +564,12 @@ bool8 InTrainerHillChallenge(void)
return FALSE;
}
-static void GetInTrainerHill(void)
+static void IsTrainerHillChallengeActive(void)
{
if (!InTrainerHillChallenge())
- gSpecialVar_Result = 0;
+ gSpecialVar_Result = FALSE;
else
- gSpecialVar_Result = 1;
+ gSpecialVar_Result = TRUE;
}
void nullsub_129(void)
@@ -611,12 +629,12 @@ static void SetTimerValue(u32 *dst, u32 val)
*dst = val;
}
-void sub_81D5DF8(void)
+void LoadTrainerHillEventObjectTemplates(void)
{
u8 i, floorId;
struct EventObjectTemplate *eventTemplates = gSaveBlock1Ptr->eventObjectTemplates;
- if (!sub_81D5F48())
+ if (!LoadTrainerHillFloorEventObjectScripts())
return;
SetUpDataStruct();
@@ -629,7 +647,7 @@ void sub_81D5DF8(void)
{
u8 bits;
- eventTemplates[i] = gUnknown_0862A670;
+ eventTemplates[i] = sTrainerEventObjectTemplate;
eventTemplates[i].localId = i + 1;
eventTemplates[i].graphicsId = FacilityClassToGraphicsId(sHillData->floors[floorId].trainers[i].facilityClass);
eventTemplates[i].x = sHillData->floors[floorId].display.coords[i] & 0xF;
@@ -637,16 +655,17 @@ void sub_81D5DF8(void)
bits = i << 2;
eventTemplates[i].movementType = ((sHillData->floors[floorId].display.direction >> bits) & 0xF) + MOVEMENT_TYPE_FACE_UP;
eventTemplates[i].trainerRange_berryTreeId = (sHillData->floors[floorId].display.range >> bits) & 0xF;
- eventTemplates[i].script = EventScript_2C83F0;
+ eventTemplates[i].script = TrainerHill_EventScript_TrainerBattle;
gSaveBlock2Ptr->frontier.trainerIds[i] = i + 1;
}
FreeDataStruct();
}
-bool32 sub_81D5F48(void)
+bool32 LoadTrainerHillFloorEventObjectScripts(void)
{
SetUpDataStruct();
+ // Something may have been dummied here
FreeDataStruct();
return TRUE;
}
@@ -657,8 +676,8 @@ static u32 sub_81D5F58(u8 floorId, u32 bit, u32 arg2, u32 arg3)
{
u32 var0, var1, var2, var3;
- var0 = (sHillData->floors[floorId].unk3A0[arg2] >> (15 - bit)) & 1;
- var1 = sHillData->floors[floorId].data[arg2 * arg3 + bit];
+ var0 = (sHillData->floors[floorId].display.unk3A0[arg2] >> (15 - bit)) & 1;
+ var1 = sHillData->floors[floorId].display.data[arg2 * arg3 + bit];
var3 = 0x200;
var2 = 0x3000;
@@ -716,20 +735,20 @@ static u32 sub_81D5F58(u8 floorId, u32 bit, u32 arg2, u32 arg3)
}
#endif // NONMATCHING
-void sub_81D5FB4(u16 *mapArg)
+void GenerateTrainerHillFloorLayout(u16 *mapArg)
{
s32 i, j;
u16 *src, *dst;
u8 mapId = GetCurrentTrainerHillMapId();
- if (mapId == 6)
+ if (mapId == TRAINER_HILL_ENTRANCE)
{
InitMapFromSavedGame();
return;
}
SetUpDataStruct();
- if (mapId == 5)
+ if (mapId == TRAINER_HILL_ROOF)
{
InitMapFromSavedGame();
FreeDataStruct();
@@ -766,9 +785,9 @@ bool32 InTrainerHill(void)
bool32 ret;
if (gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_1F
- || gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_2F
- || gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_3F
- || gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_4F)
+ || gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_2F
+ || gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_3F
+ || gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_4F)
ret = TRUE;
else
ret = FALSE;
@@ -778,58 +797,61 @@ bool32 InTrainerHill(void)
u8 GetCurrentTrainerHillMapId(void)
{
- u8 ret;
+ u8 mapId;
if (gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_1F)
- ret = 1;
+ mapId = TRAINER_HILL_1F;
else if (gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_2F)
- ret = 2;
+ mapId = TRAINER_HILL_2F;
else if (gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_3F)
- ret = 3;
+ mapId = TRAINER_HILL_3F;
else if (gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_4F)
- ret = 4;
+ mapId = TRAINER_HILL_4F;
else if (gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_ROOF)
- ret = 5;
+ mapId = TRAINER_HILL_ROOF;
else if (gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_ENTRANCE)
- ret = 6;
+ mapId = TRAINER_HILL_ENTRANCE;
else
- ret = 0;
+ mapId = 0;
- return ret;
+ return mapId;
}
-static bool32 sub_81D6100(void)
+// Unused
+static bool32 OnTrainerHillRoof(void)
{
- bool32 ret;
+ bool32 onRoof;
if (gMapHeader.mapLayoutId == LAYOUT_TRAINER_HILL_ROOF)
- ret = TRUE;
+ onRoof = TRUE;
else
- ret = FALSE;
+ onRoof = FALSE;
- return ret;
+ return onRoof;
}
-const struct WarpEvent* sub_81D6120(void)
+const struct WarpEvent* SetWarpDestinationTrainerHill4F(void)
{
const struct MapHeader *header = Overworld_GetMapHeaderByGroupAndId(MAP_GROUP(TRAINER_HILL_4F), MAP_NUM(TRAINER_HILL_4F));
return &header->events->warps[1];
}
-const struct WarpEvent* sub_81D6134(u8 warpEventId)
+// For warping from the roof in challenges where the 4F is not the final challenge floor
+// This would only occur in the JP-exclusive Default and E-Reader challenges
+const struct WarpEvent* SetWarpDestinationTrainerHillFinalFloor(u8 warpEventId)
{
- u8 id;
+ u8 numFloors;
const struct MapHeader *header;
if (warpEventId == 1)
return &gMapHeader.events->warps[1];
- id = sub_81D6490();
- if (id == 0 || id >= 5)
- id = 4;
+ numFloors = GetNumFloorsInTrainerHillChallenge();
+ if (numFloors == 0 || numFloors > NUM_TRAINER_HILL_FLOORS)
+ numFloors = NUM_TRAINER_HILL_FLOORS;
- header = Overworld_GetMapHeaderByGroupAndId(MAP_GROUP(TRAINER_HILL_4F), gUnknown_0862A688[id - 1]);
+ header = Overworld_GetMapHeaderByGroupAndId(MAP_GROUP(TRAINER_HILL_4F), sNextFloorMapNum[numFloors - 1]);
return &header->events->warps[0];
}
@@ -843,7 +865,7 @@ bool8 GetHillTrainerFlag(u8 eventObjectId)
u32 floorId = GetFloorId() * 2;
u8 bitId = gEventObjects[eventObjectId].localId - 1 + floorId;
- return gSaveBlock2Ptr->frontier.field_EE0 & gBitTable[bitId];
+ return gSaveBlock2Ptr->frontier.trainerFlags & gBitTable[bitId];
}
void SetHillTrainerFlag(void)
@@ -855,7 +877,7 @@ void SetHillTrainerFlag(void)
{
if (gSaveBlock2Ptr->frontier.trainerIds[i] == gTrainerBattleOpponent_A)
{
- gSaveBlock2Ptr->frontier.field_EE0 |= gBitTable[floorId + i];
+ gSaveBlock2Ptr->frontier.trainerFlags |= gBitTable[floorId + i];
break;
}
}
@@ -866,7 +888,7 @@ void SetHillTrainerFlag(void)
{
if (gSaveBlock2Ptr->frontier.trainerIds[i] == gTrainerBattleOpponent_B)
{
- gSaveBlock2Ptr->frontier.field_EE0 |= gBitTable[floorId + i];
+ gSaveBlock2Ptr->frontier.trainerFlags |= gBitTable[floorId + i];
break;
}
}
@@ -875,19 +897,19 @@ void SetHillTrainerFlag(void)
const u8 *GetTrainerHillTrainerScript(void)
{
- return EventScript_2C83F0;
+ return TrainerHill_EventScript_TrainerBattle;
}
-static void sub_81D62B4(void)
+static void ShowTrainerHillPostBattleText(void)
{
- CopyTrainerHillTrainerText(5, gSpecialVar_LastTalked);
+ CopyTrainerHillTrainerText(TRAINER_HILL_TEXT_AFTER, gSpecialVar_LastTalked);
sub_80982B8();
}
-static void sub_81D62CC(u16 trainerId, u8 firstMonId)
+static void CreateNPCTrainerHillParty(u16 trainerId, u8 firstMonId)
{
u8 trId, level;
- s32 i, floorId, arrId;
+ s32 i, floorId, partySlot;
if (trainerId == 0 || trainerId > 2)
return;
@@ -896,13 +918,13 @@ static void sub_81D62CC(u16 trainerId, u8 firstMonId)
SetUpDataStruct();
level = GetHighestLevelInPlayerParty();
floorId = GetFloorId();
- for (i = firstMonId, arrId = 0; i < firstMonId + 3; i++, arrId++)
+ for (i = firstMonId, partySlot = 0; i < firstMonId + 3; i++, partySlot++)
{
- u8 id = gUnknown_0862A698[trId][arrId];
+ u8 id = sTrainerPartySlots[trId][partySlot];
struct Pokemon *mon = &gEnemyParty[i];
CreateBattleTowerMon(mon, &sHillData->floors[floorId].trainers[trId].mons[id]);
- sub_81D642C(mon, level);
+ SetTrainerHillMonLevel(mon, level);
}
FreeDataStruct();
@@ -911,22 +933,22 @@ static void sub_81D62CC(u16 trainerId, u8 firstMonId)
void FillHillTrainerParty(void)
{
ZeroEnemyPartyMons();
- sub_81D62CC(gTrainerBattleOpponent_A, 0);
+ CreateNPCTrainerHillParty(gTrainerBattleOpponent_A, 0);
}
void FillHillTrainersParties(void)
{
ZeroEnemyPartyMons();
- sub_81D62CC(gTrainerBattleOpponent_A, 0);
- sub_81D62CC(gTrainerBattleOpponent_B, 3);
+ CreateNPCTrainerHillParty(gTrainerBattleOpponent_A, 0);
+ CreateNPCTrainerHillParty(gTrainerBattleOpponent_B, 3);
}
// This function is unused, but my best guess is
// it was supposed to return AI scripts for trainer
// hill trainers.
-u32 sub_81D63C4(void)
+u32 GetTrainerHillAIFlags(void)
{
- return 7;
+ return (AI_SCRIPT_CHECK_BAD_MOVE | AI_SCRIPT_TRY_TO_FAINT | AI_SCRIPT_CHECK_VIABILITY);
}
u8 GetTrainerEncounterMusicIdInTrainerHill(u16 trainerId)
@@ -939,16 +961,16 @@ u8 GetTrainerEncounterMusicIdInTrainerHill(u16 trainerId)
facilityClass = sHillData->floors[sHillData->floorId].trainers[trId].facilityClass;
FreeDataStruct();
- for (i = 0; i < ARRAY_COUNT(gUnknown_0862A3B4); i++)
+ for (i = 0; i < ARRAY_COUNT(sTrainerClassesAndMusic); i++)
{
- if (gUnknown_0862A3B4[i].trainerClass == gFacilityClassToTrainerClass[facilityClass])
- return gUnknown_0862A3B4[i].musicId;
+ if (sTrainerClassesAndMusic[i].trainerClass == gFacilityClassToTrainerClass[facilityClass])
+ return sTrainerClassesAndMusic[i].musicId;
}
return 0;
}
-static void sub_81D642C(struct Pokemon *mon, u8 level)
+static void SetTrainerHillMonLevel(struct Pokemon *mon, u8 level)
{
u16 species = GetMonData(mon, MON_DATA_SPECIES, NULL);
u32 exp = gExperienceTables[gBaseStats[species].growthRate][level];
@@ -958,61 +980,63 @@ static void sub_81D642C(struct Pokemon *mon, u8 level)
CalculateMonStats(mon);
}
-u8 sub_81D6490(void)
+u8 GetNumFloorsInTrainerHillChallenge(void)
{
- u8 ret;
+ u8 floors;
SetUpDataStruct();
- ret = sHillData->tag.numFloors;
+ floors = sHillData->tag.numFloors;
FreeDataStruct();
- return ret;
+ return floors;
}
-static void sub_81D64AC(void)
+static void SetAllTrainerFlags(void)
{
- gSaveBlock2Ptr->frontier.field_EE0 = 0xFF;
+ gSaveBlock2Ptr->frontier.trainerFlags = 0xFF;
}
+// Palette never loaded, sub_81D6534 always FALSE
void sub_81D64C0(void)
{
if (sub_81D6534() == TRUE)
- LoadPalette(gUnknown_0862A5D4, 0x70, 0x20);
+ LoadPalette(sUnknown_0862A5D4, 0x70, 0x20);
}
-static void sub_81D64DC(void)
+static void GetGameSaved(void)
{
- gSpecialVar_Result = gSaveBlock2Ptr->frontier.field_EF9_1;
+ gSpecialVar_Result = gSaveBlock2Ptr->frontier.savedGame;
}
-static void sub_81D64FC(void)
+static void SetGameSaved(void)
{
- gSaveBlock2Ptr->frontier.field_EF9_1 = 1;
+ gSaveBlock2Ptr->frontier.savedGame = TRUE;
}
-static void sub_81D6518(void)
+static void ClearGameSaved(void)
{
- gSaveBlock2Ptr->frontier.field_EF9_1 = 0;
+ gSaveBlock2Ptr->frontier.savedGame = FALSE;
}
+// Always FALSE
bool32 sub_81D6534(void)
{
- if (!InTrainerHillChallenge() || GetCurrentTrainerHillMapId() == 6)
+ if (!InTrainerHillChallenge() || GetCurrentTrainerHillMapId() == TRAINER_HILL_ENTRANCE)
return FALSE;
- sub_81D5C00();
+ ClearVarResult();
if (gSpecialVar_Result == 0)
return FALSE;
else
return TRUE;
}
-static void sub_81D6568(void)
+static void GetChallengeWon(void)
{
if (gSaveBlock1Ptr->trainerHill.hasLost)
- gSpecialVar_Result = 0;
+ gSpecialVar_Result = FALSE;
else
- gSpecialVar_Result = 1;
+ gSpecialVar_Result = TRUE;
}
static void TrainerHillSetTag(void)
@@ -1021,49 +1045,50 @@ static void TrainerHillSetTag(void)
gSaveBlock1Ptr->trainerHill.bestTime = gSaveBlock1Ptr->trainerHillTimes[gSpecialVar_0x8005];
}
-static u8 sub_81D65E8(u8 arg0)
+static u8 GetPrizeListId(bool8 maxTrainers)
{
- u8 var, i, modBy;
+ u8 prizeListId, i, modBy;
- var = 0;
- for (i = 0; i < 4; i++)
+ prizeListId = 0;
+ for (i = 0; i < NUM_TRAINER_HILL_FLOORS; i++)
{
- var ^= sHillData->floors[i].unk0 & 0x1F;
- var ^= sHillData->floors[i].unk1 & 0x1F;
+ prizeListId ^= sHillData->floors[i].trainerNum1 & 0x1F;
+ prizeListId ^= sHillData->floors[i].trainerNum2 & 0x1F;
}
- if (arg0)
- modBy = 10;
+ // Not possible to win TMs with fewer than 8 trainers
+ if (maxTrainers)
+ modBy = NUM_TRAINER_HILL_PRIZE_LISTS;
else
- modBy = 5;
+ modBy = NUM_TRAINER_HILL_PRIZE_LISTS / 2;
- var %= modBy;
- return var;
+ prizeListId %= modBy;
+ return prizeListId;
}
-static u16 sub_81D6640(void)
+static u16 GetPrizeItemId(void)
{
u8 i;
- const u16 *ptr;
- s32 var = 0, var2, minutes, id;
+ const u16 *prizeList;
+ s32 var = 0, prizeListSetId, minutes, id;
- for (i = 0; i < 4; i++)
+ for (i = 0; i < NUM_TRAINER_HILL_FLOORS; i++)
{
- var += sHillData->floors[i].unk0;
- var += sHillData->floors[i].unk1;
+ var += sHillData->floors[i].trainerNum1;
+ var += sHillData->floors[i].trainerNum2;
}
- var2 = var / 256;
- var2 %= 2;
- if (FlagGet(FLAG_SYS_GAME_CLEAR) && sHillData->tag.unkField_0 == 8)
- i = sub_81D65E8(1);
+ prizeListSetId = var / 256;
+ prizeListSetId %= 2;
+ if (FlagGet(FLAG_SYS_GAME_CLEAR) && sHillData->tag.numTrainers == NUM_TRAINER_HILL_TRAINERS)
+ i = GetPrizeListId(TRUE);
else
- i = sub_81D65E8(0);
+ i = GetPrizeListId(FALSE);
if (gSaveBlock1Ptr->trainerHill.tag == HILL_TAG_EXPERT)
- i = (i + 1) % 10;
+ i = (i + 1) % NUM_TRAINER_HILL_PRIZE_LISTS;
- ptr = gUnknown_0862A5CC[var2][i];
+ prizeList = sPrizeListSets[prizeListSetId][i];
minutes = (signed)(gSaveBlock1Ptr->trainerHill.timer) / (60 * 60);
if (minutes < 12)
id = 0;
@@ -1078,5 +1103,5 @@ static u16 sub_81D6640(void)
else
id = 5;
- return ptr[id];
+ return prizeList[id];
}
diff --git a/src/tv.c b/src/tv.c
index ba0548a86..45a023f9f 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -762,7 +762,7 @@ void ClearTVShowData(void)
ClearPokemonNews();
}
-u8 special_0x44(void)
+u8 GetRandomActiveShowIdx(void)
{
u8 i;
u8 j;
@@ -771,10 +771,8 @@ u8 special_0x44(void)
for (i = 5; i < ARRAY_COUNT(gSaveBlock1Ptr->tvShows) - 1; i ++)
{
- if (gSaveBlock1Ptr->tvShows[i].common.kind == 0)
- {
+ if (gSaveBlock1Ptr->tvShows[i].common.kind == TVSHOW_OFF_AIR)
break;
- }
}
j = Random() % i;
selIdx = j;
@@ -783,44 +781,38 @@ u8 special_0x44(void)
if (GetTVChannelByShowType(gSaveBlock1Ptr->tvShows[j].common.kind) != 4)
{
if (gSaveBlock1Ptr->tvShows[j].common.active == TRUE)
- {
return j;
- }
}
else
{
show = &gSaveBlock1Ptr->tvShows[j];
if (show->massOutbreak.daysLeft == 0 && show->massOutbreak.active == TRUE)
- {
return j;
- }
}
+
if (j == 0)
- {
j = ARRAY_COUNT(gSaveBlock1Ptr->tvShows) - 2;
- }
else
- {
j --;
- }
+
} while (j != selIdx);
return 0xFF;
}
u8 FindAnyTVShowOnTheAir(void)
{
- u8 response;
+ u8 show;
- response = special_0x44();
- if (response == 0xFF)
+ show = GetRandomActiveShowIdx();
+ if (show == 0xFF)
{
return 0xFF;
}
- if (gSaveBlock1Ptr->outbreakPokemonSpecies != SPECIES_NONE && gSaveBlock1Ptr->tvShows[response].common.kind == TVSHOW_MASS_OUTBREAK)
+ if (gSaveBlock1Ptr->outbreakPokemonSpecies != SPECIES_NONE && gSaveBlock1Ptr->tvShows[show].common.kind == TVSHOW_MASS_OUTBREAK)
{
return FindFirstActiveTVShowThatIsNotAMassOutbreak();
}
- return response;
+ return show;
}
void UpdateTVScreensOnMap(int width, int height)
@@ -876,7 +868,7 @@ void TurnOnTVScreen(void)
DrawWholeMapView();
}
-u8 special_0x45(void)
+u8 GetSelectedTVShow(void)
{
return gSaveBlock1Ptr->tvShows[gSpecialVar_0x8004].common.kind;
}
@@ -887,7 +879,7 @@ u8 FindFirstActiveTVShowThatIsNotAMassOutbreak(void)
for (i = 0; i < ARRAY_COUNT(gSaveBlock1Ptr->tvShows) - 1; i ++)
{
- if (gSaveBlock1Ptr->tvShows[i].common.kind != 0 && gSaveBlock1Ptr->tvShows[i].common.kind != TVSHOW_MASS_OUTBREAK && gSaveBlock1Ptr->tvShows[i].common.active == TRUE)
+ if (gSaveBlock1Ptr->tvShows[i].common.kind != TVSHOW_OFF_AIR && gSaveBlock1Ptr->tvShows[i].common.kind != TVSHOW_MASS_OUTBREAK && gSaveBlock1Ptr->tvShows[i].common.active == TRUE)
{
return i;
}
@@ -895,7 +887,7 @@ u8 FindFirstActiveTVShowThatIsNotAMassOutbreak(void)
return 0xFF;
}
-u8 special_0x4a(void)
+u8 GetNextActiveShowIfMassOutbreak(void)
{
TVShow *tvShow;
@@ -3149,7 +3141,7 @@ static void InterviewBefore_FanClubSpecial(void)
}
}
-bool8 sub_80EF88C(u8 monIdx)
+static bool8 IsPartyMonNicknamedOrNotEnglish(u8 monIdx)
{
struct Pokemon *pokemon;
u8 language;
@@ -3164,9 +3156,9 @@ bool8 sub_80EF88C(u8 monIdx)
return TRUE;
}
-bool8 sub_80EF8F8(void)
+bool8 IsLeadMonNicknamedOrNotEnglish(void)
{
- return sub_80EF88C(GetLeadMonIndex());
+ return IsPartyMonNicknamedOrNotEnglish(GetLeadMonIndex());
}
void DeleteTVShowInArrayByIdx(TVShow *shows, u8 idx)