convert map data to json
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
PokemonTower_5F_EventObjects:
|
||||
object_event 1, 58, 0, 11, 0, 4, 0, 3, 1, 17, 0, 1, 0, 2, 0, PokemonTower_5F_EventScript_163472, 0, 0, 0
|
||||
object_event 2, 58, 0, 19, 0, 7, 0, 3, 9, 17, 0, 1, 0, 3, 0, PokemonTower_5F_EventScript_16345B, 0, 0, 0
|
||||
object_event 3, 58, 0, 7, 0, 12, 0, 3, 10, 17, 0, 1, 0, 2, 0, PokemonTower_5F_EventScript_163489, 0, 0, 0
|
||||
object_event 4, 58, 0, 11, 0, 16, 0, 3, 1, 17, 0, 1, 0, 2, 0, PokemonTower_5F_EventScript_1634A0, 0, 0, 0
|
||||
object_event 5, 58, 0, 12, 0, 8, 0, 3, 10, 17, 0, 0, 0, 0, 0, PokemonTower_5F_EventScript_163433, 0, 0, 0
|
||||
object_event 6, 92, 0, 6, 0, 16, 0, 3, 8, 17, 0, 0, 0, 0, 0, PokemonTower_5F_EventScript_1BE789, 379, 0, 0
|
||||
object_event 7, 92, 0, 11, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, PokemonTower_5F_EventScript_1BEBB3, 464, 0, 0
|
||||
|
||||
PokemonTower_5F_MapWarps:
|
||||
warp_def 4, 10, 3, 0, 347
|
||||
warp_def 18, 10, 3, 1, 349
|
||||
|
||||
PokemonTower_5F_MapCoordEvents:
|
||||
coord_event 10, 8, 3, 0, 16385, 0, 0, PokemonTower_5F_EventScript_16343C
|
||||
coord_event 11, 8, 3, 0, 16385, 0, 0, PokemonTower_5F_EventScript_16343C
|
||||
coord_event 12, 8, 3, 0, 16385, 0, 0, PokemonTower_5F_EventScript_16343C
|
||||
coord_event 10, 9, 3, 0, 16385, 0, 0, PokemonTower_5F_EventScript_16343C
|
||||
coord_event 9, 8, 3, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
coord_event 12, 9, 3, 0, 16385, 0, 0, PokemonTower_5F_EventScript_16343C
|
||||
coord_event 10, 10, 3, 0, 16385, 0, 0, PokemonTower_5F_EventScript_16343C
|
||||
coord_event 11, 10, 3, 0, 16385, 0, 0, PokemonTower_5F_EventScript_16343C
|
||||
coord_event 12, 10, 0, 0, 16385, 0, 0, PokemonTower_5F_EventScript_16343C
|
||||
coord_event 9, 9, 3, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
coord_event 9, 10, 3, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
coord_event 10, 11, 3, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
coord_event 11, 11, 3, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
coord_event 12, 11, 0, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
coord_event 13, 8, 0, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
coord_event 13, 9, 0, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
coord_event 13, 10, 0, 0, 16385, 1, 0, PokemonTower_5F_EventScript_163453
|
||||
|
||||
PokemonTower_5F_MapBGEvents:
|
||||
bg_event 7, 3, 3, 7, 0, 104, 14, 1
|
||||
|
||||
PokemonTower_5F_MapEvents::
|
||||
map_events PokemonTower_5F_EventObjects, PokemonTower_5F_MapWarps, PokemonTower_5F_MapCoordEvents, PokemonTower_5F_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
PokemonTower_5F:: @ 834FC24
|
||||
.4byte PokemonTower_5F_Layout @ 0x8317784
|
||||
.4byte PokemonTower_5F_MapEvents @ 0x83B2604
|
||||
.4byte PokemonTower_5F_MapScripts @ 0x8163432
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_POKEMON_TOWER
|
||||
.2byte 165
|
||||
.byte 0x8c, 0x00, 0x06, 0x08, 0x00, 0x05, 0x00, 0x02
|
||||
@@ -0,0 +1,290 @@
|
||||
{
|
||||
"id": "MAP_POKEMON_TOWER_5F",
|
||||
"name": "PokemonTower_5F",
|
||||
"layout": "LAYOUT_POKEMON_TOWER_5F",
|
||||
"music": "BGM_FRLG_POKEMON_TOWER",
|
||||
"region_map_section": "MAPSEC_POKEMON_TOWER",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_6",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 5,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_2",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "58",
|
||||
"x": 11,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "PokemonTower_5F_EventScript_163472",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "58",
|
||||
"x": 19,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "PokemonTower_5F_EventScript_16345B",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "58",
|
||||
"x": 7,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"movement_type": "10",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "PokemonTower_5F_EventScript_163489",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "58",
|
||||
"x": 11,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "PokemonTower_5F_EventScript_1634A0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "58",
|
||||
"x": 12,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"movement_type": "10",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PokemonTower_5F_EventScript_163433",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 6,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PokemonTower_5F_EventScript_1BE789",
|
||||
"flag": "379"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 11,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PokemonTower_5F_EventScript_1BEBB3",
|
||||
"flag": "464"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_POKEMON_TOWER_4F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 18,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_POKEMON_TOWER_6F",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "PokemonTower_5F_EventScript_16343C"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 11,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "PokemonTower_5F_EventScript_16343C"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 12,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "PokemonTower_5F_EventScript_16343C"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "PokemonTower_5F_EventScript_16343C"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 12,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "PokemonTower_5F_EventScript_16343C"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "PokemonTower_5F_EventScript_16343C"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "PokemonTower_5F_EventScript_16343C"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 12,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "PokemonTower_5F_EventScript_16343C"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 9,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 11,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 12,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 13,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 13,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 13,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 1,
|
||||
"script": "PokemonTower_5F_EventScript_163453"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 7,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_BIG_MUSHROOM",
|
||||
"flag": "14",
|
||||
"unknown": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user