Convert map data to JSON
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
MossdeepCity_GameCorner_1F_EventObjects:
|
||||
object_event 1, EVENT_OBJ_GFX_EXPERT_M, 0, 6, 2, 0, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, MossdeepCity_GameCorner_1F_EventScript_224B54, 0
|
||||
object_event 2, EVENT_OBJ_GFX_MAN_4, 0, 4, 2, 0, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, MossdeepCity_GameCorner_1F_EventScript_224B4B, 0
|
||||
|
||||
MossdeepCity_GameCorner_1F_MapWarps:
|
||||
warp_def 5, 9, 0, 9, MAP_MOSSDEEP_CITY
|
||||
warp_def 6, 9, 0, 9, MAP_MOSSDEEP_CITY
|
||||
warp_def 2, 0, 0, 0, MAP_MOSSDEEP_CITY_GAME_CORNER_B1F
|
||||
|
||||
MossdeepCity_GameCorner_1F_MapBGEvents:
|
||||
bg_event 3, 0, 0, BG_EVENT_PLAYER_FACING_ANY, MossdeepCity_GameCorner_1F_EventScript_224B5D
|
||||
bg_event 0, 1, 0, BG_EVENT_PLAYER_FACING_ANY, MossdeepCity_GameCorner_1F_EventScript_277E9D
|
||||
bg_event 1, 1, 0, BG_EVENT_PLAYER_FACING_ANY, MossdeepCity_GameCorner_1F_EventScript_277E96
|
||||
|
||||
MossdeepCity_GameCorner_1F_MapEvents::
|
||||
map_events MossdeepCity_GameCorner_1F_EventObjects, MossdeepCity_GameCorner_1F_MapWarps, 0x0, MossdeepCity_GameCorner_1F_MapBGEvents
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
MossdeepCity_GameCorner_1F:
|
||||
.4byte MossdeepCity_GameCorner_1F_Layout
|
||||
.4byte MossdeepCity_GameCorner_1F_MapEvents
|
||||
.4byte MossdeepCity_GameCorner_1F_MapScripts
|
||||
.4byte 0x0
|
||||
.2byte MUS_GOTOWN
|
||||
.2byte LAYOUT_MOSSDEEP_CITY_GAME_CORNER_1F
|
||||
.byte MAPSEC_MOSSDEEP_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,94 @@
|
||||
{
|
||||
"id": "MAP_MOSSDEEP_CITY_GAME_CORNER_1F",
|
||||
"name": "MossdeepCity_GameCorner_1F",
|
||||
"layout": "LAYOUT_MOSSDEEP_CITY_GAME_CORNER_1F",
|
||||
"music": "MUS_GOTOWN",
|
||||
"region_map_section": "MAPSEC_MOSSDEEP_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_EXPERT_M",
|
||||
"x": 6,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"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": "MossdeepCity_GameCorner_1F_EventScript_224B54",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "EVENT_OBJ_GFX_MAN_4",
|
||||
"x": 4,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"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": "MossdeepCity_GameCorner_1F_EventScript_224B4B",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 5,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY",
|
||||
"dest_warp_id": 9
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY",
|
||||
"dest_warp_id": 9
|
||||
},
|
||||
{
|
||||
"x": 2,
|
||||
"y": 0,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY_GAME_CORNER_B1F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 3,
|
||||
"y": 0,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "MossdeepCity_GameCorner_1F_EventScript_224B5D"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 0,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "MossdeepCity_GameCorner_1F_EventScript_277E9D"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "MossdeepCity_GameCorner_1F_EventScript_277E96"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user