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

View File

@@ -1,13 +0,0 @@
SSTidalLowerDeck_EventObjects:
object_event 1, EVENT_OBJ_GFX_SAILOR, 0, 10, 4, 3, MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_UP_LEFT, 4, 4, 1, 3, SSTidalLowerDeck_EventScript_23C819, 0
object_event 2, EVENT_OBJ_GFX_SAILOR, 0, 7, 4, 3, MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT, 7, 4, 1, 3, SSTidalLowerDeck_EventScript_23C830, 0
SSTidalLowerDeck_MapWarps:
warp_def 15, 2, 3, 8, MAP_SS_TIDAL_CORRIDOR
SSTidalLowerDeck_MapBGEvents:
bg_hidden_item_event 0, 2, 0, ITEM_LEFTOVERS, FLAG_HIDDEN_ITEM_SS_TIDAL_LOWER_DECK_LEFTOVERS
SSTidalLowerDeck_MapEvents::
map_events SSTidalLowerDeck_EventObjects, SSTidalLowerDeck_MapWarps, 0x0, SSTidalLowerDeck_MapBGEvents

View File

@@ -1,15 +0,0 @@
SSTidalLowerDeck:
.4byte SSTidalLowerDeck_Layout
.4byte SSTidalLowerDeck_MapEvents
.4byte SSTidalLowerDeck_MapScripts
.4byte 0x0
.2byte MUS_M_BOAT
.2byte LAYOUT_SS_TIDAL_LOWER_DECK
.byte MAPSEC_DYNAMIC
.byte 0
.byte WEATHER_NONE
.byte MAP_TYPE_INDOOR
.2byte 0
map_header_flags allow_bike=0, allow_escape_rope=0, allow_run=0, show_map_name=0
.byte MAP_BATTLE_SCENE_NORMAL

View File

@@ -0,0 +1,64 @@
{
"id": "MAP_SS_TIDAL_LOWER_DECK",
"name": "SSTidalLowerDeck",
"layout": "LAYOUT_SS_TIDAL_LOWER_DECK",
"music": "MUS_M_BOAT",
"region_map_section": "MAPSEC_DYNAMIC",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_bike": false,
"allow_escape_rope": false,
"allow_running": false,
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_SAILOR",
"x": 10,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_UP_LEFT",
"movement_range_x": 4,
"movement_range_y": 4,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "SSTidalLowerDeck_EventScript_23C819",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_SAILOR",
"x": 7,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_LEFT_UP_RIGHT",
"movement_range_x": 7,
"movement_range_y": 4,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "SSTidalLowerDeck_EventScript_23C830",
"flag": "0"
}
],
"warp_events": [
{
"x": 15,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
"dest_warp_id": 8
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 0,
"y": 2,
"elevation": 0,
"item": "ITEM_LEFTOVERS",
"flag": "FLAG_HIDDEN_ITEM_SS_TIDAL_LOWER_DECK_LEFTOVERS"
}
]
}