Convert map data to JSON

This commit is contained in:
Marcus Huderle
2019-01-31 15:51:20 -06:00
parent 5c1667b41a
commit 29d6221935
2102 changed files with 72595 additions and 27039 deletions
-9
View File
@@ -1,9 +0,0 @@
CaveOfOrigin_B1F_EventObjects:
object_event 1, EVENT_OBJ_GFX_WALLACE, 0, 9, 13, 3, MOVEMENT_TYPE_FACE_UP, 1, 1, 0, 0, CaveOfOrigin_B1F_EventScript_2357A9, FLAG_HIDE_CAVE_OF_ORIGIN_B1F_WALLACE
CaveOfOrigin_B1F_MapWarps:
warp_def 9, 3, 3, 1, MAP_CAVE_OF_ORIGIN_1F
CaveOfOrigin_B1F_MapEvents::
map_events CaveOfOrigin_B1F_EventObjects, CaveOfOrigin_B1F_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
CaveOfOrigin_B1F:
.4byte CaveOfOrigin_B1F_Layout
.4byte CaveOfOrigin_B1F_MapEvents
.4byte CaveOfOrigin_B1F_MapScripts
.4byte 0x0
.2byte 65535
.2byte LAYOUT_CAVE_OF_ORIGIN_B1F
.byte MAPSEC_CAVE_OF_ORIGIN
.byte 0
.byte WEATHER_FOG_1
.byte MAP_TYPE_UNDERGROUND
.2byte 0
map_header_flags allow_bike=0, allow_escape_rope=1, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
+42
View File
@@ -0,0 +1,42 @@
{
"id": "MAP_CAVE_OF_ORIGIN_B1F",
"name": "CaveOfOrigin_B1F",
"layout": "LAYOUT_CAVE_OF_ORIGIN_B1F",
"music": "65535",
"region_map_section": "MAPSEC_CAVE_OF_ORIGIN",
"requires_flash": false,
"weather": "WEATHER_FOG_1",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_bike": false,
"allow_escape_rope": true,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_WALLACE",
"x": 9,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CaveOfOrigin_B1F_EventScript_2357A9",
"flag": "FLAG_HIDE_CAVE_OF_ORIGIN_B1F_WALLACE"
}
],
"warp_events": [
{
"x": 9,
"y": 3,
"elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_1F",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": []
}