summaryrefslogtreecommitdiff
path: root/data/maps/FiveIsland_PokemonCenter_1F
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-05-13 19:44:24 -0400
committergarak <garakmon@gmail.com>2019-05-13 19:44:24 -0400
commit55d66b51770b4f657ed55822e7e76f6d6e3261d8 (patch)
tree1c324c7d2108afb678d2260e63b5591a04571b0d /data/maps/FiveIsland_PokemonCenter_1F
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/FiveIsland_PokemonCenter_1F')
-rw-r--r--data/maps/FiveIsland_PokemonCenter_1F/events.inc13
-rw-r--r--data/maps/FiveIsland_PokemonCenter_1F/header.inc8
-rw-r--r--data/maps/FiveIsland_PokemonCenter_1F/map.json100
3 files changed, 100 insertions, 21 deletions
diff --git a/data/maps/FiveIsland_PokemonCenter_1F/events.inc b/data/maps/FiveIsland_PokemonCenter_1F/events.inc
deleted file mode 100644
index 3e7db2299..000000000
--- a/data/maps/FiveIsland_PokemonCenter_1F/events.inc
+++ /dev/null
@@ -1,13 +0,0 @@
-FiveIsland_PokemonCenter_1F_EventObjects:
- object_event 1, 64, 0, 7, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, FiveIsland_PokemonCenter_1F_EventScript_171D00, 0, 0, 0
- object_event 2, 42, 0, 9, 0, 4, 0, 3, 7, 17, 0, 0, 0, 0, 0, FiveIsland_PokemonCenter_1F_EventScript_171D12, 0, 0, 0
- object_event 3, 59, 0, 4, 0, 8, 0, 3, 5, 17, 0, 0, 0, 0, 0, FiveIsland_PokemonCenter_1F_EventScript_171D09, 0, 0, 0
- object_event 4, 0, 0, 2, 0, 1, 0, 0, 76, 17, 0, 0, 0, 0, 0, FiveIsland_PokemonCenter_1F_EventScript_1ACF5F, 157, 0, 0
- object_event 5, 0, 0, 3, 0, 1, 0, 0, 76, 17, 0, 0, 0, 0, 0, FiveIsland_PokemonCenter_1F_EventScript_1ACF5F, 157, 0, 0
-
-FiveIsland_PokemonCenter_1F_MapWarps:
- warp_def 7, 8, 3, 1, 784
- warp_def 1, 6, 4, 0, 9217
-
-FiveIsland_PokemonCenter_1F_MapEvents::
- map_events FiveIsland_PokemonCenter_1F_EventObjects, FiveIsland_PokemonCenter_1F_MapWarps, 0x0, 0x0
diff --git a/data/maps/FiveIsland_PokemonCenter_1F/header.inc b/data/maps/FiveIsland_PokemonCenter_1F/header.inc
deleted file mode 100644
index ed32a33e9..000000000
--- a/data/maps/FiveIsland_PokemonCenter_1F/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-FiveIsland_PokemonCenter_1F:: @ 8351E44
- .4byte PokemonCenter_1F_Layout @ 0x82D5990
- .4byte FiveIsland_PokemonCenter_1F_MapEvents @ 0x83BEEDC
- .4byte FiveIsland_PokemonCenter_1F_MapScripts @ 0x8171CF1
- .4byte NULL
- .2byte BGM_FRLG_POKEMON_CENTER
- .2byte 8
- .byte 0x93, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
diff --git a/data/maps/FiveIsland_PokemonCenter_1F/map.json b/data/maps/FiveIsland_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..d5fffc7a9
--- /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_0",
+ "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": []
+} \ No newline at end of file