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,20 +0,0 @@
Route110_TrickHouseEntrance_EventObjects:
object_event 1, EVENT_OBJ_GFX_MAN_1, 0, 6, 2, 3, MOVEMENT_TYPE_FACE_LEFT, 0, 0, 0, 0, Route110_TrickHouseEntrance_EventScript_269D3B, FLAG_HIDE_TRICK_HOUSE_ENTRANCE_MAN
Route110_TrickHouseEntrance_MapWarps:
warp_def 5, 7, 3, 1, MAP_ROUTE110
warp_def 6, 7, 3, 1, MAP_ROUTE110
warp_def 5, 2, 3, 0, MAP_ROUTE110_TRICK_HOUSE_PUZZLE1
Route110_TrickHouseEntrance_MapCoordEvents:
coord_event 4, 7, 3, VAR_0x40A5, 0, Route110_TrickHouseEntrance_EventScript_26A3F8
coord_event 5, 6, 3, VAR_0x40A5, 0, Route110_TrickHouseEntrance_EventScript_26A3F8
coord_event 6, 6, 3, VAR_0x40A5, 0, Route110_TrickHouseEntrance_EventScript_26A3F8
coord_event 7, 7, 3, VAR_0x40A5, 0, Route110_TrickHouseEntrance_EventScript_26A3F8
Route110_TrickHouseEntrance_MapBGEvents:
bg_event 5, 1, 0, BG_EVENT_PLAYER_FACING_NORTH, Route110_TrickHouseEntrance_EventScript_26A0D3
Route110_TrickHouseEntrance_MapEvents::
map_events Route110_TrickHouseEntrance_EventObjects, Route110_TrickHouseEntrance_MapWarps, Route110_TrickHouseEntrance_MapCoordEvents, Route110_TrickHouseEntrance_MapBGEvents
@@ -1,15 +0,0 @@
Route110_TrickHouseEntrance:
.4byte Route110_TrickHouseEntrance_Layout
.4byte Route110_TrickHouseEntrance_MapEvents
.4byte Route110_TrickHouseEntrance_MapScripts
.4byte 0x0
.2byte MUS_KARAKURI
.2byte LAYOUT_ROUTE110_TRICK_HOUSE_ENTRANCE
.byte MAPSEC_ROUTE_110
.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
@@ -0,0 +1,102 @@
{
"id": "MAP_ROUTE110_TRICK_HOUSE_ENTRANCE",
"name": "Route110_TrickHouseEntrance",
"layout": "LAYOUT_ROUTE110_TRICK_HOUSE_ENTRANCE",
"music": "MUS_KARAKURI",
"region_map_section": "MAPSEC_ROUTE_110",
"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_MAN_1",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route110_TrickHouseEntrance_EventScript_269D3B",
"flag": "FLAG_HIDE_TRICK_HOUSE_ENTRANCE_MAN"
}
],
"warp_events": [
{
"x": 5,
"y": 7,
"elevation": 3,
"dest_map": "MAP_ROUTE110",
"dest_warp_id": 1
},
{
"x": 6,
"y": 7,
"elevation": 3,
"dest_map": "MAP_ROUTE110",
"dest_warp_id": 1
},
{
"x": 5,
"y": 2,
"elevation": 3,
"dest_map": "MAP_ROUTE110_TRICK_HOUSE_PUZZLE1",
"dest_warp_id": 0
}
],
"coord_events": [
{
"type": "trigger",
"x": 4,
"y": 7,
"elevation": 3,
"var": "VAR_0x40A5",
"var_value": 0,
"script": "Route110_TrickHouseEntrance_EventScript_26A3F8"
},
{
"type": "trigger",
"x": 5,
"y": 6,
"elevation": 3,
"var": "VAR_0x40A5",
"var_value": 0,
"script": "Route110_TrickHouseEntrance_EventScript_26A3F8"
},
{
"type": "trigger",
"x": 6,
"y": 6,
"elevation": 3,
"var": "VAR_0x40A5",
"var_value": 0,
"script": "Route110_TrickHouseEntrance_EventScript_26A3F8"
},
{
"type": "trigger",
"x": 7,
"y": 7,
"elevation": 3,
"var": "VAR_0x40A5",
"var_value": 0,
"script": "Route110_TrickHouseEntrance_EventScript_26A3F8"
}
],
"bg_events": [
{
"type": "sign",
"x": 5,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "Route110_TrickHouseEntrance_EventScript_26A0D3"
}
]
}