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
@@ -1,8 +0,0 @@
SafariZone_Northwest_MapConnectionsList:
connection right, 0, MAP_SAFARI_ZONE_NORTH
connection down, 0, MAP_SAFARI_ZONE_SOUTHWEST
SafariZone_Northwest_MapConnections:
.4byte 2
.4byte SafariZone_Northwest_MapConnectionsList
@@ -1,7 +0,0 @@
SafariZone_Northwest_EventObjects:
object_event 1, EVENT_OBJ_GFX_MAN_1, 0, 8, 8, 5, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, SafariZone_Northwest_EventScript_23D24A, 0
object_event 2, EVENT_OBJ_GFX_ITEM_BALL, 0, 33, 7, 3, MOVEMENT_TYPE_LOOK_AROUND, 1, 1, 0, 0, SafariZone_Northwest_EventScript_2912BC, FLAG_ITEM_SAFARI_ZONE_NORTH_WEST_TM_22
SafariZone_Northwest_MapEvents::
map_events SafariZone_Northwest_EventObjects, 0x0, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
SafariZone_Northwest:
.4byte SafariZone_Northwest_Layout
.4byte SafariZone_Northwest_MapEvents
.4byte SafariZone_Northwest_MapScripts
.4byte SafariZone_Northwest_MapConnections
.2byte MUS_SAFARI
.2byte LAYOUT_SAFARI_ZONE_NORTHWEST
.byte MAPSEC_SAFARI_ZONE
.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
+58
View File
@@ -0,0 +1,58 @@
{
"id": "MAP_SAFARI_ZONE_NORTHWEST",
"name": "SafariZone_Northwest",
"layout": "LAYOUT_SAFARI_ZONE_NORTHWEST",
"music": "MUS_SAFARI",
"region_map_section": "MAPSEC_SAFARI_ZONE",
"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": [
{
"direction": "right",
"offset": 0,
"map": "MAP_SAFARI_ZONE_NORTH"
},
{
"direction": "down",
"offset": 0,
"map": "MAP_SAFARI_ZONE_SOUTHWEST"
}
],
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_MAN_1",
"x": 8,
"y": 8,
"elevation": 5,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SafariZone_Northwest_EventScript_23D24A",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
"x": 33,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SafariZone_Northwest_EventScript_2912BC",
"flag": "FLAG_ITEM_SAFARI_ZONE_NORTH_WEST_TM_22"
}
],
"warp_events": [],
"coord_events": [],
"bg_events": []
}