Convert map data to JSON

This commit is contained in:
Marcus Huderle
2019-01-31 15:51:20 -06:00
parent 5c1667b41a
commit 29d6221935
2102 changed files with 72595 additions and 27039 deletions
@@ -1,10 +0,0 @@
FarawayIsland_Interior_EventObjects:
object_event 1, EVENT_OBJ_GFX_MEW, 0, 13, 17, 3, MOVEMENT_TYPE_COPY_PLAYER_OPPOSITE_IN_GRASS, 15, 15, 0, 1, FarawayIsland_Interior_EventScript_267DF2, FLAG_HIDE_MEW
FarawayIsland_Interior_MapWarps:
warp_def 12, 19, 0, 0, MAP_FARAWAY_ISLAND_ENTRANCE
warp_def 13, 19, 0, 1, MAP_FARAWAY_ISLAND_ENTRANCE
FarawayIsland_Interior_MapEvents::
map_events FarawayIsland_Interior_EventObjects, FarawayIsland_Interior_MapWarps, 0x0, 0x0
@@ -1,15 +0,0 @@
FarawayIsland_Interior:
.4byte FarawayIsland_Interior_Layout
.4byte FarawayIsland_Interior_MapEvents
.4byte FarawayIsland_Interior_MapScripts
.4byte 0x0
.2byte MUS_DAN02
.2byte LAYOUT_FARAWAY_ISLAND_INTERIOR
.byte MAPSEC_FARAWAY_ISLAND
.byte 0
.byte WEATHER_SHADE
.byte MAP_TYPE_INDOOR
.2byte 0
map_header_flags allow_bike=1, allow_escape_rope=0, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
+49
View File
@@ -0,0 +1,49 @@
{
"id": "MAP_FARAWAY_ISLAND_INTERIOR",
"name": "FarawayIsland_Interior",
"layout": "LAYOUT_FARAWAY_ISLAND_INTERIOR",
"music": "MUS_DAN02",
"region_map_section": "MAPSEC_FARAWAY_ISLAND",
"requires_flash": false,
"weather": "WEATHER_SHADE",
"map_type": "MAP_TYPE_INDOOR",
"allow_bike": true,
"allow_escape_rope": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_MEW",
"x": 13,
"y": 17,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_OPPOSITE_IN_GRASS",
"movement_range_x": 15,
"movement_range_y": 15,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 1,
"script": "FarawayIsland_Interior_EventScript_267DF2",
"flag": "FLAG_HIDE_MEW"
}
],
"warp_events": [
{
"x": 12,
"y": 19,
"elevation": 0,
"dest_map": "MAP_FARAWAY_ISLAND_ENTRANCE",
"dest_warp_id": 0
},
{
"x": 13,
"y": 19,
"elevation": 0,
"dest_map": "MAP_FARAWAY_ISLAND_ENTRANCE",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": []
}