Convert map data to JSON
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
ShoalCave_LowTideEntranceRoom_EventObjects:
|
||||
object_event 1, EVENT_OBJ_GFX_ITEM_BALL, 0, 30, 3, 3, MOVEMENT_TYPE_LOOK_AROUND, 1, 1, 0, 0, ShoalCave_LowTideEntranceRoom_EventScript_2913C0, FLAG_ITEM_SHOAL_CAVE_ENTRANCE_BIG_PEARL
|
||||
object_event 2, EVENT_OBJ_GFX_EXPERT_M, 0, 18, 15, 3, MOVEMENT_TYPE_FACE_LEFT, 1, 1, 0, 0, ShoalCave_LowTideEntranceRoom_EventScript_236DD9, 0
|
||||
|
||||
ShoalCave_LowTideEntranceRoom_MapWarps:
|
||||
warp_def 20, 30, 3, 0, MAP_ROUTE125
|
||||
warp_def 19, 5, 3, 0, MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM
|
||||
warp_def 6, 2, 3, 6, MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM
|
||||
warp_def 27, 2, 3, 7, MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM
|
||||
|
||||
ShoalCave_LowTideEntranceRoom_MapEvents::
|
||||
map_events ShoalCave_LowTideEntranceRoom_EventObjects, ShoalCave_LowTideEntranceRoom_MapWarps, 0x0, 0x0
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
ShoalCave_LowTideEntranceRoom:
|
||||
.4byte ShoalCave_LowTideEntranceRoom_Layout
|
||||
.4byte ShoalCave_LowTideEntranceRoom_MapEvents
|
||||
.4byte ShoalCave_LowTideEntranceRoom_MapScripts
|
||||
.4byte 0x0
|
||||
.2byte MUS_M_DUNGON
|
||||
.2byte LAYOUT_SHOAL_CAVE_LOW_TIDE_ENTRANCE_ROOM
|
||||
.byte MAPSEC_SHOAL_CAVE
|
||||
.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
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"id": "MAP_SHOAL_CAVE_LOW_TIDE_ENTRANCE_ROOM",
|
||||
"name": "ShoalCave_LowTideEntranceRoom",
|
||||
"layout": "LAYOUT_SHOAL_CAVE_LOW_TIDE_ENTRANCE_ROOM",
|
||||
"music": "MUS_M_DUNGON",
|
||||
"region_map_section": "MAPSEC_SHOAL_CAVE",
|
||||
"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": [
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
|
||||
"x": 30,
|
||||
"y": 3,
|
||||
"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": "ShoalCave_LowTideEntranceRoom_EventScript_2913C0",
|
||||
"flag": "FLAG_ITEM_SHOAL_CAVE_ENTRANCE_BIG_PEARL"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_EXPERT_M",
|
||||
"x": 18,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "ShoalCave_LowTideEntranceRoom_EventScript_236DD9",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 20,
|
||||
"y": 30,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE125",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 19,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM",
|
||||
"dest_warp_id": 6
|
||||
},
|
||||
{
|
||||
"x": 27,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM",
|
||||
"dest_warp_id": 7
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
||||
@@ -8,11 +8,11 @@ ShoalCave_LowTideEntranceRoom_MapScript1_236DC0: @ 8236DC0
|
||||
goto ShoalCave_LowTideEntranceRoom_EventScript_236DD5
|
||||
|
||||
ShoalCave_LowTideEntranceRoom_EventScript_236DD1:: @ 8236DD1
|
||||
setmaplayoutindex 168
|
||||
setmaplayoutindex LAYOUT_SHOAL_CAVE_HIGH_TIDE_ENTRANCE_ROOM
|
||||
end
|
||||
|
||||
ShoalCave_LowTideEntranceRoom_EventScript_236DD5:: @ 8236DD5
|
||||
setmaplayoutindex 164
|
||||
setmaplayoutindex LAYOUT_SHOAL_CAVE_LOW_TIDE_ENTRANCE_ROOM
|
||||
end
|
||||
|
||||
ShoalCave_LowTideEntranceRoom_EventScript_236DD9:: @ 8236DD9
|
||||
|
||||
Reference in New Issue
Block a user