summaryrefslogtreecommitdiff
path: root/data/maps/FiveIsland_PokemonCenter_1F
diff options
context:
space:
mode:
authorSwastik Baranwal <swstkbaranwal@gmail.com>2019-06-23 18:47:35 +0530
committerGitHub <noreply@github.com>2019-06-23 18:47:35 +0530
commit99703c6ab831d34e6859d8a8f53ba8e73dc4d3d9 (patch)
tree3a712d3039d152616af58a45a13d82c40a87e58f /data/maps/FiveIsland_PokemonCenter_1F
parent6d190f861e3559eec922cd760778c0cba6e08397 (diff)
parent9ee0c34758a63f8c00724b6fc984b4e96be2f7af (diff)
Merge pull request #5 from pret/master
Take files
Diffstat (limited to 'data/maps/FiveIsland_PokemonCenter_1F')
-rw-r--r--data/maps/FiveIsland_PokemonCenter_1F/map.json100
-rw-r--r--data/maps/FiveIsland_PokemonCenter_1F/scripts.inc23
-rw-r--r--data/maps/FiveIsland_PokemonCenter_1F/text.inc10
3 files changed, 133 insertions, 0 deletions
diff --git a/data/maps/FiveIsland_PokemonCenter_1F/map.json b/data/maps/FiveIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..e0e708bd2
--- /dev/null
+++ b/data/maps/FiveIsland_PokemonCenter_1F/map.json
@@ -0,0 +1,100 @@
+{
+ "id": "MAP_FIVE_ISLAND_POKEMON_CENTER_1F",
+ "name": "FiveIsland_PokemonCenter_1F",
+ "layout": "LAYOUT_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_POKEMON_CENTER",
+ "region_map_section": "MAPSEC_FIVE_ISLAND",
+ "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": "64",
+ "x": 7,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_171D00",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 9,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_171D12",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 4,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_171D09",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "0",
+ "x": 2,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_1ACF5F",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 3,
+ "y": 1,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "FiveIsland_PokemonCenter_1F_EventScript_1ACF5F",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 8,
+ "elevation": 3,
+ "dest_map": "MAP_FIVE_ISLAND",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 1,
+ "y": 6,
+ "elevation": 4,
+ "dest_map": "MAP_FIVE_ISLAND_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+}
diff --git a/data/maps/FiveIsland_PokemonCenter_1F/scripts.inc b/data/maps/FiveIsland_PokemonCenter_1F/scripts.inc
new file mode 100644
index 000000000..a16cb37d1
--- /dev/null
+++ b/data/maps/FiveIsland_PokemonCenter_1F/scripts.inc
@@ -0,0 +1,23 @@
+FiveIsland_PokemonCenter_1F_MapScripts:: @ 8171CF1
+ map_script 3, FiveIsland_PokemonCenter_1F_MapScript1_171CFC
+ map_script 5, FiveIsland_PokemonCenter_1F_MapScript2_1BC05C
+ .byte 0
+
+FiveIsland_PokemonCenter_1F_MapScript1_171CFC:: @ 8171CFC
+ setrespawn SPAWN_FIVE_ISLAND
+ end
+
+FiveIsland_PokemonCenter_1F_EventScript_171D00:: @ 8171D00
+ lock
+ faceplayer
+ call EventScript_1A6578
+ release
+ end
+
+FiveIsland_PokemonCenter_1F_EventScript_171D09:: @ 8171D09
+ msgbox gUnknown_81A3BBA, 2
+ end
+
+FiveIsland_PokemonCenter_1F_EventScript_171D12:: @ 8171D12
+ msgbox gUnknown_81A3BFD, 2
+ end
diff --git a/data/maps/FiveIsland_PokemonCenter_1F/text.inc b/data/maps/FiveIsland_PokemonCenter_1F/text.inc
new file mode 100644
index 000000000..e1b0e1ea4
--- /dev/null
+++ b/data/maps/FiveIsland_PokemonCenter_1F/text.inc
@@ -0,0 +1,10 @@
+gUnknown_81A3BBA:: @ 81A3BBA
+ .string "I'm on my way to prepare a meal\n"
+ .string "for a certain high-society person.$"
+
+gUnknown_81A3BFD:: @ 81A3BFD
+ .string "You're on a quest to catch every\n"
+ .string "single kind of POKéMON?\p"
+ .string "…How incredible. Please tell me if\n"
+ .string "you catch a strong one!$"
+