Convert map data to JSON
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
SlateportCity_OceanicMuseum_2F_EventObjects:
|
||||
object_event 1, EVENT_OBJ_GFX_SCIENTIST_1, 0, 13, 6, 3, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, SlateportCity_OceanicMuseum_2F_EventScript_20BB00, FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_CAPTAIN_STERN
|
||||
object_event 2, EVENT_OBJ_GFX_ARCHIE, 0, 6, 1, 3, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, 0x0, FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_ARCHIE
|
||||
object_event 3, EVENT_OBJ_GFX_AQUA_MEMBER_M, 0, 6, 1, 3, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, 0x0, FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_AQUA_GRUNT_1
|
||||
object_event 4, EVENT_OBJ_GFX_AQUA_MEMBER_M, 0, 6, 1, 3, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, 0x0, FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_AQUA_GRUNT_2
|
||||
object_event 5, EVENT_OBJ_GFX_OLD_MAN, 0, 12, 7, 3, MOVEMENT_TYPE_FACE_RIGHT, 1, 1, 0, 0, SlateportCity_OceanicMuseum_2F_EventScript_20BD64, FLAG_HIDE_SLATEPORT_MUSEUM_POPULATION
|
||||
object_event 6, EVENT_OBJ_GFX_POKEFAN_F, 0, 9, 6, 3, MOVEMENT_TYPE_LOOK_AROUND, 1, 1, 0, 0, SlateportCity_OceanicMuseum_2F_EventScript_20BD6D, FLAG_HIDE_SLATEPORT_MUSEUM_POPULATION
|
||||
object_event 7, EVENT_OBJ_GFX_NINJA_BOY, 0, 1, 3, 3, MOVEMENT_TYPE_FACE_RIGHT, 1, 1, 0, 0, SlateportCity_OceanicMuseum_2F_EventScript_20BD76, FLAG_HIDE_SLATEPORT_MUSEUM_POPULATION
|
||||
|
||||
SlateportCity_OceanicMuseum_2F_MapWarps:
|
||||
warp_def 6, 1, 0, 2, MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_1F
|
||||
|
||||
SlateportCity_OceanicMuseum_2F_MapBGEvents:
|
||||
bg_event 18, 4, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD0A
|
||||
bg_event 18, 7, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD13
|
||||
bg_event 4, 3, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD52
|
||||
bg_event 4, 4, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD52
|
||||
bg_event 3, 3, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD49
|
||||
bg_event 2, 3, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD49
|
||||
bg_event 3, 4, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD49
|
||||
bg_event 3, 6, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD40
|
||||
bg_event 4, 6, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD40
|
||||
bg_event 13, 7, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD5B
|
||||
bg_event 14, 7, 3, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD5B
|
||||
bg_event 18, 1, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD37
|
||||
bg_event 19, 1, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD37
|
||||
bg_event 15, 1, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD2E
|
||||
bg_event 16, 1, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD2E
|
||||
bg_event 8, 1, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD25
|
||||
bg_event 9, 1, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD25
|
||||
bg_event 12, 1, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD1C
|
||||
bg_event 13, 1, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD1C
|
||||
bg_event 3, 7, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD40
|
||||
bg_event 4, 7, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_OceanicMuseum_2F_EventScript_20BD40
|
||||
|
||||
SlateportCity_OceanicMuseum_2F_MapEvents::
|
||||
map_events SlateportCity_OceanicMuseum_2F_EventObjects, SlateportCity_OceanicMuseum_2F_MapWarps, 0x0, SlateportCity_OceanicMuseum_2F_MapBGEvents
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
SlateportCity_OceanicMuseum_2F:
|
||||
.4byte SlateportCity_OceanicMuseum_2F_Layout
|
||||
.4byte SlateportCity_OceanicMuseum_2F_MapEvents
|
||||
.4byte SlateportCity_OceanicMuseum_2F_MapScripts
|
||||
.4byte 0x0
|
||||
.2byte MUS_FUNE_KAN
|
||||
.2byte LAYOUT_SLATEPORT_CITY_OCEANIC_MUSEUM_2F
|
||||
.byte MAPSEC_SLATEPORT_CITY
|
||||
.byte 0
|
||||
.byte WEATHER_NONE
|
||||
.byte MAP_TYPE_INDOOR
|
||||
.2byte 0
|
||||
map_header_flags allow_bike=0, allow_escape_rope=0, allow_run=0, show_map_name=0
|
||||
.byte MAP_BATTLE_SCENE_NORMAL
|
||||
|
||||
@@ -0,0 +1,289 @@
|
||||
{
|
||||
"id": "MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_2F",
|
||||
"name": "SlateportCity_OceanicMuseum_2F",
|
||||
"layout": "LAYOUT_SLATEPORT_CITY_OCEANIC_MUSEUM_2F",
|
||||
"music": "MUS_FUNE_KAN",
|
||||
"region_map_section": "MAPSEC_SLATEPORT_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_INDOOR",
|
||||
"allow_bike": false,
|
||||
"allow_escape_rope": false,
|
||||
"allow_running": false,
|
||||
"show_map_name": false,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_SCIENTIST_1",
|
||||
"x": 13,
|
||||
"y": 6,
|
||||
"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": "SlateportCity_OceanicMuseum_2F_EventScript_20BB00",
|
||||
"flag": "FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_CAPTAIN_STERN"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_ARCHIE",
|
||||
"x": 6,
|
||||
"y": 1,
|
||||
"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": "0x0",
|
||||
"flag": "FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_ARCHIE"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_AQUA_MEMBER_M",
|
||||
"x": 6,
|
||||
"y": 1,
|
||||
"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": "0x0",
|
||||
"flag": "FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_AQUA_GRUNT_1"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_AQUA_MEMBER_M",
|
||||
"x": 6,
|
||||
"y": 1,
|
||||
"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": "0x0",
|
||||
"flag": "FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_2F_AQUA_GRUNT_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_OLD_MAN",
|
||||
"x": 12,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD64",
|
||||
"flag": "FLAG_HIDE_SLATEPORT_MUSEUM_POPULATION"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_POKEFAN_F",
|
||||
"x": 9,
|
||||
"y": 6,
|
||||
"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": "SlateportCity_OceanicMuseum_2F_EventScript_20BD6D",
|
||||
"flag": "FLAG_HIDE_SLATEPORT_MUSEUM_POPULATION"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_NINJA_BOY",
|
||||
"x": 1,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD76",
|
||||
"flag": "FLAG_HIDE_SLATEPORT_MUSEUM_POPULATION"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 6,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_1F",
|
||||
"dest_warp_id": 2
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 18,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD0A"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 18,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD13"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD52"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD52"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 3,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD49"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD49"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 3,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD49"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 3,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD40"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD40"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 13,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD5B"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 14,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD5B"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 18,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD37"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 19,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD37"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 15,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD2E"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 16,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD2E"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 8,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD25"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 9,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD25"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 12,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD1C"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 13,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD1C"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD40"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_OceanicMuseum_2F_EventScript_20BD40"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user