convert map data to json

This commit is contained in:
garak
2019-05-13 19:44:24 -04:00
parent 4b98d7d07a
commit 55d66b5177
2112 changed files with 53337 additions and 19410 deletions
@@ -1,15 +0,0 @@
TwoIsland_JoyfulGameCorner_EventObjects:
object_event 1, 30, 0, 5, 0, 5, 0, 1, 10, 17, 0, 0, 0, 0, 0, TwoIsland_JoyfulGameCorner_EventScript_17155F, 0, 0, 0
object_event 2, 53, 0, 5, 0, 8, 0, 3, 7, 17, 0, 0, 0, 0, 0, 0x0, 116, 0, 0
object_event 3, 17, 0, 6, 0, 5, 0, 1, 9, 17, 0, 0, 0, 0, 0, TwoIsland_JoyfulGameCorner_EventScript_17160C, 117, 0, 0
object_event 4, 25, 0, 4, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, TwoIsland_JoyfulGameCorner_EventScript_171535, 0, 0, 0
TwoIsland_JoyfulGameCorner_MapWarps:
warp_def 5, 8, 3, 0, 781
TwoIsland_JoyfulGameCorner_MapBGEvents:
bg_event 1, 1, 0, 0, 0, TwoIsland_JoyfulGameCorner_EventScript_1BC2E7
bg_event 0, 1, 0, 0, 0, TwoIsland_JoyfulGameCorner_EventScript_1BC2FC
TwoIsland_JoyfulGameCorner_MapEvents::
map_events TwoIsland_JoyfulGameCorner_EventObjects, TwoIsland_JoyfulGameCorner_MapWarps, 0x0, TwoIsland_JoyfulGameCorner_MapBGEvents
@@ -1,8 +0,0 @@
TwoIsland_JoyfulGameCorner:: @ 8351BF8
.4byte TwoIsland_JoyfulGameCorner_Layout @ 0x833AA84
.4byte TwoIsland_JoyfulGameCorner_MapEvents @ 0x83BE5EC
.4byte TwoIsland_JoyfulGameCorner_MapScripts @ 0x81713D0
.4byte NULL
.2byte BGM_FRLG_GAMECORNER
.2byte 272
.byte 0x90, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
@@ -0,0 +1,95 @@
{
"id": "MAP_TWO_ISLAND_JOYFUL_GAME_CORNER",
"name": "TwoIsland_JoyfulGameCorner",
"layout": "LAYOUT_TWO_ISLAND_JOYFUL_GAME_CORNER",
"music": "BGM_FRLG_GAMECORNER",
"region_map_section": "MAPSEC_TWO_ISLAND",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "30",
"x": 5,
"y": 5,
"elevation": 1,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "TwoIsland_JoyfulGameCorner_EventScript_17155F",
"flag": "0"
},
{
"graphics_id": "53",
"x": 5,
"y": 8,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "116"
},
{
"graphics_id": "17",
"x": 6,
"y": 5,
"elevation": 1,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "TwoIsland_JoyfulGameCorner_EventScript_17160C",
"flag": "117"
},
{
"graphics_id": "25",
"x": 4,
"y": 2,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "TwoIsland_JoyfulGameCorner_EventScript_171535",
"flag": "0"
}
],
"warp_events": [
{
"x": 5,
"y": 8,
"elevation": 3,
"dest_map": "MAP_TWO_ISLAND",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 1,
"y": 1,
"elevation": 0,
"script": "TwoIsland_JoyfulGameCorner_EventScript_1BC2E7"
},
{
"type": "bg_event_type_0",
"x": 0,
"y": 1,
"elevation": 0,
"script": "TwoIsland_JoyfulGameCorner_EventScript_1BC2FC"
}
]
}