summaryrefslogtreecommitdiff
path: root/data/maps/Route9
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route9')
-rw-r--r--data/maps/Route9/map.json61
-rw-r--r--data/maps/Route9/scripts.inc4
-rw-r--r--data/maps/Route9/text.inc109
3 files changed, 62 insertions, 112 deletions
diff --git a/data/maps/Route9/map.json b/data/maps/Route9/map.json
index 24e5c3c4f..4bf88e47c 100644
--- a/data/maps/Route9/map.json
+++ b/data/maps/Route9/map.json
@@ -6,11 +6,13 @@
"region_map_section": "MAPSEC_ROUTE_9",
"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",
+ "map_type": "MAP_TYPE_ROUTE",
+ "allow_cycling": true,
+ "allow_escaping": false,
+ "allow_running": true,
+ "show_map_name": true,
+ "floor_number": 0,
+ "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"map": "MAP_CERULEAN_CITY",
@@ -25,7 +27,7 @@
],
"object_events": [
{
- "graphics_id": "OBJECT_EVENT_GFX_PICNICKER",
+ "graphics_id": "OBJ_EVENT_GFX_PICNICKER",
"x": 14,
"y": 10,
"elevation": 3,
@@ -34,11 +36,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
- "script": "Route9_EventScript_1A9E71",
+ "script": "Route9_EventScript_Alicia",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_HIKER",
+ "graphics_id": "OBJ_EVENT_GFX_HIKER",
"x": 20,
"y": 17,
"elevation": 3,
@@ -47,11 +49,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
- "script": "Route9_EventScript_1A9F69",
+ "script": "Route9_EventScript_Jeremy",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_HIKER",
+ "graphics_id": "OBJ_EVENT_GFX_HIKER",
"x": 61,
"y": 16,
"elevation": 3,
@@ -60,11 +62,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
- "script": "Route9_EventScript_1A9EED",
+ "script": "Route9_EventScript_Alan",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_CAMPER",
+ "graphics_id": "OBJ_EVENT_GFX_CAMPER",
"x": 26,
"y": 7,
"elevation": 3,
@@ -73,11 +75,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
- "script": "Route9_EventScript_1A9DF5",
+ "script": "Route9_EventScript_Chris",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_BUG_CATCHER",
+ "graphics_id": "OBJ_EVENT_GFX_BUG_CATCHER",
"x": 26,
"y": 1,
"elevation": 3,
@@ -86,11 +88,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
- "script": "Route9_EventScript_1A9D79",
+ "script": "Route9_EventScript_Brent",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_BUG_CATCHER",
+ "graphics_id": "OBJ_EVENT_GFX_BUG_CATCHER",
"x": 49,
"y": 7,
"elevation": 3,
@@ -99,11 +101,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
- "script": "Route9_EventScript_1A9DB7",
+ "script": "Route9_EventScript_Conner",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_HIKER",
+ "graphics_id": "OBJ_EVENT_GFX_HIKER",
"x": 53,
"y": 2,
"elevation": 3,
@@ -112,11 +114,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
- "script": "Route9_EventScript_1A9F2B",
+ "script": "Route9_EventScript_Brice",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_PICNICKER",
+ "graphics_id": "OBJ_EVENT_GFX_PICNICKER",
"x": 60,
"y": 9,
"elevation": 3,
@@ -125,11 +127,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
- "script": "Route9_EventScript_1A9EAF",
+ "script": "Route9_EventScript_Caitlin",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_CAMPER",
+ "graphics_id": "OBJ_EVENT_GFX_CAMPER",
"x": 36,
"y": 6,
"elevation": 3,
@@ -138,11 +140,11 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
- "script": "Route9_EventScript_1A9E33",
+ "script": "Route9_EventScript_Drew",
"flag": "0"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_CUT_TREE",
+ "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 2,
"y": 8,
"elevation": 3,
@@ -151,11 +153,11 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
- "script": "EventScript_InteractWithCutTreeObject",
+ "script": "EventScript_CutTree",
"flag": "FLAG_TEMP_12"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_ITEM_BALL",
+ "graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 12,
"y": 17,
"elevation": 3,
@@ -168,7 +170,7 @@
"flag": "FLAG_HIDE_ROUTE9_TM40"
},
{
- "graphics_id": "OBJECT_EVENT_GFX_ITEM_BALL",
+ "graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 65,
"y": 17,
"elevation": 3,
@@ -185,11 +187,12 @@
"coord_events": [],
"bg_events": [
{
- "type": "bg_event_type_0",
+ "type": "sign",
"x": 29,
"y": 7,
"elevation": 0,
- "script": "Route9_EventScript_167FD0"
+ "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
+ "script": "Route9_EventScript_RouteSign"
},
{
"type": "hidden_item",
diff --git a/data/maps/Route9/scripts.inc b/data/maps/Route9/scripts.inc
index 1b48cd68e..bd4be2115 100644
--- a/data/maps/Route9/scripts.inc
+++ b/data/maps/Route9/scripts.inc
@@ -1,6 +1,6 @@
Route9_MapScripts:: @ 8167FCF
.byte 0
-Route9_EventScript_167FD0:: @ 8167FD0
- msgbox gUnknown_8184B66, MSGBOX_SIGN
+Route9_EventScript_RouteSign:: @ 8167FD0
+ msgbox Route9_Text_RouteSign, MSGBOX_SIGN
end
diff --git a/data/maps/Route9/text.inc b/data/maps/Route9/text.inc
index 3a4506533..2f3762a87 100644
--- a/data/maps/Route9/text.inc
+++ b/data/maps/Route9/text.inc
@@ -1,159 +1,106 @@
-Text_1845A4:: @ 81845A4
- .string "ELI: Twin power is fantastic.\n"
- .string "Did you know?$"
-
-Text_1845D0:: @ 81845D0
- .string "ELI: But…\n"
- .string "We used our twin power…$"
-
-Text_1845F2:: @ 81845F2
- .string "ELI: I caught my POKéMON with\n"
- .string "ANNE!$"
-
-Text_184616:: @ 8184616
- .string "ELI: We can't battle if you don't\n"
- .string "have two POKéMON.$"
-
-Text_18464A:: @ 818464A
- .string "ANNE: We'll shock you with our twin\n"
- .string "power!$"
-
-Text_184675:: @ 8184675
- .string "ANNE: Our twin power…$"
-
-Text_18468B:: @ 818468B
- .string "ANNE: I'm raising POKéMON with\n"
- .string "ELI.$"
-
-Text_1846AF:: @ 81846AF
- .string "ANNE: Hi, hi! Let's battle!\n"
- .string "But bring two POKéMON.$"
-
-Text_1846E2:: @ 81846E2
- .string "My bike's acting up, man.$"
-
-Text_1846FC:: @ 81846FC
- .string "Aww, man.\n"
- .string "I'm not into this.$"
-
-Text_184719:: @ 8184719
- .string "I got grass caught up in my\n"
- .string "spokes, man.$"
-
-Text_184742:: @ 8184742
- .string "Clear the way, or I'll run you\n"
- .string "down!$"
-
-Text_184767:: @ 8184767
- .string "You for real, kid?$"
-
-Text_18477A:: @ 818477A
- .string "Don't think you're all special and\n"
- .string "all just because of this.$"
-
-Text_1847B7:: @ 81847B7
+Route9_Text_AliciaIntro:: @ 81847B7
.string "You have POKéMON with you!\n"
.string "You're mine!$"
-Text_1847DF:: @ 81847DF
+Route9_Text_AliciaDefeat:: @ 81847DF
.string "You deceived me…$"
-Text_1847F0:: @ 81847F0
+Route9_Text_AliciaPostBattle:: @ 81847F0
.string "The tunnel coming up is pitch-black\n"
.string "inside.\p"
.string "You'll need FLASH to get through\n"
.string "there.$"
-Text_184844:: @ 8184844
+Route9_Text_ChrisIntro:: @ 8184844
.string "Who's that walking there with those\n"
.string "good-looking POKéMON?$"
-Text_18487E:: @ 818487E
+Route9_Text_ChrisDefeat:: @ 818487E
.string "Out like a light!$"
-Text_184890:: @ 8184890
+Route9_Text_ChrisPostBattle:: @ 8184890
.string "Keep walking!$"
-Text_18489E:: @ 818489E
+Route9_Text_DrewIntro:: @ 818489E
.string "I'm taking the ROCK TUNNEL to\n"
.string "go to LAVENDER…$"
-Text_1848CC:: @ 81848CC
+Route9_Text_DrewDefeat:: @ 81848CC
.string "Can't measure up…$"
-Text_1848DE:: @ 81848DE
+Route9_Text_DrewPostBattle:: @ 81848DE
.string "Are you off to ROCK TUNNEL, too?$"
-Text_1848FF:: @ 81848FF
+Route9_Text_CaitlinIntro:: @ 81848FF
.string "Don't you dare patronize me!$"
-Text_18491C:: @ 818491C
+Route9_Text_CaitlinDefeat:: @ 818491C
.string "No!\n"
.string "You're too much.$"
-Text_184931:: @ 8184931
+Route9_Text_CaitlinPostBattle:: @ 8184931
.string "You're obviously talented.\n"
.string "Good luck to you!$"
-Text_18495E:: @ 818495E
+Route9_Text_JeremyIntro:: @ 818495E
.string "Bwahaha!\n"
.string "Great! I was bored, eh!$"
-Text_18497F:: @ 818497F
+Route9_Text_JeremyDefeat:: @ 818497F
.string "Keep it coming, eh!\p"
.string "Oh wait.\n"
.string "I'm out of POKéMON!$"
-Text_1849B0:: @ 81849B0
+Route9_Text_JeremyPostBattle:: @ 81849B0
.string "You sure had guts standing up to\n"
.string "me there, eh?$"
-Text_1849DF:: @ 81849DF
+Route9_Text_BriceIntro:: @ 81849DF
.string "Hahaha!\n"
.string "Aren't you a little toughie!$"
-Text_184A04:: @ 8184A04
+Route9_Text_BriceDefeat:: @ 8184A04
.string "What's that?$"
-Text_184A11:: @ 8184A11
+Route9_Text_BricePostBattle:: @ 8184A11
.string "Hahaha!\n"
.string "Kids should be tough!$"
-Text_184A2F:: @ 8184A2F
+Route9_Text_BrentIntro:: @ 8184A2F
.string "I got up early every day to raise\n"
.string "my POKéMON from cocoons!$"
-Text_184A6A:: @ 8184A6A
+Route9_Text_BrentDefeat:: @ 8184A6A
.string "WHAT?\p"
.string "What a total waste of time!$"
-Text_184A8C:: @ 8184A8C
+Route9_Text_BrentPostBattle:: @ 8184A8C
.string "I have to collect more than bugs\n"
.string "to get stronger…$"
-Text_184ABE:: @ 8184ABE
+Route9_Text_AlanIntro:: @ 8184ABE
.string "Hahahaha!\n"
.string "Bring it on!$"
-Text_184AD5:: @ 8184AD5
+Route9_Text_AlanDefeat:: @ 8184AD5
.string "Hahahaha!\n"
.string "You beat me fair!$"
-Text_184AF1:: @ 8184AF1
+Route9_Text_AlanPostBattle:: @ 8184AF1
.string "Hahahaha!\n"
.string "Us hearty guys always laugh!$"
-Text_184B18:: @ 8184B18
+Route9_Text_ConnerIntro:: @ 8184B18
.string "Go, my super BUG POKéMON!$"
-Text_184B32:: @ 8184B32
+Route9_Text_ConnerDefeat:: @ 8184B32
.string "My bugs…$"
-Text_184B3B:: @ 8184B3B
+Route9_Text_ConnerPostBattle:: @ 8184B3B
.string "If you don't like BUG POKéMON,\n"
.string "you bug me!$"
-gUnknown_8184B66:: @ 8184B66
+Route9_Text_RouteSign:: @ 8184B66
.string "ROUTE 9\n"
.string "CERULEAN CITY - ROCK TUNNEL$"