convert map data to json
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
PewterCity_Gym_EventObjects:
|
||||
object_event 1, 80, 0, 6, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, PewterCity_Gym_EventScript_16A593, 0, 0, 0
|
||||
object_event 2, 39, 0, 3, 0, 8, 0, 3, 10, 17, 0, 1, 0, 4, 0, PewterCity_Gym_EventScript_16A63E, 0, 0, 0
|
||||
object_event 3, 91, 0, 7, 0, 12, 0, 3, 8, 17, 0, 0, 0, 0, 0, PewterCity_Gym_EventScript_16A655, 0, 0, 0
|
||||
|
||||
PewterCity_Gym_MapWarps:
|
||||
warp_def 5, 14, 3, 2, 770
|
||||
warp_def 6, 14, 3, 2, 770
|
||||
warp_def 7, 14, 3, 2, 770
|
||||
|
||||
PewterCity_Gym_MapBGEvents:
|
||||
bg_event 4, 12, 0, 0, 0, PewterCity_Gym_EventScript_16A6AF
|
||||
bg_event 8, 12, 0, 0, 0, PewterCity_Gym_EventScript_16A6AF
|
||||
|
||||
PewterCity_Gym_MapEvents::
|
||||
map_events PewterCity_Gym_EventObjects, PewterCity_Gym_MapWarps, 0x0, PewterCity_Gym_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
PewterCity_Gym:: @ 8350EA0
|
||||
.4byte PewterCity_Gym_Layout @ 0x82D732C
|
||||
.4byte PewterCity_Gym_MapEvents @ 0x83BA058
|
||||
.4byte PewterCity_Gym_MapScripts @ 0x816A592
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_GYM
|
||||
.2byte 28
|
||||
.byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
|
||||
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"id": "MAP_PEWTER_CITY_GYM",
|
||||
"name": "PewterCity_Gym",
|
||||
"layout": "LAYOUT_PEWTER_CITY_GYM",
|
||||
"music": "BGM_FRLG_GYM",
|
||||
"region_map_section": "MAPSEC_PEWTER_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_0",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 0,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_1",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "80",
|
||||
"x": 6,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PewterCity_Gym_EventScript_16A593",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "39",
|
||||
"x": 3,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"movement_type": "10",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "PewterCity_Gym_EventScript_16A63E",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "91",
|
||||
"x": 7,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PewterCity_Gym_EventScript_16A655",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 5,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_PEWTER_CITY",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_PEWTER_CITY",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 7,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_PEWTER_CITY",
|
||||
"dest_warp_id": 2
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 4,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "PewterCity_Gym_EventScript_16A6AF"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "PewterCity_Gym_EventScript_16A6AF"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user