diff options
| author | garak <garakmon@gmail.com> | 2019-05-13 19:44:24 -0400 |
|---|---|---|
| committer | garak <garakmon@gmail.com> | 2019-05-13 19:44:24 -0400 |
| commit | 55d66b51770b4f657ed55822e7e76f6d6e3261d8 (patch) | |
| tree | 1c324c7d2108afb678d2260e63b5591a04571b0d /data/maps/Route4 | |
| parent | 4b98d7d07a681279022cec9f082071a374ddbdb9 (diff) | |
convert map data to json
Diffstat (limited to 'data/maps/Route4')
| -rw-r--r-- | data/maps/Route4/connections.inc | 7 | ||||
| -rw-r--r-- | data/maps/Route4/events.inc | 23 | ||||
| -rw-r--r-- | data/maps/Route4/header.inc | 8 | ||||
| -rw-r--r-- | data/maps/Route4/map.json | 186 |
4 files changed, 186 insertions, 38 deletions
diff --git a/data/maps/Route4/connections.inc b/data/maps/Route4/connections.inc deleted file mode 100644 index 7886e6c30..000000000 --- a/data/maps/Route4/connections.inc +++ /dev/null @@ -1,7 +0,0 @@ -Route4_MapConnectionsList: @ 8352A3C - connection down, -60, MAP_ROUTE3 - connection right, -10, MAP_CERULEAN_CITY - -Route4_MapConnections:: @ 8352A54 - .4byte 2 - .4byte Route4_MapConnectionsList diff --git a/data/maps/Route4/events.inc b/data/maps/Route4/events.inc deleted file mode 100644 index 812193ff7..000000000 --- a/data/maps/Route4/events.inc +++ /dev/null @@ -1,23 +0,0 @@ -Route4_EventObjects: - object_event 1, 23, 0, 9, 0, 8, 0, 3, 2, 17, 0, 0, 0, 0, 0, Route4_EventScript_167F8C, 0, 0, 0 - object_event 2, 22, 0, 75, 0, 3, 0, 3, 10, 17, 0, 1, 0, 4, 0, Route4_EventScript_1A95B9, 0, 0, 0 - object_event 3, 92, 0, 67, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route4_EventScript_1BE637, 353, 0, 0 - object_event 4, 19, 0, 15, 0, 14, 0, 3, 5, 17, 0, 0, 0, 0, 0, Route4_EventScript_1ACDEA, 0, 0, 0 - object_event 5, 54, 0, 47, 0, 3, 0, 3, 10, 17, 0, 0, 0, 0, 0, Route4_EventScript_1C494E, 0, 0, 0 - object_event 6, 54, 0, 50, 0, 3, 0, 3, 9, 17, 0, 0, 0, 0, 0, Route4_EventScript_1C49B6, 0, 0, 0 - object_event 7, 65321, 0, 109, 0, 3, 0, 12, 0, 0, 0, 3, 0, 3, 0, 0x0, 0, 0, 0 - -Route4_MapWarps: - warp_def 19, 5, 3, 3, 257 - warp_def 32, 5, 0, 7, 258 - warp_def 12, 5, 0, 1, 4096 - -Route4_MapBGEvents: - bg_event 18, 7, 0, 0, 0, Route4_EventScript_167F95 - bg_event 34, 7, 0, 0, 0, Route4_EventScript_167F9E - bg_event 43, 2, 3, 7, 0, 3, 50, 1 - bg_event 5, 4, 3, 7, 0, 140, 114, 1 - bg_event 67, 17, 3, 7, 0, 148, 156, 1 - -Route4_MapEvents:: - map_events Route4_EventObjects, Route4_MapWarps, 0x0, Route4_MapBGEvents diff --git a/data/maps/Route4/header.inc b/data/maps/Route4/header.inc deleted file mode 100644 index 7156cf616..000000000 --- a/data/maps/Route4/header.inc +++ /dev/null @@ -1,8 +0,0 @@ -Route4:: @ 8350880 - .4byte Route4_Layout @ 0x82E8338 - .4byte Route4_MapEvents @ 0x83B6980 - .4byte Route4_MapScripts @ 0x8167F8A - .4byte Route4_MapConnections @ 0x8352A54 - .2byte BGM_FRLG_ROUTE_3 - .2byte 92 - .byte 0x68, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00 diff --git a/data/maps/Route4/map.json b/data/maps/Route4/map.json new file mode 100644 index 000000000..d7c4363a4 --- /dev/null +++ b/data/maps/Route4/map.json @@ -0,0 +1,186 @@ +{ + "id": "MAP_ROUTE4", + "name": "Route4", + "layout": "LAYOUT_ROUTE4", + "music": "BGM_FRLG_ROUTE_3", + "region_map_section": "MAPSEC_ROUTE_4", + "requires_flash": false, + "weather": "WEATHER_2", + "map_type": "MAP_TYPE_3", + "unknown_18": 1, + "unknown_19": 6, + "elevator_flag": 0, + "battle_scene": "BATTLE_SCENE_0", + "connections": [ + { + "map": "MAP_ROUTE3", + "offset": -60, + "direction": "down" + }, + { + "map": "MAP_CERULEAN_CITY", + "offset": -10, + "direction": "right" + } + ], + "object_events": [ + { + "graphics_id": "23", + "x": 9, + "y": 8, + "elevation": 3, + "movement_type": "2", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route4_EventScript_167F8C", + "flag": "0" + }, + { + "graphics_id": "22", + "x": 75, + "y": 3, + "elevation": 3, + "movement_type": "10", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 4, + "script": "Route4_EventScript_1A95B9", + "flag": "0" + }, + { + "graphics_id": "92", + "x": 67, + "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": "Route4_EventScript_1BE637", + "flag": "353" + }, + { + "graphics_id": "19", + "x": 15, + "y": 14, + "elevation": 3, + "movement_type": "5", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route4_EventScript_1ACDEA", + "flag": "0" + }, + { + "graphics_id": "54", + "x": 47, + "y": 3, + "elevation": 3, + "movement_type": "10", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route4_EventScript_1C494E", + "flag": "0" + }, + { + "graphics_id": "54", + "x": 50, + "y": 3, + "elevation": 3, + "movement_type": "9", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route4_EventScript_1C49B6", + "flag": "0" + }, + { + "graphics_id": "65321", + "x": 109, + "y": 3, + "elevation": 12, + "movement_type": "0", + "movement_range_x": 0, + "movement_range_y": 0, + "trainer_type": 3, + "trainer_sight_or_berry_tree_id": 3, + "script": "0x0", + "flag": "0" + } + ], + "warp_events": [ + { + "x": 19, + "y": 5, + "elevation": 3, + "dest_map": "MAP_MT_MOON_1F", + "dest_warp_id": 3 + }, + { + "x": 32, + "y": 5, + "elevation": 0, + "dest_map": "MAP_MT_MOON_B1F", + "dest_warp_id": 7 + }, + { + "x": 12, + "y": 5, + "elevation": 0, + "dest_map": "MAP_ROUTE4_POKEMON_CENTER_1F", + "dest_warp_id": 1 + } + ], + "coord_events": [], + "bg_events": [ + { + "type": "bg_event_type_0", + "x": 18, + "y": 7, + "elevation": 0, + "script": "Route4_EventScript_167F95" + }, + { + "type": "bg_event_type_0", + "x": 34, + "y": 7, + "elevation": 0, + "script": "Route4_EventScript_167F9E" + }, + { + "type": "hidden_item", + "x": 43, + "y": 2, + "elevation": 3, + "item": "POCKET_POKE_BALLS", + "flag": "50", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 5, + "y": 4, + "elevation": 3, + "item": "ITEM_PERSIM_BERRY", + "flag": "114", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 67, + "y": 17, + "elevation": 3, + "item": "ITEM_RAZZ_BERRY", + "flag": "156", + "unknown": 1 + } + ] +}
\ No newline at end of file |
