diff options
Diffstat (limited to 'data/maps/Route18')
-rw-r--r-- | data/maps/Route18/map.json | 100 | ||||
-rw-r--r-- | data/maps/Route18/scripts.inc | 29 | ||||
-rw-r--r-- | data/maps/Route18/text.inc | 40 |
3 files changed, 169 insertions, 0 deletions
diff --git a/data/maps/Route18/map.json b/data/maps/Route18/map.json new file mode 100644 index 000000000..f18809806 --- /dev/null +++ b/data/maps/Route18/map.json @@ -0,0 +1,100 @@ +{ + "id": "MAP_ROUTE18", + "name": "Route18", + "layout": "LAYOUT_ROUTE18", + "music": "BGM_FRLG_ROUTE_3", + "region_map_section": "MAPSEC_ROUTE_18", + "requires_flash": false, + "weather": "WEATHER_SUNNY", + "map_type": "MAP_TYPE_3", + "unknown_18": 1, + "unknown_19": 6, + "elevator_flag": 0, + "battle_scene": "BATTLE_SCENE_0", + "connections": [ + { + "map": "MAP_ROUTE17", + "offset": 0, + "direction": "up" + }, + { + "map": "MAP_FUCHSIA_CITY", + "offset": -10, + "direction": "right" + } + ], + "object_events": [ + { + "graphics_id": "26", + "x": 46, + "y": 14, + "elevation": 3, + "movement_type": "9", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 4, + "script": "Route18_EventScript_1AB3D3", + "flag": "0" + }, + { + "graphics_id": "26", + "x": 41, + "y": 15, + "elevation": 3, + "movement_type": "1", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "Route18_EventScript_1AB395", + "flag": "0" + }, + { + "graphics_id": "26", + "x": 39, + "y": 12, + "elevation": 3, + "movement_type": "10", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 6, + "script": "Route18_EventScript_1AB357", + "flag": "0" + } + ], + "warp_events": [ + { + "x": 41, + "y": 9, + "elevation": 3, + "dest_map": "MAP_ROUTE18_EAST_ENTRANCE_1F", + "dest_warp_id": 0 + }, + { + "x": 48, + "y": 9, + "elevation": 3, + "dest_map": "MAP_ROUTE18_EAST_ENTRANCE_1F", + "dest_warp_id": 1 + } + ], + "coord_events": [], + "bg_events": [ + { + "type": "bg_event_type_0", + "x": 37, + "y": 7, + "elevation": 0, + "script": "Route18_EventScript_168228" + }, + { + "type": "bg_event_type_0", + "x": 52, + "y": 7, + "elevation": 0, + "script": "Route18_EventScript_16821F" + } + ] +} diff --git a/data/maps/Route18/scripts.inc b/data/maps/Route18/scripts.inc new file mode 100644 index 000000000..548fdeeb6 --- /dev/null +++ b/data/maps/Route18/scripts.inc @@ -0,0 +1,29 @@ +Route18_MapScripts:: @ 81681F6 + map_script 3, Route18_MapScript1_168201 + map_script 4, Route18_MapScript2_168211 + .byte 0 + +Route18_MapScript1_168201:: @ 8168201 + compare_var_to_value VAR_MAP_SCENE_ROUTE16, 1 + call_if 1, EventScript_16820D + end + +EventScript_16820D:: @ 816820D + setflag FLAG_0x830 + return + +Route18_MapScript2_168211:: @ 8168211 + map_script_2 VAR_MAP_SCENE_ROUTE16, 1, EventScript_16821B + .2byte 0 + +EventScript_16821B:: @ 816821B + special sub_80CA630 + end + +Route18_EventScript_16821F:: @ 816821F + msgbox gUnknown_8187757, 3 + end + +Route18_EventScript_168228:: @ 8168228 + msgbox gUnknown_818777C, 3 + end diff --git a/data/maps/Route18/text.inc b/data/maps/Route18/text.inc new file mode 100644 index 000000000..c22a6360a --- /dev/null +++ b/data/maps/Route18/text.inc @@ -0,0 +1,40 @@ +Text_187640:: @ 8187640 + .string "I always check every grassy area\n" + .string "for new POKéMON.$" + +Text_187672:: @ 8187672 + .string "Tch!$" + +Text_187677:: @ 8187677 + .string "I wish I had a BIKE!$" + +Text_18768C:: @ 818768C + .string "Kurukkoo!\n" + .string "How do you like my birdcall?$" + +Text_1876B3:: @ 81876B3 + .string "I had to bug you!$" + +Text_1876C5:: @ 81876C5 + .string "I collect sea POKéMON on weekends\n" + .string "because the sea is so close.$" + +Text_187704:: @ 8187704 + .string "This is my turf!\n" + .string "Get out of here!$" + +Text_187726:: @ 8187726 + .string "Darn!$" + +Text_18772C:: @ 818772C + .string "This is my fave area for catching\n" + .string "POKéMON.$" + +gUnknown_8187757:: @ 8187757 + .string "ROUTE 18\n" + .string "CELADON CITY - FUCHSIA CITY$" + +gUnknown_818777C:: @ 818777C + .string "CYCLING ROAD\n" + .string "No pedestrians permitted!$" + |