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
-7
View File
@@ -1,7 +0,0 @@
Route1_MapConnectionsList: @ 83529DC
connection up, -12, MAP_VIRIDIAN_CITY
connection down, 0, MAP_PALLET_TOWN
Route1_MapConnections:: @ 83529F4
.4byte 2
.4byte Route1_MapConnectionsList
-9
View File
@@ -1,9 +0,0 @@
Route1_EventObjects:
object_event 1, 68, 0, 6, 0, 28, 0, 3, 3, 17, 0, 0, 0, 0, 0, Route1_EventScript_167EFE, 0, 0, 0
object_event 2, 19, 0, 19, 0, 16, 0, 3, 5, 49, 0, 0, 0, 0, 0, Route1_EventScript_167F52, 0, 0, 0
Route1_MapBGEvents:
bg_event 9, 31, 0, 0, 0, Route1_EventScript_167F5B
Route1_MapEvents::
map_events Route1_EventObjects, 0x0, 0x0, Route1_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
Route1:: @ 835082C
.4byte Route1_Layout @ 0x82E55CC
.4byte Route1_MapEvents @ 0x83B6648
.4byte Route1_MapScripts @ 0x8167EFD
.4byte Route1_MapConnections @ 0x83529F4
.2byte BGM_FRLG_ROUTE_1
.2byte 89
.byte 0x65, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
+65
View File
@@ -0,0 +1,65 @@
{
"id": "MAP_ROUTE1",
"name": "Route1",
"layout": "LAYOUT_ROUTE1",
"music": "BGM_FRLG_ROUTE_1",
"region_map_section": "MAPSEC_ROUTE_1",
"requires_flash": false,
"weather": "WEATHER_2",
"map_type": "MAP_TYPE_3",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": [
{
"map": "MAP_VIRIDIAN_CITY",
"offset": -12,
"direction": "up"
},
{
"map": "MAP_PALLET_TOWN",
"offset": 0,
"direction": "down"
}
],
"object_events": [
{
"graphics_id": "68",
"x": 6,
"y": 28,
"elevation": 3,
"movement_type": "3",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route1_EventScript_167EFE",
"flag": "0"
},
{
"graphics_id": "19",
"x": 19,
"y": 16,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 1,
"movement_range_y": 3,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route1_EventScript_167F52",
"flag": "0"
}
],
"warp_events": [],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 9,
"y": 31,
"elevation": 0,
"script": "Route1_EventScript_167F5B"
}
]
}