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 @@
NewMauville_Entrance_MapWarps:
warp_def 4, 6, 3, 0, MAP_ROUTE110
warp_def 4, 1, 3, 0, MAP_NEW_MAUVILLE_INSIDE
NewMauville_Entrance_MapCoordEvents:
coord_event 4, 2, 3, VAR_0x40BA, 0, NewMauville_Entrance_EventScript_2372FF
NewMauville_Entrance_MapEvents::
map_events 0x0, NewMauville_Entrance_MapWarps, NewMauville_Entrance_MapCoordEvents, 0x0
-15
View File
@@ -1,15 +0,0 @@
NewMauville_Entrance:
.4byte NewMauville_Entrance_Layout
.4byte NewMauville_Entrance_MapEvents
.4byte NewMauville_Entrance_MapScripts
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte LAYOUT_NEW_MAUVILLE_ENTRANCE
.byte MAPSEC_NEW_MAUVILLE
.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
+45
View File
@@ -0,0 +1,45 @@
{
"id": "MAP_NEW_MAUVILLE_ENTRANCE",
"name": "NewMauville_Entrance",
"layout": "LAYOUT_NEW_MAUVILLE_ENTRANCE",
"music": "MUS_M_DUNGON",
"region_map_section": "MAPSEC_NEW_MAUVILLE",
"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": [],
"warp_events": [
{
"x": 4,
"y": 6,
"elevation": 3,
"dest_map": "MAP_ROUTE110",
"dest_warp_id": 0
},
{
"x": 4,
"y": 1,
"elevation": 3,
"dest_map": "MAP_NEW_MAUVILLE_INSIDE",
"dest_warp_id": 0
}
],
"coord_events": [
{
"type": "trigger",
"x": 4,
"y": 2,
"elevation": 3,
"var": "VAR_0x40BA",
"var_value": 0,
"script": "NewMauville_Entrance_EventScript_2372FF"
}
],
"bg_events": []
}