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 @@
DesertUnderpass_EventObjects:
object_event 1, EVENT_OBJ_GFX_FOSSIL, 0, 132, 10, 0, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, DesertUnderpass_EventScript_23AF41, FLAG_HIDE_DESERT_UNDERPASS_FOSSIL
DesertUnderpass_MapWarps:
warp_def 10, 12, 0, 2, MAP_ROUTE114_FOSSIL_MANIACS_TUNNEL
DesertUnderpass_MapEvents::
map_events DesertUnderpass_EventObjects, DesertUnderpass_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
DesertUnderpass:
.4byte DesertUnderpass_Layout
.4byte DesertUnderpass_MapEvents
.4byte DesertUnderpass_MapScripts
.4byte 0x0
.2byte MUS_TOZAN
.2byte LAYOUT_DESERT_UNDERPASS
.byte MAPSEC_DESERT_UNDERPASS
.byte 0
.byte WEATHER_NONE
.byte MAP_TYPE_UNDERGROUND
.2byte 0
map_header_flags allow_bike=1, 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_DESERT_UNDERPASS",
"name": "DesertUnderpass",
"layout": "LAYOUT_DESERT_UNDERPASS",
"music": "MUS_TOZAN",
"region_map_section": "MAPSEC_DESERT_UNDERPASS",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_bike": true,
"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_FOSSIL",
"x": 132,
"y": 10,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "DesertUnderpass_EventScript_23AF41",
"flag": "FLAG_HIDE_DESERT_UNDERPASS_FOSSIL"
}
],
"warp_events": [
{
"x": 10,
"y": 12,
"elevation": 0,
"dest_map": "MAP_ROUTE114_FOSSIL_MANIACS_TUNNEL",
"dest_warp_id": 2
}
],
"coord_events": [],
"bg_events": []
}