Convert map data to JSON
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
SlateportCity_Mart_EventObjects:
|
||||
object_event 1, EVENT_OBJ_GFX_MART_EMPLOYEE, 0, 1, 3, 3, MOVEMENT_TYPE_FACE_RIGHT, 0, 0, 0, 0, SlateportCity_Mart_EventScript_20DC49, 0
|
||||
object_event 2, EVENT_OBJ_GFX_BLACK_BELT, 0, 4, 2, 3, MOVEMENT_TYPE_FACE_UP, 0, 0, 0, 0, SlateportCity_Mart_EventScript_20DC76, 0
|
||||
object_event 3, EVENT_OBJ_GFX_MAN_3, 0, 5, 5, 3, MOVEMENT_TYPE_LOOK_AROUND, 0, 0, 0, 0, SlateportCity_Mart_EventScript_20DC7F, 0
|
||||
|
||||
SlateportCity_Mart_MapWarps:
|
||||
warp_def 3, 7, 0, 1, MAP_SLATEPORT_CITY
|
||||
warp_def 4, 7, 0, 1, MAP_SLATEPORT_CITY
|
||||
|
||||
SlateportCity_Mart_MapEvents::
|
||||
map_events SlateportCity_Mart_EventObjects, SlateportCity_Mart_MapWarps, 0x0, 0x0
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
SlateportCity_Mart:
|
||||
.4byte Mart_Layout
|
||||
.4byte SlateportCity_Mart_MapEvents
|
||||
.4byte SlateportCity_Mart_MapScripts
|
||||
.4byte 0x0
|
||||
.2byte MUS_FRIENDLY
|
||||
.2byte LAYOUT_MART
|
||||
.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,75 @@
|
||||
{
|
||||
"id": "MAP_SLATEPORT_CITY_MART",
|
||||
"name": "SlateportCity_Mart",
|
||||
"layout": "LAYOUT_MART",
|
||||
"music": "MUS_FRIENDLY",
|
||||
"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_MART_EMPLOYEE",
|
||||
"x": 1,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SlateportCity_Mart_EventScript_20DC49",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_BLACK_BELT",
|
||||
"x": 4,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SlateportCity_Mart_EventScript_20DC76",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_MAN_3",
|
||||
"x": 5,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SlateportCity_Mart_EventScript_20DC7F",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
||||
Reference in New Issue
Block a user