summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/event_scripts.s44
-rw-r--r--data/layouts/FuchsiaCity_SafariZone_Office/border.bin (renamed from data/layouts/FuchsiaCity_Building1/border.bin)bin8 -> 8 bytes
-rw-r--r--data/layouts/FuchsiaCity_SafariZone_Office/map.bin (renamed from data/layouts/FuchsiaCity_ZooBuilding/map.bin)0
-rw-r--r--data/layouts/FuchsiaCity_WardensHouse/border.bin (renamed from data/layouts/FuchsiaCity_ZooBuilding/border.bin)bin8 -> 8 bytes
-rw-r--r--data/layouts/FuchsiaCity_WardensHouse/map.bin (renamed from data/layouts/FuchsiaCity_Building1/map.bin)0
-rw-r--r--data/layouts/layouts.json16
-rw-r--r--data/maps/FuchsiaCity/map.json36
-rw-r--r--data/maps/FuchsiaCity/scripts.inc83
-rw-r--r--data/maps/FuchsiaCity/text.inc39
-rw-r--r--data/maps/FuchsiaCity_Building1/scripts.inc63
-rw-r--r--data/maps/FuchsiaCity_Gym/map.json20
-rw-r--r--data/maps/FuchsiaCity_Gym/scripts.inc82
-rw-r--r--data/maps/FuchsiaCity_Gym/text.inc58
-rw-r--r--data/maps/FuchsiaCity_House1/map.json6
-rw-r--r--data/maps/FuchsiaCity_House1/scripts.inc12
-rw-r--r--data/maps/FuchsiaCity_House1/text.inc6
-rw-r--r--data/maps/FuchsiaCity_House2/map.json2
-rw-r--r--data/maps/FuchsiaCity_House2/scripts.inc28
-rw-r--r--data/maps/FuchsiaCity_House2/text.inc14
-rw-r--r--data/maps/FuchsiaCity_House3/map.json2
-rw-r--r--data/maps/FuchsiaCity_House3/scripts.inc50
-rw-r--r--data/maps/FuchsiaCity_House3/text.inc16
-rw-r--r--data/maps/FuchsiaCity_Mart/map.json6
-rw-r--r--data/maps/FuchsiaCity_Mart/scripts.inc14
-rw-r--r--data/maps/FuchsiaCity_Mart/text.inc4
-rw-r--r--data/maps/FuchsiaCity_PokemonCenter_1F/map.json8
-rw-r--r--data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc14
-rw-r--r--data/maps/FuchsiaCity_PokemonCenter_1F/text.inc6
-rw-r--r--data/maps/FuchsiaCity_SafariZone_Entrance/map.json8
-rw-r--r--data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc139
-rw-r--r--data/maps/FuchsiaCity_SafariZone_Entrance/text.inc28
-rw-r--r--data/maps/FuchsiaCity_SafariZone_Office/map.json (renamed from data/maps/FuchsiaCity_ZooBuilding/map.json)14
-rw-r--r--data/maps/FuchsiaCity_SafariZone_Office/scripts.inc18
-rw-r--r--data/maps/FuchsiaCity_SafariZone_Office/text.inc (renamed from data/maps/FuchsiaCity_ZooBuilding/text.inc)8
-rw-r--r--data/maps/FuchsiaCity_WardensHouse/map.json (renamed from data/maps/FuchsiaCity_Building1/map.json)22
-rw-r--r--data/maps/FuchsiaCity_WardensHouse/scripts.inc63
-rw-r--r--data/maps/FuchsiaCity_WardensHouse/text.inc (renamed from data/maps/FuchsiaCity_Building1/text.inc)25
-rw-r--r--data/maps/FuchsiaCity_ZooBuilding/scripts.inc18
-rw-r--r--data/maps/map_groups.json4
-rw-r--r--data/scripts/fame_checker.inc4
-rw-r--r--data/scripts/item_ball_scripts.inc2
-rw-r--r--data/text/fame_checker.inc2
-rw-r--r--include/battle.h1
-rw-r--r--include/constants/flags.h2
-rw-r--r--include/constants/global.h2
-rw-r--r--include/constants/layouts.h4
-rw-r--r--include/constants/map_groups.h4
-rw-r--r--include/event_scripts.h8
-rw-r--r--src/field_specials.c2
-rw-r--r--src/safari_zone.c8
50 files changed, 511 insertions, 504 deletions
diff --git a/data/event_scripts.s b/data/event_scripts.s
index f1d28077f..9d3a0a6c2 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -395,12 +395,12 @@ gStdScriptsEnd::
.include "data/maps/CeladonCity_Hotel/scripts.inc"
.include "data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc"
.include "data/maps/FuchsiaCity_Mart/scripts.inc"
- .include "data/maps/FuchsiaCity_ZooBuilding/scripts.inc"
+ .include "data/maps/FuchsiaCity_SafariZone_Office/scripts.inc"
.include "data/maps/FuchsiaCity_Gym/scripts.inc"
.include "data/maps/FuchsiaCity_House1/scripts.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_2F/scripts.inc"
- .include "data/maps/FuchsiaCity_Building1/scripts.inc"
+ .include "data/maps/FuchsiaCity_WardensHouse/scripts.inc"
.include "data/maps/FuchsiaCity_House2/scripts.inc"
.include "data/maps/FuchsiaCity_House3/scripts.inc"
.include "data/maps/CinnabarIsland_Gym/scripts.inc"
@@ -710,11 +710,11 @@ gStdScriptsEnd::
.include "data/maps/CeladonCity_Hotel/text.inc"
.include "data/maps/FuchsiaCity_SafariZone_Entrance/text.inc"
.include "data/maps/FuchsiaCity_Mart/text.inc"
- .include "data/maps/FuchsiaCity_ZooBuilding/text.inc"
+ .include "data/maps/FuchsiaCity_SafariZone_Office/text.inc"
.include "data/maps/FuchsiaCity_Gym/text.inc"
.include "data/maps/FuchsiaCity_House1/text.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_1F/text.inc"
- .include "data/maps/FuchsiaCity_Building1/text.inc"
+ .include "data/maps/FuchsiaCity_WardensHouse/text.inc"
.include "data/maps/FuchsiaCity_House2/text.inc"
.include "data/maps/FuchsiaCity_House3/text.inc"
.include "data/maps/CinnabarIsland_Gym/text.inc"
@@ -2325,54 +2325,54 @@ EventScript_1B2DF6:: @ 81B2DF6
@@ Block below consists of at least safari_zone.inc and flavor_text.inc. JP text making it hard to define boundaries
-EventScript_SafariWarpOut:: @ 81BFB87
+SafariZone_EventScript_OutOfBallsMidBattle:: @ 81BFB87
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3
special ExitSafariMode
setwarp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 255, 4, 1
end
-EventScript_1BFB98:: @ 81BFB98
+SafariZone_EventScript_Exit:: @ 81BFB98
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1
special ExitSafariMode
warp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 255, 4, 1
waitstate
end
-EventScript_SafariRetire:: @ 81BFBAA
+SafariZone_EventScript_RetirePrompt:: @ 81BFBAA
lockall
- msgbox Text_1BFBE9, MSGBOX_YESNO
+ msgbox SafariZone_Text_WouldYouLikeToExit, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq EventScript_1BFBC0
+ goto_if_eq SafariZone_EventScript_Retire
releaseall
end
-EventScript_1BFBC0:: @ 81BFBC0
- goto EventScript_1BFB98
+SafariZone_EventScript_Retire:: @ 81BFBC0
+ goto SafariZone_EventScript_Exit
-EventScript_SafariTimesUp:: @ 81BFBC5
+SafariZone_EventScript_TimesUp:: @ 81BFBC5
lockall
playse SE_PINPON
- msgbox gUnknown_81BFC1B
- goto EventScript_1BFB98
+ msgbox SafariZone_Text_TimesUp
+ goto SafariZone_EventScript_Exit
end
-EventScript_SafariOutOfBalls:: @ 81BFBD7
+SafariZone_EventScript_OutOfBalls:: @ 81BFBD7
lockall
playse SE_PINPON
- msgbox gUnknown_81BFC53
- goto EventScript_1BFB98
+ msgbox SafariZone_Text_OutOfBalls
+ goto SafariZone_EventScript_Exit
end
-Text_1BFBE9:: @ 81BFBE9
+SafariZone_Text_WouldYouLikeToExit:: @ 81BFBE9
.string "Would you like to exit the SAFARI\n"
.string "ZONE right now?$"
-gUnknown_81BFC1B:: @ 81BFC1B
+SafariZone_Text_TimesUp:: @ 81BFC1B
.string "PA: Ding-dong!\p"
.string "Time's up!\p"
.string "PA: Your SAFARI GAME is over!$"
-gUnknown_81BFC53:: @ 81BFC53
+SafariZone_Text_OutOfBalls:: @ 81BFC53
.string "PA: Ding-dong!\p"
.string "You are out of SAFARI BALLS!\p"
.string "PA: Your SAFARI GAME is over!$"
@@ -2433,7 +2433,7 @@ Text_1BFE70:: @ 81BFE70
.string "ぞんぶんに おたのしみ ください!\n"
.string "では いってらっしゃい!$"
-gUnknown_81BFEAC:: @ 81BFEAC
+SafariZone_Text_ExcuseMeYourPCBoxIsFull:: @ 81BFEAC
.string "Excuse me!\n"
.string "Your PC BOX is full.$"
@@ -2597,7 +2597,7 @@ Text_1C049D:: @ 81C049D
.string "ミナモへ かえるか?$"
Text_1C04BB:: @ 81C04BB
- .string "ùÏ! ÉÇñÑ ÒñÉ!$"
+ .string "よし! かえると するか!$"
Text_1C04C9:: @ 81C04C9
.string "そうかい\n"
diff --git a/data/layouts/FuchsiaCity_Building1/border.bin b/data/layouts/FuchsiaCity_SafariZone_Office/border.bin
index a886cd764..a886cd764 100644
--- a/data/layouts/FuchsiaCity_Building1/border.bin
+++ b/data/layouts/FuchsiaCity_SafariZone_Office/border.bin
Binary files differ
diff --git a/data/layouts/FuchsiaCity_ZooBuilding/map.bin b/data/layouts/FuchsiaCity_SafariZone_Office/map.bin
index d18ddbd61..d18ddbd61 100644
--- a/data/layouts/FuchsiaCity_ZooBuilding/map.bin
+++ b/data/layouts/FuchsiaCity_SafariZone_Office/map.bin
diff --git a/data/layouts/FuchsiaCity_ZooBuilding/border.bin b/data/layouts/FuchsiaCity_WardensHouse/border.bin
index a886cd764..a886cd764 100644
--- a/data/layouts/FuchsiaCity_ZooBuilding/border.bin
+++ b/data/layouts/FuchsiaCity_WardensHouse/border.bin
Binary files differ
diff --git a/data/layouts/FuchsiaCity_Building1/map.bin b/data/layouts/FuchsiaCity_WardensHouse/map.bin
index 4efd7d891..4efd7d891 100644
--- a/data/layouts/FuchsiaCity_Building1/map.bin
+++ b/data/layouts/FuchsiaCity_WardensHouse/map.bin
diff --git a/data/layouts/layouts.json b/data/layouts/layouts.json
index 04727aaa7..3df335ce6 100644
--- a/data/layouts/layouts.json
+++ b/data/layouts/layouts.json
@@ -2192,28 +2192,28 @@
"blockdata_filepath": "data/layouts/SafariZone_SecretHouse/map.bin"
},
{
- "id": "LAYOUT_FUCHSIA_CITY_ZOO_BUILDING",
- "name": "FuchsiaCity_ZooBuilding_Layout",
+ "id": "LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_OFFICE",
+ "name": "FuchsiaCity_SafariZone_Office_Layout",
"width": 20,
"height": 11,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_82D4BB4",
"secondary_tileset": "gTileset_82D4F14",
- "border_filepath": "data/layouts/FuchsiaCity_ZooBuilding/border.bin",
- "blockdata_filepath": "data/layouts/FuchsiaCity_ZooBuilding/map.bin"
+ "border_filepath": "data/layouts/FuchsiaCity_SafariZone_Office/border.bin",
+ "blockdata_filepath": "data/layouts/FuchsiaCity_SafariZone_Office/map.bin"
},
{
- "id": "LAYOUT_FUCHSIA_CITY_BUILDING1",
- "name": "FuchsiaCity_Building1_Layout",
+ "id": "LAYOUT_FUCHSIA_CITY_WARDENS_HOUSE",
+ "name": "FuchsiaCity_WardensHouse_Layout",
"width": 13,
"height": 11,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_82D4BB4",
"secondary_tileset": "gTileset_82D4C2C",
- "border_filepath": "data/layouts/FuchsiaCity_Building1/border.bin",
- "blockdata_filepath": "data/layouts/FuchsiaCity_Building1/map.bin"
+ "border_filepath": "data/layouts/FuchsiaCity_WardensHouse/border.bin",
+ "blockdata_filepath": "data/layouts/FuchsiaCity_WardensHouse/map.bin"
},
{
"id": "LAYOUT_FUCHSIA_CITY_HOUSE2",
diff --git a/data/maps/FuchsiaCity/map.json b/data/maps/FuchsiaCity/map.json
index c142ff4c1..710940882 100644
--- a/data/maps/FuchsiaCity/map.json
+++ b/data/maps/FuchsiaCity/map.json
@@ -39,7 +39,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_EventScript_166DAF",
+ "script": "FuchsiaCity_EventScript_Erik",
"flag": "0"
},
{
@@ -78,7 +78,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_EventScript_166DB8",
+ "script": "FuchsiaCity_EventScript_Youngster",
"flag": "0"
},
{
@@ -104,7 +104,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_EventScript_166D9D",
+ "script": "FuchsiaCity_EventScript_LittleBoy",
"flag": "0"
},
{
@@ -130,7 +130,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_EventScript_166DA6",
+ "script": "FuchsiaCity_EventScript_OldMan",
"flag": "0"
},
{
@@ -234,7 +234,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_EventScript_166DC1",
+ "script": "FuchsiaCity_EventScript_Lass",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
}
],
@@ -250,7 +250,7 @@
"x": 33,
"y": 31,
"elevation": 0,
- "dest_map": "MAP_FUCHSIA_CITY_BUILDING1",
+ "dest_map": "MAP_FUCHSIA_CITY_WARDENS_HOUSE",
"dest_warp_id": 1
},
{
@@ -264,7 +264,7 @@
"x": 28,
"y": 16,
"elevation": 0,
- "dest_map": "MAP_FUCHSIA_CITY_ZOO_BUILDING",
+ "dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_OFFICE",
"dest_warp_id": 1
},
{
@@ -324,77 +324,77 @@
"x": 31,
"y": 18,
"elevation": 3,
- "script": "FuchsiaCity_EventScript_166DDA"
+ "script": "FuchsiaCity_EventScript_CitySign"
},
{
"type": "bg_event_type_0",
"x": 26,
"y": 18,
"elevation": 0,
- "script": "FuchsiaCity_EventScript_166DE3"
+ "script": "FuchsiaCity_EventScript_SafariZoneSign"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 32,
"elevation": 0,
- "script": "FuchsiaCity_EventScript_166E07"
+ "script": "FuchsiaCity_EventScript_GymSign"
},
{
"type": "bg_event_type_0",
"x": 31,
"y": 31,
"elevation": 0,
- "script": "FuchsiaCity_EventScript_166DF5"
+ "script": "FuchsiaCity_EventScript_WardensHomeSign"
},
{
"type": "bg_event_type_0",
"x": 35,
"y": 10,
"elevation": 0,
- "script": "FuchsiaCity_EventScript_166E38"
+ "script": "FuchsiaCity_EventScript_VoltorbSign"
},
{
"type": "bg_event_type_0",
"x": 38,
"y": 16,
"elevation": 3,
- "script": "FuchsiaCity_EventScript_166E6A"
+ "script": "FuchsiaCity_EventScript_SlowpokeSign"
},
{
"type": "bg_event_type_0",
"x": 41,
"y": 10,
"elevation": 0,
- "script": "FuchsiaCity_EventScript_166E1F"
+ "script": "FuchsiaCity_EventScript_ChanseySign"
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 10,
"elevation": 0,
- "script": "FuchsiaCity_EventScript_166E51"
+ "script": "FuchsiaCity_EventScript_KangaskhanSign"
},
{
"type": "bg_event_type_0",
"x": 11,
"y": 10,
"elevation": 0,
- "script": "FuchsiaCity_EventScript_166E9C"
+ "script": "FuchsiaCity_EventScript_FossilMonSign"
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 18,
"elevation": 3,
- "script": "FuchsiaCity_EventScript_166E83"
+ "script": "FuchsiaCity_EventScript_LaprasSign"
},
{
"type": "bg_event_type_0",
"x": 22,
"y": 7,
"elevation": 0,
- "script": "FuchsiaCity_EventScript_166DEC"
+ "script": "FuchsiaCity_EventScript_SafariGameSign"
},
{
"type": "hidden_item",
diff --git a/data/maps/FuchsiaCity/scripts.inc b/data/maps/FuchsiaCity/scripts.inc
index cde08dd9b..5f0875db8 100644
--- a/data/maps/FuchsiaCity/scripts.inc
+++ b/data/maps/FuchsiaCity/scripts.inc
@@ -4,135 +4,136 @@ FuchsiaCity_MapScripts:: @ 8166D75
FuchsiaCity_OnTransition:: @ 8166D7B
setworldmapflag FLAG_WORLD_MAP_FUCHSIA_CITY
- call_if_set FLAG_GOT_DOME_FOSSIL, EventScript_166D91
- call_if_unset FLAG_GOT_DOME_FOSSIL, EventScript_166D97
+ call_if_set FLAG_GOT_DOME_FOSSIL, FuchsicaCity_EventScript_SetOmanyteGfx
+ call_if_unset FLAG_GOT_DOME_FOSSIL, FuchsiaCity_EventScript_SetKabutoGfx
end
-EventScript_166D91:: @ 8166D91
+FuchsicaCity_EventScript_SetOmanyteGfx:: @ 8166D91
setvar VAR_OBJ_GFX_ID_0, OBJECT_EVENT_GFX_OMANYTE
return
-EventScript_166D97:: @ 8166D97
+FuchsiaCity_EventScript_SetKabutoGfx:: @ 8166D97
setvar VAR_OBJ_GFX_ID_0, OBJECT_EVENT_GFX_KABUTO
return
-FuchsiaCity_EventScript_166D9D:: @ 8166D9D
- msgbox gUnknown_818056E, MSGBOX_NPC
+FuchsiaCity_EventScript_LittleBoy:: @ 8166D9D
+ msgbox FuchsiaCity_Text_DidYouTrySafariGame, MSGBOX_NPC
end
-FuchsiaCity_EventScript_166DA6:: @ 8166DA6
- msgbox gUnknown_81805C6, MSGBOX_NPC
+FuchsiaCity_EventScript_OldMan:: @ 8166DA6
+ msgbox FuchsiaCity_Text_SafariZoneZooInFront, MSGBOX_NPC
end
-FuchsiaCity_EventScript_166DAF:: @ 8166DAF
- msgbox gUnknown_818062C, MSGBOX_NPC
+FuchsiaCity_EventScript_Erik:: @ 8166DAF
+ msgbox FuchsiaCity_Text_WheresSara, MSGBOX_NPC
end
-FuchsiaCity_EventScript_166DB8:: @ 8166DB8
- msgbox gUnknown_818065A, MSGBOX_NPC
+FuchsiaCity_EventScript_Youngster:: @ 8166DB8
+ msgbox FuchsiaCity_Text_ItemBallInThere, MSGBOX_NPC
end
-FuchsiaCity_EventScript_166DC1:: @ 8166DC1
+FuchsiaCity_EventScript_Lass:: @ 8166DC1
lock
faceplayer
famechecker FAMECHECKER_KOGA, 3
- msgbox gUnknown_8180ABD
+ msgbox FuchsiaCity_Text_MyFatherIsGymLeader
release
end
-FuchsiaCity_EventScript_166DDA:: @ 8166DDA
- msgbox gUnknown_81806AB, MSGBOX_SIGN
+FuchsiaCity_EventScript_CitySign:: @ 8166DDA
+ msgbox FuchsiaCity_Text_CitySign, MSGBOX_SIGN
end
-FuchsiaCity_EventScript_166DE3:: @ 8166DE3
- msgbox gUnknown_81806D3, MSGBOX_SIGN
+FuchsiaCity_EventScript_SafariZoneSign:: @ 8166DE3
+ msgbox FuchsiaCity_Text_SafariZoneSign, MSGBOX_SIGN
end
-FuchsiaCity_EventScript_166DEC:: @ 8166DEC
- msgbox gUnknown_81806F0, MSGBOX_SIGN
+FuchsiaCity_EventScript_SafariGameSign:: @ 8166DEC
+ msgbox FuchsiaCity_Text_SafariGameSign, MSGBOX_SIGN
end
-FuchsiaCity_EventScript_166DF5:: @ 8166DF5
- msgbox gUnknown_818070D, MSGBOX_SIGN
+FuchsiaCity_EventScript_WardensHomeSign:: @ 8166DF5
+ msgbox FuchsiaCity_Text_WardensHomeSign, MSGBOX_SIGN
end
-EventScript_166DFE:: @ 8166DFE
- msgbox gUnknown_8180727, MSGBOX_SIGN
+@ Unused
+FuchsiaCity_EventScript_SafariZoneOfficeSign:: @ 8166DFE
+ msgbox FuchsiaCity_Text_SafariZoneOfficeSign, MSGBOX_SIGN
end
-FuchsiaCity_EventScript_166E07:: @ 8166E07
+FuchsiaCity_EventScript_GymSign:: @ 8166E07
lockall
famechecker FAMECHECKER_KOGA, 0
- msgbox gUnknown_8180768
+ msgbox FuchsiaCity_Text_GymSign
releaseall
end
-FuchsiaCity_EventScript_166E1F:: @ 8166E1F
+FuchsiaCity_EventScript_ChanseySign:: @ 8166E1F
lockall
setvar VAR_0x8004, SPECIES_CHANSEY
special Special_SetSeenMon
drawmonpic SPECIES_CHANSEY, 10, 3
- msgbox gUnknown_81807A9
+ msgbox FuchsiaCity_Text_ChanseySign
erasemonpic
releaseall
end
-FuchsiaCity_EventScript_166E38:: @ 8166E38
+FuchsiaCity_EventScript_VoltorbSign:: @ 8166E38
lockall
setvar VAR_0x8004, SPECIES_VOLTORB
special Special_SetSeenMon
drawmonpic SPECIES_VOLTORB, 10, 3
- msgbox gUnknown_81807D9
+ msgbox FuchsiaCity_Text_VoltorbSign
erasemonpic
releaseall
end
-FuchsiaCity_EventScript_166E51:: @ 8166E51
+FuchsiaCity_EventScript_KangaskhanSign:: @ 8166E51
lockall
setvar VAR_0x8004, SPECIES_KANGASKHAN
special Special_SetSeenMon
drawmonpic SPECIES_KANGASKHAN, 10, 3
- msgbox gUnknown_8180806
+ msgbox FuchsiaCity_Text_KangaskhanSign
erasemonpic
releaseall
end
-FuchsiaCity_EventScript_166E6A:: @ 8166E6A
+FuchsiaCity_EventScript_SlowpokeSign:: @ 8166E6A
lockall
setvar VAR_0x8004, SPECIES_SLOWPOKE
special Special_SetSeenMon
drawmonpic SPECIES_SLOWPOKE, 10, 3
- msgbox gUnknown_8180859
+ msgbox FuchsiaCity_Text_SlowpokeSign
erasemonpic
releaseall
end
-FuchsiaCity_EventScript_166E83:: @ 8166E83
+FuchsiaCity_EventScript_LaprasSign:: @ 8166E83
lockall
setvar VAR_0x8004, SPECIES_LAPRAS
special Special_SetSeenMon
drawmonpic SPECIES_LAPRAS, 10, 3
- msgbox gUnknown_8180887
+ msgbox FuchsiaCity_Text_LaprasSign
erasemonpic
releaseall
end
-FuchsiaCity_EventScript_166E9C:: @ 8166E9C
+FuchsiaCity_EventScript_FossilMonSign:: @ 8166E9C
lockall
- goto_if_set FLAG_GOT_DOME_FOSSIL, EventScript_166EBE
+ goto_if_set FLAG_GOT_DOME_FOSSIL, FuchsiaCity_EventScript_OmanyteSign
setvar VAR_0x8004, SPECIES_KABUTO
special Special_SetSeenMon
drawmonpic SPECIES_KABUTO, 10, 3
- msgbox gUnknown_81808FA
+ msgbox FuchsiaCity_Text_KabutoSign
erasemonpic
releaseall
end
-EventScript_166EBE:: @ 8166EBE
+FuchsiaCity_EventScript_OmanyteSign:: @ 8166EBE
setvar VAR_0x8004, SPECIES_OMANYTE
special Special_SetSeenMon
drawmonpic SPECIES_OMANYTE, 10, 3
- msgbox gUnknown_81808AE
+ msgbox FuchsiaCity_Text_OmanyteSign
erasemonpic
releaseall
end
diff --git a/data/maps/FuchsiaCity/text.inc b/data/maps/FuchsiaCity/text.inc
index 969846706..84b49f63c 100644
--- a/data/maps/FuchsiaCity/text.inc
+++ b/data/maps/FuchsiaCity/text.inc
@@ -1,82 +1,83 @@
-gUnknown_818056E:: @ 818056E
+FuchsiaCity_Text_DidYouTrySafariGame:: @ 818056E
.string "Did you try the SAFARI GAME?\p"
.string "There are some rare POKéMON that\n"
.string "can only be caught there.$"
-gUnknown_81805C6:: @ 81805C6
+FuchsiaCity_Text_SafariZoneZooInFront:: @ 81805C6
.string "The SAFARI ZONE has a zoo in front\n"
.string "of the entrance.\p"
.string "Out back is the SAFARI GAME for\n"
.string "catching POKéMON.$"
-gUnknown_818062C:: @ 818062C
+FuchsiaCity_Text_WheresSara:: @ 818062C
.string "ERIK: Where's SARA?\n"
.string "I said I'd meet her here.$"
-gUnknown_818065A:: @ 818065A
+FuchsiaCity_Text_ItemBallInThere:: @ 818065A
.string "That item ball in there…\n"
.string "Were you wanting that?\p"
.string "Me, too!\n"
.string "…Huh? That's a POKéMON?$"
-gUnknown_81806AB:: @ 81806AB
+FuchsiaCity_Text_CitySign:: @ 81806AB
.string "FUCHSIA CITY\n"
.string "Behold! It's Passion Pink!$"
-gUnknown_81806D3:: @ 81806D3
+FuchsiaCity_Text_SafariZoneSign:: @ 81806D3
.string "POKéMON PARADISE\n"
.string "SAFARI ZONE$"
-gUnknown_81806F0:: @ 81806F0
+FuchsiaCity_Text_SafariGameSign:: @ 81806F0
.string "SAFARI GAME\n"
.string "POKéMON-U-CATCH!$"
-gUnknown_818070D:: @ 818070D
+FuchsiaCity_Text_WardensHomeSign:: @ 818070D
.string "SAFARI ZONE\n"
.string "WARDEN'S HOME$"
-gUnknown_8180727:: @ 8180727
+FuchsiaCity_Text_SafariZoneOfficeSign:: @ 8180727
.string "POKéMON PARADISE!\n"
.string "Welcome to the SAFARI ZONE!\l"
.string "SAFARI ZONE OFFICE$"
-gUnknown_8180768:: @ 8180768
+FuchsiaCity_Text_GymSign:: @ 8180768
.string "FUCHSIA CITY POKéMON GYM\n"
.string "LEADER: KOGA\l"
.string "The Poisonous Ninja Master$"
-gUnknown_81807A9:: @ 81807A9
+FuchsiaCity_Text_ChanseySign:: @ 81807A9
.string "Name: CHANSEY\n"
.string "Catching one is all up to chance.$"
-gUnknown_81807D9:: @ 81807D9
+FuchsiaCity_Text_VoltorbSign:: @ 81807D9
.string "Name: VOLTORB\n"
.string "The very image of a POKé BALL.$"
-gUnknown_8180806:: @ 8180806
+FuchsiaCity_Text_KangaskhanSign:: @ 8180806
.string "Name: KANGASKHAN\p"
.string "A maternal POKéMON that raises its\n"
.string "young in a pouch on its belly.$"
-gUnknown_8180859:: @ 8180859
+FuchsiaCity_Text_SlowpokeSign:: @ 8180859
.string "Name: SLOWPOKE\n"
.string "Friendly and very slow moving.$"
-gUnknown_8180887:: @ 8180887
+FuchsiaCity_Text_LaprasSign:: @ 8180887
.string "Name: LAPRAS\n"
.string "AKA the king of the seas.$"
-gUnknown_81808AE:: @ 81808AE
+FuchsiaCity_Text_OmanyteSign:: @ 81808AE
.string "Name: OMANYTE\n"
.string "An extremely rare POKéMON that was\l"
.string "regenerated from a fossil.$"
-gUnknown_81808FA:: @ 81808FA
+FuchsiaCity_Text_KabutoSign:: @ 81808FA
.string "Name: KABUTO\n"
.string "An extremely rare POKéMON that was\l"
.string "regenerated from a fossil.$"
-Text_180945:: @ 8180945
+@ Unused. May have been meant to be the placeholder text for the zoo mons, similar to RB's "!" text
+FuchsiaCity_Text_Ellipsis:: @ 8180945
.string "……$"
Text_SubstituteTeach:: @ 8180948
@@ -103,7 +104,7 @@ Text_SubstituteTaught:: @ 8180A80
.string "Boy, what I'd give to crawl inside\n"
.string "a KANGASKHAN belly pouch…$"
-gUnknown_8180ABD:: @ 8180ABD
+FuchsiaCity_Text_MyFatherIsGymLeader:: @ 8180ABD
.string "My father is the GYM LEADER of\n"
.string "this town.\p"
.string "I'm training to use POISON POKéMON\n"
diff --git a/data/maps/FuchsiaCity_Building1/scripts.inc b/data/maps/FuchsiaCity_Building1/scripts.inc
deleted file mode 100644
index 0011190dc..000000000
--- a/data/maps/FuchsiaCity_Building1/scripts.inc
+++ /dev/null
@@ -1,63 +0,0 @@
-FuchsiaCity_Building1_MapScripts:: @ 816D74B
- .byte 0
-
-FuchsiaCity_Building1_EventScript_16D74C:: @ 816D74C
- lock
- faceplayer
- goto_if_set FLAG_GOT_HM04, EventScript_16D7FA
- goto_if_set FLAG_HIDE_SAFARI_ZONE_WEST_GOLD_TEETH, EventScript_16D780
- msgbox gUnknown_8198DF9, MSGBOX_YESNO
- compare VAR_RESULT, YES
- call_if_eq EventScript_16D7E8
- compare VAR_RESULT, NO
- call_if_eq EventScript_16D7F1
- release
- end
-
-EventScript_16D780:: @ 816D780
- textcolor 3
- playfanfare MUS_ME_WAZA
- message Text_198E84
- waitmessage
- waitfanfare
- msgbox gUnknown_8198EAA
- call EventScript_1A6675
- checkplayergender
- compare VAR_RESULT, MALE
- call_if_eq EventScript_16D7D6
- compare VAR_RESULT, FEMALE
- call_if_eq EventScript_16D7DF
- giveitem_msg gUnknown_8199068, ITEM_HM04
- setflag FLAG_GOT_HM04
- removeitem ITEM_GOLD_TEETH, 1
- release
- end
-
-EventScript_16D7D6:: @ 816D7D6
- msgbox gUnknown_8198ECA
- return
-
-EventScript_16D7DF:: @ 816D7DF
- msgbox gUnknown_8198F96
- return
-
-EventScript_16D7E8:: @ 816D7E8
- msgbox gUnknown_8198E3F
- return
-
-EventScript_16D7F1:: @ 816D7F1
- msgbox gUnknown_8198E63
- return
-
-EventScript_16D7FA:: @ 816D7FA
- msgbox gUnknown_819908A
- release
- end
-
-FuchsiaCity_Building1_EventScript_16D804:: @ 816D804
- msgbox gUnknown_819913C, MSGBOX_SIGN
- end
-
-FuchsiaCity_Building1_EventScript_16D80D:: @ 816D80D
- msgbox gUnknown_8199167, MSGBOX_SIGN
- end
diff --git a/data/maps/FuchsiaCity_Gym/map.json b/data/maps/FuchsiaCity_Gym/map.json
index 3ca93c166..9054b5df0 100644
--- a/data/maps/FuchsiaCity_Gym/map.json
+++ b/data/maps/FuchsiaCity_Gym/map.json
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
- "script": "FuchsiaCity_Gym_EventScript_16D65A",
+ "script": "FuchsiaCity_Gym_EventScript_Kayden",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
- "script": "FuchsiaCity_Gym_EventScript_16D643",
+ "script": "FuchsiaCity_Gym_EventScript_Shawn",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
- "script": "FuchsiaCity_Gym_EventScript_16D61F",
+ "script": "FuchsiaCity_Gym_EventScript_Kirk",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
- "script": "FuchsiaCity_Gym_EventScript_16D608",
+ "script": "FuchsiaCity_Gym_EventScript_Edgar",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
- "script": "FuchsiaCity_Gym_EventScript_16D5F1",
+ "script": "FuchsiaCity_Gym_EventScript_Phil",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
- "script": "FuchsiaCity_Gym_EventScript_16D671",
+ "script": "FuchsiaCity_Gym_EventScript_Nate",
"flag": "0"
},
{
@@ -101,7 +101,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Gym_EventScript_16D54E",
+ "script": "FuchsiaCity_Gym_EventScript_Koga",
"flag": "0"
},
{
@@ -114,7 +114,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Gym_EventScript_16D688",
+ "script": "FuchsiaCity_Gym_EventScript_GymGuy",
"flag": "0"
}
],
@@ -148,14 +148,14 @@
"x": 4,
"y": 19,
"elevation": 0,
- "script": "FuchsiaCity_Gym_EventScript_16D6A7"
+ "script": "FuchsiaCity_Gym_EventScript_GymStatue"
},
{
"type": "bg_event_type_0",
"x": 10,
"y": 19,
"elevation": 0,
- "script": "FuchsiaCity_Gym_EventScript_16D6A7"
+ "script": "FuchsiaCity_Gym_EventScript_GymStatue"
}
]
}
diff --git a/data/maps/FuchsiaCity_Gym/scripts.inc b/data/maps/FuchsiaCity_Gym/scripts.inc
index d20eeb409..6486c36eb 100644
--- a/data/maps/FuchsiaCity_Gym/scripts.inc
+++ b/data/maps/FuchsiaCity_Gym/scripts.inc
@@ -1,91 +1,91 @@
FuchsiaCity_Gym_MapScripts:: @ 816D54D
.byte 0
-FuchsiaCity_Gym_EventScript_16D54E:: @ 816D54E
+FuchsiaCity_Gym_EventScript_Koga:: @ 816D54E
famechecker FAMECHECKER_KOGA, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
- trainerbattle_single TRAINER_LEADER_KOGA, Text_19832E, Text_198444, EventScript_16D580, NO_MUSIC
- goto_if_unset FLAG_GOT_TM06_FROM_KOGA, EventScript_16D5A6
- msgbox gUnknown_8198481
+ trainerbattle_single TRAINER_LEADER_KOGA, FuchsiaCity_Gym_Text_KogaIntro, FuchsiaCity_Gym_Text_KogaDefeat, FuchsiaCity_Gym_EventScript_DefeatedKoga, NO_MUSIC
+ goto_if_unset FLAG_GOT_TM06_FROM_KOGA, FuchsiaCity_Gym_EventScript_GiveTM06
+ msgbox FuchsiaCity_Gym_Text_KogaPostBattle
release
end
-EventScript_16D580:: @ 816D580
+FuchsiaCity_Gym_EventScript_DefeatedKoga:: @ 816D580
famechecker FAMECHECKER_KOGA, 1
clearflag FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL
setflag FLAG_DEFEATED_KOGA
setflag FLAG_BADGE05_GET
set_gym_trainers 5
- goto EventScript_16D5A6
+ goto FuchsiaCity_Gym_EventScript_GiveTM06
end
-EventScript_16D5A6:: @ 816D5A6
- msgbox gUnknown_819850E
+FuchsiaCity_Gym_EventScript_GiveTM06:: @ 816D5A6
+ msgbox FuchsiaCity_Gym_Text_KogaExplainSoulBadge
checkitemspace ITEM_TM06, 1
compare VAR_RESULT, FALSE
- goto_if_eq EventScript_16D5E7
- giveitem_msg gUnknown_819858F, ITEM_TM06
+ goto_if_eq FuchsiaCity_Gym_EventScript_NoRoomForTM06
+ giveitem_msg FuchsiaCity_Gym_Text_ReceivedTM06FromKoga, ITEM_TM06
setflag FLAG_GOT_TM06_FROM_KOGA
- msgbox gUnknown_81985AB
+ msgbox FuchsiaCity_Gym_Text_KogaExplainTM06
release
end
-EventScript_16D5E7:: @ 816D5E7
- msgbox gUnknown_819860D
+FuchsiaCity_Gym_EventScript_NoRoomForTM06:: @ 816D5E7
+ msgbox FuchsiaCity_Gym_Text_MakeSpaceForThis
release
end
-FuchsiaCity_Gym_EventScript_16D5F1:: @ 816D5F1
- trainerbattle_single TRAINER_TAMER_PHIL, Text_198866, Text_1988B6
- msgbox gUnknown_81988CB, MSGBOX_AUTOCLOSE
+FuchsiaCity_Gym_EventScript_Phil:: @ 816D5F1
+ trainerbattle_single TRAINER_TAMER_PHIL, FuchsiaCity_Gym_Text_PhilIntro, FuchsiaCity_Gym_Text_PhilDefeat
+ msgbox FuchsiaCity_Gym_Text_PhilPostBattle, MSGBOX_AUTOCLOSE
end
-FuchsiaCity_Gym_EventScript_16D608:: @ 816D608
- trainerbattle_single TRAINER_TAMER_EDGAR, Text_19891F, Text_19897F
- msgbox gUnknown_8198985, MSGBOX_AUTOCLOSE
+FuchsiaCity_Gym_EventScript_Edgar:: @ 816D608
+ trainerbattle_single TRAINER_TAMER_EDGAR, FuchsiaCity_Gym_Text_EdgarIntro, FuchsiaCity_Gym_Text_EdgarDefeat
+ msgbox FuchsiaCity_Gym_Text_EdgarPostBattle, MSGBOX_AUTOCLOSE
end
-FuchsiaCity_Gym_EventScript_16D61F:: @ 816D61F
- trainerbattle_single TRAINER_JUGGLER_KIRK, Text_19871E, Text_198779
+FuchsiaCity_Gym_EventScript_Kirk:: @ 816D61F
+ trainerbattle_single TRAINER_JUGGLER_KIRK, FuchsiaCity_Gym_Text_KirkIntro, FuchsiaCity_Gym_Text_KirkDefeat
famechecker FAMECHECKER_KOGA, 2
- msgbox gUnknown_8198787, MSGBOX_AUTOCLOSE
+ msgbox FuchsiaCity_Gym_Text_KirkPostBattle, MSGBOX_AUTOCLOSE
end
-FuchsiaCity_Gym_EventScript_16D643:: @ 816D643
- trainerbattle_single TRAINER_JUGGLER_SHAWN, Text_1989A1, Text_1989EA
- msgbox gUnknown_8198A10, MSGBOX_AUTOCLOSE
+FuchsiaCity_Gym_EventScript_Shawn:: @ 816D643
+ trainerbattle_single TRAINER_JUGGLER_SHAWN, FuchsiaCity_Gym_Text_ShawnIntro, FuchsiaCity_Gym_Text_ShawnDefeat
+ msgbox FuchsiaCity_Gym_Text_ShawnPostBattle, MSGBOX_AUTOCLOSE
end
-FuchsiaCity_Gym_EventScript_16D65A:: @ 816D65A
- trainerbattle_single TRAINER_JUGGLER_KAYDEN, Text_198629, Text_1986B4
- msgbox gUnknown_81986C9, MSGBOX_AUTOCLOSE
+FuchsiaCity_Gym_EventScript_Kayden:: @ 816D65A
+ trainerbattle_single TRAINER_JUGGLER_KAYDEN, FuchsiaCity_Gym_Text_KaydenIntro, FuchsiaCity_Gym_Text_KaydenDefeat
+ msgbox FuchsiaCity_Gym_Text_KaydenPostBattle, MSGBOX_AUTOCLOSE
end
-FuchsiaCity_Gym_EventScript_16D671:: @ 816D671
- trainerbattle_single TRAINER_JUGGLER_NATE, Text_1987E8, Text_198812
- msgbox gUnknown_8198825, MSGBOX_AUTOCLOSE
+FuchsiaCity_Gym_EventScript_Nate:: @ 816D671
+ trainerbattle_single TRAINER_JUGGLER_NATE, FuchsiaCity_Gym_Text_NateIntro, FuchsiaCity_Gym_Text_NateDefeat
+ msgbox FuchsiaCity_Gym_Text_NatePostBattle, MSGBOX_AUTOCLOSE
end
-FuchsiaCity_Gym_EventScript_16D688:: @ 816D688
+FuchsiaCity_Gym_EventScript_GymGuy:: @ 816D688
lock
faceplayer
- goto_if_set FLAG_DEFEATED_KOGA, EventScript_16D69D
- msgbox gUnknown_8198A5E
+ goto_if_set FLAG_DEFEATED_KOGA, FuchsiaCity_Gym_EventScript_GymGuyPostVictory
+ msgbox FuchsiaCity_Gym_Text_GymGuyAdvice
release
end
-EventScript_16D69D:: @ 816D69D
- msgbox gUnknown_8198B1D
+FuchsiaCity_Gym_EventScript_GymGuyPostVictory:: @ 816D69D
+ msgbox FuchsiaCity_Gym_Text_GymGuyPostVictory
release
end
-FuchsiaCity_Gym_EventScript_16D6A7:: @ 816D6A7
+FuchsiaCity_Gym_EventScript_GymStatue:: @ 816D6A7
lockall
- goto_if_set FLAG_BADGE05_GET, EventScript_16D6BB
- msgbox gUnknown_8198B4B
+ goto_if_set FLAG_BADGE05_GET, FuchsiaCity_Gym_EventScript_GymStatuePostVictory
+ msgbox FuchsiaCity_Gym_Text_GymStatue
releaseall
end
-EventScript_16D6BB:: @ 816D6BB
- msgbox gUnknown_8198B81
+FuchsiaCity_Gym_EventScript_GymStatuePostVictory:: @ 816D6BB
+ msgbox FuchsiaCity_Gym_Text_GymStatuePlayerWon
releaseall
end
diff --git a/data/maps/FuchsiaCity_Gym/text.inc b/data/maps/FuchsiaCity_Gym/text.inc
index cb5ce932e..2bfe9e53f 100644
--- a/data/maps/FuchsiaCity_Gym/text.inc
+++ b/data/maps/FuchsiaCity_Gym/text.inc
@@ -1,4 +1,4 @@
-Text_19832E:: @ 819832E
+FuchsiaCity_Gym_Text_KogaIntro:: @ 819832E
.string "KOGA: Fwahahaha!\p"
.string "A mere child like you dares to\n"
.string "challenge me?\p"
@@ -11,20 +11,20 @@ Text_19832E:: @ 819832E
.string "Despair to the creeping horror of\n"
.string "POISON-type POKéMON!{PLAY_BGM}{MUS_EXEYE}$"
-Text_198444:: @ 8198444
+FuchsiaCity_Gym_Text_KogaDefeat:: @ 8198444
.string "Humph!\n"
.string "You have proven your worth!\p"
.string "Here!\n"
.string "Take the SOULBADGE!$"
-gUnknown_8198481:: @ 8198481
+FuchsiaCity_Gym_Text_KogaPostBattle:: @ 8198481
.string "When afflicted by TOXIC, a POKéMON\n"
.string "suffers more and more.\p"
.string "It suffers worsening damage as the\n"
.string "battle wears on!\p"
.string "It will surely terrorize foes!$"
-gUnknown_819850E:: @ 819850E
+FuchsiaCity_Gym_Text_KogaExplainSoulBadge:: @ 819850E
.string "Now that you have the SOULBADGE,\n"
.string "the DEFENSE of your POKéMON rises.\p"
.string "It also lets you SURF outside of\n"
@@ -32,103 +32,103 @@ gUnknown_819850E:: @ 819850E
.string "Ah!\n"
.string "Take this, too!$"
-gUnknown_819858F:: @ 819858F
+FuchsiaCity_Gym_Text_ReceivedTM06FromKoga:: @ 819858F
.string "{PLAYER} received TM06\n"
.string "from KOGA.$"
-gUnknown_81985AB:: @ 81985AB
+FuchsiaCity_Gym_Text_KogaExplainTM06:: @ 81985AB
.string "Sealed within that TM06 lies\n"
.string "TOXIC!\p"
.string "It is a secret technique dating\n"
.string "back some four hundred years.$"
-gUnknown_819860D:: @ 819860D
+FuchsiaCity_Gym_Text_MakeSpaceForThis:: @ 819860D
.string "Make space for this, child!$"
-Text_198629:: @ 8198629
+FuchsiaCity_Gym_Text_KaydenIntro:: @ 8198629
.string "Strength isn't the key for POKéMON.\n"
.string "Do you understand this?\p"
.string "POKéMON is about strategy!\p"
.string "I'll show you how strategy can\n"
.string "beat brute strength.$"
-Text_1986B4:: @ 81986B4
+FuchsiaCity_Gym_Text_KaydenDefeat:: @ 81986B4
.string "What?\n"
.string "Extraordinary!$"
-gUnknown_81986C9:: @ 81986C9
+FuchsiaCity_Gym_Text_KaydenPostBattle:: @ 81986C9
.string "So, you mix brawn with brains?\n"
.string "Good strategy!\p"
.string "That's remarkable for a child\n"
.string "TRAINER.$"
-Text_19871E:: @ 819871E
+FuchsiaCity_Gym_Text_KirkIntro:: @ 819871E
.string "I was a magician once upon a time.\p"
.string "But I dreamt of becoming a ninja,\n"
.string "so I joined this GYM.$"
-Text_198779:: @ 8198779
+FuchsiaCity_Gym_Text_KirkDefeat:: @ 8198779
.string "I'm done for!$"
-gUnknown_8198787:: @ 8198787
+FuchsiaCity_Gym_Text_KirkPostBattle:: @ 8198787
.string "Even though I've lost, I will keep\n"
.string "training according to the teachings\l"
.string "of KOGA, my ninja master.$"
-Text_1987E8:: @ 81987E8
+FuchsiaCity_Gym_Text_NateIntro:: @ 81987E8
.string "Let's see you beat my special\n"
.string "techniques!$"
-Text_198812:: @ 8198812
+FuchsiaCity_Gym_Text_NateDefeat:: @ 8198812
.string "You had me fooled!$"
-gUnknown_8198825:: @ 8198825
+FuchsiaCity_Gym_Text_NatePostBattle:: @ 8198825
.string "I like poison and sleep techniques,\n"
.string "as they linger after battle!$"
-Text_198866:: @ 8198866
+FuchsiaCity_Gym_Text_PhilIntro:: @ 8198866
.string "Stop right there!\p"
.string "The famed invisible walls of\n"
.string "FUCHSIA GYM have you frustrated?$"
-Text_1988B6:: @ 81988B6
+FuchsiaCity_Gym_Text_PhilDefeat:: @ 81988B6
.string "Whoa!\n"
.string "You've got it!$"
-gUnknown_81988CB:: @ 81988CB
+FuchsiaCity_Gym_Text_PhilPostBattle:: @ 81988CB
.string "You impressed me!\n"
.string "Here's a hint!\p"
.string "Look very closely for gaps in the\n"
.string "invisible walls!$"
-Text_19891F:: @ 819891F
+FuchsiaCity_Gym_Text_EdgarIntro:: @ 819891F
.string "I also study the way of the ninja\n"
.string "with Master KOGA!\p"
.string "Ninja have a long history of using\n"
.string "animals!$"
-Text_19897F:: @ 819897F
+FuchsiaCity_Gym_Text_EdgarDefeat:: @ 819897F
.string "Awoo!$"
-gUnknown_8198985:: @ 8198985
+FuchsiaCity_Gym_Text_EdgarPostBattle:: @ 8198985
.string "I still have much to learn.$"
-Text_1989A1:: @ 81989A1
+FuchsiaCity_Gym_Text_ShawnIntro:: @ 81989A1
.string "Master KOGA comes from a long line\n"
.string "of ninjas.\p"
.string "What did you descend from?$"
-Text_1989EA:: @ 81989EA
+FuchsiaCity_Gym_Text_ShawnDefeat:: @ 81989EA
.string "You're more skilled than I'd\n"
.string "thought!$"
-gUnknown_8198A10:: @ 8198A10
+FuchsiaCity_Gym_Text_ShawnPostBattle:: @ 8198A10
.string "Where there is light, there is\n"
.string "shadow!\p"
.string "Light and shadow!\n"
.string "Which do you choose?$"
-gUnknown_8198A5E:: @ 8198A5E
+FuchsiaCity_Gym_Text_GymGuyAdvice:: @ 8198A5E
.string "Yo!\n"
.string "Champ in the making!\p"
.string "FUCHSIA GYM is a tricked-up place.\n"
@@ -138,17 +138,17 @@ gUnknown_8198A5E:: @ 8198A5E
.string "You have to find gaps in the walls\n"
.string "to reach him.$"
-gUnknown_8198B1D:: @ 8198B1D
+FuchsiaCity_Gym_Text_GymGuyPostVictory:: @ 8198B1D
.string "It's amazing how ninja can terrify,\n"
.string "even now!$"
-gUnknown_8198B4B:: @ 8198B4B
+FuchsiaCity_Gym_Text_GymStatue:: @ 8198B4B
.string "FUCHSIA POKéMON GYM\n"
.string "LEADER: KOGA\p"
.string "WINNING TRAINERS:\n"
.string "{RIVAL}$"
-gUnknown_8198B81:: @ 8198B81
+FuchsiaCity_Gym_Text_GymStatuePlayerWon:: @ 8198B81
.string "FUCHSIA POKéMON GYM\n"
.string "LEADER: KOGA\p"
.string "WINNING TRAINERS:\n"
diff --git a/data/maps/FuchsiaCity_House1/map.json b/data/maps/FuchsiaCity_House1/map.json
index 60a811b30..dea412ed2 100644
--- a/data/maps/FuchsiaCity_House1/map.json
+++ b/data/maps/FuchsiaCity_House1/map.json
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_House1_EventScript_16D6CF",
+ "script": "FuchsiaCity_House1_EventScript_OldMan",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_House1_EventScript_16D6C6",
+ "script": "FuchsiaCity_House1_EventScript_Woman",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_House1_EventScript_16D6E8",
+ "script": "FuchsiaCity_House1_EventScript_LittleBoy",
"flag": "0"
}
],
diff --git a/data/maps/FuchsiaCity_House1/scripts.inc b/data/maps/FuchsiaCity_House1/scripts.inc
index dc32f78c4..2aa53b9fe 100644
--- a/data/maps/FuchsiaCity_House1/scripts.inc
+++ b/data/maps/FuchsiaCity_House1/scripts.inc
@@ -1,18 +1,18 @@
FuchsiaCity_House1_MapScripts:: @ 816D6C5
.byte 0
-FuchsiaCity_House1_EventScript_16D6C6:: @ 816D6C6
- msgbox gUnknown_8198BBB, MSGBOX_NPC
+FuchsiaCity_House1_EventScript_Woman:: @ 816D6C6
+ msgbox FuchsiaCity_House1_Text_WardenIsOldHasFalseTeeth, MSGBOX_NPC
end
-FuchsiaCity_House1_EventScript_16D6CF:: @ 816D6CF
+FuchsiaCity_House1_EventScript_OldMan:: @ 816D6CF
lock
faceplayer
famechecker FAMECHECKER_BILL, 2
- msgbox gUnknown_8198C1F
+ msgbox FuchsiaCity_House1_Text_BillIsMyGrandson
release
end
-FuchsiaCity_House1_EventScript_16D6E8:: @ 816D6E8
- msgbox gUnknown_8198C7B, MSGBOX_NPC
+FuchsiaCity_House1_EventScript_LittleBoy:: @ 816D6E8
+ msgbox FuchsiaCity_House1_Text_BillFilesHisOwnMonData, MSGBOX_NPC
end
diff --git a/data/maps/FuchsiaCity_House1/text.inc b/data/maps/FuchsiaCity_House1/text.inc
index e34e5d19e..6d1b399aa 100644
--- a/data/maps/FuchsiaCity_House1/text.inc
+++ b/data/maps/FuchsiaCity_House1/text.inc
@@ -1,16 +1,16 @@
-gUnknown_8198BBB:: @ 8198BBB
+FuchsiaCity_House1_Text_WardenIsOldHasFalseTeeth:: @ 8198BBB
.string "The SAFARI ZONE's WARDEN is old, \n"
.string "but he's still very much active.\p"
.string "All his teeth are false, though.$"
-gUnknown_8198C1F:: @ 8198C1F
+FuchsiaCity_House1_Text_BillIsMyGrandson:: @ 8198C1F
.string "Hmm?\n"
.string "You've met BILL?\p"
.string "He's my grandson!\p"
.string "He always liked collecting things,\n"
.string "even as a child!$"
-gUnknown_8198C7B:: @ 8198C7B
+FuchsiaCity_House1_Text_BillFilesHisOwnMonData:: @ 8198C7B
.string "BILL files his own POKéMON data on\n"
.string "his PC.\p"
.string "Did he show you?$"
diff --git a/data/maps/FuchsiaCity_House2/map.json b/data/maps/FuchsiaCity_House2/map.json
index 06be2ceca..ff4c45b1c 100644
--- a/data/maps/FuchsiaCity_House2/map.json
+++ b/data/maps/FuchsiaCity_House2/map.json
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_House2_EventScript_16D817",
+ "script": "FuchsiaCity_House2_EventScript_FishingGurusBrother",
"flag": "0"
}
],
diff --git a/data/maps/FuchsiaCity_House2/scripts.inc b/data/maps/FuchsiaCity_House2/scripts.inc
index 95e481963..0e624d5d4 100644
--- a/data/maps/FuchsiaCity_House2/scripts.inc
+++ b/data/maps/FuchsiaCity_House2/scripts.inc
@@ -1,34 +1,34 @@
FuchsiaCity_House2_MapScripts:: @ 816D816
.byte 0
-FuchsiaCity_House2_EventScript_16D817:: @ 816D817
+FuchsiaCity_House2_EventScript_FishingGurusBrother:: @ 816D817
lock
faceplayer
- goto_if_set FLAG_GOT_GOOD_ROD, EventScript_16D83F
- msgbox gUnknown_819918E, MSGBOX_YESNO
+ goto_if_set FLAG_GOT_GOOD_ROD, FuchsiaCity_House2_EventScript_AlreadyGotGoodRod
+ msgbox FuchsiaCity_House2_Text_DoYouLikeToFish, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq EventScript_16D849
- msgbox gUnknown_8199337
+ goto_if_eq FuchsiaCity_House2_EventScript_GiveGoodRod
+ msgbox FuchsiaCity_House2_Text_OhThatsDisappointing
release
end
-EventScript_16D83F:: @ 816D83F
- msgbox gUnknown_8199354
+FuchsiaCity_House2_EventScript_AlreadyGotGoodRod:: @ 816D83F
+ msgbox FuchsiaCity_House2_Text_HowAreTheFishBiting
release
end
-EventScript_16D849:: @ 816D849
- msgbox gUnknown_8199207
+FuchsiaCity_House2_EventScript_GiveGoodRod:: @ 816D849
+ msgbox FuchsiaCity_House2_Text_LikeYourStyleTakeThis
checkitemspace ITEM_GOOD_ROD, 1
compare VAR_RESULT, FALSE
- goto_if_eq EventScript_16D88A
- giveitem_msg gUnknown_819925E, ITEM_GOOD_ROD
- msgbox gUnknown_8199296
+ goto_if_eq FuchsiaCity_House2_EventScript_NoRoomForGoodRod
+ giveitem_msg FuchsiaCity_House2_Text_ReceivedGoodRod, ITEM_GOOD_ROD
+ msgbox FuchsiaCity_House2_Text_GoodRodCanCatchBetterMons
setflag FLAG_GOT_GOOD_ROD
release
end
-EventScript_16D88A:: @ 816D88A
- msgbox gUnknown_819937E
+FuchsiaCity_House2_EventScript_NoRoomForGoodRod:: @ 816D88A
+ msgbox FuchsiaCity_House2_Text_YouHaveNoRoomForGift
release
end
diff --git a/data/maps/FuchsiaCity_House2/text.inc b/data/maps/FuchsiaCity_House2/text.inc
index bf425f98e..b4cfbd13c 100644
--- a/data/maps/FuchsiaCity_House2/text.inc
+++ b/data/maps/FuchsiaCity_House2/text.inc
@@ -1,20 +1,20 @@
-gUnknown_819918E:: @ 819918E
+FuchsiaCity_House2_Text_DoYouLikeToFish:: @ 819918E
.string "I'm the FISHING GURU's older\n"
.string "brother.\p"
.string "I simply looove fishing!\n"
.string "I can't bear to go without.\p"
.string "Tell me, do you like to fish?$"
-gUnknown_8199207:: @ 8199207
+FuchsiaCity_House2_Text_LikeYourStyleTakeThis:: @ 8199207
.string "Grand! I like your style.\n"
.string "I think we can be friends.\p"
.string "Take this and fish, young friend!$"
-gUnknown_819925E:: @ 819925E
+FuchsiaCity_House2_Text_ReceivedGoodRod:: @ 819925E
.string "{PLAYER} received a GOOD ROD from\n"
.string "the FISHING GURU's brother.$"
-gUnknown_8199296:: @ 8199296
+FuchsiaCity_House2_Text_GoodRodCanCatchBetterMons:: @ 8199296
.string "Fishing is a way of life!\n"
.string "It is like the finest poetry.\p"
.string "A crummy OLD ROD could only catch\n"
@@ -22,15 +22,15 @@ gUnknown_8199296:: @ 8199296
.string "But with a GOOD ROD, you can\n"
.string "catch much better POKéMON.$"
-gUnknown_8199337:: @ 8199337
+FuchsiaCity_House2_Text_OhThatsDisappointing:: @ 8199337
.string "Oh…\n"
.string "That's so disappointing…$"
-gUnknown_8199354:: @ 8199354
+FuchsiaCity_House2_Text_HowAreTheFishBiting:: @ 8199354
.string "Hello there, {PLAYER}!\p"
.string "How are the fish biting?$"
-gUnknown_819937E:: @ 819937E
+FuchsiaCity_House2_Text_YouHaveNoRoomForGift:: @ 819937E
.string "Oh, no!\p"
.string "I had a gift for you, but you have\n"
.string "no room for it!$"
diff --git a/data/maps/FuchsiaCity_House3/map.json b/data/maps/FuchsiaCity_House3/map.json
index d5a729342..688224b15 100644
--- a/data/maps/FuchsiaCity_House3/map.json
+++ b/data/maps/FuchsiaCity_House3/map.json
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_House3_EventScript_16D895",
+ "script": "FuchsiaCity_House3_EventScript_MoveDeleter",
"flag": "0"
}
],
diff --git a/data/maps/FuchsiaCity_House3/scripts.inc b/data/maps/FuchsiaCity_House3/scripts.inc
index 5eb556a79..5af270538 100644
--- a/data/maps/FuchsiaCity_House3/scripts.inc
+++ b/data/maps/FuchsiaCity_House3/scripts.inc
@@ -1,60 +1,60 @@
FuchsiaCity_House3_MapScripts:: @ 816D894
.byte 0
-FuchsiaCity_House3_EventScript_16D895:: @ 816D895
+FuchsiaCity_House3_EventScript_MoveDeleter:: @ 816D895
lock
faceplayer
- msgbox gUnknown_81993B9, MSGBOX_YESNO
+ msgbox FuchsiaCity_House3_Text_WouldYouLikeToForgetMove, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq EventScript_16D8B0
- goto EventScript_16D941
+ goto_if_eq FuchsiaCity_House3_EventScript_ChooseMonForMoveDeleter
+ goto FuchsiaCity_House3_EventScript_CancelForgetMove
end
-EventScript_16D8B0:: @ 816D8B0
- msgbox gUnknown_8199421
+FuchsiaCity_House3_EventScript_ChooseMonForMoveDeleter:: @ 816D8B0
+ msgbox FuchsiaCity_House3_Text_WhichMonShouldForgetMove
special Special_ChooseMonFromParty
waitstate
- compare VAR_0x8004, 6
- goto_if_ge EventScript_16D941
+ compare VAR_0x8004, PARTY_SIZE
+ goto_if_ge FuchsiaCity_House3_EventScript_CancelForgetMove
special Special_IsSelectedMonEgg
- compare VAR_RESULT, 1
- goto_if_eq EventScript_16D937
+ compare VAR_RESULT, TRUE
+ goto_if_eq FuchsiaCity_House3_EventScript_CantForgetMoveEgg
special Special_GetNumMovesSelectedMonHas
compare VAR_RESULT, 1
- goto_if_eq EventScript_16D92A
- msgbox gUnknown_8199445
+ goto_if_eq FuchsiaCity_House3_EventScript_CantForgetOnlyMove
+ msgbox FuchsiaCity_House3_Text_WhichMoveShouldBeForgotten
fadescreen FADE_TO_BLACK
special Special_SelectMove
fadescreen FADE_FROM_BLACK
- compare VAR_0x8005, 4
- goto_if_eq EventScript_16D8B0
+ compare VAR_0x8005, MAX_MON_MOVES
+ goto_if_eq FuchsiaCity_House3_EventScript_ChooseMonForMoveDeleter
special Special_BufferMoveDeleterNicknameAndMove
- msgbox gUnknown_8199485, MSGBOX_YESNO
+ msgbox FuchsiaCity_House3_Text_MonsMoveShouldBeForgotten, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq EventScript_16D919
- goto EventScript_16D941
+ goto_if_eq FuchsiaCity_House3_EventScript_ForgetMove
+ goto FuchsiaCity_House3_EventScript_CancelForgetMove
end
-EventScript_16D919:: @ 816D919
+FuchsiaCity_House3_EventScript_ForgetMove:: @ 816D919
special Special_MoveDeleterForgetMove
playfanfare MUS_ME_WASURE
waitfanfare
- msgbox gUnknown_81994B1
+ msgbox FuchsiaCity_House3_Text_MonHasForgottenMoveCompletely
release
end
-EventScript_16D92A:: @ 816D92A
+FuchsiaCity_House3_EventScript_CantForgetOnlyMove:: @ 816D92A
special Special_BufferMoveDeleterNicknameAndMove
- msgbox gUnknown_8199465
+ msgbox FuchsiaCity_House3_Text_MonOnlyKnowsOneMove
release
end
-EventScript_16D937:: @ 816D937
- msgbox gUnknown_819951F
+FuchsiaCity_House3_EventScript_CantForgetMoveEgg:: @ 816D937
+ msgbox FuchsiaCity_House3_Text_NoEggShouldKnowMoves
release
end
-EventScript_16D941:: @ 816D941
- msgbox gUnknown_81994EA
+FuchsiaCity_House3_EventScript_CancelForgetMove:: @ 816D941
+ msgbox FuchsiaCity_House3_Text_ComeAgainToForgetOtherMoves
release
end
diff --git a/data/maps/FuchsiaCity_House3/text.inc b/data/maps/FuchsiaCity_House3/text.inc
index e4fbd2f6a..9748c7a3d 100644
--- a/data/maps/FuchsiaCity_House3/text.inc
+++ b/data/maps/FuchsiaCity_House3/text.inc
@@ -1,35 +1,35 @@
-gUnknown_81993B9:: @ 81993B9
+FuchsiaCity_House3_Text_WouldYouLikeToForgetMove:: @ 81993B9
.string "Uh…\n"
.string "Oh, yes, I'm the MOVE DELETER.\p"
.string "I can make POKéMON forget their\n"
.string "moves.\p"
.string "Would you like me to do that?$"
-gUnknown_8199421:: @ 8199421
+FuchsiaCity_House3_Text_WhichMonShouldForgetMove:: @ 8199421
.string "Which POKéMON should forget a\n"
.string "move?$"
-gUnknown_8199445:: @ 8199445
+FuchsiaCity_House3_Text_WhichMoveShouldBeForgotten:: @ 8199445
.string "Which move should be forgotten?$"
-gUnknown_8199465:: @ 8199465
+FuchsiaCity_House3_Text_MonOnlyKnowsOneMove:: @ 8199465
.string "{STR_VAR_1} seems to know only one\n"
.string "move…$"
-gUnknown_8199485:: @ 8199485
+FuchsiaCity_House3_Text_MonsMoveShouldBeForgotten:: @ 8199485
.string "Hm! {STR_VAR_1}'s {STR_VAR_2}?\n"
.string "That move should be forgotten?$"
-gUnknown_81994B1:: @ 81994B1
+FuchsiaCity_House3_Text_MonHasForgottenMoveCompletely:: @ 81994B1
.string "It worked to perfection!\p"
.string "{STR_VAR_1} has forgotten\n"
.string "{STR_VAR_2} completely.$"
-gUnknown_81994EA:: @ 81994EA
+FuchsiaCity_House3_Text_ComeAgainToForgetOtherMoves:: @ 81994EA
.string "Come again if there are other\n"
.string "moves to be forgotten.$"
-gUnknown_819951F:: @ 819951F
+FuchsiaCity_House3_Text_NoEggShouldKnowMoves:: @ 819951F
.string "What?\n"
.string "No EGG should know any moves.$"
diff --git a/data/maps/FuchsiaCity_Mart/map.json b/data/maps/FuchsiaCity_Mart/map.json
index 00852040b..43a38c753 100644
--- a/data/maps/FuchsiaCity_Mart/map.json
+++ b/data/maps/FuchsiaCity_Mart/map.json
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Mart_EventScript_16D4F3",
+ "script": "FuchsiaCity_Mart_EventScript_Clerk",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Mart_EventScript_16D4EA",
+ "script": "FuchsiaCity_Mart_EventScript_Gentleman",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Mart_EventScript_16D4E1",
+ "script": "FuchsiaCity_Mart_EventScript_CooltrainerF",
"flag": "0"
}
],
diff --git a/data/maps/FuchsiaCity_Mart/scripts.inc b/data/maps/FuchsiaCity_Mart/scripts.inc
index 631be4033..4a62ef9db 100644
--- a/data/maps/FuchsiaCity_Mart/scripts.inc
+++ b/data/maps/FuchsiaCity_Mart/scripts.inc
@@ -1,27 +1,27 @@
FuchsiaCity_Mart_MapScripts:: @ 816D4E0
.byte 0
-FuchsiaCity_Mart_EventScript_16D4E1:: @ 816D4E1
- msgbox gUnknown_8198134, MSGBOX_NPC
+FuchsiaCity_Mart_EventScript_CooltrainerF:: @ 816D4E1
+ msgbox FuchsiaCity_Mart_Text_DidYouTryXSpeed, MSGBOX_NPC
end
-FuchsiaCity_Mart_EventScript_16D4EA:: @ 816D4EA
- msgbox gUnknown_81980BC, MSGBOX_NPC
+FuchsiaCity_Mart_EventScript_Gentleman:: @ 816D4EA
+ msgbox FuchsiaCity_Mart_Text_DontTheyHaveSafariZonePennants, MSGBOX_NPC
end
-FuchsiaCity_Mart_EventScript_16D4F3:: @ 816D4F3
+FuchsiaCity_Mart_EventScript_Clerk:: @ 816D4F3
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
message Text_MayIHelpYou
waitmessage
- pokemart Items_16D518
+ pokemart FuchsiaCity_Mart_Items
msgbox Text_PleaseComeAgain
release
end
.align 2
-Items_16D518:: @ 816D518
+FuchsiaCity_Mart_Items:: @ 816D518
.2byte ITEM_ULTRA_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_SUPER_POTION
diff --git a/data/maps/FuchsiaCity_Mart/text.inc b/data/maps/FuchsiaCity_Mart/text.inc
index 69f9bc5f8..6bac5b484 100644
--- a/data/maps/FuchsiaCity_Mart/text.inc
+++ b/data/maps/FuchsiaCity_Mart/text.inc
@@ -1,10 +1,10 @@
-gUnknown_81980BC:: @ 81980BC
+FuchsiaCity_Mart_Text_DontTheyHaveSafariZonePennants:: @ 81980BC
.string "Don't they have any pennants\n"
.string "promoting the SAFARI ZONE?\p"
.string "How about some paper lanterns?\n"
.string "Aren't there even any calendars?$"
-gUnknown_8198134:: @ 8198134
+FuchsiaCity_Mart_Text_DidYouTryXSpeed:: @ 8198134
.string "Did you try X SPEED?\n"
.string "It speeds up a POKéMON in battle.$"
diff --git a/data/maps/FuchsiaCity_PokemonCenter_1F/map.json b/data/maps/FuchsiaCity_PokemonCenter_1F/map.json
index d2e1eee01..9cc66692f 100644
--- a/data/maps/FuchsiaCity_PokemonCenter_1F/map.json
+++ b/data/maps/FuchsiaCity_PokemonCenter_1F/map.json
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D700",
+ "script": "FuchsiaCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D709",
+ "script": "FuchsiaCity_PokemonCenter_1F_EventScript_Man",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D712",
+ "script": "FuchsiaCity_PokemonCenter_1F_EventScript_CooltrainerF",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_PokemonCenter_1F_EventScript_16D71B",
+ "script": "FuchsiaCity_PokemonCenter_1F_EventScript_Youngster",
"flag": "0"
}
],
diff --git a/data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc b/data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc
index 428305d1c..abcd80e57 100644
--- a/data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc
@@ -7,21 +7,21 @@ FuchsiaCity_PokemonCenter_1F_OnTransition:: @ 816D6FC
setrespawn SPAWN_FUCHSIA_CITY
end
-FuchsiaCity_PokemonCenter_1F_EventScript_16D700:: @ 816D700
+FuchsiaCity_PokemonCenter_1F_EventScript_Nurse:: @ 816D700
lock
faceplayer
call EventScript_PkmnCenterNurse
release
end
-FuchsiaCity_PokemonCenter_1F_EventScript_16D709:: @ 816D709
- msgbox gUnknown_8198CB7, MSGBOX_NPC
+FuchsiaCity_PokemonCenter_1F_EventScript_Man:: @ 816D709
+ msgbox FuchsiaCity_PokemonCenter_1F_Text_CantBecomeGoodTrainerWithOneMon, MSGBOX_NPC
end
-FuchsiaCity_PokemonCenter_1F_EventScript_16D712:: @ 816D712
- msgbox gUnknown_8198D2E, MSGBOX_NPC
+FuchsiaCity_PokemonCenter_1F_EventScript_CooltrainerF:: @ 816D712
+ msgbox FuchsiaCity_PokemonCenter_1F_Text_PokemonLeagueWestOfViridian, MSGBOX_NPC
end
-FuchsiaCity_PokemonCenter_1F_EventScript_16D71B:: @ 816D71B
- msgbox gUnknown_8198D9B, MSGBOX_NPC
+FuchsiaCity_PokemonCenter_1F_EventScript_Youngster:: @ 816D71B
+ msgbox FuchsiaCity_PokemonCenter_1F_Text_VisitSafariZoneForPokedex, MSGBOX_NPC
end
diff --git a/data/maps/FuchsiaCity_PokemonCenter_1F/text.inc b/data/maps/FuchsiaCity_PokemonCenter_1F/text.inc
index 7d3a627be..4d5deb734 100644
--- a/data/maps/FuchsiaCity_PokemonCenter_1F/text.inc
+++ b/data/maps/FuchsiaCity_PokemonCenter_1F/text.inc
@@ -1,16 +1,16 @@
-gUnknown_8198CB7:: @ 8198CB7
+FuchsiaCity_PokemonCenter_1F_Text_CantBecomeGoodTrainerWithOneMon:: @ 8198CB7
.string "You can't become a good TRAINER\n"
.string "with just one strong POKéMON.\p"
.string "But raising many POKéMON evenly\n"
.string "is no easy task, either.$"
-gUnknown_8198D2E:: @ 8198D2E
+FuchsiaCity_PokemonCenter_1F_Text_PokemonLeagueWestOfViridian:: @ 8198D2E
.string "There's a narrow trail west of\n"
.string "VIRIDIAN CITY.\p"
.string "It goes to the POKéMON LEAGUE HQ.\n"
.string "The HQ governs all TRAINERS.$"
-gUnknown_8198D9B:: @ 8198D9B
+FuchsiaCity_PokemonCenter_1F_Text_VisitSafariZoneForPokedex:: @ 8198D9B
.string "If you're working on a POKéDEX,\n"
.string "visit the SAFARI ZONE.\p"
.string "All sorts of rare POKéMON breed\n"
diff --git a/data/maps/FuchsiaCity_SafariZone_Entrance/map.json b/data/maps/FuchsiaCity_SafariZone_Entrance/map.json
index b4b0e9f82..04d51dae8 100644
--- a/data/maps/FuchsiaCity_SafariZone_Entrance/map.json
+++ b/data/maps/FuchsiaCity_SafariZone_Entrance/map.json
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D4B7",
+ "script": "FuchsiaCity_SafariZone_Entrance_EventScript_InfoAttendant",
"flag": "0"
}
],
@@ -78,7 +78,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": 0,
- "script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D36D"
+ "script": "FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerMid"
},
{
"type": "trigger",
@@ -87,7 +87,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": 0,
- "script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D379"
+ "script": "FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerRight"
},
{
"type": "trigger",
@@ -96,7 +96,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": 0,
- "script": "FuchsiaCity_SafariZone_Entrance_EventScript_16D385"
+ "script": "FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerLeft"
}
],
"bg_events": []
diff --git a/data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc b/data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc
index e4ec53ca7..863ddbd48 100644
--- a/data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc
+++ b/data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc
@@ -3,210 +3,213 @@ FuchsiaCity_SafariZone_Entrance_MapScripts:: @ 816D2A8
.byte 0
FuchsiaCity_SafariZone_Entrance_OnFrame:: @ 816D2AE
- map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1, EventScript_16D2F2
- map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 2, EventScript_16D312
- map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3, EventScript_16D2C8
+ map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1, FuchsiaCity_SafariZone_Entrance_EventScript_ExitWarpIn
+ map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 2, FuchsiaCity_SafariZone_Entrance_EventScript_ExitEarly
+ map_script_2 VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3, FuchsiaCity_SafariZone_Entrance_EventScript_ExitWalkIn
.2byte 0
-EventScript_16D2C8:: @ 816D2C8
+@ When player runs out of balls mid-battle
+FuchsiaCity_SafariZone_Entrance_EventScript_ExitWalkIn:: @ 816D2C8
lockall
textcolor 0
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D36A
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_ApproachCounter
waitmovement 0
- msgbox gUnknown_8197E85
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_CatchFairShareComeAgain
closemessage
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D367
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_Exit2
waitmovement 0
special ExitSafariMode
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 0
releaseall
end
-EventScript_16D2F2:: @ 816D2F2
+@ When player runs of out balls after catching a pokemon, or runs out of steps
+FuchsiaCity_SafariZone_Entrance_EventScript_ExitWarpIn:: @ 816D2F2
lockall
textcolor 0
- msgbox gUnknown_8197E85
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_CatchFairShareComeAgain
closemessage
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D362
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_Exit
waitmovement 0
special ExitSafariMode
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 0
releaseall
end
-EventScript_16D312:: @ 816D312
+@ When player re-enters the entrance building with balls/steps remaining
+FuchsiaCity_SafariZone_Entrance_EventScript_ExitEarly:: @ 816D312
lockall
textcolor 0
- msgbox gUnknown_8197E1A, MSGBOX_YESNO
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_GoingToLeaveSafariZoneEarly, MSGBOX_YESNO
compare VAR_RESULT, NO
- goto_if_eq EventScript_16D345
- msgbox gUnknown_8197E48
+ goto_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_ReturnToSafariZone
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_PleaseReturnSafariBalls
closemessage
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D362
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_Exit
waitmovement 0
special ExitSafariMode
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 0
releaseall
end
-EventScript_16D345:: @ 816D345
- msgbox gUnknown_8197E7A
+FuchsiaCity_SafariZone_Entrance_EventScript_ReturnToSafariZone:: @ 816D345
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_GoodLuck
closemessage
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D365
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_ReEnter
waitmovement 0
warp MAP_SAFARI_ZONE_CENTER, 255, 26, 30
waitstate
end
-Movement_16D362:: @ 816D362
+FuchsiaCity_SafariZone_Entrance_Movement_Exit:: @ 816D362
walk_down
walk_down
step_end
-Movement_16D365:: @ 816D365
+FuchsiaCity_SafariZone_Entrance_Movement_ReEnter:: @ 816D365
walk_up
step_end
-Movement_16D367:: @ 816D367
+FuchsiaCity_SafariZone_Entrance_Movement_Exit2:: @ 816D367
walk_down
walk_down
step_end
-Movement_16D36A:: @ 816D36A
+FuchsiaCity_SafariZone_Entrance_Movement_ApproachCounter:: @ 816D36A
walk_down
delay_8
step_end
-FuchsiaCity_SafariZone_Entrance_EventScript_16D36D:: @ 816D36D
+FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerMid:: @ 816D36D
lockall
setvar VAR_TEMP_2, 0
- goto EventScript_16D391
+ goto FuchsiaCity_SafariZone_Entrance_EventScript_AskEnterSafariZone
end
-FuchsiaCity_SafariZone_Entrance_EventScript_16D379:: @ 816D379
+FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerRight:: @ 816D379
lockall
setvar VAR_TEMP_2, 1
- goto EventScript_16D391
+ goto FuchsiaCity_SafariZone_Entrance_EventScript_AskEnterSafariZone
end
-FuchsiaCity_SafariZone_Entrance_EventScript_16D385:: @ 816D385
+FuchsiaCity_SafariZone_Entrance_EventScript_EntryTriggerLeft:: @ 816D385
lockall
setvar VAR_TEMP_2, 2
- goto EventScript_16D391
+ goto FuchsiaCity_SafariZone_Entrance_EventScript_AskEnterSafariZone
end
-EventScript_16D391:: @ 816D391
+FuchsiaCity_SafariZone_Entrance_EventScript_AskEnterSafariZone:: @ 816D391
textcolor 0
- msgbox gUnknown_8197C6B
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_WelcomeToSafariZone
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
waitmovement 0
showmoneybox 0, 0, 0
- msgbox gUnknown_8197C87, MSGBOX_YESNO
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_PlaySafariGameFor500, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq EventScript_16D3CA
- msgbox gUnknown_8197DE9
- goto EventScript_16D49A
+ goto_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_TryEnterSafariZone
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_OkayPleaseComeAgain
+ goto FuchsiaCity_SafariZone_Entrance_EventScript_ForcePlayerBack
end
-EventScript_16D3CA:: @ 816D3CA
- call EventScript_16D462
+FuchsiaCity_SafariZone_Entrance_EventScript_TryEnterSafariZone:: @ 816D3CA
+ call FuchsiaCity_SafariZone_Entrance_EventScript_CheckSpaceForMons
checkmoney 500, 0
compare VAR_RESULT, FALSE
- goto_if_eq EventScript_16D48C
+ goto_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_NotEnoughMoney
removemoney 500, 0
updatemoneybox 0, 0, 0
- msgbox gUnknown_8197D07
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_ThatllBe500WeOnlyUseSpecialBalls
textcolor 3
playfanfare MUS_FANFA1
- message Text_197D50
+ message FuchsiaCity_SafariZone_Entrance_Text_PlayerReceived30SafariBalls
waitfanfare
call EventScript_1A6675
- msgbox gUnknown_8197D80
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_CallYouOnPAWhenYouRunOut
closemessage
hidemoneybox 0, 0
compare VAR_TEMP_2, 0
- call_if_eq EventScript_16D44C
+ call_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneMid
compare VAR_TEMP_2, 1
- call_if_eq EventScript_16D441
+ call_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneRight
compare VAR_TEMP_2, 2
- call_if_eq EventScript_16D457
+ call_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneLeft
special EnterSafariMode
setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 2
warp MAP_SAFARI_ZONE_CENTER, 255, 26, 30
waitstate
end
-EventScript_16D441:: @ 816D441
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D4AF
+FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneRight:: @ 816D441
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneRight
waitmovement 0
return
-EventScript_16D44C:: @ 816D44C
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D4AC
+FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneMid:: @ 816D44C
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneMid
waitmovement 0
return
-EventScript_16D457:: @ 816D457
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D4B3
+FuchsiaCity_SafariZone_Entrance_EventScript_EnterSafariZoneLeft:: @ 816D457
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneLeft
waitmovement 0
return
-EventScript_16D462:: @ 816D462
+FuchsiaCity_SafariZone_Entrance_EventScript_CheckSpaceForMons:: @ 816D462
getpartysize
compare VAR_RESULT, PARTY_SIZE
goto_if_ne EventScript_Return
specialvar VAR_RESULT, Special_IsThereRoomInAnyBoxForMorePokemon
- compare VAR_RESULT, 1
+ compare VAR_RESULT, TRUE
goto_if_eq EventScript_Return
- msgbox gUnknown_81BFEAC
- goto EventScript_16D49A
+ msgbox SafariZone_Text_ExcuseMeYourPCBoxIsFull
+ goto FuchsiaCity_SafariZone_Entrance_EventScript_ForcePlayerBack
end
-EventScript_16D48C:: @ 816D48C
- msgbox gUnknown_8197E02
- goto EventScript_16D49A
+FuchsiaCity_SafariZone_Entrance_EventScript_NotEnoughMoney:: @ 816D48C
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_OopsNotEnoughMoney
+ goto FuchsiaCity_SafariZone_Entrance_EventScript_ForcePlayerBack
end
-EventScript_16D49A:: @ 816D49A
+FuchsiaCity_SafariZone_Entrance_EventScript_ForcePlayerBack:: @ 816D49A
closemessage
hidemoneybox 0, 0
- applymovement OBJ_EVENT_ID_PLAYER, Movement_16D4AA
+ applymovement OBJ_EVENT_ID_PLAYER, FuchsiaCity_SafariZone_Entrance_Movement_ForceBack
waitmovement 0
releaseall
end
-Movement_16D4AA:: @ 816D4AA
+FuchsiaCity_SafariZone_Entrance_Movement_ForceBack:: @ 816D4AA
walk_down
step_end
-Movement_16D4AC:: @ 816D4AC
+FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneMid:: @ 816D4AC
walk_up
walk_up
step_end
-Movement_16D4AF:: @ 816D4AF
+FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneRight:: @ 816D4AF
walk_up
walk_left
walk_up
step_end
-Movement_16D4B3:: @ 816D4B3
+FuchsiaCity_SafariZone_Entrance_Movement_EnterSafariZoneLeft:: @ 816D4B3
walk_up
walk_right
walk_up
step_end
-FuchsiaCity_SafariZone_Entrance_EventScript_16D4B7:: @ 816D4B7
+FuchsiaCity_SafariZone_Entrance_EventScript_InfoAttendant:: @ 816D4B7
lock
faceplayer
- msgbox gUnknown_8197EB0, MSGBOX_YESNO
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_FirstTimeAtSafariZone, MSGBOX_YESNO
compare VAR_RESULT, YES
- goto_if_eq EventScript_16D4D6
- msgbox gUnknown_819809E
+ goto_if_eq FuchsiaCity_SafariZone_Entrance_EventScript_ExplainSafariZone
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_SorryYoureARegularHere
release
end
-EventScript_16D4D6:: @ 816D4D6
- msgbox gUnknown_8197EE3
+FuchsiaCity_SafariZone_Entrance_EventScript_ExplainSafariZone:: @ 816D4D6
+ msgbox FuchsiaCity_SafariZone_Entrance_Text_ExplainSafariZone
release
end
diff --git a/data/maps/FuchsiaCity_SafariZone_Entrance/text.inc b/data/maps/FuchsiaCity_SafariZone_Entrance/text.inc
index bda1357a4..58f784422 100644
--- a/data/maps/FuchsiaCity_SafariZone_Entrance/text.inc
+++ b/data/maps/FuchsiaCity_SafariZone_Entrance/text.inc
@@ -1,56 +1,56 @@
-gUnknown_8197C6B:: @ 8197C6B
+FuchsiaCity_SafariZone_Entrance_Text_WelcomeToSafariZone:: @ 8197C6B
.string "Welcome to the SAFARI ZONE!$"
-gUnknown_8197C87:: @ 8197C87
+FuchsiaCity_SafariZone_Entrance_Text_PlaySafariGameFor500:: @ 8197C87
.string "For just ¥500, you can play the\n"
.string "SAFARI GAME.\p"
.string "You can roam the wide-open safari\n"
.string "and catch what you like.\p"
.string "Would you like to play?$"
-gUnknown_8197D07:: @ 8197D07
+FuchsiaCity_SafariZone_Entrance_Text_ThatllBe500WeOnlyUseSpecialBalls:: @ 8197D07
.string "That'll be ¥500, please!\p"
.string "We only use a special kind of \n"
.string "POKé BALLS here.$"
-Text_197D50:: @ 8197D50
+FuchsiaCity_SafariZone_Entrance_Text_PlayerReceived30SafariBalls:: @ 8197D50
.string "{PLAYER} received 30 SAFARI BALLS\n"
.string "from the attendant.$"
-gUnknown_8197D80:: @ 8197D80
+FuchsiaCity_SafariZone_Entrance_Text_CallYouOnPAWhenYouRunOut:: @ 8197D80
.string "We'll call you on the PA when you\n"
.string "run out of time or SAFARI BALLS.\p"
.string "Well, I'll wish you the best of\n"
.string "luck!$"
-gUnknown_8197DE9:: @ 8197DE9
+FuchsiaCity_SafariZone_Entrance_Text_OkayPleaseComeAgain:: @ 8197DE9
.string "Okay.\n"
.string "Please come again!$"
-gUnknown_8197E02:: @ 8197E02
+FuchsiaCity_SafariZone_Entrance_Text_OopsNotEnoughMoney:: @ 8197E02
.string "Oops!\n"
.string "Not enough money!$"
-gUnknown_8197E1A:: @ 8197E1A
+FuchsiaCity_SafariZone_Entrance_Text_GoingToLeaveSafariZoneEarly:: @ 8197E1A
.string "Are you going to leave the\n"
.string "SAFARI ZONE early?$"
-gUnknown_8197E48:: @ 8197E48
+FuchsiaCity_SafariZone_Entrance_Text_PleaseReturnSafariBalls:: @ 8197E48
.string "Please return any SAFARI BALLS\n"
.string "you may have left.$"
-gUnknown_8197E7A:: @ 8197E7A
+FuchsiaCity_SafariZone_Entrance_Text_GoodLuck:: @ 8197E7A
.string "Good luck!$"
-gUnknown_8197E85:: @ 8197E85
+FuchsiaCity_SafariZone_Entrance_Text_CatchFairShareComeAgain:: @ 8197E85
.string "Did you catch your fair share?\n"
.string "Come again!$"
-gUnknown_8197EB0:: @ 8197EB0
+FuchsiaCity_SafariZone_Entrance_Text_FirstTimeAtSafariZone:: @ 8197EB0
.string "Hi! Is it your first time here at\n"
.string "the SAFARI ZONE?$"
-gUnknown_8197EE3:: @ 8197EE3
+FuchsiaCity_SafariZone_Entrance_Text_ExplainSafariZone:: @ 8197EE3
.string "The SAFARI ZONE actually has\n"
.string "four zones in it.\p"
.string "Each zone has different kinds of\n"
@@ -68,6 +68,6 @@ gUnknown_8197EE3:: @ 8197EE3
.string "When you run out of time or SAFARI\n"
.string "BALLS, it's game over for you!$"
-gUnknown_819809E:: @ 819809E
+FuchsiaCity_SafariZone_Entrance_Text_SorryYoureARegularHere:: @ 819809E
.string "Sorry, you're a regular here!$"
diff --git a/data/maps/FuchsiaCity_ZooBuilding/map.json b/data/maps/FuchsiaCity_SafariZone_Office/map.json
index a4cf1b1a0..be1abfced 100644
--- a/data/maps/FuchsiaCity_ZooBuilding/map.json
+++ b/data/maps/FuchsiaCity_SafariZone_Office/map.json
@@ -1,7 +1,7 @@
{
- "id": "MAP_FUCHSIA_CITY_ZOO_BUILDING",
- "name": "FuchsiaCity_ZooBuilding",
- "layout": "LAYOUT_FUCHSIA_CITY_ZOO_BUILDING",
+ "id": "MAP_FUCHSIA_CITY_SAFARI_ZONE_OFFICE",
+ "name": "FuchsiaCity_SafariZone_Office",
+ "layout": "LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_OFFICE",
"music": "MUS_HANADA",
"region_map_section": "MAPSEC_FUCHSIA_CITY",
"requires_flash": false,
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_ZooBuilding_EventScript_16D532",
+ "script": "FuchsiaCity_SafariZone_Office_EventScript_Worker2",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_ZooBuilding_EventScript_16D53B",
+ "script": "FuchsiaCity_SafariZone_Office_EventScript_Worker3",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_ZooBuilding_EventScript_16D529",
+ "script": "FuchsiaCity_SafariZone_Office_EventScript_Worker1",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_ZooBuilding_EventScript_16D544",
+ "script": "FuchsiaCity_SafariZone_Office_EventScript_Worker4",
"flag": "0"
}
],
diff --git a/data/maps/FuchsiaCity_SafariZone_Office/scripts.inc b/data/maps/FuchsiaCity_SafariZone_Office/scripts.inc
new file mode 100644
index 000000000..88832c1b0
--- /dev/null
+++ b/data/maps/FuchsiaCity_SafariZone_Office/scripts.inc
@@ -0,0 +1,18 @@
+FuchsiaCity_SafariZone_Office_MapScripts:: @ 816D528
+ .byte 0
+
+FuchsiaCity_SafariZone_Office_EventScript_Worker1:: @ 816D529
+ msgbox FuchsiaCity_SafariZone_Office_Text_NicknamedWardenSlowpoke, MSGBOX_NPC
+ end
+
+FuchsiaCity_SafariZone_Office_EventScript_Worker2:: @ 816D532
+ msgbox FuchsiaCity_SafariZone_Office_Text_WardenIsVeryKnowledgeable, MSGBOX_NPC
+ end
+
+FuchsiaCity_SafariZone_Office_EventScript_Worker3:: @ 816D53B
+ msgbox FuchsiaCity_SafariZone_Office_Text_CouldntUnderstandWarden, MSGBOX_NPC
+ end
+
+FuchsiaCity_SafariZone_Office_EventScript_Worker4:: @ 816D544
+ msgbox FuchsiaCity_SafariZone_Office_Text_PrizeInSafariZone, MSGBOX_NPC
+ end
diff --git a/data/maps/FuchsiaCity_ZooBuilding/text.inc b/data/maps/FuchsiaCity_SafariZone_Office/text.inc
index 36b7e8a3e..0fedd07d6 100644
--- a/data/maps/FuchsiaCity_ZooBuilding/text.inc
+++ b/data/maps/FuchsiaCity_SafariZone_Office/text.inc
@@ -1,21 +1,21 @@
-gUnknown_819816B:: @ 819816B
+FuchsiaCity_SafariZone_Office_Text_NicknamedWardenSlowpoke:: @ 819816B
.string "We nicknamed the WARDEN\n"
.string "“SLOWPOKE.”\p"
.string "You know, he has that vacant look\n"
.string "like a SLOWPOKE.$"
-gUnknown_81981C2:: @ 81981C2
+FuchsiaCity_SafariZone_Office_Text_WardenIsVeryKnowledgeable:: @ 81981C2
.string "WARDEN SLOWPOKE is very\n"
.string "knowledgeable about POKéMON.\p"
.string "He even has some fossils of rare,\n"
.string "extinct POKéMON.$"
-gUnknown_819822A:: @ 819822A
+FuchsiaCity_SafariZone_Office_Text_CouldntUnderstandWarden:: @ 819822A
.string "WARDEN SLOWPOKE came in, but\n"
.string "I couldn't understand him.\p"
.string "I think he's got a speech problem!$"
-gUnknown_8198285:: @ 8198285
+FuchsiaCity_SafariZone_Office_Text_PrizeInSafariZone:: @ 8198285
.string "WARDEN SLOWPOKE is running a\n"
.string "promotion campaign right now.\p"
.string "Try to get to the farthest corner\n"
diff --git a/data/maps/FuchsiaCity_Building1/map.json b/data/maps/FuchsiaCity_WardensHouse/map.json
index 763dfb3e8..00f33363c 100644
--- a/data/maps/FuchsiaCity_Building1/map.json
+++ b/data/maps/FuchsiaCity_WardensHouse/map.json
@@ -1,7 +1,7 @@
{
- "id": "MAP_FUCHSIA_CITY_BUILDING1",
- "name": "FuchsiaCity_Building1",
- "layout": "LAYOUT_FUCHSIA_CITY_BUILDING1",
+ "id": "MAP_FUCHSIA_CITY_WARDENS_HOUSE",
+ "name": "FuchsiaCity_WardensHouse",
+ "layout": "LAYOUT_FUCHSIA_CITY_WARDENS_HOUSE",
"music": "MUS_HANADA",
"region_map_section": "MAPSEC_FUCHSIA_CITY",
"requires_flash": false,
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D74C",
+ "script": "FuchsiaCity_WardensHouse_EventScript_Warden",
"flag": "0"
},
{
@@ -49,8 +49,8 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Building1_EventScript_ItemRareCandy",
- "flag": "FLAG_HIDE_FUCHSIA_CITY_BUILDING1_RARE_CANDY"
+ "script": "FuchsiaCity_WardensHouse_EventScript_ItemRareCandy",
+ "flag": "FLAG_HIDE_FUCHSIA_CITY_WARDENS_HOUSE_RARE_CANDY"
},
{
"graphics_id": "0",
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Building1_EventScript_1ACEB8",
+ "script": "FuchsiaCity_WardensHouse_EventScript_PokemonJournalKoga",
"flag": "FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL"
}
],
@@ -96,28 +96,28 @@
"x": 7,
"y": 4,
"elevation": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D80D"
+ "script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign2"
},
{
"type": "bg_event_type_0",
"x": 4,
"y": 4,
"elevation": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D804"
+ "script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign1"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 4,
"elevation": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D804"
+ "script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign1"
},
{
"type": "bg_event_type_0",
"x": 6,
"y": 4,
"elevation": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D80D"
+ "script": "FuchsiaCity_WardensHouse_EventScript_DisplaySign2"
}
]
}
diff --git a/data/maps/FuchsiaCity_WardensHouse/scripts.inc b/data/maps/FuchsiaCity_WardensHouse/scripts.inc
new file mode 100644
index 000000000..141101e1b
--- /dev/null
+++ b/data/maps/FuchsiaCity_WardensHouse/scripts.inc
@@ -0,0 +1,63 @@
+FuchsiaCity_WardensHouse_MapScripts:: @ 816D74B
+ .byte 0
+
+FuchsiaCity_WardensHouse_EventScript_Warden:: @ 816D74C
+ lock
+ faceplayer
+ goto_if_set FLAG_GOT_HM04, FuchsiaCity_WardensHouse_EventScript_ExplainStrength
+ goto_if_set FLAG_HIDE_SAFARI_ZONE_WEST_GOLD_TEETH, FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth
+ msgbox FuchsiaCity_WardensHouse_Text_HifFuffHefifoo, MSGBOX_YESNO
+ compare VAR_RESULT, YES
+ call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenYes
+ compare VAR_RESULT, NO
+ call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenNo
+ release
+ end
+
+FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth:: @ 816D780
+ textcolor 3
+ playfanfare MUS_ME_WAZA
+ message FuchsiaCity_WardensHouse_Text_GaveGoldTeethToWarden
+ waitmessage
+ waitfanfare
+ msgbox FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth
+ call EventScript_1A6675
+ checkplayergender
+ compare VAR_RESULT, MALE
+ call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksMale
+ compare VAR_RESULT, FEMALE
+ call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksFemale
+ giveitem_msg FuchsiaCity_WardensHouse_Text_ReceivedHM04FromWarden, ITEM_HM04
+ setflag FLAG_GOT_HM04
+ removeitem ITEM_GOLD_TEETH, 1
+ release
+ end
+
+FuchsiaCity_WardensHouse_EventScript_WardenThanksMale:: @ 816D7D6
+ msgbox FuchsiaCity_WardensHouse_Text_ThanksSonGiveYouSomething
+ return
+
+FuchsiaCity_WardensHouse_EventScript_WardenThanksFemale:: @ 816D7DF
+ msgbox FuchsiaCity_WardensHouse_Text_ThanksLassieGiveYouSomething
+ return
+
+FuchsiaCity_WardensHouse_EventScript_WardenYes:: @ 816D7E8
+ msgbox FuchsiaCity_WardensHouse_Text_AhHowheeHoHoo
+ return
+
+FuchsiaCity_WardensHouse_EventScript_WardenNo:: @ 816D7F1
+ msgbox FuchsiaCity_WardensHouse_Text_HeOhayHeHaHoo
+ return
+
+FuchsiaCity_WardensHouse_EventScript_ExplainStrength:: @ 816D7FA
+ msgbox FuchsiaCity_WardensHouse_Text_ExplainStrength
+ release
+ end
+
+FuchsiaCity_WardensHouse_EventScript_DisplaySign1:: @ 816D804
+ msgbox FuchsiaCity_WardensHouse_Text_MonPhotosFossilsOnDisplay, MSGBOX_SIGN
+ end
+
+FuchsiaCity_WardensHouse_EventScript_DisplaySign2:: @ 816D80D
+ msgbox FuchsiaCity_WardensHouse_Text_OldMonMerchandiseOnDisplay, MSGBOX_SIGN
+ end
diff --git a/data/maps/FuchsiaCity_Building1/text.inc b/data/maps/FuchsiaCity_WardensHouse/text.inc
index dd4069e1f..b3f4b7b35 100644
--- a/data/maps/FuchsiaCity_Building1/text.inc
+++ b/data/maps/FuchsiaCity_WardensHouse/text.inc
@@ -1,24 +1,24 @@
-gUnknown_8198DF9:: @ 8198DF9
+FuchsiaCity_WardensHouse_Text_HifFuffHefifoo:: @ 8198DF9
.string "WARDEN: Hif fuff hefifoo!\p"
.string "Ha lof ha feef ee hafahi ho.\n"
.string "Heff hee fwee!$"
-gUnknown_8198E3F:: @ 8198E3F
+FuchsiaCity_WardensHouse_Text_AhHowheeHoHoo:: @ 8198E3F
.string "Ah howhee ho hoo!\n"
.string "Eef ee hafahi ho!$"
-gUnknown_8198E63:: @ 8198E63
+FuchsiaCity_WardensHouse_Text_HeOhayHeHaHoo:: @ 8198E63
.string "Ha?\n"
.string "He ohay heh ha hoo ee haheh!$"
-Text_198E84:: @ 8198E84
+FuchsiaCity_WardensHouse_Text_GaveGoldTeethToWarden:: @ 8198E84
.string "{PLAYER} gave the GOLD TEETH\n"
.string "to the WARDEN.$"
-gUnknown_8198EAA:: @ 8198EAA
+FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth:: @ 8198EAA
.string "The WARDEN popped in his teeth!$"
-gUnknown_8198ECA:: @ 8198ECA
+FuchsiaCity_WardensHouse_Text_ThanksSonGiveYouSomething:: @ 8198ECA
.string "WARDEN: Thanks, son!\n"
.string "You're a real lifesaver!\p"
.string "No one could understand a word\n"
@@ -28,7 +28,7 @@ gUnknown_8198ECA:: @ 8198ECA
.string "Let me give you something for your\n"
.string "trouble.$"
-gUnknown_8198F96:: @ 8198F96
+FuchsiaCity_WardensHouse_Text_ThanksLassieGiveYouSomething:: @ 8198F96
.string "WARDEN: Thank you, lassie!\n"
.string "You're a real lifesaver!\p"
.string "No one could understand a word\n"
@@ -38,11 +38,11 @@ gUnknown_8198F96:: @ 8198F96
.string "Let me give you something for your\n"
.string "trouble.$"
-gUnknown_8199068:: @ 8199068
+FuchsiaCity_WardensHouse_Text_ReceivedHM04FromWarden:: @ 8199068
.string "{PLAYER} received HM04\n"
.string "from the WARDEN.$"
-gUnknown_819908A:: @ 819908A
+FuchsiaCity_WardensHouse_Text_ExplainStrength:: @ 819908A
.string "WARDEN: Inside HM04 you'll find\n"
.string "STRENGTH.\p"
.string "It lets POKéMON move boulders when\n"
@@ -50,15 +50,16 @@ gUnknown_819908A:: @ 819908A
.string "Oh yes, did you find the SECRET\n"
.string "HOUSE in the SAFARI ZONE?$"
-Text_19912B:: @ 819912B
+@ Unused
+FuchsiaCity_WardensHouse_Text_YouHaveTooMuchStuff:: @ 819912B
.string "なんや にもつ\n"
.string "いっぱいやんけ!$"
-gUnknown_819913C:: @ 819913C
+FuchsiaCity_WardensHouse_Text_MonPhotosFossilsOnDisplay:: @ 819913C
.string "POKéMON photos and fossils are on\n"
.string "display.$"
-gUnknown_8199167:: @ 8199167
+FuchsiaCity_WardensHouse_Text_OldMonMerchandiseOnDisplay:: @ 8199167
.string "Old POKéMON merchandise is on\n"
.string "display.$"
diff --git a/data/maps/FuchsiaCity_ZooBuilding/scripts.inc b/data/maps/FuchsiaCity_ZooBuilding/scripts.inc
deleted file mode 100644
index 210acd87f..000000000
--- a/data/maps/FuchsiaCity_ZooBuilding/scripts.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-FuchsiaCity_ZooBuilding_MapScripts:: @ 816D528
- .byte 0
-
-FuchsiaCity_ZooBuilding_EventScript_16D529:: @ 816D529
- msgbox gUnknown_819816B, MSGBOX_NPC
- end
-
-FuchsiaCity_ZooBuilding_EventScript_16D532:: @ 816D532
- msgbox gUnknown_81981C2, MSGBOX_NPC
- end
-
-FuchsiaCity_ZooBuilding_EventScript_16D53B:: @ 816D53B
- msgbox gUnknown_819822A, MSGBOX_NPC
- end
-
-FuchsiaCity_ZooBuilding_EventScript_16D544:: @ 816D544
- msgbox gUnknown_8198285, MSGBOX_NPC
- end
diff --git a/data/maps/map_groups.json b/data/maps/map_groups.json
index b89b112a4..6f233a697 100644
--- a/data/maps/map_groups.json
+++ b/data/maps/map_groups.json
@@ -385,12 +385,12 @@
"gMapGroup11": [
"FuchsiaCity_SafariZone_Entrance",
"FuchsiaCity_Mart",
- "FuchsiaCity_ZooBuilding",
+ "FuchsiaCity_SafariZone_Office",
"FuchsiaCity_Gym",
"FuchsiaCity_House1",
"FuchsiaCity_PokemonCenter_1F",
"FuchsiaCity_PokemonCenter_2F",
- "FuchsiaCity_Building1",
+ "FuchsiaCity_WardensHouse",
"FuchsiaCity_House2",
"FuchsiaCity_House3"
],
diff --git a/data/scripts/fame_checker.inc b/data/scripts/fame_checker.inc
index 0d058b2d5..7868df34f 100644
--- a/data/scripts/fame_checker.inc
+++ b/data/scripts/fame_checker.inc
@@ -101,12 +101,12 @@ CeladonCity_Condominiums_2F_EventScript_1ACE9D:: @ 81ACE9D
release
end
-FuchsiaCity_Building1_EventScript_1ACEB8:: @ 81ACEB8
+FuchsiaCity_WardensHouse_EventScript_PokemonJournalKoga:: @ 81ACEB8
lock
faceplayer
famechecker FAMECHECKER_KOGA, 4
textcolor 3
- msgbox gUnknown_81B16A8
+ msgbox PokemonJournal_Text_SpecialFeatureKoga
release
end
diff --git a/data/scripts/item_ball_scripts.inc b/data/scripts/item_ball_scripts.inc
index ed8aef9d4..f6662368c 100644
--- a/data/scripts/item_ball_scripts.inc
+++ b/data/scripts/item_ball_scripts.inc
@@ -398,7 +398,7 @@ CeruleanCave_B1F_EventScript_ItemUltraBall:: @ 81BEA95
finditem ITEM_ULTRA_BALL
end
-FuchsiaCity_Building1_EventScript_ItemRareCandy:: @ 81BEAA2
+FuchsiaCity_WardensHouse_EventScript_ItemRareCandy:: @ 81BEAA2
finditem ITEM_RARE_CANDY
end
diff --git a/data/text/fame_checker.inc b/data/text/fame_checker.inc
index 25ce2e5e9..a65dc1f48 100644
--- a/data/text/fame_checker.inc
+++ b/data/text/fame_checker.inc
@@ -1404,7 +1404,7 @@ gUnknown_81B161B:: @ 81B161B
.string "CELADON GYM, you can often\l"
.string "see ERIKA snoozing.$"
-gUnknown_81B16A8:: @ 81B16A8
+PokemonJournal_Text_SpecialFeatureKoga:: @ 81B16A8
.string "POKéMON JOURNAL\p"
.string "Special Feature: FUCHSIA GYM\n"
.string "LEADER KOGA!\p"
diff --git a/include/battle.h b/include/battle.h
index bed12204f..c9534745d 100644
--- a/include/battle.h
+++ b/include/battle.h
@@ -45,7 +45,6 @@
#define B_ACTION_NONE 0xFF
#define MAX_TRAINER_ITEMS 4
-#define MAX_MON_MOVES 4
// array entries for battle communication
#define MULTIUSE_STATE 0x0
diff --git a/include/constants/flags.h b/include/constants/flags.h
index 982c90fcc..2f03573ab 100644
--- a/include/constants/flags.h
+++ b/include/constants/flags.h
@@ -450,7 +450,7 @@
#define FLAG_HIDE_CERULEAN_CAVE_2F_ULTRA_BALL 0x1B6
#define FLAG_HIDE_CERULEAN_CAVE_B1F_MAX_REVIVE 0x1B7
#define FLAG_HIDE_CERULEAN_CAVE_B1F_ULTRA_BALL 0x1B8
-#define FLAG_HIDE_FUCHSIA_CITY_BUILDING1_RARE_CANDY 0x1B9
+#define FLAG_HIDE_FUCHSIA_CITY_WARDENS_HOUSE_RARE_CANDY 0x1B9
#define FLAG_HIDE_TWO_ISLAND_REVIVE 0x1BA
#define FLAG_HIDE_THREE_ISLAND_ZINC 0x1BB
#define FLAG_0x1BC 0x1BC
diff --git a/include/constants/global.h b/include/constants/global.h
index 420a9da71..9aee27d8e 100644
--- a/include/constants/global.h
+++ b/include/constants/global.h
@@ -59,6 +59,8 @@
#define NUM_BAG_POCKETS 5
+#define MAX_MON_MOVES 4
+
#define PARTY_SIZE 6
#define MULTI_PARTY_SIZE (PARTY_SIZE / 2)
diff --git a/include/constants/layouts.h b/include/constants/layouts.h
index a9d40220f..d0454a0ad 100644
--- a/include/constants/layouts.h
+++ b/include/constants/layouts.h
@@ -182,8 +182,8 @@
#define LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ROOF 197
#define LAYOUT_SAFARI_ZONE_BUILDING 198
#define LAYOUT_SAFARI_ZONE_SECRET_HOUSE 199
-#define LAYOUT_FUCHSIA_CITY_ZOO_BUILDING 200
-#define LAYOUT_FUCHSIA_CITY_BUILDING1 201
+#define LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_OFFICE 200
+#define LAYOUT_FUCHSIA_CITY_WARDENS_HOUSE 201
#define LAYOUT_FUCHSIA_CITY_HOUSE2 202
#define LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE 203
#define LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE 204
diff --git a/include/constants/map_groups.h b/include/constants/map_groups.h
index 4d37b0dc8..a43ae78d0 100644
--- a/include/constants/map_groups.h
+++ b/include/constants/map_groups.h
@@ -342,12 +342,12 @@
// Map Group 11
#define MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE (0 | (11 << 8))
#define MAP_FUCHSIA_CITY_MART (1 | (11 << 8))
-#define MAP_FUCHSIA_CITY_ZOO_BUILDING (2 | (11 << 8))
+#define MAP_FUCHSIA_CITY_SAFARI_ZONE_OFFICE (2 | (11 << 8))
#define MAP_FUCHSIA_CITY_GYM (3 | (11 << 8))
#define MAP_FUCHSIA_CITY_HOUSE1 (4 | (11 << 8))
#define MAP_FUCHSIA_CITY_POKEMON_CENTER_1F (5 | (11 << 8))
#define MAP_FUCHSIA_CITY_POKEMON_CENTER_2F (6 | (11 << 8))
-#define MAP_FUCHSIA_CITY_BUILDING1 (7 | (11 << 8))
+#define MAP_FUCHSIA_CITY_WARDENS_HOUSE (7 | (11 << 8))
#define MAP_FUCHSIA_CITY_HOUSE2 (8 | (11 << 8))
#define MAP_FUCHSIA_CITY_HOUSE3 (9 | (11 << 8))
diff --git a/include/event_scripts.h b/include/event_scripts.h
index b5e355484..468b965d0 100644
--- a/include/event_scripts.h
+++ b/include/event_scripts.h
@@ -1148,10 +1148,10 @@ extern const u8 EventScript_FldEffStrength[];
extern const u8 EventScript_FailSweetScent[];
extern const u8 EventScript_FldEffRockSmash[];
-extern const u8 EventScript_SafariTimesUp[];
-extern const u8 EventScript_SafariRetire[];
-extern const u8 EventScript_SafariWarpOut[];
-extern const u8 EventScript_SafariOutOfBalls[];
+extern const u8 SafariZone_EventScript_TimesUp[];
+extern const u8 SafariZone_EventScript_RetirePrompt[];
+extern const u8 SafariZone_EventScript_OutOfBallsMidBattle[];
+extern const u8 SafariZone_EventScript_OutOfBalls[];
extern const u8 EventScript_ItemfinderDigUpUnderfootItem[];
diff --git a/src/field_specials.c b/src/field_specials.c
index 8d6014fba..57bf53830 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -1816,7 +1816,7 @@ static const struct {
{MAP_GROUP(ROCKET_HIDEOUT_B1F), MAP_NUM(ROCKET_HIDEOUT_B1F), MAP_GROUP(CELADON_CITY_GAME_CORNER), MAP_NUM(CELADON_CITY_GAME_CORNER)},
{MAP_GROUP(SAFARI_ZONE_CENTER), MAP_NUM(SAFARI_ZONE_CENTER), MAP_GROUP(FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE), MAP_NUM(FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE)},
{MAP_GROUP(FUCHSIA_CITY_GYM), MAP_NUM(FUCHSIA_CITY_GYM), MAP_GROUP(FUCHSIA_CITY), MAP_NUM(FUCHSIA_CITY)},
- {MAP_GROUP(FUCHSIA_CITY_BUILDING1), MAP_NUM(FUCHSIA_CITY_BUILDING1), MAP_GROUP(FUCHSIA_CITY), MAP_NUM(FUCHSIA_CITY)},
+ {MAP_GROUP(FUCHSIA_CITY_WARDENS_HOUSE), MAP_NUM(FUCHSIA_CITY_WARDENS_HOUSE), MAP_GROUP(FUCHSIA_CITY), MAP_NUM(FUCHSIA_CITY)},
{MAP_GROUP(SAFFRON_CITY_DOJO), MAP_NUM(SAFFRON_CITY_DOJO), MAP_GROUP(SAFFRON_CITY), MAP_NUM(SAFFRON_CITY)},
{MAP_GROUP(SAFFRON_CITY_GYM), MAP_NUM(SAFFRON_CITY_GYM), MAP_GROUP(SAFFRON_CITY), MAP_NUM(SAFFRON_CITY)},
{MAP_GROUP(SILPH_CO_1F), MAP_NUM(SILPH_CO_1F), MAP_GROUP(SAFFRON_CITY), MAP_NUM(SAFFRON_CITY)},
diff --git a/src/safari_zone.c b/src/safari_zone.c
index cb0a58586..65fb89bca 100644
--- a/src/safari_zone.c
+++ b/src/safari_zone.c
@@ -47,7 +47,7 @@ bool8 SafariZoneTakeStep(void)
gSafariZoneStepCounter--;
if (gSafariZoneStepCounter == 0)
{
- ScriptContext1_SetupScript(EventScript_SafariTimesUp);
+ ScriptContext1_SetupScript(SafariZone_EventScript_TimesUp);
return TRUE;
}
return FALSE;
@@ -55,7 +55,7 @@ bool8 SafariZoneTakeStep(void)
void SafariZoneRetirePrompt(void)
{
- ScriptContext1_SetupScript(EventScript_SafariRetire);
+ ScriptContext1_SetupScript(SafariZone_EventScript_RetirePrompt);
}
void CB2_EndSafariBattle(void)
@@ -66,14 +66,14 @@ void CB2_EndSafariBattle(void)
}
else if (gBattleOutcome == B_OUTCOME_NO_SAFARI_BALLS)
{
- ScriptContext2_RunNewScript(EventScript_SafariWarpOut);
+ ScriptContext2_RunNewScript(SafariZone_EventScript_OutOfBallsMidBattle);
WarpIntoMap();
gFieldCallback = sub_807E3EC;
SetMainCallback2(CB2_LoadMap);
}
else if (gBattleOutcome == B_OUTCOME_CAUGHT)
{
- ScriptContext1_SetupScript(EventScript_SafariOutOfBalls);
+ ScriptContext1_SetupScript(SafariZone_EventScript_OutOfBalls);
ScriptContext1_Stop();
SetMainCallback2(CB2_ReturnToFieldContinueScriptPlayMapMusic);
}