convert map data to json

This commit is contained in:
garak
2019-05-13 19:44:24 -04:00
parent 4b98d7d07a
commit 55d66b5177
2112 changed files with 53337 additions and 19410 deletions
-25
View File
@@ -1,25 +0,0 @@
RockTunnel_1F_EventObjects:
object_event 1, 40, 0, 26, 0, 28, 0, 3, 8, 17, 0, 1, 0, 3, 0, RockTunnel_1F_EventScript_162E73, 0, 0, 0
object_event 2, 40, 0, 39, 0, 27, 0, 3, 10, 17, 0, 1, 0, 4, 0, RockTunnel_1F_EventScript_162E5C, 0, 0, 0
object_event 3, 40, 0, 45, 0, 24, 0, 3, 9, 17, 0, 1, 0, 5, 0, RockTunnel_1F_EventScript_162E45, 0, 0, 0
object_event 4, 56, 0, 20, 0, 17, 0, 3, 9, 17, 0, 1, 0, 4, 0, RockTunnel_1F_EventScript_162E17, 0, 0, 0
object_event 5, 56, 0, 5, 0, 20, 0, 3, 8, 17, 0, 1, 0, 4, 0, RockTunnel_1F_EventScript_162E00, 0, 0, 0
object_event 6, 56, 0, 7, 0, 5, 0, 3, 8, 17, 0, 1, 0, 4, 0, RockTunnel_1F_EventScript_162DE9, 0, 0, 0
object_event 7, 52, 0, 27, 0, 10, 0, 3, 9, 17, 0, 1, 0, 3, 0, RockTunnel_1F_EventScript_162E2E, 0, 0, 0
object_event 8, 92, 0, 37, 0, 5, 0, 3, 1, 17, 0, 0, 0, 0, 0, RockTunnel_1F_EventScript_1BEB0A, 451, 0, 0
object_event 9, 92, 0, 33, 0, 22, 0, 3, 1, 17, 0, 0, 0, 0, 0, RockTunnel_1F_EventScript_1BEB17, 452, 0, 0
object_event 10, 92, 0, 22, 0, 22, 0, 3, 1, 17, 0, 0, 0, 0, 0, RockTunnel_1F_EventScript_1BEB24, 453, 0, 0
RockTunnel_1F_MapWarps:
warp_def 17, 2, 3, 0, 796
warp_def 45, 2, 3, 0, 338
warp_def 4, 2, 3, 1, 338
warp_def 20, 13, 3, 2, 338
warp_def 45, 21, 3, 3, 338
warp_def 18, 37, 3, 1, 796
RockTunnel_1F_MapBGEvents:
bg_event 14, 33, 3, 0, 0, RockTunnel_1F_EventScript_162DE0
RockTunnel_1F_MapEvents::
map_events RockTunnel_1F_EventObjects, RockTunnel_1F_MapWarps, 0x0, RockTunnel_1F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
RockTunnel_1F:: @ 834FAF0
.4byte RockTunnel_1F_Layout @ 0x83130E4
.4byte RockTunnel_1F_MapEvents @ 0x83B1B2C
.4byte RockTunnel_1F_MapScripts @ 0x8162DD6
.4byte NULL
.2byte BGM_FRLG_MT_MOON
.2byte 154
.byte 0x8a, 0x01, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
+201
View File
@@ -0,0 +1,201 @@
{
"id": "MAP_ROCK_TUNNEL_1F",
"name": "RockTunnel_1F",
"layout": "LAYOUT_ROCK_TUNNEL_1F",
"music": "BGM_FRLG_MT_MOON",
"region_map_section": "MAPSEC_ROCK_TUNNEL",
"requires_flash": true,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_4",
"unknown_18": 1,
"unknown_19": 7,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "40",
"x": 26,
"y": 28,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "RockTunnel_1F_EventScript_162E73",
"flag": "0"
},
{
"graphics_id": "40",
"x": 39,
"y": 27,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "RockTunnel_1F_EventScript_162E5C",
"flag": "0"
},
{
"graphics_id": "40",
"x": 45,
"y": 24,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "RockTunnel_1F_EventScript_162E45",
"flag": "0"
},
{
"graphics_id": "56",
"x": 20,
"y": 17,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "RockTunnel_1F_EventScript_162E17",
"flag": "0"
},
{
"graphics_id": "56",
"x": 5,
"y": 20,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "RockTunnel_1F_EventScript_162E00",
"flag": "0"
},
{
"graphics_id": "56",
"x": 7,
"y": 5,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "RockTunnel_1F_EventScript_162DE9",
"flag": "0"
},
{
"graphics_id": "52",
"x": 27,
"y": 10,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "RockTunnel_1F_EventScript_162E2E",
"flag": "0"
},
{
"graphics_id": "92",
"x": 37,
"y": 5,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "RockTunnel_1F_EventScript_1BEB0A",
"flag": "451"
},
{
"graphics_id": "92",
"x": 33,
"y": 22,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "RockTunnel_1F_EventScript_1BEB17",
"flag": "452"
},
{
"graphics_id": "92",
"x": 22,
"y": 22,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "RockTunnel_1F_EventScript_1BEB24",
"flag": "453"
}
],
"warp_events": [
{
"x": 17,
"y": 2,
"elevation": 3,
"dest_map": "MAP_ROUTE10",
"dest_warp_id": 0
},
{
"x": 45,
"y": 2,
"elevation": 3,
"dest_map": "MAP_ROCK_TUNNEL_B1F",
"dest_warp_id": 0
},
{
"x": 4,
"y": 2,
"elevation": 3,
"dest_map": "MAP_ROCK_TUNNEL_B1F",
"dest_warp_id": 1
},
{
"x": 20,
"y": 13,
"elevation": 3,
"dest_map": "MAP_ROCK_TUNNEL_B1F",
"dest_warp_id": 2
},
{
"x": 45,
"y": 21,
"elevation": 3,
"dest_map": "MAP_ROCK_TUNNEL_B1F",
"dest_warp_id": 3
},
{
"x": 18,
"y": 37,
"elevation": 3,
"dest_map": "MAP_ROUTE10",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 14,
"y": 33,
"elevation": 3,
"script": "RockTunnel_1F_EventScript_162DE0"
}
]
}