summaryrefslogtreecommitdiff
path: root/data/maps/FuchsiaCity
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-19 21:48:48 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-19 23:41:58 -0500
commit2cd1460cc5910a78cd25929692cf12646fd7d4b7 (patch)
treea90b51cd3d0a94f8eeaa4c48ee8b5be401dfd319 /data/maps/FuchsiaCity
parent055e5d2bbff31a98bcdffec0d7392e7ce77bcd46 (diff)
Document Fuchsia City scripts
Diffstat (limited to 'data/maps/FuchsiaCity')
-rw-r--r--data/maps/FuchsiaCity/map.json36
-rw-r--r--data/maps/FuchsiaCity/scripts.inc83
-rw-r--r--data/maps/FuchsiaCity/text.inc39
3 files changed, 80 insertions, 78 deletions
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"