summaryrefslogtreecommitdiff
path: root/data/maps/FuchsiaCity_Building1
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_Building1
parent055e5d2bbff31a98bcdffec0d7392e7ce77bcd46 (diff)
Document Fuchsia City scripts
Diffstat (limited to 'data/maps/FuchsiaCity_Building1')
-rw-r--r--data/maps/FuchsiaCity_Building1/map.json123
-rw-r--r--data/maps/FuchsiaCity_Building1/scripts.inc63
-rw-r--r--data/maps/FuchsiaCity_Building1/text.inc64
3 files changed, 0 insertions, 250 deletions
diff --git a/data/maps/FuchsiaCity_Building1/map.json b/data/maps/FuchsiaCity_Building1/map.json
deleted file mode 100644
index 763dfb3e8..000000000
--- a/data/maps/FuchsiaCity_Building1/map.json
+++ /dev/null
@@ -1,123 +0,0 @@
-{
- "id": "MAP_FUCHSIA_CITY_BUILDING1",
- "name": "FuchsiaCity_Building1",
- "layout": "LAYOUT_FUCHSIA_CITY_BUILDING1",
- "music": "MUS_HANADA",
- "region_map_section": "MAPSEC_FUCHSIA_CITY",
- "requires_flash": false,
- "weather": "WEATHER_NONE",
- "map_type": "MAP_TYPE_8",
- "unknown_18": 0,
- "unknown_19": 0,
- "elevator_flag": 0,
- "battle_scene": "BATTLE_SCENE_0",
- "connections": null,
- "object_events": [
- {
- "graphics_id": "OBJECT_EVENT_GFX_OLD_MAN_2",
- "x": 3,
- "y": 5,
- "elevation": 3,
- "movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
- "movement_range_x": 1,
- "movement_range_y": 1,
- "trainer_type": 0,
- "trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D74C",
- "flag": "0"
- },
- {
- "graphics_id": "OBJECT_EVENT_GFX_STRENGTH_BOULDER",
- "x": 11,
- "y": 6,
- "elevation": 3,
- "movement_type": "MOVEMENT_TYPE_FACE_DOWN",
- "movement_range_x": 0,
- "movement_range_y": 0,
- "trainer_type": 0,
- "trainer_sight_or_berry_tree_id": 0,
- "script": "EventScript_InteractWithStrengthBoulderObject",
- "flag": "0"
- },
- {
- "graphics_id": "OBJECT_EVENT_GFX_ITEM_BALL",
- "x": 11,
- "y": 5,
- "elevation": 3,
- "movement_type": "MOVEMENT_TYPE_FACE_DOWN",
- "movement_range_x": 1,
- "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"
- },
- {
- "graphics_id": "0",
- "x": 4,
- "y": 1,
- "elevation": 0,
- "movement_type": "MOVEMENT_TYPE_INVISIBLE",
- "movement_range_x": 1,
- "movement_range_y": 1,
- "trainer_type": 0,
- "trainer_sight_or_berry_tree_id": 0,
- "script": "FuchsiaCity_Building1_EventScript_1ACEB8",
- "flag": "FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL"
- }
- ],
- "warp_events": [
- {
- "x": 5,
- "y": 10,
- "elevation": 0,
- "dest_map": "MAP_FUCHSIA_CITY",
- "dest_warp_id": 1
- },
- {
- "x": 6,
- "y": 9,
- "elevation": 3,
- "dest_map": "MAP_FUCHSIA_CITY",
- "dest_warp_id": 1
- },
- {
- "x": 7,
- "y": 10,
- "elevation": 0,
- "dest_map": "MAP_FUCHSIA_CITY",
- "dest_warp_id": 1
- }
- ],
- "coord_events": [],
- "bg_events": [
- {
- "type": "bg_event_type_0",
- "x": 7,
- "y": 4,
- "elevation": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D80D"
- },
- {
- "type": "bg_event_type_0",
- "x": 4,
- "y": 4,
- "elevation": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D804"
- },
- {
- "type": "bg_event_type_0",
- "x": 5,
- "y": 4,
- "elevation": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D804"
- },
- {
- "type": "bg_event_type_0",
- "x": 6,
- "y": 4,
- "elevation": 0,
- "script": "FuchsiaCity_Building1_EventScript_16D80D"
- }
- ]
-}
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_Building1/text.inc b/data/maps/FuchsiaCity_Building1/text.inc
deleted file mode 100644
index dd4069e1f..000000000
--- a/data/maps/FuchsiaCity_Building1/text.inc
+++ /dev/null
@@ -1,64 +0,0 @@
-gUnknown_8198DF9:: @ 8198DF9
- .string "WARDEN: Hif fuff hefifoo!\p"
- .string "Ha lof ha feef ee hafahi ho.\n"
- .string "Heff hee fwee!$"
-
-gUnknown_8198E3F:: @ 8198E3F
- .string "Ah howhee ho hoo!\n"
- .string "Eef ee hafahi ho!$"
-
-gUnknown_8198E63:: @ 8198E63
- .string "Ha?\n"
- .string "He ohay heh ha hoo ee haheh!$"
-
-Text_198E84:: @ 8198E84
- .string "{PLAYER} gave the GOLD TEETH\n"
- .string "to the WARDEN.$"
-
-gUnknown_8198EAA:: @ 8198EAA
- .string "The WARDEN popped in his teeth!$"
-
-gUnknown_8198ECA:: @ 8198ECA
- .string "WARDEN: Thanks, son!\n"
- .string "You're a real lifesaver!\p"
- .string "No one could understand a word\n"
- .string "that I said, not a one!\p"
- .string "I was too ashamed to show my face\n"
- .string "around the OFFICE, even.\p"
- .string "Let me give you something for your\n"
- .string "trouble.$"
-
-gUnknown_8198F96:: @ 8198F96
- .string "WARDEN: Thank you, lassie!\n"
- .string "You're a real lifesaver!\p"
- .string "No one could understand a word\n"
- .string "that I said, not a one!\p"
- .string "I was too ashamed to show my face\n"
- .string "around the OFFICE, even.\p"
- .string "Let me give you something for your\n"
- .string "trouble.$"
-
-gUnknown_8199068:: @ 8199068
- .string "{PLAYER} received HM04\n"
- .string "from the WARDEN.$"
-
-gUnknown_819908A:: @ 819908A
- .string "WARDEN: Inside HM04 you'll find\n"
- .string "STRENGTH.\p"
- .string "It lets POKéMON move boulders when\n"
- .string "you're outside of battle.\p"
- .string "Oh yes, did you find the SECRET\n"
- .string "HOUSE in the SAFARI ZONE?$"
-
-Text_19912B:: @ 819912B
- .string "なんや にもつ\n"
- .string "いっぱいやんけ!$"
-
-gUnknown_819913C:: @ 819913C
- .string "POKéMON photos and fossils are on\n"
- .string "display.$"
-
-gUnknown_8199167:: @ 8199167
- .string "Old POKéMON merchandise is on\n"
- .string "display.$"
-