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
-7
View File
@@ -1,7 +0,0 @@
TrainerHill_2F_MapWarps:
warp_def 2, 1, 3, 1, MAP_TRAINER_HILL_1F
warp_def 12, 1, 3, 0, MAP_TRAINER_HILL_3F
TrainerHill_2F_MapEvents::
map_events 0x0, TrainerHill_2F_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
TrainerHill_2F:
.4byte TrainerHill_2F_Layout
.4byte TrainerHill_2F_MapEvents
.4byte TrainerHill_2F_MapScripts
.4byte 0x0
.2byte MUS_B_TOWER
.2byte LAYOUT_TRAINER_HILL_2F
.byte MAPSEC_TRAINER_HILL
.byte 0
.byte WEATHER_NONE
.byte MAP_TYPE_INDOOR
.2byte 0
map_header_flags allow_bike=0, allow_escape_rope=0, allow_run=1, show_map_name=0
.byte MAP_BATTLE_SCENE_NORMAL
+35
View File
@@ -0,0 +1,35 @@
{
"id": "MAP_TRAINER_HILL_2F",
"name": "TrainerHill_2F",
"layout": "LAYOUT_TRAINER_HILL_2F",
"music": "MUS_B_TOWER",
"region_map_section": "MAPSEC_TRAINER_HILL",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_bike": false,
"allow_escape_rope": false,
"allow_running": true,
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 2,
"y": 1,
"elevation": 3,
"dest_map": "MAP_TRAINER_HILL_1F",
"dest_warp_id": 1
},
{
"x": 12,
"y": 1,
"elevation": 3,
"dest_map": "MAP_TRAINER_HILL_3F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}