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,12 +0,0 @@
BattleFrontier_Lounge7_EventObjects:
object_event 1, EVENT_OBJ_GFX_SAILOR, 0, 0, 7, 0, MOVEMENT_TYPE_WANDER_AROUND, 1, 1, 0, 0, BattleFrontier_Lounge7_EventScript_2656DB, 0
object_event 2, EVENT_OBJ_GFX_EXPERT_F, 0, 2, 5, 0, MOVEMENT_TYPE_FACE_RIGHT, 1, 1, 0, 0, BattleFrontier_Lounge7_EventScript_265255, 0
object_event 3, EVENT_OBJ_GFX_EXPERT_F, 0, 6, 5, 0, MOVEMENT_TYPE_FACE_LEFT, 1, 1, 0, 0, BattleFrontier_Lounge7_EventScript_265445, 0
object_event 4, EVENT_OBJ_GFX_GENTLEMAN, 0, 8, 3, 0, MOVEMENT_TYPE_FACE_LEFT, 1, 1, 0, 0, BattleFrontier_Lounge7_EventScript_2656E4, 0
BattleFrontier_Lounge7_MapWarps:
warp_def 4, 9, 0, 7, MAP_BATTLE_FRONTIER_OUTSIDE_WEST
BattleFrontier_Lounge7_MapEvents::
map_events BattleFrontier_Lounge7_EventObjects, BattleFrontier_Lounge7_MapWarps, 0x0, 0x0
@@ -1,15 +0,0 @@
BattleFrontier_Lounge7:
.4byte BattleFrontier_Lounge2_Layout
.4byte BattleFrontier_Lounge7_MapEvents
.4byte BattleFrontier_Lounge7_MapScripts
.4byte 0x0
.2byte MUS_B_TOWER
.2byte LAYOUT_BATTLE_FRONTIER_LOUNGE2
.byte MAPSEC_BATTLE_FRONTIER
.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
+81
View File
@@ -0,0 +1,81 @@
{
"id": "MAP_BATTLE_FRONTIER_LOUNGE7",
"name": "BattleFrontier_Lounge7",
"layout": "LAYOUT_BATTLE_FRONTIER_LOUNGE2",
"music": "MUS_B_TOWER",
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
"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": 0,
"y": 7,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "BattleFrontier_Lounge7_EventScript_2656DB",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_EXPERT_F",
"x": 2,
"y": 5,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "BattleFrontier_Lounge7_EventScript_265255",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_EXPERT_F",
"x": 6,
"y": 5,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "BattleFrontier_Lounge7_EventScript_265445",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_GENTLEMAN",
"x": 8,
"y": 3,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "BattleFrontier_Lounge7_EventScript_2656E4",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 9,
"elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 7
}
],
"coord_events": [],
"bg_events": []
}