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 @@
Route12_FishingHouse_EventObjects:
object_event 1, 57, 0, 4, 0, 4, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route12_FishingHouse_EventScript_16FF0C, 0, 0, 0
Route12_FishingHouse_MapWarps:
warp_def 2, 8, 0, 0, 798
warp_def 3, 7, 3, 0, 798
warp_def 4, 8, 0, 0, 798
Route12_FishingHouse_MapBGEvents:
bg_event 9, 1, 0, 0, 0, Route12_FishingHouse_EventScript_170067
Route12_FishingHouse_MapEvents::
map_events Route12_FishingHouse_EventObjects, Route12_FishingHouse_MapWarps, 0x0, Route12_FishingHouse_MapBGEvents
@@ -1,8 +0,0 @@
Route12_FishingHouse:: @ 8351958
.4byte House4_Layout @ 0x82D6070
.4byte Route12_FishingHouse_MapEvents @ 0x83BDB48
.4byte Route12_FishingHouse_MapScripts @ 0x816FF0B
.4byte NULL
.2byte BGM_FRLG_CELADON_CITY
.2byte 13
.byte 0x70, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
+63
View File
@@ -0,0 +1,63 @@
{
"id": "MAP_ROUTE12_FISHING_HOUSE",
"name": "Route12_FishingHouse",
"layout": "LAYOUT_HOUSE4",
"music": "BGM_FRLG_CELADON_CITY",
"region_map_section": "MAPSEC_ROUTE_12",
"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": "57",
"x": 4,
"y": 4,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route12_FishingHouse_EventScript_16FF0C",
"flag": "0"
}
],
"warp_events": [
{
"x": 2,
"y": 8,
"elevation": 0,
"dest_map": "MAP_ROUTE12",
"dest_warp_id": 0
},
{
"x": 3,
"y": 7,
"elevation": 3,
"dest_map": "MAP_ROUTE12",
"dest_warp_id": 0
},
{
"x": 4,
"y": 8,
"elevation": 0,
"dest_map": "MAP_ROUTE12",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 9,
"y": 1,
"elevation": 0,
"script": "Route12_FishingHouse_EventScript_170067"
}
]
}