Convert map data to JSON
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
SlateportCity_BattleTentLobby_EventObjects:
|
||||
object_event 1, EVENT_OBJ_GFX_SCIENTIST_1, 0, 6, 5, 3, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, SlateportCity_BattleTentLobby_EventScript_2088AA, 0
|
||||
object_event 2, EVENT_OBJ_GFX_SAILOR, 0, 1, 5, 3, MOVEMENT_TYPE_WANDER_AROUND, 1, 1, 0, 0, SlateportCity_BattleTentLobby_EventScript_208A3D, 0
|
||||
object_event 3, EVENT_OBJ_GFX_MAN_3, 0, 3, 7, 3, MOVEMENT_TYPE_FACE_UP, 1, 1, 0, 0, SlateportCity_BattleTentLobby_EventScript_208A7E, 0
|
||||
object_event 4, EVENT_OBJ_GFX_GIRL_1, 0, 1, 8, 3, MOVEMENT_TYPE_LOOK_AROUND, 1, 1, 0, 0, SlateportCity_BattleTentLobby_EventScript_208A87, 0
|
||||
object_event 5, EVENT_OBJ_GFX_WOMAN_2, 0, 11, 8, 3, MOVEMENT_TYPE_FACE_LEFT, 1, 1, 0, 0, SlateportCity_BattleTentLobby_EventScript_208A90, 0
|
||||
|
||||
SlateportCity_BattleTentLobby_MapWarps:
|
||||
warp_def 6, 9, 0, 3, MAP_SLATEPORT_CITY
|
||||
warp_def 7, 9, 0, 3, MAP_SLATEPORT_CITY
|
||||
|
||||
SlateportCity_BattleTentLobby_MapBGEvents:
|
||||
bg_event 4, 5, 0, BG_EVENT_PLAYER_FACING_ANY, SlateportCity_BattleTentLobby_EventScript_208A99
|
||||
|
||||
SlateportCity_BattleTentLobby_MapEvents::
|
||||
map_events SlateportCity_BattleTentLobby_EventObjects, SlateportCity_BattleTentLobby_MapWarps, 0x0, SlateportCity_BattleTentLobby_MapBGEvents
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
SlateportCity_BattleTentLobby:
|
||||
.4byte BattleTentLobby_Layout
|
||||
.4byte SlateportCity_BattleTentLobby_MapEvents
|
||||
.4byte SlateportCity_BattleTentLobby_MapScripts
|
||||
.4byte 0x0
|
||||
.2byte MUS_B_TOWER
|
||||
.2byte LAYOUT_BATTLE_TENT_LOBBY
|
||||
.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,110 @@
|
||||
{
|
||||
"id": "MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY",
|
||||
"name": "SlateportCity_BattleTentLobby",
|
||||
"layout": "LAYOUT_BATTLE_TENT_LOBBY",
|
||||
"music": "MUS_B_TOWER",
|
||||
"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": 6,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_2088AA",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_SAILOR",
|
||||
"x": 1,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_208A3D",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_MAN_3",
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_208A7E",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_GIRL_1",
|
||||
"x": 1,
|
||||
"y": 8,
|
||||
"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_BattleTentLobby_EventScript_208A87",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_WOMAN_2",
|
||||
"x": 11,
|
||||
"y": 8,
|
||||
"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": "SlateportCity_BattleTentLobby_EventScript_208A90",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 6,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 7,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 3
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_208A99"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user