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_Southwest_MapConnectionsList:
connection up, 0, MAP_SAFARI_ZONE_NORTHWEST
connection right, 0, MAP_SAFARI_ZONE_SOUTH
SafariZone_Southwest_MapConnections:
.4byte 2
.4byte SafariZone_Southwest_MapConnectionsList
-13
View File
@@ -1,13 +0,0 @@
SafariZone_Southwest_EventObjects:
object_event 1, EVENT_OBJ_GFX_WOMAN_2, 0, 22, 9, 3, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, SafariZone_Southwest_EventScript_23D267, 0
object_event 2, EVENT_OBJ_GFX_ITEM_BALL, 0, 0, 37, 3, MOVEMENT_TYPE_LOOK_AROUND, 1, 1, 0, 0, SafariZone_Southwest_EventScript_2912D6, FLAG_ITEM_SAFARI_ZONE_SOUTH_WEST_MAX_REVIVE
SafariZone_Southwest_MapWarps:
warp_def 29, 7, 3, 0, MAP_SAFARI_ZONE_REST_HOUSE
SafariZone_Southwest_MapBGEvents:
bg_event 32, 7, 3, BG_EVENT_PLAYER_FACING_ANY, SafariZone_Southwest_EventScript_23D270
SafariZone_Southwest_MapEvents::
map_events SafariZone_Southwest_EventObjects, SafariZone_Southwest_MapWarps, 0x0, SafariZone_Southwest_MapBGEvents
-15
View File
@@ -1,15 +0,0 @@
SafariZone_Southwest:
.4byte SafariZone_Southwest_Layout
.4byte SafariZone_Southwest_MapEvents
.4byte SafariZone_Southwest_MapScripts
.4byte SafariZone_Southwest_MapConnections
.2byte MUS_SAFARI
.2byte LAYOUT_SAFARI_ZONE_SOUTHWEST
.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
+75
View File
@@ -0,0 +1,75 @@
{
"id": "MAP_SAFARI_ZONE_SOUTHWEST",
"name": "SafariZone_Southwest",
"layout": "LAYOUT_SAFARI_ZONE_SOUTHWEST",
"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": "up",
"offset": 0,
"map": "MAP_SAFARI_ZONE_NORTHWEST"
},
{
"direction": "right",
"offset": 0,
"map": "MAP_SAFARI_ZONE_SOUTH"
}
],
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_WOMAN_2",
"x": 22,
"y": 9,
"elevation": 3,
"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_Southwest_EventScript_23D267",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
"x": 0,
"y": 37,
"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_Southwest_EventScript_2912D6",
"flag": "FLAG_ITEM_SAFARI_ZONE_SOUTH_WEST_MAX_REVIVE"
}
],
"warp_events": [
{
"x": 29,
"y": 7,
"elevation": 3,
"dest_map": "MAP_SAFARI_ZONE_REST_HOUSE",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 32,
"y": 7,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "SafariZone_Southwest_EventScript_23D270"
}
]
}