Convert map data to JSON

This commit is contained in:
Marcus Huderle
2019-01-31 15:51:20 -06:00
parent 5c1667b41a
commit 29d6221935
2102 changed files with 72595 additions and 27039 deletions
@@ -1,18 +0,0 @@
MossdeepCity_StevensHouse_EventObjects:
object_event 1, EVENT_OBJ_GFX_STEVEN, 0, 9, 6, 3, MOVEMENT_TYPE_FACE_RIGHT, 0, 0, 0, 0, MossdeepCity_StevensHouse_EventScript_222912, FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_STEVEN
object_event 2, EVENT_OBJ_GFX_ITEM_BALL, 0, 4, 3, 3, MOVEMENT_TYPE_LOOK_AROUND, 1, 1, 0, 0, MossdeepCity_StevensHouse_EventScript_222841, FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL
object_event 3, EVENT_OBJ_GFX_NINJA_BOY, 0, 6, 4, 3, MOVEMENT_TYPE_INVISIBLE, 1, 1, 0, 0, MossdeepCity_StevensHouse_EventScript_22291B, FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_INVISIBLE_NINJA_BOY
MossdeepCity_StevensHouse_MapWarps:
warp_def 3, 7, 0, 6, MAP_MOSSDEEP_CITY
warp_def 4, 7, 0, 6, MAP_MOSSDEEP_CITY
MossdeepCity_StevensHouse_MapBGEvents:
bg_event 0, 1, 0, BG_EVENT_PLAYER_FACING_ANY, MossdeepCity_StevensHouse_EventScript_222909
bg_event 1, 1, 0, BG_EVENT_PLAYER_FACING_ANY, MossdeepCity_StevensHouse_EventScript_222909
bg_event 10, 4, 3, BG_EVENT_PLAYER_FACING_ANY, MossdeepCity_StevensHouse_EventScript_222909
bg_event 10, 6, 3, BG_EVENT_PLAYER_FACING_ANY, MossdeepCity_StevensHouse_EventScript_222909
MossdeepCity_StevensHouse_MapEvents::
map_events MossdeepCity_StevensHouse_EventObjects, MossdeepCity_StevensHouse_MapWarps, 0x0, MossdeepCity_StevensHouse_MapBGEvents
@@ -1,15 +0,0 @@
MossdeepCity_StevensHouse:
.4byte MossdeepCity_StevensHouse_Layout
.4byte MossdeepCity_StevensHouse_MapEvents
.4byte MossdeepCity_StevensHouse_MapScripts
.4byte 0x0
.2byte MUS_GOTOWN
.2byte LAYOUT_MOSSDEEP_CITY_STEVENS_HOUSE
.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,108 @@
{
"id": "MAP_MOSSDEEP_CITY_STEVENS_HOUSE",
"name": "MossdeepCity_StevensHouse",
"layout": "LAYOUT_MOSSDEEP_CITY_STEVENS_HOUSE",
"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_STEVEN",
"x": 9,
"y": 6,
"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": "MossdeepCity_StevensHouse_EventScript_222912",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_STEVEN"
},
{
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
"x": 4,
"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": "MossdeepCity_StevensHouse_EventScript_222841",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL"
},
{
"graphics_id": "EVENT_OBJ_GFX_NINJA_BOY",
"x": 6,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "MossdeepCity_StevensHouse_EventScript_22291B",
"flag": "FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_INVISIBLE_NINJA_BOY"
}
],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 0,
"dest_map": "MAP_MOSSDEEP_CITY",
"dest_warp_id": 6
},
{
"x": 4,
"y": 7,
"elevation": 0,
"dest_map": "MAP_MOSSDEEP_CITY",
"dest_warp_id": 6
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 0,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MossdeepCity_StevensHouse_EventScript_222909"
},
{
"type": "sign",
"x": 1,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MossdeepCity_StevensHouse_EventScript_222909"
},
{
"type": "sign",
"x": 10,
"y": 4,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MossdeepCity_StevensHouse_EventScript_222909"
},
{
"type": "sign",
"x": 10,
"y": 6,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MossdeepCity_StevensHouse_EventScript_222909"
}
]
}