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
-12
View File
@@ -1,12 +0,0 @@
CeladonCity_House1_EventObjects:
object_event 1, 33, 0, 5, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, CeladonCity_House1_EventScript_16D268, 0, 0, 0
object_event 2, 49, 0, 2, 0, 4, 0, 3, 3, 81, 0, 0, 0, 0, 0, CeladonCity_House1_EventScript_16D271, 0, 0, 0
object_event 3, 49, 0, 8, 0, 4, 0, 3, 3, 81, 0, 0, 0, 0, 0, CeladonCity_House1_EventScript_16D27A, 0, 0, 0
CeladonCity_House1_MapWarps:
warp_def 3, 7, 3, 8, 774
warp_def 4, 7, 3, 8, 774
warp_def 5, 7, 3, 8, 774
CeladonCity_House1_MapEvents::
map_events CeladonCity_House1_EventObjects, CeladonCity_House1_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
CeladonCity_House1:: @ 83513E0
.4byte House5_Layout @ 0x82D6AF0
.4byte CeladonCity_House1_MapEvents @ 0x83BBE80
.4byte CeladonCity_House1_MapScripts @ 0x816D267
.4byte NULL
.2byte BGM_FRLG_CELADON_CITY
.2byte 21
.byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
+81
View File
@@ -0,0 +1,81 @@
{
"id": "MAP_CELADON_CITY_HOUSE1",
"name": "CeladonCity_House1",
"layout": "LAYOUT_HOUSE5",
"music": "BGM_FRLG_CELADON_CITY",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "33",
"x": 5,
"y": 2,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_House1_EventScript_16D268",
"flag": "0"
},
{
"graphics_id": "49",
"x": 2,
"y": 4,
"elevation": 3,
"movement_type": "3",
"movement_range_x": 1,
"movement_range_y": 5,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_House1_EventScript_16D271",
"flag": "0"
},
{
"graphics_id": "49",
"x": 8,
"y": 4,
"elevation": 3,
"movement_type": "3",
"movement_range_x": 1,
"movement_range_y": 5,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_House1_EventScript_16D27A",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": 8
},
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": 8
},
{
"x": 5,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": 8
}
],
"coord_events": [],
"bg_events": []
}