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
-14
View File
@@ -1,14 +0,0 @@
NavelRock_Summit_EventObjects:
object_event 1, 145, 0, 9, 0, 6, 0, 0, 8, 17, 0, 0, 0, 0, 0, 0x0, 156, 0, 0
NavelRock_Summit_MapWarps:
warp_def 10, 18, 3, 1, 554
NavelRock_Summit_MapCoordEvents:
coord_event 9, 12, 3, 0, 16385, 0, 0, NavelRock_Summit_EventScript_164FFB
NavelRock_Summit_MapBGEvents:
bg_event 9, 11, 3, 7, 0, 45, 160, 129
NavelRock_Summit_MapEvents::
map_events NavelRock_Summit_EventObjects, NavelRock_Summit_MapWarps, NavelRock_Summit_MapCoordEvents, NavelRock_Summit_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
NavelRock_Summit:: @ 8350394
.4byte NavelRock_Summit_Layout @ 0x8348EB0
.4byte NavelRock_Summit_MapEvents @ 0x83B4930
.4byte NavelRock_Summit_MapScripts @ 0x8164F9F
.4byte NULL
.2byte BGM_FRLG_MT_EMBER
.2byte 345
.byte 0xae, 0x00, 0x0b, 0x04, 0x00, 0x06, 0x00, 0x00
+61
View File
@@ -0,0 +1,61 @@
{
"id": "MAP_NAVEL_ROCK_SUMMIT",
"name": "NavelRock_Summit",
"layout": "LAYOUT_NAVEL_ROCK_SUMMIT",
"music": "BGM_FRLG_MT_EMBER",
"region_map_section": "MAPSEC_NAVEL_ROCK",
"requires_flash": false,
"weather": "WEATHER_11",
"map_type": "MAP_TYPE_4",
"unknown_18": 0,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "145",
"x": 9,
"y": 6,
"elevation": 0,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "156"
}
],
"warp_events": [
{
"x": 10,
"y": 18,
"elevation": 3,
"dest_map": "MAP_NAVEL_ROCK_SUMMIT_PATH_5F",
"dest_warp_id": 1
}
],
"coord_events": [
{
"type": "trigger",
"x": 9,
"y": 12,
"elevation": 3,
"var": "VAR_0x4001",
"var_value": 0,
"script": "NavelRock_Summit_EventScript_164FFB"
}
],
"bg_events": [
{
"type": "hidden_item",
"x": 9,
"y": 11,
"elevation": 3,
"item": "ITEM_SACRED_ASH",
"flag": "160",
"unknown": 129
}
]
}