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
-28
View File
@@ -1,28 +0,0 @@
MtMoon_B2F_EventObjects:
object_event 1, 98, 0, 13, 0, 7, 0, 3, 8, 17, 0, 0, 0, 0, 0, MtMoon_B2F_EventScript_16071B, 47, 0, 0
object_event 2, 98, 0, 14, 0, 7, 0, 3, 8, 17, 0, 0, 0, 0, 0, MtMoon_B2F_EventScript_16077F, 48, 0, 0
object_event 3, 55, 0, 13, 0, 11, 0, 3, 10, 17, 0, 0, 0, 0, 0, MtMoon_B2F_EventScript_1606C2, 0, 0, 0
object_event 4, 49, 0, 37, 0, 21, 0, 3, 1, 17, 0, 1, 0, 3, 0, MtMoon_B2F_EventScript_160829, 173, 0, 0
object_event 5, 49, 0, 12, 0, 20, 0, 3, 8, 17, 0, 1, 0, 2, 0, MtMoon_B2F_EventScript_1607E4, 173, 0, 0
object_event 6, 49, 0, 35, 0, 12, 0, 3, 7, 17, 0, 1, 0, 4, 0, MtMoon_B2F_EventScript_160812, 173, 0, 0
object_event 7, 49, 0, 18, 0, 27, 0, 3, 8, 17, 0, 1, 0, 4, 0, MtMoon_B2F_EventScript_1607FB, 173, 0, 0
object_event 8, 92, 0, 30, 0, 26, 0, 3, 8, 17, 0, 0, 0, 0, 0, MtMoon_B2F_EventScript_1BE61D, 351, 0, 0
object_event 9, 92, 0, 35, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, MtMoon_B2F_EventScript_1BE62A, 352, 0, 0
object_event 10, 92, 0, 24, 0, 6, 0, 3, 8, 17, 0, 0, 0, 0, 0, MtMoon_B2F_EventScript_1BEAD6, 447, 0, 0
object_event 11, 92, 0, 3, 0, 11, 0, 3, 8, 17, 0, 0, 0, 0, 0, MtMoon_B2F_EventScript_1BEAE3, 448, 0, 0
MtMoon_B2F_MapWarps:
warp_def 25, 21, 3, 3, 258
warp_def 31, 11, 3, 4, 258
warp_def 17, 31, 3, 5, 258
warp_def 5, 10, 3, 6, 258
MtMoon_B2F_MapCoordEvents:
coord_event 14, 11, 3, 0, 16523, 0, 0, MtMoon_B2F_EventScript_1606B0
MtMoon_B2F_MapBGEvents:
bg_event 20, 16, 3, 7, 0, 94, 2, 1
bg_event 39, 11, 3, 7, 0, 34, 3, 1
MtMoon_B2F_MapEvents::
map_events MtMoon_B2F_EventObjects, MtMoon_B2F_MapWarps, MtMoon_B2F_MapCoordEvents, MtMoon_B2F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
MtMoon_B2F:: @ 834F268
.4byte MtMoon_B2F_Layout @ 0x82FC728
.4byte MtMoon_B2F_MapEvents @ 0x83AE868
.4byte MtMoon_B2F_MapScripts @ 0x8160699
.4byte NULL
.2byte BGM_FRLG_MT_MOON
.2byte 116
.byte 0x7f, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
+221
View File
@@ -0,0 +1,221 @@
{
"id": "MAP_MT_MOON_B2F",
"name": "MtMoon_B2F",
"layout": "LAYOUT_MT_MOON_B2F",
"music": "BGM_FRLG_MT_MOON",
"region_map_section": "MAPSEC_MT_MOON",
"requires_flash": false,
"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": "98",
"x": 13,
"y": 7,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_16071B",
"flag": "47"
},
{
"graphics_id": "98",
"x": 14,
"y": 7,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_16077F",
"flag": "48"
},
{
"graphics_id": "55",
"x": 13,
"y": 11,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_1606C2",
"flag": "0"
},
{
"graphics_id": "49",
"x": 37,
"y": 21,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "MtMoon_B2F_EventScript_160829",
"flag": "173"
},
{
"graphics_id": "49",
"x": 12,
"y": 20,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "MtMoon_B2F_EventScript_1607E4",
"flag": "173"
},
{
"graphics_id": "49",
"x": 35,
"y": 12,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "MtMoon_B2F_EventScript_160812",
"flag": "173"
},
{
"graphics_id": "49",
"x": 18,
"y": 27,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "MtMoon_B2F_EventScript_1607FB",
"flag": "173"
},
{
"graphics_id": "92",
"x": 30,
"y": 26,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_1BE61D",
"flag": "351"
},
{
"graphics_id": "92",
"x": 35,
"y": 5,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_1BE62A",
"flag": "352"
},
{
"graphics_id": "92",
"x": 24,
"y": 6,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_1BEAD6",
"flag": "447"
},
{
"graphics_id": "92",
"x": 3,
"y": 11,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MtMoon_B2F_EventScript_1BEAE3",
"flag": "448"
}
],
"warp_events": [
{
"x": 25,
"y": 21,
"elevation": 3,
"dest_map": "MAP_MT_MOON_B1F",
"dest_warp_id": 3
},
{
"x": 31,
"y": 11,
"elevation": 3,
"dest_map": "MAP_MT_MOON_B1F",
"dest_warp_id": 4
},
{
"x": 17,
"y": 31,
"elevation": 3,
"dest_map": "MAP_MT_MOON_B1F",
"dest_warp_id": 5
},
{
"x": 5,
"y": 10,
"elevation": 3,
"dest_map": "MAP_MT_MOON_B1F",
"dest_warp_id": 6
}
],
"coord_events": [
{
"type": "trigger",
"x": 14,
"y": 11,
"elevation": 3,
"var": "VAR_0x408B",
"var_value": 0,
"script": "MtMoon_B2F_EventScript_1606B0"
}
],
"bg_events": [
{
"type": "hidden_item",
"x": 20,
"y": 16,
"elevation": 3,
"item": "ITEM_MOON_STONE",
"flag": "2",
"unknown": 1
},
{
"type": "hidden_item",
"x": 39,
"y": 11,
"elevation": 3,
"item": "ITEM_ETHER",
"flag": "3",
"unknown": 1
}
]
}