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
-10
View File
@@ -1,10 +0,0 @@
SkyPillar_Outside_EventObjects:
object_event 1, EVENT_OBJ_GFX_WALLACE, 0, 13, 7, 3, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, SkyPillar_Outside_EventScript_2393F8, FLAG_HIDE_SKY_PILLAR_WALLACE
SkyPillar_Outside_MapWarps:
warp_def 17, 13, 3, 1, MAP_SKY_PILLAR_ENTRANCE
warp_def 14, 5, 0, 0, MAP_SKY_PILLAR_1F
SkyPillar_Outside_MapEvents::
map_events SkyPillar_Outside_EventObjects, SkyPillar_Outside_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
SkyPillar_Outside:
.4byte SkyPillar_Outside_Layout
.4byte SkyPillar_Outside_MapEvents
.4byte SkyPillar_Outside_MapScripts
.4byte 0x0
.2byte MUS_TOZAN
.2byte LAYOUT_SKY_PILLAR_OUTSIDE
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
.byte MAP_TYPE_ROUTE
.2byte 0
map_header_flags allow_bike=1, allow_escape_rope=0, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
+49
View File
@@ -0,0 +1,49 @@
{
"id": "MAP_SKY_PILLAR_OUTSIDE",
"name": "SkyPillar_Outside",
"layout": "LAYOUT_SKY_PILLAR_OUTSIDE",
"music": "MUS_TOZAN",
"region_map_section": "MAPSEC_SKY_PILLAR",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_ROUTE",
"allow_bike": true,
"allow_escape_rope": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_WALLACE",
"x": 13,
"y": 7,
"elevation": 3,
"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": "SkyPillar_Outside_EventScript_2393F8",
"flag": "FLAG_HIDE_SKY_PILLAR_WALLACE"
}
],
"warp_events": [
{
"x": 17,
"y": 13,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_ENTRANCE",
"dest_warp_id": 1
},
{
"x": 14,
"y": 5,
"elevation": 0,
"dest_map": "MAP_SKY_PILLAR_1F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}