summaryrefslogtreecommitdiff
path: root/data/maps/IndigoPlateau_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/IndigoPlateau_PokemonCenter_1F
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/IndigoPlateau_PokemonCenter_1F')
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/events.inc17
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/header.inc8
-rw-r--r--data/maps/IndigoPlateau_PokemonCenter_1F/map.json146
3 files changed, 146 insertions, 25 deletions
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/events.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/events.inc
deleted file mode 100644
index 0f6cfcfb5..000000000
--- a/data/maps/IndigoPlateau_PokemonCenter_1F/events.inc
+++ /dev/null
@@ -1,17 +0,0 @@
-IndigoPlateau_PokemonCenter_1F_EventObjects:
- object_event 1, 68, 0, 0, 0, 7, 0, 3, 10, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_16EACC, 0, 0, 0
- object_event 2, 64, 0, 13, 0, 10, 0, 3, 8, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_16EB06, 0, 0, 0
- object_event 3, 91, 0, 7, 0, 14, 0, 3, 10, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3, 0, 0, 0
- object_event 4, 42, 0, 5, 0, 3, 0, 3, 8, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A, 0, 0, 0
- object_event 5, 54, 0, 23, 0, 13, 0, 3, 10, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE, 157, 0, 0
- object_event 6, 0, 0, 22, 0, 9, 0, 0, 76, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C, 157, 0, 0
- object_event 7, 41, 0, 16, 0, 15, 0, 3, 2, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_1AD087, 157, 0, 0
- object_event 8, 0, 0, 23, 0, 9, 0, 0, 76, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C, 157, 0, 0
-
-IndigoPlateau_PokemonCenter_1F_MapWarps:
- warp_def 11, 16, 3, 0, 777
- warp_def 4, 1, 3, 0, 331
- warp_def 1, 14, 4, 0, 3329
-
-IndigoPlateau_PokemonCenter_1F_MapEvents::
- map_events IndigoPlateau_PokemonCenter_1F_EventObjects, IndigoPlateau_PokemonCenter_1F_MapWarps, 0x0, 0x0
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/header.inc b/data/maps/IndigoPlateau_PokemonCenter_1F/header.inc
deleted file mode 100644
index bb16f0475..000000000
--- a/data/maps/IndigoPlateau_PokemonCenter_1F/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-IndigoPlateau_PokemonCenter_1F:: @ 8351610
- .4byte IndigoPlateau_PokemonCenter_1F_Layout @ 0x831F000
- .4byte IndigoPlateau_PokemonCenter_1F_MapEvents @ 0x83BCA94
- .4byte IndigoPlateau_PokemonCenter_1F_MapScripts @ 0x816EA5A
- .4byte NULL
- .2byte BGM_FRLG_GYM
- .2byte 212
- .byte 0x61, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
diff --git a/data/maps/IndigoPlateau_PokemonCenter_1F/map.json b/data/maps/IndigoPlateau_PokemonCenter_1F/map.json
new file mode 100644
index 000000000..89ba4f048
--- /dev/null
+++ b/data/maps/IndigoPlateau_PokemonCenter_1F/map.json
@@ -0,0 +1,146 @@
+{
+ "id": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_1F",
+ "name": "IndigoPlateau_PokemonCenter_1F",
+ "layout": "LAYOUT_INDIGO_PLATEAU_POKEMON_CENTER_1F",
+ "music": "BGM_FRLG_GYM",
+ "region_map_section": "MAPSEC_INDIGO_PLATEAU",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_1",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "68",
+ "x": 0,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EACC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "64",
+ "x": 13,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EB06",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "91",
+ "x": 7,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "42",
+ "x": 5,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "54",
+ "x": 23,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 22,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "41",
+ "x": 16,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD087",
+ "flag": "157"
+ },
+ {
+ "graphics_id": "0",
+ "x": 23,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "76",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
+ "flag": "157"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 16,
+ "elevation": 3,
+ "dest_map": "MAP_INDIGO_PLATEAU_EXTERIOR",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 4,
+ "y": 1,
+ "elevation": 3,
+ "dest_map": "MAP_POKEMON_LEAGUE_LORELEIS_ROOM",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 1,
+ "y": 14,
+ "elevation": 4,
+ "dest_map": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_2F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file