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
-13
View File
@@ -1,13 +0,0 @@
SSAnne_Deck_EventObjects:
object_event 1, 62, 0, 12, 0, 10, 0, 3, 7, 17, 0, 1, 0, 2, 0, SSAnne_Deck_EventScript_160A9B, 0, 0, 0
object_event 2, 30, 0, 14, 0, 11, 0, 3, 8, 17, 0, 0, 0, 0, 0, SSAnne_Deck_EventScript_160A72, 0, 0, 0
object_event 3, 62, 0, 13, 0, 13, 0, 3, 27, 20, 0, 0, 0, 0, 0, SSAnne_Deck_EventScript_160A7B, 0, 0, 0
object_event 4, 62, 0, 6, 0, 9, 0, 3, 2, 17, 0, 1, 0, 1, 0, SSAnne_Deck_EventScript_160A84, 0, 0, 0
object_event 5, 18, 0, 11, 0, 5, 0, 3, 9, 17, 0, 0, 0, 0, 0, SSAnne_Deck_EventScript_160A69, 0, 0, 0
SSAnne_Deck_MapWarps:
warp_def 16, 8, 3, 0, 263
warp_def 16, 9, 3, 0, 263
SSAnne_Deck_MapEvents::
map_events SSAnne_Deck_EventObjects, SSAnne_Deck_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
SSAnne_Deck:: @ 834F310
.4byte SSAnne_Deck_Layout @ 0x8300624
.4byte SSAnne_Deck_MapEvents @ 0x83AEB60
.4byte SSAnne_Deck_MapScripts @ 0x8160A68
.4byte NULL
.2byte BGM_FRLG_SS_ANNE
.2byte 123
.byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
+100
View File
@@ -0,0 +1,100 @@
{
"id": "MAP_SSANNE_DECK",
"name": "SSAnne_Deck",
"layout": "LAYOUT_SSANNE_DECK",
"music": "BGM_FRLG_SS_ANNE",
"region_map_section": "MAPSEC_S_S_ANNE",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "62",
"x": 12,
"y": 10,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "SSAnne_Deck_EventScript_160A9B",
"flag": "0"
},
{
"graphics_id": "30",
"x": 14,
"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": "SSAnne_Deck_EventScript_160A72",
"flag": "0"
},
{
"graphics_id": "62",
"x": 13,
"y": 13,
"elevation": 3,
"movement_type": "27",
"movement_range_x": 4,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SSAnne_Deck_EventScript_160A7B",
"flag": "0"
},
{
"graphics_id": "62",
"x": 6,
"y": 9,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "SSAnne_Deck_EventScript_160A84",
"flag": "0"
},
{
"graphics_id": "18",
"x": 11,
"y": 5,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SSAnne_Deck_EventScript_160A69",
"flag": "0"
}
],
"warp_events": [
{
"x": 16,
"y": 8,
"elevation": 3,
"dest_map": "MAP_SSANNE_3F_CORRIDOR",
"dest_warp_id": 0
},
{
"x": 16,
"y": 9,
"elevation": 3,
"dest_map": "MAP_SSANNE_3F_CORRIDOR",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}