diff options
Diffstat (limited to 'data/maps/Route20')
-rw-r--r-- | data/maps/Route20/map.json | 213 | ||||
-rw-r--r-- | data/maps/Route20/scripts.inc | 34 | ||||
-rw-r--r-- | data/maps/Route20/text.inc | 151 |
3 files changed, 398 insertions, 0 deletions
diff --git a/data/maps/Route20/map.json b/data/maps/Route20/map.json new file mode 100644 index 000000000..86db038c8 --- /dev/null +++ b/data/maps/Route20/map.json @@ -0,0 +1,213 @@ +{ + "id": "MAP_ROUTE20", + "name": "Route20", + "layout": "LAYOUT_ROUTE20", + "music": "BGM_FRLG_ROUTE_3", + "region_map_section": "MAPSEC_ROUTE_20", + "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_CINNABAR_ISLAND", + "offset": 0, + "direction": "left" + }, + { + "map": "MAP_ROUTE19", + "offset": -40, + "direction": "right" + } + ], + "object_events": [ + { + "graphics_id": "44", + "x": 8, + "y": 11, + "elevation": 1, + "movement_type": "13", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 3, + "script": "Route20_EventScript_1AB83F", + "flag": "0" + }, + { + "graphics_id": "40", + "x": 16, + "y": 14, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "Route20_EventScript_1AB8F9", + "flag": "0" + }, + { + "graphics_id": "44", + "x": 34, + "y": 7, + "elevation": 1, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 4, + "script": "Route20_EventScript_1AB801", + "flag": "0" + }, + { + "graphics_id": "26", + "x": 43, + "y": 9, + "elevation": 3, + "movement_type": "2", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "Route20_EventScript_1AB8BB", + "flag": "0" + }, + { + "graphics_id": "43", + "x": 23, + "y": 10, + "elevation": 1, + "movement_type": "52", + "movement_range_x": 5, + "movement_range_y": 4, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "Route20_EventScript_1AB747", + "flag": "0" + }, + { + "graphics_id": "40", + "x": 73, + "y": 16, + "elevation": 3, + "movement_type": "9", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 2, + "script": "Route20_EventScript_1AB937", + "flag": "0" + }, + { + "graphics_id": "43", + "x": 111, + "y": 9, + "elevation": 1, + "movement_type": "45", + "movement_range_x": 5, + "movement_range_y": 3, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "Route20_EventScript_1AB709", + "flag": "0" + }, + { + "graphics_id": "43", + "x": 106, + "y": 11, + "elevation": 1, + "movement_type": "50", + "movement_range_x": 5, + "movement_range_y": 3, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "Route20_EventScript_1AB785", + "flag": "0" + }, + { + "graphics_id": "44", + "x": 93, + "y": 10, + "elevation": 1, + "movement_type": "1", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 5, + "script": "Route20_EventScript_1AB87D", + "flag": "0" + }, + { + "graphics_id": "44", + "x": 54, + "y": 11, + "elevation": 1, + "movement_type": "1", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 1, + "trainer_sight_or_berry_tree_id": 1, + "script": "Route20_EventScript_1AB7C3", + "flag": "0" + }, + { + "graphics_id": "39", + "x": 69, + "y": 3, + "elevation": 3, + "movement_type": "5", + "movement_range_x": 2, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route20_EventScript_1ACE36", + "flag": "0" + } + ], + "warp_events": [ + { + "x": 60, + "y": 8, + "elevation": 3, + "dest_map": "MAP_SEAFOAM_ISLANDS_1F", + "dest_warp_id": 3 + }, + { + "x": 72, + "y": 14, + "elevation": 3, + "dest_map": "MAP_SEAFOAM_ISLANDS_1F", + "dest_warp_id": 4 + } + ], + "coord_events": [], + "bg_events": [ + { + "type": "bg_event_type_0", + "x": 68, + "y": 14, + "elevation": 0, + "script": "Route20_EventScript_168280" + }, + { + "type": "bg_event_type_0", + "x": 64, + "y": 8, + "elevation": 0, + "script": "Route20_EventScript_168280" + }, + { + "type": "hidden_item", + "x": 23, + "y": 6, + "elevation": 3, + "item": "ITEM_STARDUST", + "flag": "153", + "unknown": 1 + } + ] +} diff --git a/data/maps/Route20/scripts.inc b/data/maps/Route20/scripts.inc new file mode 100644 index 000000000..d99bebdd7 --- /dev/null +++ b/data/maps/Route20/scripts.inc @@ -0,0 +1,34 @@ +Route20_MapScripts:: @ 816823B + map_script 3, Route20_MapScript1_168241 + .byte 0 + +Route20_MapScript1_168241:: @ 8168241 + checkflag FLAG_0x2D2 + call_if 0, EventScript_168254 + checkflag FLAG_0x2D3 + call_if 0, EventScript_16826D + end + +EventScript_168254:: @ 8168254 + clearflag FLAG_0x040 + clearflag FLAG_0x041 + setflag FLAG_0x042 + setflag FLAG_0x043 + setflag FLAG_0x044 + setflag FLAG_0x045 + setflag FLAG_0x046 + setflag FLAG_0x047 + return + +EventScript_16826D:: @ 816826D + clearflag FLAG_0x048 + clearflag FLAG_0x049 + clearflag FLAG_0x04A + clearflag FLAG_0x04B + setflag FLAG_0x04C + setflag FLAG_0x04D + return + +Route20_EventScript_168280:: @ 8168280 + msgbox gUnknown_81882D1, 3 + end diff --git a/data/maps/Route20/text.inc b/data/maps/Route20/text.inc new file mode 100644 index 000000000..070575cc7 --- /dev/null +++ b/data/maps/Route20/text.inc @@ -0,0 +1,151 @@ +Text_187C32:: @ 8187C32 + .string "LIA: I'm looking after my brother.\n" + .string "He just became a TRAINER.$" + +Text_187C6F:: @ 8187C6F + .string "LIA: That's no way to treat my\n" + .string "little brother!$" + +Text_187C9E:: @ 8187C9E + .string "LIA: Do you have a younger\n" + .string "brother?\p" + .string "I hope you're teaching him all\n" + .string "sorts of things.$" + +Text_187CF2:: @ 8187CF2 + .string "LIA: I want to battle together\n" + .string "with my little brother.\p" + .string "Don't you have two POKéMON?$" + +Text_187D45:: @ 8187D45 + .string "LUC: My big sis taught me how\n" + .string "to swim and train POKéMON.$" + +Text_187D7E:: @ 8187D7E + .string "LUC: Oh, wow!\n" + .string "Someone tougher than my big sis!$" + +Text_187DAD:: @ 8187DAD + .string "LUC: My big sis is strong and nice.\n" + .string "I think she's awesome!$" + +Text_187DE8:: @ 8187DE8 + .string "LUC: I don't want to if I can't\n" + .string "battle you with my big sis.\p" + .string "Don't you have two POKéMON?$" + +Text_187E40:: @ 8187E40 + .string "The water is shallow here.\n" + .string "There are many people swimming.$" + +Text_187E7B:: @ 8187E7B + .string "Splash!$" + +Text_187E83:: @ 8187E83 + .string "I wish I could ride my POKéMON.\n" + .string "I bet you're not tired.$" + +Text_187EBB:: @ 8187EBB + .string "SEAFOAM is a quiet getaway.\n" + .string "I'm vacationing here.$" + +Text_187EED:: @ 8187EED + .string "Quit it!$" + +Text_187EF6:: @ 8187EF6 + .string "There's a huge cavern underneath\n" + .string "this island.$" + +Text_187F24:: @ 8187F24 + .string "I love floating with the fishes\n" + .string "here among the waves.$" + +Text_187F5A:: @ 8187F5A + .string "Yowch!$" + +Text_187F61:: @ 8187F61 + .string "Want to float with me?$" + +Text_187F78:: @ 8187F78 + .string "Are you on vacation, too?$" + +Text_187F92:: @ 8187F92 + .string "No mercy at all!$" + +Text_187FA3:: @ 8187FA3 + .string "SEAFOAM used to be a single island\n" + .string "in the distant past.$" + +Text_187FDB:: @ 8187FDB + .string "Check out my buff physique!$" + +Text_187FF7:: @ 8187FF7 + .string "Wimpy!$" + +Text_187FFE:: @ 8187FFE + .string "I should've been buffing up my\n" + .string "POKéMON, not me!$" + +Text_18802E:: @ 818802E + .string "Why are you riding a POKéMON?\n" + .string "Can't you swim?$" + +Text_18805C:: @ 818805C + .string "Ouch!\n" + .string "Torpedoed!$" + +Text_18806D:: @ 818806D + .string "Riding a POKéMON sure looks fun!$" + +Text_18808E:: @ 818808E + .string "I rode my bird POKéMON here.$" + +Text_1880AB:: @ 81880AB + .string "Oh, no!\n" + .string "Now what am I to do?$" + +Text_1880C8:: @ 81880C8 + .string "My birds are exhausted.\n" + .string "They can't FLY me back!$" + +Text_1880F8:: @ 81880F8 + .string "My boyfriend gave me big pearls.$" + +Text_188119:: @ 8188119 + .string "Oh, no!\n" + .string "My pearls were in them!$" + +Text_188139:: @ 8188139 + .string "Will my pearls grow bigger inside\n" + .string "CLOYSTER?$" + +Text_188165:: @ 8188165 + .string "I swam here from CINNABAR ISLAND.\n" + .string "It wasn't easy, I tell you.$" + +Text_1881A3:: @ 81881A3 + .string "I'm so disappointed!$" + +Text_1881B8:: @ 81881B8 + .string "POKéMON have taken over an\n" + .string "abandoned mansion on CINNABAR.\p" + .string "They call it the POKéMON MANSION\n" + .string "now.$" + +Text_188218:: @ 8188218 + .string "CINNABAR, in the west, has a LAB\n" + .string "for POKéMON.\p" + .string "My daddy works there.$" + +Text_18825C:: @ 818825C + .string "Wait!\n" + .string "You're supposed to wait!$" + +Text_18827B:: @ 818827B + .string "CINNABAR is a volcanic island.\p" + .string "I heard it rose out of the sea\n" + .string "when a volcano erupted.$" + +gUnknown_81882D1:: @ 81882D1 + .string "SEAFOAM ISLANDS$" + |