Merge pull request #268 from GriffinRichards/doc-routes4

Document Routes 20-25, teleporter/escalator anim
This commit is contained in:
PikalaxALT
2020-02-26 13:57:36 -05:00
committed by GitHub
29 changed files with 1088 additions and 959 deletions
+5 -5
View File
@@ -2629,7 +2629,7 @@ sub_80847F8: @ 80847F8
bl FreezeObjectEvents
bl CameraObjectReset2
ldrb r0, [r4, 0xA]
bl sub_809C448
bl StartEscalator
movs r0, 0x1
bl sub_81128BC
ldrh r0, [r4, 0x8]
@@ -2859,7 +2859,7 @@ sub_80849A0: @ 80849A0
lsrs r0, 24
cmp r0, 0x1
bne _080849DC
bl sub_809C460
bl StopEscalator
bl WarpIntoMap
ldr r1, _080849E4 @ =gFieldCallback
ldr r0, _080849E8 @ =sub_80849F4
@@ -2984,7 +2984,7 @@ _08084AC4:
movs r1, 0
_08084AC6:
adds r0, r1, 0
bl sub_809C448
bl StartEscalator
movs r0, 0x1
add sp, 0x4
pop {r4,r5}
@@ -3163,11 +3163,11 @@ _08084C14: .4byte gSprites
sub_8084C18: @ 8084C18
push {r4,lr}
adds r4, r0, 0
bl sub_809C474
bl IsEscalatorMoving
lsls r0, 24
cmp r0, 0
bne _08084C34
bl sub_809C460
bl StopEscalator
ldrh r0, [r4, 0x8]
adds r0, 0x1
strh r0, [r4, 0x8]
+13 -13
View File
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "Route20_EventScript_1AB83F",
"script": "Route20_EventScript_Melissa",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route20_EventScript_1AB8F9",
"script": "Route20_EventScript_Missy",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "Route20_EventScript_1AB801",
"script": "Route20_EventScript_Nora",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route20_EventScript_1AB8BB",
"script": "Route20_EventScript_Roger",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 4,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route20_EventScript_1AB747",
"script": "Route20_EventScript_Dean",
"flag": "0"
},
{
@@ -101,7 +101,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route20_EventScript_1AB937",
"script": "Route20_EventScript_Irene",
"flag": "0"
},
{
@@ -114,7 +114,7 @@
"movement_range_y": 3,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route20_EventScript_1AB709",
"script": "Route20_EventScript_Barry",
"flag": "0"
},
{
@@ -127,7 +127,7 @@
"movement_range_y": 3,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route20_EventScript_1AB785",
"script": "Route20_EventScript_Darrin",
"flag": "0"
},
{
@@ -140,7 +140,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "Route20_EventScript_1AB87D",
"script": "Route20_EventScript_Shirley",
"flag": "0"
},
{
@@ -153,7 +153,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route20_EventScript_1AB7C3",
"script": "Route20_EventScript_Tiffany",
"flag": "0"
},
{
@@ -166,7 +166,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route20_EventScript_1ACE36",
"script": "Route20_EventScript_Camper",
"flag": "0"
}
],
@@ -193,14 +193,14 @@
"x": 68,
"y": 14,
"elevation": 0,
"script": "Route20_EventScript_168280"
"script": "Route20_EventScript_SeafoamIslandsSign"
},
{
"type": "bg_event_type_0",
"x": 64,
"y": 8,
"elevation": 0,
"script": "Route20_EventScript_168280"
"script": "Route20_EventScript_SeafoamIslandsSign"
},
{
"type": "hidden_item",
+6 -6
View File
@@ -3,11 +3,11 @@ Route20_MapScripts:: @ 816823B
.byte 0
Route20_OnTransition:: @ 8168241
call_if_unset FLAG_STOPPED_SEAFOAM_B3F_CURRENT, EventScript_168254
call_if_unset FLAG_STOPPED_SEAFOAM_B4F_CURRENT, EventScript_16826D
call_if_unset FLAG_STOPPED_SEAFOAM_B3F_CURRENT, Route20_EventScript_ResetSeafoamBouldersForB3F
call_if_unset FLAG_STOPPED_SEAFOAM_B4F_CURRENT, Route20_EventScript_ResetSeafoamBouldersForB4F
end
EventScript_168254:: @ 8168254
Route20_EventScript_ResetSeafoamBouldersForB3F:: @ 8168254
clearflag FLAG_HIDE_SEAFOAM_1F_BOULDER_1
clearflag FLAG_HIDE_SEAFOAM_1F_BOULDER_2
setflag FLAG_HIDE_SEAFOAM_B1F_BOULDER_1
@@ -18,7 +18,7 @@ EventScript_168254:: @ 8168254
setflag FLAG_HIDE_SEAFOAM_B3F_BOULDER_2
return
EventScript_16826D:: @ 816826D
Route20_EventScript_ResetSeafoamBouldersForB4F:: @ 816826D
clearflag FLAG_HIDE_SEAFOAM_B3F_BOULDER_3
clearflag FLAG_HIDE_SEAFOAM_B3F_BOULDER_4
clearflag FLAG_HIDE_SEAFOAM_B3F_BOULDER_5
@@ -27,6 +27,6 @@ EventScript_16826D:: @ 816826D
setflag FLAG_HIDE_SEAFOAM_B4F_BOULDER_2
return
Route20_EventScript_168280:: @ 8168280
msgbox gUnknown_81882D1, MSGBOX_SIGN
Route20_EventScript_SeafoamIslandsSign:: @ 8168280
msgbox Route20_Text_SeafoamIslands, MSGBOX_SIGN
end
+32 -32
View File
@@ -1,119 +1,119 @@
Text_187E40:: @ 8187E40
Route20_Text_BarryIntro:: @ 8187E40
.string "The water is shallow here.\n"
.string "There are many people swimming.$"
Text_187E7B:: @ 8187E7B
Route20_Text_BarryDefeat:: @ 8187E7B
.string "Splash!$"
Text_187E83:: @ 8187E83
Route20_Text_BarryPostBattle:: @ 8187E83
.string "I wish I could ride my POKéMON.\n"
.string "I bet you're not tired.$"
Text_187EBB:: @ 8187EBB
Route20_Text_ShirleyIntro:: @ 8187EBB
.string "SEAFOAM is a quiet getaway.\n"
.string "I'm vacationing here.$"
Text_187EED:: @ 8187EED
Route20_Text_ShirleyDefeat:: @ 8187EED
.string "Quit it!$"
Text_187EF6:: @ 8187EF6
Route20_Text_ShirleyPostBattle:: @ 8187EF6
.string "There's a huge cavern underneath\n"
.string "this island.$"
Text_187F24:: @ 8187F24
Route20_Text_TiffanyIntro:: @ 8187F24
.string "I love floating with the fishes\n"
.string "here among the waves.$"
Text_187F5A:: @ 8187F5A
Route20_Text_TiffanyDefeat:: @ 8187F5A
.string "Yowch!$"
Text_187F61:: @ 8187F61
Route20_Text_TiffanyPostBattle:: @ 8187F61
.string "Want to float with me?$"
Text_187F78:: @ 8187F78
Route20_Text_IreneIntro:: @ 8187F78
.string "Are you on vacation, too?$"
Text_187F92:: @ 8187F92
Route20_Text_IreneDefeat:: @ 8187F92
.string "No mercy at all!$"
Text_187FA3:: @ 8187FA3
Route20_Text_IrenePostBattle:: @ 8187FA3
.string "SEAFOAM used to be a single island\n"
.string "in the distant past.$"
Text_187FDB:: @ 8187FDB
Route20_Text_DeanIntro:: @ 8187FDB
.string "Check out my buff physique!$"
Text_187FF7:: @ 8187FF7
Route20_Text_DeanDefeat:: @ 8187FF7
.string "Wimpy!$"
Text_187FFE:: @ 8187FFE
Route20_Text_DeanPostBattle:: @ 8187FFE
.string "I should've been buffing up my\n"
.string "POKéMON, not me!$"
Text_18802E:: @ 818802E
Route20_Text_DarrinIntro:: @ 818802E
.string "Why are you riding a POKéMON?\n"
.string "Can't you swim?$"
Text_18805C:: @ 818805C
Route20_Text_DarrinDefeat:: @ 818805C
.string "Ouch!\n"
.string "Torpedoed!$"
Text_18806D:: @ 818806D
Route20_Text_DarrinPostBattle:: @ 818806D
.string "Riding a POKéMON sure looks fun!$"
Text_18808E:: @ 818808E
Route20_Text_RogerIntro:: @ 818808E
.string "I rode my bird POKéMON here.$"
Text_1880AB:: @ 81880AB
Route20_Text_RogerDefeat:: @ 81880AB
.string "Oh, no!\n"
.string "Now what am I to do?$"
Text_1880C8:: @ 81880C8
Route20_Text_RogerPostBattle:: @ 81880C8
.string "My birds are exhausted.\n"
.string "They can't FLY me back!$"
Text_1880F8:: @ 81880F8
Route20_Text_NoraIntro:: @ 81880F8
.string "My boyfriend gave me big pearls.$"
Text_188119:: @ 8188119
Route20_Text_NoraDefeat:: @ 8188119
.string "Oh, no!\n"
.string "My pearls were in them!$"
Text_188139:: @ 8188139
Route20_Text_NoraPostBattle:: @ 8188139
.string "Will my pearls grow bigger inside\n"
.string "CLOYSTER?$"
Text_188165:: @ 8188165
Route20_Text_MissyIntro:: @ 8188165
.string "I swam here from CINNABAR ISLAND.\n"
.string "It wasn't easy, I tell you.$"
Text_1881A3:: @ 81881A3
Route20_Text_MissyDefeat:: @ 81881A3
.string "I'm so disappointed!$"
Text_1881B8:: @ 81881B8
Route20_Text_MissyPostBattle:: @ 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
Route20_Text_MelissaIntro:: @ 8188218
.string "CINNABAR, in the west, has a LAB\n"
.string "for POKéMON.\p"
.string "My daddy works there.$"
Text_18825C:: @ 818825C
Route20_Text_MelissaDefeat:: @ 818825C
.string "Wait!\n"
.string "You're supposed to wait!$"
Text_18827B:: @ 818827B
Route20_Text_MelissaPostBattle:: @ 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
Route20_Text_SeafoamIslands:: @ 81882D1
.string "SEAFOAM ISLANDS$"
Text_1882E1:: @ 81882E1
Route20_Text_MistyTrainsHere:: @ 81882E1
.string "Strong TRAINERS and WATER POKéMON\n"
.string "are common sights in these parts.\p"
.string "They say that MISTY of the\n"
+5 -5
View File
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route21_North_EventScript_1AB975",
"script": "Route21_North_EventScript_Ronald",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route21_North_EventScript_1AB9F1",
"script": "Route21_North_EventScript_Wade",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 2,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route21_North_EventScript_1ABA6D",
"script": "Route21_North_EventScript_Spencer",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route21_North_EventScript_1ABB65",
"script": "Route21_North_EventScript_Lil",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "Route21_North_EventScript_1ABBAB",
"script": "Route21_North_EventScript_Ian",
"flag": "0"
},
{
+19 -12
View File
@@ -1,42 +1,49 @@
Text_18835A:: @ 818835A
Route21_North_Text_RonaldIntro:: @ 818835A
.string "You want to know if the fish are\n"
.string "biting?$"
Text_188383:: @ 8188383
Route21_North_Text_RonaldDefeat:: @ 8188383
.string "Dang!$"
Text_188389:: @ 8188389
Route21_North_Text_RonaldPostBattle:: @ 8188389
.string "I can't catch anything good.\n"
.string "Not one good POKéMON to be had!$"
Text_1883C6:: @ 81883C6
Route21_North_Text_WadeIntro:: @ 81883C6
.string "I got a big haul!\n"
.string "Wanna go for it?$"
Text_1883E9:: @ 81883E9
Route21_North_Text_WadeDefeat:: @ 81883E9
.string "Heheh, MAGIKARP just don't make\n"
.string "the grade, do they?$"
Text_18841D:: @ 818841D
Route21_North_Text_WadePostBattle:: @ 818841D
.string "I seem to only catch MAGIKARP!$"
Text_18843C:: @ 818843C
Route21_North_Text_SpencerIntro:: @ 818843C
.string "The sea cleanses my body and soul!$"
Text_18845F:: @ 818845F
Route21_North_Text_SpencerDefeat:: @ 818845F
.string "Ayah!$"
Text_188465:: @ 8188465
Route21_North_Text_SpencerPostBattle:: @ 8188465
.string "The sea is great and all, but I\n"
.string "like the mountains, too.$"
Text_18849E:: @ 818849E
@ Below is the battle text for the Cue Ball that was on Route 21 in Gen 1.
@ This trainer wasnt used in Gen 3 so their text goes unused/untranslated
@ English translations from RB are listed
@ "What's wrong with me swimming?"
Route21_North_Text_CueBallIntro:: @ 818849E
.string "おれだって たまには\n"
.string "およぎに くるぜ!$"
Text_1884B3:: @ 81884B3
@ "Cheap shot!"
Route21_North_Text_CueBallDefeat:: @ 81884B3
.string "ぐわわ!$"
Text_1884B8:: @ 81884B8
@ "I look like what? A studded inner tube? Get lost!"
Route21_North_Text_CueBallPostBattle:: @ 81884B8
.string "うきやすそう だと?\n"
.string "うるせー おおきな おせわだッ!$"
+5 -5
View File
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route21_South_EventScript_1AB9B3",
"script": "Route21_South_EventScript_Claude",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route21_South_EventScript_1ABA2F",
"script": "Route21_South_EventScript_Nolan",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "Route21_South_EventScript_1ABAAB",
"script": "Route21_South_EventScript_Jack",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "Route21_South_EventScript_1ABAE9",
"script": "Route21_South_EventScript_Jerome",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 2,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "Route21_South_EventScript_1ABB27",
"script": "Route21_South_EventScript_Roland",
"flag": "0"
}
],
+23 -23
View File
@@ -1,87 +1,87 @@
Text_1884D4:: @ 81884D4
Route21_South_Text_JackIntro:: @ 81884D4
.string "I caught my POKéMON at sea.$"
Text_1884F0:: @ 81884F0
Route21_South_Text_JackDefeat:: @ 81884F0
.string "Diver!!\n"
.string "Down!!$"
Text_1884FF:: @ 81884FF
Route21_South_Text_JackPostBattle:: @ 81884FF
.string "Where'd you catch your POKéMON?$"
Text_18851F:: @ 818851F
Route21_South_Text_JeromeIntro:: @ 818851F
.string "Right now, I'm in a triathlon meet.$"
Text_188543:: @ 8188543
Route21_South_Text_JeromeDefeat:: @ 8188543
.string "Pant…\n"
.string "Pant… Pant…$"
Text_188555:: @ 8188555
Route21_South_Text_JeromePostBattle:: @ 8188555
.string "I'm beat! But, I still have the\n"
.string "bike race and marathon left!$"
Text_188592:: @ 8188592
Route21_South_Text_RolandIntro:: @ 8188592
.string "Ahh!\n"
.string "Feel the sun and the wind!$"
Text_1885B2:: @ 81885B2
Route21_South_Text_RolandDefeat:: @ 81885B2
.string "Yow!\n"
.string "I lost!$"
Text_1885BF:: @ 81885BF
Route21_South_Text_RolandPostBattle:: @ 81885BF
.string "I'm sunburnt to a crisp!$"
Text_1885D8:: @ 81885D8
Route21_South_Text_ClaudeIntro:: @ 81885D8
.string "Hey, don't scare away the fish!$"
Text_1885F8:: @ 81885F8
Route21_South_Text_ClaudeDefeat:: @ 81885F8
.string "Sorry! I'm just so frustrated from\n"
.string "not catching anything.$"
Text_188632:: @ 8188632
Route21_South_Text_ClaudePostBattle:: @ 8188632
.string "Sheesh, I haven't caught a thing.\n"
.string "Could this place actually be a\l"
.string "giant pool or something?$"
Text_18868C:: @ 818868C
Route21_South_Text_NolanIntro:: @ 818868C
.string "Keep me company till I get a hit.$"
Text_1886AE:: @ 81886AE
Route21_South_Text_NolanDefeat:: @ 81886AE
.string "That burned some time.$"
Text_1886C5:: @ 81886C5
Route21_South_Text_NolanPostBattle:: @ 81886C5
.string "Oh wait!\n"
.string "I got a bite! Yeah!$"
Text_1886E2:: @ 81886E2
Route21_North_Text_LilIntro:: @ 81886E2
.string "LIL: Huh? A battle?\n"
.string "IAN, can't you do it alone?$"
Text_188712:: @ 8188712
Route21_North_Text_LilDefeat:: @ 8188712
.string "LIL: Oh, see?\n"
.string "We lost. Happy now?$"
Text_188734:: @ 8188734
Route21_North_Text_LilPostBattle:: @ 8188734
.string "LIL: I'm tired.\n"
.string "Can't we go home already?$"
Text_18875E:: @ 818875E
Route21_North_Text_LilNotEnoughMons:: @ 818875E
.string "LIL: Huh? A battle?\n"
.string "I can't be bothered to do it alone.\l"
.string "Bring two POKéMON, won't you?$"
Text_1887B4:: @ 81887B4
Route21_North_Text_IanIntro:: @ 81887B4
.string "IAN: My sis doesn't get enough\n"
.string "exercise, so I made her come.$"
Text_1887F1:: @ 81887F1
Route21_North_Text_IanDefeat:: @ 81887F1
.string "IAN: Awww, Sis!\n"
.string "Get it together!$"
Text_188812:: @ 8188812
Route21_North_Text_IanPostBattle:: @ 8188812
.string "IAN: Come on, Sis!\p"
.string "You're not going to lose weight\n"
.string "like this!$"
Text_188850:: @ 8188850
Route21_North_Text_IanNotEnoughMons:: @ 8188850
.string "IAN: We want a two-on-two battle.\n"
.string "So can you bring two POKéMON?$"
+9 -9
View File
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route24_EventScript_168620",
"script": "Route24_EventScript_Rocket",
"flag": "FLAG_HIDE_NUGGET_BRIDGE_ROCKET"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route24_EventScript_1A972D",
"script": "Route24_EventScript_Ethan",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route24_EventScript_1A9673",
"script": "Route24_EventScript_Reli",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route24_EventScript_1A95F7",
"script": "Route24_EventScript_Timmy",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route24_EventScript_1A96B1",
"script": "Route24_EventScript_Ali",
"flag": "0"
},
{
@@ -101,7 +101,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route24_EventScript_1A9635",
"script": "Route24_EventScript_Cale",
"flag": "0"
},
{
@@ -114,7 +114,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "Route24_EventScript_1A96EF",
"script": "Route24_EventScript_Shane",
"flag": "0"
},
{
@@ -140,7 +140,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE24",
"var_value": 0,
"script": "Route24_EventScript_168660"
"script": "Route24_EventScript_RocketTriggerLeft"
},
{
"type": "trigger",
@@ -149,7 +149,7 @@
"elevation": 3,
"var": "VAR_MAP_SCENE_ROUTE24",
"var_value": 0,
"script": "Route24_EventScript_16866C"
"script": "Route24_EventScript_RocketTriggerRight"
}
],
"bg_events": [
+41 -39
View File
@@ -1,103 +1,105 @@
.equ LOCALID_ROCKET, 1
Route24_MapScripts:: @ 816861F
.byte 0
Route24_EventScript_168620:: @ 8168620
Route24_EventScript_Rocket:: @ 8168620
lock
faceplayer
compare VAR_MAP_SCENE_ROUTE24, 1
goto_if_eq EventScript_168656
msgbox gUnknown_8188C3C
goto_if_eq Route24_EventScript_RocketPostBattle
msgbox Route24_Text_JustEarnedFabulousPrize
checkitemspace ITEM_NUGGET, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_16864C
call EventScript_1686B9
goto_if_eq Route24_EventScript_NoRoomForNugget
call Route24_EventScript_BattleRocket
release
end
EventScript_16864C:: @ 816864C
msgbox gUnknown_8188CC2
Route24_EventScript_NoRoomForNugget:: @ 816864C
msgbox Route24_Text_YouDontHaveAnyRoom
release
end
EventScript_168656:: @ 8168656
msgbox gUnknown_8188DF1
Route24_EventScript_RocketPostBattle:: @ 8168656
msgbox Route24_Text_YoudBecomeTopRocketLeader
release
end
Route24_EventScript_168660:: @ 8168660
Route24_EventScript_RocketTriggerLeft:: @ 8168660
lockall
setvar VAR_TEMP_1, 0
goto EventScript_168678
goto Route24_EventScript_RocketTrigger
end
Route24_EventScript_16866C:: @ 816866C
Route24_EventScript_RocketTriggerRight:: @ 816866C
lockall
setvar VAR_TEMP_1, 1
goto EventScript_168678
goto Route24_EventScript_RocketTrigger
end
EventScript_168678:: @ 8168678
Route24_EventScript_RocketTrigger:: @ 8168678
textcolor 0
compare VAR_TEMP_1, 0
call_if_eq EventScript_1686FD
call_if_eq Route24_EventScript_RocketApproachPlayer
compare VAR_TEMP_1, 1
call_if_eq EventScript_168708
call_if_eq Route24_EventScript_RocketMotionToPlayer
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox gUnknown_8188C3C
msgbox Route24_Text_JustEarnedFabulousPrize
checkitemspace ITEM_NUGGET, 1
compare VAR_RESULT, 0
goto_if_eq EventScript_168713
call EventScript_1686B9
compare VAR_RESULT, FALSE
goto_if_eq Route24_EventScript_NoRoomForNuggetTrigger
call Route24_EventScript_BattleRocket
releaseall
end
EventScript_1686B9:: @ 81686B9
giveitem_msg gUnknown_8188C93, ITEM_NUGGET
message Text_188CDB
Route24_EventScript_BattleRocket:: @ 81686B9
giveitem_msg Route24_Text_ReceivedNuggetFromMysteryTrainer, ITEM_NUGGET
message Route24_Text_JoinTeamRocket
waitmessage
playbgm MUS_ROCKET, 0
waitbuttonpress
setvar VAR_LAST_TALKED, 1
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_6, Text_188DDC
msgbox gUnknown_8188DF1
setvar VAR_LAST_TALKED, LOCALID_ROCKET
trainerbattle_no_intro TRAINER_TEAM_ROCKET_GRUNT_6, Route24_Text_RocketDefeat
msgbox Route24_Text_YoudBecomeTopRocketLeader
setvar VAR_MAP_SCENE_ROUTE24, 1
return
EventScript_1686FD:: @ 81686FD
applymovement 1, Movement_16873E
Route24_EventScript_RocketApproachPlayer:: @ 81686FD
applymovement LOCALID_ROCKET, Route24_Movement_RocketApproachPlayer
waitmovement 0
return
EventScript_168708:: @ 8168708
applymovement 1, Movement_WalkInPlaceFastestLeft
Route24_EventScript_RocketMotionToPlayer:: @ 8168708
applymovement LOCALID_ROCKET, Movement_WalkInPlaceFastestLeft
waitmovement 0
return
EventScript_168713:: @ 8168713
msgbox gUnknown_8188CC2
Route24_EventScript_NoRoomForNuggetTrigger:: @ 8168713
msgbox Route24_Text_YouDontHaveAnyRoom
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Movement_168743
applymovement OBJ_EVENT_ID_PLAYER, Route24_Movement_WalkDown
waitmovement 0
compare VAR_TEMP_1, 0
call_if_eq EventScript_168733
call_if_eq Route24_EventScript_RocketWalkBackToPos
release
end
EventScript_168733:: @ 8168733
applymovement 1, Movement_168740
Route24_EventScript_RocketWalkBackToPos:: @ 8168733
applymovement LOCALID_ROCKET, Route24_Movement_RocketWalkBackToPos
waitmovement 0
return
Movement_16873E:: @ 816873E
Route24_Movement_RocketApproachPlayer:: @ 816873E
walk_left
step_end
Movement_168740:: @ 8168740
Route24_Movement_RocketWalkBackToPos:: @ 8168740
walk_right
walk_in_place_fastest_left
step_end
Movement_168743:: @ 8168743
Route24_Movement_WalkDown:: @ 8168743
walk_down
step_end
+71 -6
View File
@@ -1,16 +1,16 @@
gUnknown_8188C3C:: @ 8188C3C
Route24_Text_JustEarnedFabulousPrize:: @ 8188C3C
.string "Congratulations! You beat our\n"
.string "five contest TRAINERS!\p"
.string "You just earned a fabulous prize!$"
gUnknown_8188C93:: @ 8188C93
Route24_Text_ReceivedNuggetFromMysteryTrainer:: @ 8188C93
.string "{PLAYER} received a NUGGET\n"
.string "from the mystery TRAINER!$"
gUnknown_8188CC2:: @ 8188CC2
Route24_Text_YouDontHaveAnyRoom:: @ 8188CC2
.string "You don't have any room!$"
Text_188CDB:: @ 8188CDB
Route24_Text_JoinTeamRocket:: @ 8188CDB
.string "By the way, how would you like to\n"
.string "join TEAM ROCKET?\p"
.string "We're a group of professional\n"
@@ -23,13 +23,78 @@ Text_188CDB:: @ 8188CDB
.string "I'll make you an offer you can't\n"
.string "refuse!$"
Text_188DDC:: @ 8188DDC
Route24_Text_RocketDefeat:: @ 8188DDC
.string "Arrgh!\n"
.string "You are good!$"
gUnknown_8188DF1:: @ 8188DF1
Route24_Text_YoudBecomeTopRocketLeader:: @ 8188DF1
.string "With your ability, you'd become\n"
.string "a top leader in TEAM ROCKET.\p"
.string "Come on, think of the opportunity!\n"
.string "Don't let this chance go to waste.$"
Route24_Text_ShaneIntro:: @ 8188E74
.string "I saw your feat from the grass!$"
Route24_Text_ShaneDefeat:: @ 8188E94
.string "I thought not!$"
Route24_Text_ShanePostBattle:: @ 8188EA3
.string "I hid because the people on the\n"
.string "bridge frightened me.$"
Route24_Text_EthanIntro:: @ 8188ED9
.string "Okay! I'm No. 5!\n"
.string "I'll stomp you!$"
Route24_Text_EthanDefeat:: @ 8188EFA
.string "Whoa!\n"
.string "Too much!$"
Route24_Text_EthanPostBattle:: @ 8188F0A
.string "I did my best. I have no regrets!$"
Route24_Text_ReliIntro:: @ 8188F2C
.string "I'm No. 4!\n"
.string "Getting tired?$"
Route24_Text_ReliDefeat:: @ 8188F46
.string "I lost, too!$"
Route24_Text_ReliPostBattle:: @ 8188F53
.string "I did my best, so I've no regrets!$"
Route24_Text_TimmyIntro:: @ 8188F76
.string "Here's No. 3!\n"
.string "I won't be easy!$"
Route24_Text_TimmyDefeat:: @ 8188F95
.string "Ow!\n"
.string "Stomped flat!$"
Route24_Text_TimmyPostBattle:: @ 8188FA7
.string "I did my best. I have no regrets!$"
Route24_Text_AliIntro:: @ 8188FC9
.string "I'm second!\n"
.string "Now it's serious!$"
Route24_Text_AliDefeat:: @ 8188FE7
.string "How could I lose?$"
Route24_Text_AliPostBattle:: @ 8188FF9
.string "I did my best. I have no regrets!$"
Route24_Text_CaleIntro:: @ 818901B
.string "People call this the NUGGET\n"
.string "BRIDGE!\p"
.string "Beat us five TRAINERS and win\n"
.string "a fabulous prize!\p"
.string "Think you got what it takes?$"
Route24_Text_CaleDefeat:: @ 818908C
.string "Whoo!\n"
.string "Good stuff!$"
Route24_Text_CalePostBattle:: @ 818909E
.string "I did my best. I have no regrets!$"
+12 -12
View File
@@ -31,7 +31,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "Route25_EventScript_1A98A1",
"script": "Route25_EventScript_Franklin",
"flag": "0"
},
{
@@ -44,7 +44,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route25_EventScript_1A976B",
"script": "Route25_EventScript_Joey",
"flag": "0"
},
{
@@ -57,7 +57,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route25_EventScript_1A991D",
"script": "Route25_EventScript_Wayne",
"flag": "0"
},
{
@@ -70,7 +70,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route25_EventScript_1A97A9",
"script": "Route25_EventScript_Dan",
"flag": "0"
},
{
@@ -83,7 +83,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route25_EventScript_1A9825",
"script": "Route25_EventScript_Kelsey",
"flag": "0"
},
{
@@ -96,7 +96,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "Route25_EventScript_1A98DF",
"script": "Route25_EventScript_Nob",
"flag": "0"
},
{
@@ -109,7 +109,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "Route25_EventScript_1A995B",
"script": "Route25_EventScript_Flint",
"flag": "0"
},
{
@@ -122,7 +122,7 @@
"movement_range_y": 3,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "Route25_EventScript_1A97E7",
"script": "Route25_EventScript_Chad",
"flag": "0"
},
{
@@ -135,7 +135,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "Route25_EventScript_1A9863",
"script": "Route25_EventScript_Haley",
"flag": "0"
},
{
@@ -174,7 +174,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route25_EventScript_1ACE4F",
"script": "Route25_EventScript_Beauty",
"flag": "0"
},
{
@@ -187,7 +187,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route25_EventScript_16874F",
"script": "Route25_EventScript_Man",
"flag": "0"
}
],
@@ -207,7 +207,7 @@
"x": 48,
"y": 4,
"elevation": 0,
"script": "Route25_EventScript_168746"
"script": "Route25_EventScript_SeaCottageSign"
},
{
"type": "hidden_item",
+4 -4
View File
@@ -1,10 +1,10 @@
Route25_MapScripts:: @ 8168745
.byte 0
Route25_EventScript_168746:: @ 8168746
msgbox gUnknown_818954C, MSGBOX_SIGN
Route25_EventScript_SeaCottageSign:: @ 8168746
msgbox Route25_Text_SeaCottageSign, MSGBOX_SIGN
end
Route25_EventScript_16874F:: @ 816874F
msgbox gUnknown_81895C2, MSGBOX_NPC
Route25_EventScript_Man:: @ 816874F
msgbox Route25_Text_AreYouHereAlone, MSGBOX_NPC
end
+30 -96
View File
@@ -1,184 +1,118 @@
Text_188E74:: @ 8188E74
.string "I saw your feat from the grass!$"
Text_188E94:: @ 8188E94
.string "I thought not!$"
Text_188EA3:: @ 8188EA3
.string "I hid because the people on the\n"
.string "bridge frightened me.$"
Text_188ED9:: @ 8188ED9
.string "Okay! I'm No. 5!\n"
.string "I'll stomp you!$"
Text_188EFA:: @ 8188EFA
.string "Whoa!\n"
.string "Too much!$"
Text_188F0A:: @ 8188F0A
.string "I did my best. I have no regrets!$"
Text_188F2C:: @ 8188F2C
.string "I'm No. 4!\n"
.string "Getting tired?$"
Text_188F46:: @ 8188F46
.string "I lost, too!$"
Text_188F53:: @ 8188F53
.string "I did my best, so I've no regrets!$"
Text_188F76:: @ 8188F76
.string "Here's No. 3!\n"
.string "I won't be easy!$"
Text_188F95:: @ 8188F95
.string "Ow!\n"
.string "Stomped flat!$"
Text_188FA7:: @ 8188FA7
.string "I did my best. I have no regrets!$"
Text_188FC9:: @ 8188FC9
.string "I'm second!\n"
.string "Now it's serious!$"
Text_188FE7:: @ 8188FE7
.string "How could I lose?$"
Text_188FF9:: @ 8188FF9
.string "I did my best. I have no regrets!$"
Text_18901B:: @ 818901B
.string "People call this the NUGGET\n"
.string "BRIDGE!\p"
.string "Beat us five TRAINERS and win\n"
.string "a fabulous prize!\p"
.string "Think you got what it takes?$"
Text_18908C:: @ 818908C
.string "Whoo!\n"
.string "Good stuff!$"
Text_18909E:: @ 818909E
.string "I did my best. I have no regrets!$"
Text_1890C0:: @ 81890C0
Route25_Text_JoeyIntro:: @ 81890C0
.string "Local TRAINERS come here to\n"
.string "practice.$"
Text_1890E6:: @ 81890E6
Route25_Text_JoeyDefeat:: @ 81890E6
.string "You're decent.$"
Text_1890F5:: @ 81890F5
Route25_Text_JoeyPostBattle:: @ 81890F5
.string "All POKéMON have weaknesses.\n"
.string "Even the strongest ones.\p"
.string "That's why it's best to raise\n"
.string "POKéMON of different types.$"
Text_189165:: @ 8189165
Route25_Text_DanIntro:: @ 8189165
.string "Dad took me to a great party on\n"
.string "the S.S. ANNE at VERMILION CITY.$"
Text_1891A6:: @ 81891A6
Route25_Text_DanDefeat:: @ 81891A6
.string "I'm not mad!$"
Text_1891B3:: @ 81891B3
Route25_Text_DanPostBattle:: @ 81891B3
.string "On the S.S. ANNE, I saw TRAINERS\n"
.string "from around the world.$"
Text_1891EB:: @ 81891EB
Route25_Text_FlintIntro:: @ 81891EB
.string "I'm a cool guy.\n"
.string "I've got a girlfriend!$"
Text_189212:: @ 8189212
Route25_Text_FlintDefeat:: @ 8189212
.string "Aww, darn…$"
Text_18921D:: @ 818921D
Route25_Text_FlintPostBattle:: @ 818921D
.string "Oh, well.\n"
.string "My girlfriend will cheer me up.$"
Text_189247:: @ 8189247
Route25_Text_KelseyIntro:: @ 8189247
.string "Hi!\n"
.string "My boyfriend is cool!$"
Text_189261:: @ 8189261
Route25_Text_KelseyDefeat:: @ 8189261
.string "My conditioning isn't the best…$"
Text_189281:: @ 8189281
Route25_Text_KelseyPostBattle:: @ 8189281
.string "I wish my boyfriend was as good\n"
.string "as you.$"
Text_1892A9:: @ 81892A9
Route25_Text_ChadIntro:: @ 81892A9
.string "I had this feeling…\n"
.string "I knew I had to battle you!$"
Text_1892D9:: @ 81892D9
Route25_Text_ChadDefeat:: @ 81892D9
.string "I knew I'd lose, too!$"
Text_1892EF:: @ 81892EF
Route25_Text_ChadPostBattle:: @ 81892EF
.string "If your POKéMON gets confused,\n"
.string "switch it out.\p"
.string "That's a good tactic.$"
Text_189333:: @ 8189333
Route25_Text_HaleyIntro:: @ 8189333
.string "My friend has many cute POKéMON.\n"
.string "I'm so jealous!$"
Text_189364:: @ 8189364
Route25_Text_HaleyDefeat:: @ 8189364
.string "I'm not so jealous!$"
Text_189378:: @ 8189378
Route25_Text_HaleyPostBattle:: @ 8189378
.string "You came from MT. MOON?\n"
.string "May I have a CLEFAIRY?$"
Text_1893A7:: @ 81893A7
Route25_Text_FranklinIntro:: @ 81893A7
.string "I just got down from MT. MOON,\n"
.string "but I've still got gas in the tank!$"
Text_1893EA:: @ 81893EA
Route25_Text_FranklinDefeat:: @ 81893EA
.string "You worked hard!$"
Text_1893FB:: @ 81893FB
Route25_Text_FranklinPostBattle:: @ 81893FB
.string "Drat!\n"
.string "A ZUBAT bit me back in that cave.$"
Text_189423:: @ 8189423
Route25_Text_NobIntro:: @ 8189423
.string "I'm off to see a POKéMANIAC's\n"
.string "collection at the cape.$"
Text_189459:: @ 8189459
Route25_Text_NobDefeat:: @ 8189459
.string "You done got me, and real good,\n"
.string "too!$"
Text_18947E:: @ 818947E
Route25_Text_NobPostBattle:: @ 818947E
.string "The POKéMANIAC sure lives up to\n"
.string "his name.\p"
.string "His collection includes many rare\n"
.string "species of POKéMON.$"
Text_1894DE:: @ 81894DE
Route25_Text_WayneIntro:: @ 81894DE
.string "You're going to see BILL?\n"
.string "First, we battle!$"
Text_18950A:: @ 818950A
Route25_Text_WayneDefeat:: @ 818950A
.string "You're something.$"
Text_18951C:: @ 818951C
Route25_Text_WaynePostBattle:: @ 818951C
.string "The trail below is a shortcut to\n"
.string "CERULEAN CITY.$"
gUnknown_818954C:: @ 818954C
Route25_Text_SeaCottageSign:: @ 818954C
.string "SEA COTTAGE\n"
.string "BILL lives here!$"
Text_189569:: @ 8189569
Route25_Text_MistyHighHopesAboutThisPlace:: @ 8189569
.string "This cape is a famous date spot.\p"
.string "MISTY, the GYM LEADER, has high\n"
.string "hopes about this place.$"
gUnknown_81895C2:: @ 81895C2
Route25_Text_AreYouHereAlone:: @ 81895C2
.string "Hello, are you here alone?\p"
.string "If you're out at CERULEAN's cape…\n"
.string "Well, it should be as a couple.$"
+3 -3
View File
@@ -25,7 +25,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route25_SeaCottage_EventScript_17054B",
"script": "Route25_SeaCottage_EventScript_Bill",
"flag": "FLAG_HIDE_BILL_HUMAN_SEA_COTTAGE"
},
{
@@ -38,7 +38,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route25_SeaCottage_EventScript_17054B",
"script": "Route25_SeaCottage_EventScript_Bill",
"flag": "FLAG_HIDE_BILL_CLEFAIRY"
}
],
@@ -72,7 +72,7 @@
"x": 4,
"y": 5,
"elevation": 0,
"script": "Route25_SeaCottage_EventScript_1706DD"
"script": "Route25_SeaCottage_EventScript_Computer"
}
]
}
+117 -110
View File
@@ -1,143 +1,150 @@
.equ LOCALID_BILL_HUMAN, 1
.equ LOCALID_BILL_CLEFAIRY, 2
.equ BILL_IN_TELEPORTER, FLAG_TEMP_2
.equ RETURN_AFTER_SS_TICKET, FLAG_TEMP_3
Route25_SeaCottage_MapScripts:: @ 8170523
map_script MAP_SCRIPT_ON_TRANSITION, Route25_SeaCottage_OnTransition
.byte 0
Route25_SeaCottage_OnTransition:: @ 8170529
call_if_unset FLAG_HELPED_BILL_IN_SEA_COTTAGE, EventScript_17053C
call_if_set FLAG_GOT_SS_TICKET, EventScript_170547
call_if_unset FLAG_HELPED_BILL_IN_SEA_COTTAGE, Route25_SeaCottage_EventScript_HideClefairyBill
call_if_set FLAG_GOT_SS_TICKET, Route25_SeaCottage_EventScript_SetReturnedAfterSSTicket
end
EventScript_17053C:: @ 817053C
Route25_SeaCottage_EventScript_HideClefairyBill:: @ 817053C
clearflag FLAG_HIDE_BILL_CLEFAIRY
setobjectxyperm 1, 3, 3
setobjectxyperm LOCALID_BILL_HUMAN, 3, 3
return
EventScript_170547:: @ 8170547
setflag FLAG_TEMP_3
Route25_SeaCottage_EventScript_SetReturnedAfterSSTicket:: @ 8170547
setflag RETURN_AFTER_SS_TICKET
return
Route25_SeaCottage_EventScript_17054B:: @ 817054B
Route25_SeaCottage_EventScript_Bill:: @ 817054B
lock
faceplayer
goto_if_set FLAG_TEMP_3, EventScript_1706C8
goto_if_set FLAG_GOT_SS_TICKET, EventScript_170640
goto_if_set FLAG_HELPED_BILL_IN_SEA_COTTAGE, EventScript_17064A
goto_if_set RETURN_AFTER_SS_TICKET, Route25_SeaCottage_EventScript_BillGoLookAtPC
goto_if_set FLAG_GOT_SS_TICKET, Route25_SeaCottage_EventScript_BillGoToSSAnne
goto_if_set FLAG_HELPED_BILL_IN_SEA_COTTAGE, Route25_SeaCottage_EventScript_BillGiveSSTicket
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq EventScript_170580
goto_if_eq Route25_SeaCottage_EventScript_BillAskForHelpMale
compare VAR_RESULT, FEMALE
goto_if_eq EventScript_17058E
goto_if_eq Route25_SeaCottage_EventScript_BillAskForHelpFemale
end
EventScript_170580:: @ 8170580
msgbox gUnknown_819FDFA, MSGBOX_YESNO
goto EventScript_17059C
Route25_SeaCottage_EventScript_BillAskForHelpMale:: @ 8170580
msgbox Route25_SeaCottage_Text_ImBillHelpMeOutPal, MSGBOX_YESNO
goto Route25_SeaCottage_EventScript_BillAskForHelp
end
EventScript_17058E:: @ 817058E
msgbox gUnknown_819FEE6, MSGBOX_YESNO
goto EventScript_17059C
Route25_SeaCottage_EventScript_BillAskForHelpFemale:: @ 817058E
msgbox Route25_SeaCottage_Text_ImBillHelpMeOutLady, MSGBOX_YESNO
goto Route25_SeaCottage_EventScript_BillAskForHelp
end
EventScript_17059C:: @ 817059C
Route25_SeaCottage_EventScript_BillAskForHelp:: @ 817059C
compare VAR_RESULT, NO
call_if_eq EventScript_170600
msgbox gUnknown_819FFD3
call_if_eq Route25_SeaCottage_EventScript_DeclineHelpBill
msgbox Route25_SeaCottage_Text_RunCellSeparationOnPC
closemessage
delay 10
compare VAR_FACING, DIR_SOUTH
call_if_eq EventScript_17062A
call_if_eq Route25_SeaCottage_EventScript_BillWalkToTeleporterSouth
compare VAR_FACING, DIR_NORTH
call_if_eq EventScript_170635
call_if_eq Route25_SeaCottage_EventScript_BillWalkToTeleporter
compare VAR_FACING, DIR_WEST
call_if_eq EventScript_170635
call_if_eq Route25_SeaCottage_EventScript_BillWalkToTeleporter
compare VAR_FACING, DIR_EAST
call_if_eq EventScript_170635
call_if_eq Route25_SeaCottage_EventScript_BillWalkToTeleporter
opendoor 10, 3
waitdooranim
applymovement 2, Movement_1706DB
applymovement LOCALID_BILL_CLEFAIRY, Route25_SeaCottage_Movement_BillEnterTeleporter
waitmovement 0
removeobject 2
removeobject LOCALID_BILL_CLEFAIRY
playse SE_C_MAKU_D
closedoor 10, 3
waitdooranim
setflag FLAG_TEMP_2
setflag BILL_IN_TELEPORTER
release
end
EventScript_170600:: @ 8170600
@ Just returns after message, execution continues as if player had said yes
Route25_SeaCottage_EventScript_DeclineHelpBill:: @ 8170600
checkplayergender
compare VAR_RESULT, MALE
call_if_eq EventScript_170618
call_if_eq Route25_SeaCottage_EventScript_DeclineHelpBillMale
compare VAR_RESULT, FEMALE
call_if_eq EventScript_170621
call_if_eq Route25_SeaCottage_EventScript_DeclineHelpBillFemale
return
EventScript_170618:: @ 8170618
msgbox gUnknown_81A0035
Route25_SeaCottage_EventScript_DeclineHelpBillMale:: @ 8170618
msgbox Route25_SeaCottage_Text_NoPleaseChief
return
EventScript_170621:: @ 8170621
msgbox gUnknown_81A00B6
Route25_SeaCottage_EventScript_DeclineHelpBillFemale:: @ 8170621
msgbox Route25_SeaCottage_Text_NoPleaseBeautiful
return
EventScript_17062A:: @ 817062A
applymovement 2, Movement_1706D5
Route25_SeaCottage_EventScript_BillWalkToTeleporterSouth:: @ 817062A
applymovement LOCALID_BILL_CLEFAIRY, Route25_SeaCottage_Movement_BillWalkToTeleporterSouth
waitmovement 0
return
EventScript_170635:: @ 8170635
applymovement 2, Movement_1706D2
Route25_SeaCottage_EventScript_BillWalkToTeleporter:: @ 8170635
applymovement LOCALID_BILL_CLEFAIRY, Route25_SeaCottage_Movement_BillWalkToTeleporter
waitmovement 0
return
EventScript_170640:: @ 8170640
msgbox gUnknown_81A02CF
Route25_SeaCottage_EventScript_BillGoToSSAnne:: @ 8170640
msgbox Route25_SeaCottage_Text_SSAnnePartyYouGoInstead
release
end
EventScript_17064A:: @ 817064A
Route25_SeaCottage_EventScript_BillGiveSSTicket:: @ 817064A
famechecker FAMECHECKER_BILL, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
checkplayergender
compare VAR_RESULT, MALE
call_if_eq EventScript_1706AC
call_if_eq Route25_SeaCottage_EventScript_BillThanksMale
compare VAR_RESULT, FEMALE
call_if_eq EventScript_1706B5
call_if_eq Route25_SeaCottage_EventScript_BillThanksFemale
checkitemspace ITEM_SS_TICKET, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_1706BE
giveitem_msg gUnknown_81A028E, ITEM_SS_TICKET, 1, MUS_FAN5
goto_if_eq Route25_SeaCottage_EventScript_NoRoomForSSTicket
giveitem_msg Route25_SeaCottage_Text_ReceivedSSTicketFromBill, ITEM_SS_TICKET, 1, MUS_FAN5
setflag FLAG_GOT_SS_TICKET_DUP
setflag FLAG_HIDE_NUGGET_BRIDGE_ROCKET
setflag FLAG_GOT_SS_TICKET
setflag FLAG_SYS_NOT_SOMEONES_PC
goto EventScript_170640
goto Route25_SeaCottage_EventScript_BillGoToSSAnne
end
EventScript_1706AC:: @ 81706AC
msgbox gUnknown_81A013B
Route25_SeaCottage_EventScript_BillThanksMale:: @ 81706AC
msgbox Route25_SeaCottage_Text_ThanksBudTakeThis
return
EventScript_1706B5:: @ 81706B5
msgbox gUnknown_81A01E4
Route25_SeaCottage_EventScript_BillThanksFemale:: @ 81706B5
msgbox Route25_SeaCottage_Text_ThanksLadyTakeThis
return
EventScript_1706BE:: @ 81706BE
msgbox gUnknown_81A02B4
Route25_SeaCottage_EventScript_NoRoomForSSTicket:: @ 81706BE
msgbox Route25_SeaCottage_Text_YouveGotTooMuchStuff
release
end
EventScript_1706C8:: @ 81706C8
msgbox gUnknown_81A03AB
Route25_SeaCottage_EventScript_BillGoLookAtPC:: @ 81706C8
msgbox Route25_SeaCottage_Text_CheckOutRareMonsOnPC
release
end
Movement_1706D2:: @ 81706D2
Route25_SeaCottage_Movement_BillWalkToTeleporter:: @ 81706D2
walk_up
walk_up
step_end
Movement_1706D5:: @ 81706D5
Route25_SeaCottage_Movement_BillWalkToTeleporterSouth:: @ 81706D5
walk_right
walk_up
walk_up
@@ -145,85 +152,85 @@ Movement_1706D5:: @ 81706D5
walk_in_place_fastest_up
step_end
Movement_1706DB:: @ 81706DB
Route25_SeaCottage_Movement_BillEnterTeleporter:: @ 81706DB
walk_up
step_end
Route25_SeaCottage_EventScript_1706DD:: @ 81706DD
Route25_SeaCottage_EventScript_Computer:: @ 81706DD
lockall
goto_if_set FLAG_TEMP_3, EventScript_1707CA
goto_if_set FLAG_TEMP_2, EventScript_1706FA
msgbox gUnknown_81A0402
goto_if_set RETURN_AFTER_SS_TICKET, Route25_SeaCottage_EventScript_OpenBillsMonList
goto_if_set BILL_IN_TELEPORTER, Route25_SeaCottage_EventScript_RunCellSeparator
msgbox Route25_SeaCottage_Text_TeleporterIsDisplayed
releaseall
end
EventScript_1706FA:: @ 81706FA
Route25_SeaCottage_EventScript_RunCellSeparator:: @ 81706FA
fadeoutbgm 0
msgbox gUnknown_81A042D
msgbox Route25_SeaCottage_Text_InitiatedTeleportersCellSeparator
closemessage
clearflag FLAG_TEMP_2
clearflag BILL_IN_TELEPORTER
setflag FLAG_HELPED_BILL_IN_SEA_COTTAGE
special SpawnCameraObject
applymovement OBJ_EVENT_ID_CAMERA, Movement_1707BE
applymovement OBJ_EVENT_ID_CAMERA, Route25_SeaCottage_Movement_CameraPanToTeleporters
waitmovement 0
delay 35
playse SE_PIN
waitse
setvar VAR_0x8004, 0
special sub_809C4A8
special AnimateTeleporterHousing
delay 10
call EventScript_1707B6
call EventScript_1707B6
call EventScript_1707B6
call EventScript_1707B6
call EventScript_1707B6
call EventScript_1707B6
call EventScript_1707B6
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
setvar VAR_0x8004, 1
special sub_809C4A8
special AnimateTeleporterHousing
playse SE_TK_WARPIN
special sub_809C5FC
special AnimateTeleporterCable
waitse
call EventScript_1707B6
call EventScript_1707B6
call EventScript_1707B6
call EventScript_1707B6
call EventScript_1707B6
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
call Route25_SeaCottage_EventScript_PlayTeleporterBeepSE
opendoor 3, 3
waitdooranim
fadeinbgm 0
addobject 1
addobject LOCALID_BILL_HUMAN
clearflag FLAG_HIDE_BILL_HUMAN_SEA_COTTAGE
delay 50
playfanfare MUS_FANFA1
applymovement 1, Movement_170888
applymovement LOCALID_BILL_HUMAN, Route25_SeaCottage_Movement_BillExitTeleporter
waitmovement 0
waitfanfare
applymovement OBJ_EVENT_ID_CAMERA, Movement_1707C3
applymovement OBJ_EVENT_ID_CAMERA, Route25_SeaCottage_Movement_CameraPanBackFromTeleporters
waitmovement 0
playse SE_C_MAKU_D
closedoor 3, 3
waitdooranim
applymovement 1, Movement_170881
applymovement LOCALID_BILL_HUMAN, Route25_SeaCottage_Movement_BillWalkToMiddleOfRoom
waitmovement 0
special RemoveCameraObject
releaseall
end
EventScript_1707B6:: @ 81707B6
Route25_SeaCottage_EventScript_PlayTeleporterBeepSE:: @ 81707B6
playse SE_BOWA
waitse
delay 20
return
Movement_1707BE:: @ 81707BE
Route25_SeaCottage_Movement_CameraPanToTeleporters:: @ 81707BE
walk_up
walk_up
walk_right
walk_right
step_end
Movement_1707C3:: @ 81707C3
Route25_SeaCottage_Movement_CameraPanBackFromTeleporters:: @ 81707C3
delay_16
delay_16
walk_down
@@ -232,65 +239,65 @@ Movement_1707C3:: @ 81707C3
walk_left
step_end
EventScript_1707CA:: @ 81707CA
msgbox gUnknown_81A045B
goto EventScript_1707D8
Route25_SeaCottage_EventScript_OpenBillsMonList:: @ 81707CA
msgbox Route25_SeaCottage_Text_BillsFavoriteMonList
goto Route25_SeaCottage_EventScript_BillsMonList
end
EventScript_1707D8:: @ 81707D8
message Text_1A0479
Route25_SeaCottage_EventScript_BillsMonList:: @ 81707D8
message Route25_SeaCottage_Text_SeeWhichMon
waitmessage
multichoice 0, 0, MULTICHOICE_EEVEELUTIONS, FALSE
switch VAR_RESULT
case 0, EventScript_17082B
case 1, EventScript_170840
case 2, EventScript_170855
case 3, EventScript_17086A
case 4, EventScript_17087F
case 127, EventScript_17087F
case 0, Route25_SeaCottage_EventScript_ViewEevee
case 1, Route25_SeaCottage_EventScript_ViewFlareon
case 2, Route25_SeaCottage_EventScript_ViewJolteon
case 3, Route25_SeaCottage_EventScript_ViewVaporeon
case 4, Route25_SeaCottage_EventScript_ExitBillsMonList
case 127, Route25_SeaCottage_EventScript_ExitBillsMonList
end
EventScript_17082B:: @ 817082B
Route25_SeaCottage_EventScript_ViewEevee:: @ 817082B
drawmonpic SPECIES_EEVEE, 10, 3
waitbuttonpress
erasemonpic
setvar VAR_0x8004, SPECIES_EEVEE
special Special_SetSeenMon
goto EventScript_1707D8
goto Route25_SeaCottage_EventScript_BillsMonList
end
EventScript_170840:: @ 8170840
Route25_SeaCottage_EventScript_ViewFlareon:: @ 8170840
drawmonpic SPECIES_FLAREON, 10, 3
waitbuttonpress
erasemonpic
setvar VAR_0x8004, SPECIES_FLAREON
special Special_SetSeenMon
goto EventScript_1707D8
goto Route25_SeaCottage_EventScript_BillsMonList
end
EventScript_170855:: @ 8170855
Route25_SeaCottage_EventScript_ViewJolteon:: @ 8170855
drawmonpic SPECIES_JOLTEON, 10, 3
waitbuttonpress
erasemonpic
setvar VAR_0x8004, SPECIES_JOLTEON
special Special_SetSeenMon
goto EventScript_1707D8
goto Route25_SeaCottage_EventScript_BillsMonList
end
EventScript_17086A:: @ 817086A
Route25_SeaCottage_EventScript_ViewVaporeon:: @ 817086A
drawmonpic SPECIES_VAPOREON, 10, 3
waitbuttonpress
erasemonpic
setvar VAR_0x8004, SPECIES_VAPOREON
special Special_SetSeenMon
goto EventScript_1707D8
goto Route25_SeaCottage_EventScript_BillsMonList
end
EventScript_17087F:: @ 817087F
Route25_SeaCottage_EventScript_ExitBillsMonList:: @ 817087F
releaseall
end
Movement_170881:: @ 8170881
Route25_SeaCottage_Movement_BillWalkToMiddleOfRoom:: @ 8170881
walk_right
walk_right
walk_right
@@ -299,6 +306,6 @@ Movement_170881:: @ 8170881
walk_down
step_end
Movement_170888:: @ 8170888
Route25_SeaCottage_Movement_BillExitTeleporter:: @ 8170888
walk_down
step_end
+15 -15
View File
@@ -1,4 +1,4 @@
gUnknown_819FDFA:: @ 819FDFA
Route25_SeaCottage_Text_ImBillHelpMeOutPal:: @ 819FDFA
.string "Hiya! I'm a POKéMON…\n"
.string "…No I'm not!\p"
.string "Call me BILL!\n"
@@ -11,7 +11,7 @@ gUnknown_819FDFA:: @ 819FDFA
.string "So, how about it?\n"
.string "Help me out here!$"
gUnknown_819FEE6:: @ 819FEE6
Route25_SeaCottage_Text_ImBillHelpMeOutLady:: @ 819FEE6
.string "Hiya! I'm a POKéMON…\n"
.string "…No I'm not!\p"
.string "Call me BILL!\n"
@@ -24,13 +24,13 @@ gUnknown_819FEE6:: @ 819FEE6
.string "So, how about it?\n"
.string "Help me out here!$"
gUnknown_819FFD3:: @ 819FFD3
Route25_SeaCottage_Text_RunCellSeparationOnPC:: @ 819FFD3
.string "Wait till I get inside the\n"
.string "TELEPORTER.\p"
.string "When I do, go to my PC and run\n"
.string "the Cell Separation System.$"
gUnknown_81A0035:: @ 81A0035
Route25_SeaCottage_Text_NoPleaseChief:: @ 81A0035
.string "No!?\n"
.string "Now don't be so cold!\p"
.string "Come on, you gotta help a guy in\n"
@@ -40,7 +40,7 @@ gUnknown_81A0035:: @ 81A0035
.string "Okay?\l"
.string "All right!$"
gUnknown_81A00B6:: @ 81A00B6
Route25_SeaCottage_Text_NoPleaseBeautiful:: @ 81A00B6
.string "No!?\n"
.string "Now don't be so cold!\p"
.string "Come on, you gotta help a guy in\n"
@@ -50,7 +50,7 @@ gUnknown_81A00B6:: @ 81A00B6
.string "Okay?\l"
.string "All right!$"
gUnknown_81A013B:: @ 81A013B
Route25_SeaCottage_Text_ThanksBudTakeThis:: @ 81A013B
.string "BILL: Yeehah!\n"
.string "Thanks, bud! I owe you one!\p"
.string "So, did you come to see my\n"
@@ -60,7 +60,7 @@ gUnknown_81A013B:: @ 81A013B
.string "I've got to thank you…\n"
.string "Oh, here, maybe this'll do.$"
gUnknown_81A01E4:: @ 81A01E4
Route25_SeaCottage_Text_ThanksLadyTakeThis:: @ 81A01E4
.string "BILL: Yeehah!\n"
.string "Thanks, lady! I owe you one!\p"
.string "So, did you come to see my\n"
@@ -70,14 +70,14 @@ gUnknown_81A01E4:: @ 81A01E4
.string "I've got to thank you…\n"
.string "Oh, here, maybe this'll do.$"
gUnknown_81A028E:: @ 81A028E
Route25_SeaCottage_Text_ReceivedSSTicketFromBill:: @ 81A028E
.string "{PLAYER} received an S.S. TICKET\n"
.string "from BILL.$"
gUnknown_81A02B4:: @ 81A02B4
Route25_SeaCottage_Text_YouveGotTooMuchStuff:: @ 81A02B4
.string "You've got too much stuff!$"
gUnknown_81A02CF:: @ 81A02CF
Route25_SeaCottage_Text_SSAnnePartyYouGoInstead:: @ 81A02CF
.string "That cruise ship S.S. ANNE is in\n"
.string "VERMILION CITY.\p"
.string "I hear there are lots of TRAINERS\n"
@@ -87,22 +87,22 @@ gUnknown_81A02CF:: @ 81A02CF
.string "Why don't you go instead of me?\n"
.string "Go on and have a good time.$"
gUnknown_81A03AB:: @ 81A03AB
Route25_SeaCottage_Text_CheckOutRareMonsOnPC:: @ 81A03AB
.string "BILL: Feel like checking out some\n"
.string "of my rare POKéMON on my PC?\p"
.string "Go on, check out my PC.$"
gUnknown_81A0402:: @ 81A0402
Route25_SeaCottage_Text_TeleporterIsDisplayed:: @ 81A0402
.string "TELEPORTER is displayed on the PC\n"
.string "monitor.$"
gUnknown_81A042D:: @ 81A042D
Route25_SeaCottage_Text_InitiatedTeleportersCellSeparator:: @ 81A042D
.string "{PLAYER} initiated the TELEPORTER's\n"
.string "Cell Separator.$"
gUnknown_81A045B:: @ 81A045B
Route25_SeaCottage_Text_BillsFavoriteMonList:: @ 81A045B
.string "BILL's favorite POKéMON list!$"
Text_1A0479:: @ 81A0479
Route25_SeaCottage_Text_SeeWhichMon:: @ 81A0479
.string "Which POKéMON do you want to see?$"
+4 -4
View File
@@ -59,19 +59,19 @@ PewterCity_Museum_1F_EventScript_PokemonJournalBrock:: @ 81ACE1C
releaseall
end
Route20_EventScript_1ACE36:: @ 81ACE36
Route20_EventScript_Camper:: @ 81ACE36
lock
faceplayer
famechecker FAMECHECKER_MISTY, 3
msgbox Text_1882E1
msgbox Route20_Text_MistyTrainsHere
release
end
Route25_EventScript_1ACE4F:: @ 81ACE4F
Route25_EventScript_Beauty:: @ 81ACE4F
lock
faceplayer
famechecker FAMECHECKER_MISTY, 4
msgbox Text_189569
msgbox Route25_Text_MistyHighHopesAboutThisPlace
release
end
+245 -245
View File
@@ -115,199 +115,199 @@ Route4_EventScript_CrissyRematch:: @ 81A95E0
msgbox Route4_Text_CrissyPostBattle, MSGBOX_AUTOCLOSE
end
Route24_EventScript_1A95F7:: @ 81A95F7
trainerbattle_single TRAINER_YOUNGSTER_TIMMY, Text_188F76, Text_188F95
Route24_EventScript_Timmy:: @ 81A95F7
trainerbattle_single TRAINER_YOUNGSTER_TIMMY, Route24_Text_TimmyIntro, Route24_Text_TimmyDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A961E
msgbox Text_188FA7, MSGBOX_AUTOCLOSE
goto_if_eq Route24_EventScript_TimmyRematch
msgbox Route24_Text_TimmyPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A961E:: @ 81A961E
trainerbattle_rematch TRAINER_YOUNGSTER_TIMMY, Text_1C3657, Text_188F95
msgbox Text_188FA7, MSGBOX_AUTOCLOSE
Route24_EventScript_TimmyRematch:: @ 81A961E
trainerbattle_rematch TRAINER_YOUNGSTER_TIMMY, Route24_Text_TimmyRematchIntro, Route24_Text_TimmyDefeat
msgbox Route24_Text_TimmyPostBattle, MSGBOX_AUTOCLOSE
end
Route24_EventScript_1A9635:: @ 81A9635
trainerbattle_single TRAINER_BUG_CATCHER_CALE, Text_18901B, Text_18908C
Route24_EventScript_Cale:: @ 81A9635
trainerbattle_single TRAINER_BUG_CATCHER_CALE, Route24_Text_CaleIntro, Route24_Text_CaleDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A965C
msgbox Text_18909E, MSGBOX_AUTOCLOSE
goto_if_eq Route24_EventScript_CaleRematch
msgbox Route24_Text_CalePostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A965C:: @ 81A965C
trainerbattle_rematch TRAINER_BUG_CATCHER_CALE, Text_1C36DA, Text_18908C
msgbox Text_18909E, MSGBOX_AUTOCLOSE
Route24_EventScript_CaleRematch:: @ 81A965C
trainerbattle_rematch TRAINER_BUG_CATCHER_CALE, Route24_Text_CaleRematchIntro, Route24_Text_CaleDefeat
msgbox Route24_Text_CalePostBattle, MSGBOX_AUTOCLOSE
end
Route24_EventScript_1A9673:: @ 81A9673
trainerbattle_single TRAINER_LASS_RELI, Text_188F2C, Text_188F46
Route24_EventScript_Reli:: @ 81A9673
trainerbattle_single TRAINER_LASS_RELI, Route24_Text_ReliIntro, Route24_Text_ReliDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A969A
msgbox Text_188F53, MSGBOX_AUTOCLOSE
goto_if_eq Route24_EventScript_ReliRematch
msgbox Route24_Text_ReliPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A969A:: @ 81A969A
trainerbattle_rematch TRAINER_LASS_RELI, Text_1C3624, Text_188F46
msgbox Text_188F53, MSGBOX_AUTOCLOSE
Route24_EventScript_ReliRematch:: @ 81A969A
trainerbattle_rematch TRAINER_LASS_RELI, Route24_Text_ReliRematchIntro, Route24_Text_ReliDefeat
msgbox Route24_Text_ReliPostBattle, MSGBOX_AUTOCLOSE
end
Route24_EventScript_1A96B1:: @ 81A96B1
trainerbattle_single TRAINER_LASS_ALI, Text_188FC9, Text_188FE7
Route24_EventScript_Ali:: @ 81A96B1
trainerbattle_single TRAINER_LASS_ALI, Route24_Text_AliIntro, Route24_Text_AliDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A96D8
msgbox Text_188FF9, MSGBOX_AUTOCLOSE
goto_if_eq Route24_EventScript_AliRematch
msgbox Route24_Text_AliPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A96D8:: @ 81A96D8
trainerbattle_rematch TRAINER_LASS_ALI, Text_1C3685, Text_188FE7
msgbox Text_188FF9, MSGBOX_AUTOCLOSE
Route24_EventScript_AliRematch:: @ 81A96D8
trainerbattle_rematch TRAINER_LASS_ALI, Route24_Text_AliRematchIntro, Route24_Text_AliDefeat
msgbox Route24_Text_AliPostBattle, MSGBOX_AUTOCLOSE
end
Route24_EventScript_1A96EF:: @ 81A96EF
trainerbattle_single TRAINER_CAMPER_SHANE, Text_188E74, Text_188E94
Route24_EventScript_Shane:: @ 81A96EF
trainerbattle_single TRAINER_CAMPER_SHANE, Route24_Text_ShaneIntro, Route24_Text_ShaneDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A9716
msgbox Text_188EA3, MSGBOX_AUTOCLOSE
goto_if_eq Route24_EventScript_ShaneRematch
msgbox Route24_Text_ShanePostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A9716:: @ 81A9716
trainerbattle_rematch TRAINER_CAMPER_SHANE, Text_1C35EE, Text_188E94
msgbox Text_188EA3, MSGBOX_AUTOCLOSE
Route24_EventScript_ShaneRematch:: @ 81A9716
trainerbattle_rematch TRAINER_CAMPER_SHANE, Route24_Text_ShaneRematchIntro, Route24_Text_ShaneDefeat
msgbox Route24_Text_ShanePostBattle, MSGBOX_AUTOCLOSE
end
Route24_EventScript_1A972D:: @ 81A972D
trainerbattle_single TRAINER_CAMPER_ETHAN, Text_188ED9, Text_188EFA
Route24_EventScript_Ethan:: @ 81A972D
trainerbattle_single TRAINER_CAMPER_ETHAN, Route24_Text_EthanIntro, Route24_Text_EthanDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A9754
msgbox Text_188F0A, MSGBOX_AUTOCLOSE
goto_if_eq Route24_EventScript_EthanRematch
msgbox Route24_Text_EthanPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A9754:: @ 81A9754
trainerbattle_rematch TRAINER_CAMPER_ETHAN, Text_1C360E, Text_188EFA
msgbox Text_188F0A, MSGBOX_AUTOCLOSE
Route24_EventScript_EthanRematch:: @ 81A9754
trainerbattle_rematch TRAINER_CAMPER_ETHAN, Route24_Text_EthanRematchIntro, Route24_Text_EthanDefeat
msgbox Route24_Text_EthanPostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A976B:: @ 81A976B
trainerbattle_single TRAINER_YOUNGSTER_JOEY, Text_1890C0, Text_1890E6
Route25_EventScript_Joey:: @ 81A976B
trainerbattle_single TRAINER_YOUNGSTER_JOEY, Route25_Text_JoeyIntro, Route25_Text_JoeyDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A9792
msgbox Text_1890F5, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_JoeyRematch
msgbox Route25_Text_JoeyPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A9792:: @ 81A9792
trainerbattle_rematch TRAINER_YOUNGSTER_JOEY, Text_1C33E7, Text_1890E6
msgbox Text_1890F5, MSGBOX_AUTOCLOSE
Route25_EventScript_JoeyRematch:: @ 81A9792
trainerbattle_rematch TRAINER_YOUNGSTER_JOEY, Route25_Text_JoeyRematchIntro, Route25_Text_JoeyDefeat
msgbox Route25_Text_JoeyPostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A97A9:: @ 81A97A9
trainerbattle_single TRAINER_YOUNGSTER_DAN, Text_189165, Text_1891A6
Route25_EventScript_Dan:: @ 81A97A9
trainerbattle_single TRAINER_YOUNGSTER_DAN, Route25_Text_DanIntro, Route25_Text_DanDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A97D0
msgbox Text_1891B3, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_DanRematch
msgbox Route25_Text_DanPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A97D0:: @ 81A97D0
trainerbattle_rematch TRAINER_YOUNGSTER_DAN, Text_1C3404, Text_1891A6
msgbox Text_1891B3, MSGBOX_AUTOCLOSE
Route25_EventScript_DanRematch:: @ 81A97D0
trainerbattle_rematch TRAINER_YOUNGSTER_DAN, Route25_Text_DanRematchIntro, Route25_Text_DanDefeat
msgbox Route25_Text_DanPostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A97E7:: @ 81A97E7
trainerbattle_single TRAINER_YOUNGSTER_CHAD, Text_1892A9, Text_1892D9
Route25_EventScript_Chad:: @ 81A97E7
trainerbattle_single TRAINER_YOUNGSTER_CHAD, Route25_Text_ChadIntro, Route25_Text_ChadDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A980E
msgbox Text_1892EF, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_ChadRematch
msgbox Route25_Text_ChadPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A980E:: @ 81A980E
trainerbattle_rematch TRAINER_YOUNGSTER_CHAD, Text_1C34D4, Text_1892D9
msgbox Text_1892EF, MSGBOX_AUTOCLOSE
Route25_EventScript_ChadRematch:: @ 81A980E
trainerbattle_rematch TRAINER_YOUNGSTER_CHAD, Route25_Text_ChadRematchIntro, Route25_Text_ChadDefeat
msgbox Route25_Text_ChadPostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A9825:: @ 81A9825
trainerbattle_single TRAINER_PICNICKER_KELSEY, Text_189247, Text_189261
Route25_EventScript_Kelsey:: @ 81A9825
trainerbattle_single TRAINER_PICNICKER_KELSEY, Route25_Text_KelseyIntro, Route25_Text_KelseyDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A984C
msgbox Text_189281, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_KelseyRematch
msgbox Route25_Text_KelseyPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A984C:: @ 81A984C
trainerbattle_rematch TRAINER_PICNICKER_KELSEY, Text_1C349C, Text_189261
msgbox Text_189281, MSGBOX_AUTOCLOSE
Route25_EventScript_KelseyRematch:: @ 81A984C
trainerbattle_rematch TRAINER_PICNICKER_KELSEY, Route25_Text_KelseyRematchIntro, Route25_Text_KelseyDefeat
msgbox Route25_Text_KelseyPostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A9863:: @ 81A9863
trainerbattle_single TRAINER_LASS_HALEY, Text_189333, Text_189364
Route25_EventScript_Haley:: @ 81A9863
trainerbattle_single TRAINER_LASS_HALEY, Route25_Text_HaleyIntro, Route25_Text_HaleyDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A988A
msgbox Text_189378, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_HaleyRematch
msgbox Route25_Text_HaleyPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A988A:: @ 81A988A
trainerbattle_rematch TRAINER_LASS_HALEY, Text_1C350A, Text_189364
msgbox Text_189378, MSGBOX_AUTOCLOSE
Route25_EventScript_HaleyRematch:: @ 81A988A
trainerbattle_rematch TRAINER_LASS_HALEY, Route25_Text_HaleyRematchIntro, Route25_Text_HaleyDefeat
msgbox Route25_Text_HaleyPostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A98A1:: @ 81A98A1
trainerbattle_single TRAINER_HIKER_FRANKLIN, Text_1893A7, Text_1893EA
Route25_EventScript_Franklin:: @ 81A98A1
trainerbattle_single TRAINER_HIKER_FRANKLIN, Route25_Text_FranklinIntro, Route25_Text_FranklinDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A98C8
msgbox Text_1893FB, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_FranklinRematch
msgbox Route25_Text_FranklinPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A98C8:: @ 81A98C8
trainerbattle_rematch TRAINER_HIKER_FRANKLIN, Text_1C353B, Text_1893EA
msgbox Text_1893FB, MSGBOX_AUTOCLOSE
Route25_EventScript_FranklinRematch:: @ 81A98C8
trainerbattle_rematch TRAINER_HIKER_FRANKLIN, Route25_Text_FranklinRematchIntro, Route25_Text_FranklinDefeat
msgbox Route25_Text_FranklinPostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A98DF:: @ 81A98DF
trainerbattle_single TRAINER_HIKER_NOB, Text_189423, Text_189459
Route25_EventScript_Nob:: @ 81A98DF
trainerbattle_single TRAINER_HIKER_NOB, Route25_Text_NobIntro, Route25_Text_NobDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A9906
msgbox Text_18947E, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_NobRematch
msgbox Route25_Text_NobPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A9906:: @ 81A9906
trainerbattle_rematch TRAINER_HIKER_NOB, Text_1C357E, Text_189459
msgbox Text_18947E, MSGBOX_AUTOCLOSE
Route25_EventScript_NobRematch:: @ 81A9906
trainerbattle_rematch TRAINER_HIKER_NOB, Route25_Text_NobRematchIntro, Route25_Text_NobDefeat
msgbox Route25_Text_NobPostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A991D:: @ 81A991D
trainerbattle_single TRAINER_HIKER_WAYNE, Text_1894DE, Text_18950A
Route25_EventScript_Wayne:: @ 81A991D
trainerbattle_single TRAINER_HIKER_WAYNE, Route25_Text_WayneIntro, Route25_Text_WayneDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A9944
msgbox Text_18951C, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_WayneRematch
msgbox Route25_Text_WaynePostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A9944:: @ 81A9944
trainerbattle_rematch TRAINER_HIKER_WAYNE, Text_1C35BC, Text_18950A
msgbox Text_18951C, MSGBOX_AUTOCLOSE
Route25_EventScript_WayneRematch:: @ 81A9944
trainerbattle_rematch TRAINER_HIKER_WAYNE, Route25_Text_WayneRematchIntro, Route25_Text_WayneDefeat
msgbox Route25_Text_WaynePostBattle, MSGBOX_AUTOCLOSE
end
Route25_EventScript_1A995B:: @ 81A995B
trainerbattle_single TRAINER_CAMPER_FLINT, Text_1891EB, Text_189212
Route25_EventScript_Flint:: @ 81A995B
trainerbattle_single TRAINER_CAMPER_FLINT, Route25_Text_FlintIntro, Route25_Text_FlintDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1A9982
msgbox Text_18921D, MSGBOX_AUTOCLOSE
goto_if_eq Route25_EventScript_FlintRematch
msgbox Route25_Text_FlintPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1A9982:: @ 81A9982
trainerbattle_rematch TRAINER_CAMPER_FLINT, Text_1C3445, Text_189212
msgbox Text_18921D, MSGBOX_AUTOCLOSE
Route25_EventScript_FlintRematch:: @ 81A9982
trainerbattle_rematch TRAINER_CAMPER_FLINT, Route25_Text_FlintRematchIntro, Route25_Text_FlintDefeat
msgbox Route25_Text_FlintPostBattle, MSGBOX_AUTOCLOSE
end
Route6_EventScript_Keigo:: @ 81A9999
@@ -1870,264 +1870,264 @@ Route19_EventScript_LucRematch:: @ 81AB6EE
msgbox Route19_Text_LucPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB709:: @ 81AB709
trainerbattle_single TRAINER_SWIMMER_MALE_BARRY, Text_187E40, Text_187E7B
Route20_EventScript_Barry:: @ 81AB709
trainerbattle_single TRAINER_SWIMMER_MALE_BARRY, Route20_Text_BarryIntro, Route20_Text_BarryDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB730
msgbox Text_187E83, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_BarryRematch
msgbox Route20_Text_BarryPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB730:: @ 81AB730
trainerbattle_rematch TRAINER_SWIMMER_MALE_BARRY, Text_1C2FF3, Text_187E7B
msgbox Text_187E83, MSGBOX_AUTOCLOSE
Route20_EventScript_BarryRematch:: @ 81AB730
trainerbattle_rematch TRAINER_SWIMMER_MALE_BARRY, Route20_Text_BarryRematchIntro, Route20_Text_BarryDefeat
msgbox Route20_Text_BarryPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB747:: @ 81AB747
trainerbattle_single TRAINER_SWIMMER_MALE_DEAN, Text_187FDB, Text_187FF7
Route20_EventScript_Dean:: @ 81AB747
trainerbattle_single TRAINER_SWIMMER_MALE_DEAN, Route20_Text_DeanIntro, Route20_Text_DeanDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB76E
msgbox Text_187FFE, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_DeanRematch
msgbox Route20_Text_DeanPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB76E:: @ 81AB76E
trainerbattle_rematch TRAINER_SWIMMER_MALE_DEAN, Text_1C30B0, Text_187FF7
msgbox Text_187FFE, MSGBOX_AUTOCLOSE
Route20_EventScript_DeanRematch:: @ 81AB76E
trainerbattle_rematch TRAINER_SWIMMER_MALE_DEAN, Route20_Text_DeanRematchIntro, Route20_Text_DeanDefeat
msgbox Route20_Text_DeanPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB785:: @ 81AB785
trainerbattle_single TRAINER_SWIMMER_MALE_DARRIN, Text_18802E, Text_18805C
Route20_EventScript_Darrin:: @ 81AB785
trainerbattle_single TRAINER_SWIMMER_MALE_DARRIN, Route20_Text_DarrinIntro, Route20_Text_DarrinDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB7AC
msgbox Text_18806D, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_DarrinRematch
msgbox Route20_Text_DarrinPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB7AC:: @ 81AB7AC
trainerbattle_rematch TRAINER_SWIMMER_MALE_DARRIN, Text_1C30ED, Text_18805C
msgbox Text_18806D, MSGBOX_AUTOCLOSE
Route20_EventScript_DarrinRematch:: @ 81AB7AC
trainerbattle_rematch TRAINER_SWIMMER_MALE_DARRIN, Route20_Text_DarrinRematchIntro, Route20_Text_DarrinDefeat
msgbox Route20_Text_DarrinPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB7C3:: @ 81AB7C3
trainerbattle_single TRAINER_SWIMMER_FEMALE_TIFFANY, Text_187F24, Text_187F5A
Route20_EventScript_Tiffany:: @ 81AB7C3
trainerbattle_single TRAINER_SWIMMER_FEMALE_TIFFANY, Route20_Text_TiffanyIntro, Route20_Text_TiffanyDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB7EA
msgbox Text_187F61, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_TiffanyRematch
msgbox Route20_Text_TiffanyPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB7EA:: @ 81AB7EA
trainerbattle_rematch TRAINER_SWIMMER_FEMALE_TIFFANY, Text_1C305F, Text_187F5A
msgbox Text_187F61, MSGBOX_AUTOCLOSE
Route20_EventScript_TiffanyRematch:: @ 81AB7EA
trainerbattle_rematch TRAINER_SWIMMER_FEMALE_TIFFANY, Route20_Text_TiffanyRematchIntro, Route20_Text_TiffanyDefeat
msgbox Route20_Text_TiffanyPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB801:: @ 81AB801
trainerbattle_single TRAINER_SWIMMER_FEMALE_NORA, Text_1880F8, Text_188119
Route20_EventScript_Nora:: @ 81AB801
trainerbattle_single TRAINER_SWIMMER_FEMALE_NORA, Route20_Text_NoraIntro, Route20_Text_NoraDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB828
msgbox Text_188139, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_NoraRematch
msgbox Route20_Text_NoraPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB828:: @ 81AB828
trainerbattle_rematch TRAINER_SWIMMER_FEMALE_NORA, Text_1C3149, Text_188119
msgbox Text_188139, MSGBOX_AUTOCLOSE
Route20_EventScript_NoraRematch:: @ 81AB828
trainerbattle_rematch TRAINER_SWIMMER_FEMALE_NORA, Route20_Text_NoraRematchIntro, Route20_Text_NoraDefeat
msgbox Route20_Text_NoraPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB83F:: @ 81AB83F
trainerbattle_single TRAINER_SWIMMER_FEMALE_MELISSA, Text_188218, Text_18825C
Route20_EventScript_Melissa:: @ 81AB83F
trainerbattle_single TRAINER_SWIMMER_FEMALE_MELISSA, Route20_Text_MelissaIntro, Route20_Text_MelissaDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB866
msgbox Text_18827B, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_MelissaRematch
msgbox Route20_Text_MelissaPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB866:: @ 81AB866
trainerbattle_rematch TRAINER_SWIMMER_FEMALE_MELISSA, Text_1C31C4, Text_18825C
msgbox Text_18827B, MSGBOX_AUTOCLOSE
Route20_EventScript_MelissaRematch:: @ 81AB866
trainerbattle_rematch TRAINER_SWIMMER_FEMALE_MELISSA, Route20_Text_MelissaRematchIntro, Route20_Text_MelissaDefeat
msgbox Route20_Text_MelissaPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB87D:: @ 81AB87D
trainerbattle_single TRAINER_SWIMMER_FEMALE_SHIRLEY, Text_187EBB, Text_187EED
Route20_EventScript_Shirley:: @ 81AB87D
trainerbattle_single TRAINER_SWIMMER_FEMALE_SHIRLEY, Route20_Text_ShirleyIntro, Route20_Text_ShirleyDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB8A4
msgbox Text_187EF6, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_ShirleyRematch
msgbox Route20_Text_ShirleyPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB8A4:: @ 81AB8A4
trainerbattle_rematch TRAINER_SWIMMER_FEMALE_SHIRLEY, Text_1C302E, Text_187EED
msgbox Text_187EF6, MSGBOX_AUTOCLOSE
Route20_EventScript_ShirleyRematch:: @ 81AB8A4
trainerbattle_rematch TRAINER_SWIMMER_FEMALE_SHIRLEY, Route20_Text_ShirleyRematchIntro, Route20_Text_ShirleyDefeat
msgbox Route20_Text_ShirleyPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB8BB:: @ 81AB8BB
trainerbattle_single TRAINER_BIRD_KEEPER_ROGER, Text_18808E, Text_1880AB
Route20_EventScript_Roger:: @ 81AB8BB
trainerbattle_single TRAINER_BIRD_KEEPER_ROGER, Route20_Text_RogerIntro, Route20_Text_RogerDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB8E2
msgbox Text_1880C8, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_RogerRematch
msgbox Route20_Text_RogerPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB8E2:: @ 81AB8E2
trainerbattle_rematch TRAINER_BIRD_KEEPER_ROGER, Text_1C312C, Text_1880AB
msgbox Text_1880C8, MSGBOX_AUTOCLOSE
Route20_EventScript_RogerRematch:: @ 81AB8E2
trainerbattle_rematch TRAINER_BIRD_KEEPER_ROGER, Route20_Text_RogerRematchIntro, Route20_Text_RogerDefeat
msgbox Route20_Text_RogerPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB8F9:: @ 81AB8F9
trainerbattle_single TRAINER_PICNICKER_MISSY, Text_188165, Text_1881A3
Route20_EventScript_Missy:: @ 81AB8F9
trainerbattle_single TRAINER_PICNICKER_MISSY, Route20_Text_MissyIntro, Route20_Text_MissyDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB920
msgbox Text_1881B8, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_MissyRematch
msgbox Route20_Text_MissyPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB920:: @ 81AB920
trainerbattle_rematch TRAINER_PICNICKER_MISSY, Text_1C3185, Text_1881A3
msgbox Text_1881B8, MSGBOX_AUTOCLOSE
Route20_EventScript_MissyRematch:: @ 81AB920
trainerbattle_rematch TRAINER_PICNICKER_MISSY, Route20_Text_MissyRematchIntro, Route20_Text_MissyDefeat
msgbox Route20_Text_MissyPostBattle, MSGBOX_AUTOCLOSE
end
Route20_EventScript_1AB937:: @ 81AB937
trainerbattle_single TRAINER_PICNICKER_IRENE, Text_187F78, Text_187F92
Route20_EventScript_Irene:: @ 81AB937
trainerbattle_single TRAINER_PICNICKER_IRENE, Route20_Text_IreneIntro, Route20_Text_IreneDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB95E
msgbox Text_187FA3, MSGBOX_AUTOCLOSE
goto_if_eq Route20_EventScript_IreneRematch
msgbox Route20_Text_IrenePostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB95E:: @ 81AB95E
trainerbattle_rematch TRAINER_PICNICKER_IRENE, Text_1C3095, Text_187F92
msgbox Text_187FA3, MSGBOX_AUTOCLOSE
Route20_EventScript_IreneRematch:: @ 81AB95E
trainerbattle_rematch TRAINER_PICNICKER_IRENE, Route20_Text_IreneRematchIntro, Route20_Text_IreneDefeat
msgbox Route20_Text_IrenePostBattle, MSGBOX_AUTOCLOSE
end
Route21_North_EventScript_1AB975:: @ 81AB975
trainerbattle_single TRAINER_FISHERMAN_RONALD, Text_18835A, Text_188383
Route21_North_EventScript_Ronald:: @ 81AB975
trainerbattle_single TRAINER_FISHERMAN_RONALD, Route21_North_Text_RonaldIntro, Route21_North_Text_RonaldDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB99C
msgbox Text_188389, MSGBOX_AUTOCLOSE
goto_if_eq Route21_North_EventScript_RonaldRematch
msgbox Route21_North_Text_RonaldPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB99C:: @ 81AB99C
trainerbattle_rematch TRAINER_FISHERMAN_RONALD, Text_1C3208, Text_188383
msgbox Text_188389, MSGBOX_AUTOCLOSE
Route21_North_EventScript_RonaldRematch:: @ 81AB99C
trainerbattle_rematch TRAINER_FISHERMAN_RONALD, Route21_North_Text_RonaldRematchIntro, Route21_North_Text_RonaldDefeat
msgbox Route21_North_Text_RonaldPostBattle, MSGBOX_AUTOCLOSE
end
Route21_South_EventScript_1AB9B3:: @ 81AB9B3
trainerbattle_single TRAINER_FISHERMAN_CLAUDE, Text_1885D8, Text_1885F8
Route21_South_EventScript_Claude:: @ 81AB9B3
trainerbattle_single TRAINER_FISHERMAN_CLAUDE, Route21_South_Text_ClaudeIntro, Route21_South_Text_ClaudeDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1AB9DA
msgbox Text_188632, MSGBOX_AUTOCLOSE
goto_if_eq Route21_South_EventScript_ClaudeRematch
msgbox Route21_South_Text_ClaudePostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1AB9DA:: @ 81AB9DA
trainerbattle_rematch TRAINER_FISHERMAN_CLAUDE, Text_1C331D, Text_1885F8
msgbox Text_188632, MSGBOX_AUTOCLOSE
Route21_South_EventScript_ClaudeRematch:: @ 81AB9DA
trainerbattle_rematch TRAINER_FISHERMAN_CLAUDE, Route21_South_Text_ClaudeRematchIntro, Route21_South_Text_ClaudeDefeat
msgbox Route21_South_Text_ClaudePostBattle, MSGBOX_AUTOCLOSE
end
Route21_North_EventScript_1AB9F1:: @ 81AB9F1
trainerbattle_single TRAINER_FISHERMAN_WADE, Text_1883C6, Text_1883E9
Route21_North_EventScript_Wade:: @ 81AB9F1
trainerbattle_single TRAINER_FISHERMAN_WADE, Route21_North_Text_WadeIntro, Route21_North_Text_WadeDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1ABA18
msgbox Text_18841D, MSGBOX_AUTOCLOSE
goto_if_eq Route21_North_EventScript_WadeRematch
msgbox Route21_North_Text_WadePostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1ABA18:: @ 81ABA18
trainerbattle_rematch TRAINER_FISHERMAN_WADE, Text_1C3231, Text_1883E9
msgbox Text_18841D, MSGBOX_AUTOCLOSE
Route21_North_EventScript_WadeRematch:: @ 81ABA18
trainerbattle_rematch TRAINER_FISHERMAN_WADE, Route21_North_Text_WadeRematchIntro, Route21_North_Text_WadeDefeat
msgbox Route21_North_Text_WadePostBattle, MSGBOX_AUTOCLOSE
end
Route21_South_EventScript_1ABA2F:: @ 81ABA2F
trainerbattle_single TRAINER_FISHERMAN_NOLAN, Text_18868C, Text_1886AE
Route21_South_EventScript_Nolan:: @ 81ABA2F
trainerbattle_single TRAINER_FISHERMAN_NOLAN, Route21_South_Text_NolanIntro, Route21_South_Text_NolanDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1ABA56
msgbox Text_1886C5, MSGBOX_AUTOCLOSE
goto_if_eq Route21_South_EventScript_NolanRematch
msgbox Route21_South_Text_NolanPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1ABA56:: @ 81ABA56
trainerbattle_rematch TRAINER_FISHERMAN_NOLAN, Text_1C3356, Text_1886AE
msgbox Text_1886C5, MSGBOX_AUTOCLOSE
Route21_South_EventScript_NolanRematch:: @ 81ABA56
trainerbattle_rematch TRAINER_FISHERMAN_NOLAN, Route21_South_Text_NolanRematchIntro, Route21_South_Text_NolanDefeat
msgbox Route21_South_Text_NolanPostBattle, MSGBOX_AUTOCLOSE
end
Route21_North_EventScript_1ABA6D:: @ 81ABA6D
trainerbattle_single TRAINER_SWIMMER_MALE_SPENCER, Text_18843C, Text_18845F
Route21_North_EventScript_Spencer:: @ 81ABA6D
trainerbattle_single TRAINER_SWIMMER_MALE_SPENCER, Route21_North_Text_SpencerIntro, Route21_North_Text_SpencerDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1ABA94
msgbox Text_188465, MSGBOX_AUTOCLOSE
goto_if_eq Route21_North_EventScript_SpencerRematch
msgbox Route21_North_Text_SpencerPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1ABA94:: @ 81ABA94
trainerbattle_rematch TRAINER_SWIMMER_MALE_SPENCER, Text_1C3264, Text_18845F
msgbox Text_188465, MSGBOX_AUTOCLOSE
Route21_North_EventScript_SpencerRematch:: @ 81ABA94
trainerbattle_rematch TRAINER_SWIMMER_MALE_SPENCER, Route21_North_Text_SpencerRematchIntro, Route21_North_Text_SpencerDefeat
msgbox Route21_North_Text_SpencerPostBattle, MSGBOX_AUTOCLOSE
end
Route21_South_EventScript_1ABAAB:: @ 81ABAAB
trainerbattle_single TRAINER_SWIMMER_MALE_JACK, Text_1884D4, Text_1884F0
Route21_South_EventScript_Jack:: @ 81ABAAB
trainerbattle_single TRAINER_SWIMMER_MALE_JACK, Route21_South_Text_JackIntro, Route21_South_Text_JackDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1ABAD2
msgbox Text_1884FF, MSGBOX_AUTOCLOSE
goto_if_eq Route21_South_EventScript_JackRematch
msgbox Route21_South_Text_JackPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1ABAD2:: @ 81ABAD2
trainerbattle_rematch TRAINER_SWIMMER_MALE_JACK, Text_1C3298, Text_1884F0
msgbox Text_1884FF, MSGBOX_AUTOCLOSE
Route21_South_EventScript_JackRematch:: @ 81ABAD2
trainerbattle_rematch TRAINER_SWIMMER_MALE_JACK, Route21_South_Text_JackRematchIntro, Route21_South_Text_JackDefeat
msgbox Route21_South_Text_JackPostBattle, MSGBOX_AUTOCLOSE
end
Route21_South_EventScript_1ABAE9:: @ 81ABAE9
trainerbattle_single TRAINER_SWIMMER_MALE_JEROME, Text_18851F, Text_188543
Route21_South_EventScript_Jerome:: @ 81ABAE9
trainerbattle_single TRAINER_SWIMMER_MALE_JEROME, Route21_South_Text_JeromeIntro, Route21_South_Text_JeromeDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1ABB10
msgbox Text_188555, MSGBOX_AUTOCLOSE
goto_if_eq Route21_South_EventScript_JeromeRematch
msgbox Route21_South_Text_JeromePostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1ABB10:: @ 81ABB10
trainerbattle_rematch TRAINER_SWIMMER_MALE_JEROME, Text_1C32D3, Text_188543
msgbox Text_188555, MSGBOX_AUTOCLOSE
Route21_South_EventScript_JeromeRematch:: @ 81ABB10
trainerbattle_rematch TRAINER_SWIMMER_MALE_JEROME, Route21_South_Text_JeromeRematchIntro, Route21_South_Text_JeromeDefeat
msgbox Route21_South_Text_JeromePostBattle, MSGBOX_AUTOCLOSE
end
Route21_South_EventScript_1ABB27:: @ 81ABB27
trainerbattle_single TRAINER_SWIMMER_MALE_ROLAND, Text_188592, Text_1885B2
Route21_South_EventScript_Roland:: @ 81ABB27
trainerbattle_single TRAINER_SWIMMER_MALE_ROLAND, Route21_South_Text_RolandIntro, Route21_South_Text_RolandDefeat
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1ABB4E
msgbox Text_1885BF, MSGBOX_AUTOCLOSE
goto_if_eq Route21_South_EventScript_RolandRematch
msgbox Route21_South_Text_RolandPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1ABB4E:: @ 81ABB4E
trainerbattle_rematch TRAINER_SWIMMER_MALE_ROLAND, Text_1C32FD, Text_1885B2
msgbox Text_1885BF, MSGBOX_AUTOCLOSE
Route21_South_EventScript_RolandRematch:: @ 81ABB4E
trainerbattle_rematch TRAINER_SWIMMER_MALE_ROLAND, Route21_South_Text_RolandRematchIntro, Route21_South_Text_RolandDefeat
msgbox Route21_South_Text_RolandPostBattle, MSGBOX_AUTOCLOSE
end
Route21_North_EventScript_1ABB65:: @ 81ABB65
trainerbattle_double TRAINER_SIS_AND_BRO_LIL_IAN, Text_1886E2, Text_188712, Text_18875E
Route21_North_EventScript_Lil:: @ 81ABB65
trainerbattle_double TRAINER_SIS_AND_BRO_LIL_IAN, Route21_North_Text_LilIntro, Route21_North_Text_LilDefeat, Route21_North_Text_LilNotEnoughMons
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1ABB90
msgbox Text_188734, MSGBOX_AUTOCLOSE
goto_if_eq Route21_North_EventScript_LilRematch
msgbox Route21_North_Text_LilPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1ABB90:: @ 81ABB90
trainerbattle_rematch_double TRAINER_SIS_AND_BRO_LIL_IAN, Text_1C3378, Text_188712, Text_18875E
msgbox Text_188734, MSGBOX_AUTOCLOSE
Route21_North_EventScript_LilRematch:: @ 81ABB90
trainerbattle_rematch_double TRAINER_SIS_AND_BRO_LIL_IAN, Route21_North_Text_LilRematchIntro, Route21_North_Text_LilDefeat, Route21_North_Text_LilNotEnoughMons
msgbox Route21_North_Text_LilPostBattle, MSGBOX_AUTOCLOSE
end
Route21_North_EventScript_1ABBAB:: @ 81ABBAB
trainerbattle_double TRAINER_SIS_AND_BRO_LIL_IAN, Text_1887B4, Text_1887F1, Text_188850
Route21_North_EventScript_Ian:: @ 81ABBAB
trainerbattle_double TRAINER_SIS_AND_BRO_LIL_IAN, Route21_North_Text_IanIntro, Route21_North_Text_IanDefeat, Route21_North_Text_IanNotEnoughMons
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq EventScript_1ABBD6
msgbox Text_188812, MSGBOX_AUTOCLOSE
goto_if_eq Route21_North_EventScript_IanRematch
msgbox Route21_North_Text_IanPostBattle, MSGBOX_AUTOCLOSE
end
EventScript_1ABBD6:: @ 81ABBD6
trainerbattle_rematch_double TRAINER_SIS_AND_BRO_LIL_IAN, Text_1C33AE, Text_1887F1, Text_188850
msgbox Text_188812, MSGBOX_AUTOCLOSE
Route21_North_EventScript_IanRematch:: @ 81ABBD6
trainerbattle_rematch_double TRAINER_SIS_AND_BRO_LIL_IAN, Route21_North_Text_IanRematchIntro, Route21_North_Text_IanDefeat, Route21_North_Text_IanNotEnoughMons
msgbox Route21_North_Text_IanPostBattle, MSGBOX_AUTOCLOSE
end
OneIsland_KindleRoad_EventScript_1ABBF1:: @ 81ABBF1
+2 -2
View File
@@ -445,9 +445,9 @@ gSpecials:: @ 815FD60
def_special Special_BrailleCursorToggle
def_special Script_ResetUnionRoomTrade
def_special Special_PlayerPartyContainsSpeciesWithPlayerID
def_special sub_809C4A8
def_special AnimateTeleporterHousing
def_special IsDodrioInParty
def_special sub_809C5FC
def_special AnimateTeleporterCable
def_special Special_InitElevatorFloorSelectMenuPos
def_special Special_ComputeLoreleiDollCollection
def_special Special_LoopWingFlapSound
+35 -35
View File
@@ -559,147 +559,147 @@ Route19_Text_LucRematchIntro:: @ 81C2FAE
.string "about POKéMON.\p"
.string "I wonder if I'm better?$"
Text_1C2FF3:: @ 81C2FF3
Route20_Text_BarryRematchIntro:: @ 81C2FF3
.string "The water is shallow here.\n"
.string "There are many people swimming.$"
Text_1C302E:: @ 81C302E
Route20_Text_ShirleyRematchIntro:: @ 81C302E
.string "Are you jealous that I'm\n"
.string "vacationing on SEAFOAM?$"
Text_1C305F:: @ 81C305F
Route20_Text_TiffanyRematchIntro:: @ 81C305F
.string "I love floating with the fishes\n"
.string "here among the waves.$"
Text_1C3095:: @ 81C3095
Route20_Text_IreneRematchIntro:: @ 81C3095
.string "Were you on vacation, too?$"
Text_1C30B0:: @ 81C30B0
Route20_Text_DeanRematchIntro:: @ 81C30B0
.string "Check out my physique!\p"
.string "It's even more buff than ever\n"
.string "before!$"
Text_1C30ED:: @ 81C30ED
Route20_Text_DarrinRematchIntro:: @ 81C30ED
.string "Why are you riding a POKéMON?\n"
.string "Haven't you learned to swim yet?$"
Text_1C312C:: @ 81C312C
Route20_Text_RogerRematchIntro:: @ 81C312C
.string "I rode my bird POKéMON here.$"
Text_1C3149:: @ 81C3149
Route20_Text_NoraRematchIntro:: @ 81C3149
.string "My boyfriend gave me big pearls.\n"
.string "And, they've grown bigger!$"
Text_1C3185:: @ 81C3185
Route20_Text_MissyRematchIntro:: @ 81C3185
.string "I swam here from CINNABAR ISLAND.\n"
.string "It wasn't easy, like I said.$"
Text_1C31C4:: @ 81C31C4
Route20_Text_MelissaRematchIntro:: @ 81C31C4
.string "CINNABAR, in the west, has a LAB\n"
.string "for POKéMON.\p"
.string "My daddy works there.$"
Text_1C3208:: @ 81C3208
Route21_North_Text_RonaldRematchIntro:: @ 81C3208
.string "You want to know if the fish are\n"
.string "biting?$"
Text_1C3231:: @ 81C3231
Route21_North_Text_WadeRematchIntro:: @ 81C3231
.string "I got a big haul again!\n"
.string "Wanna go for it once more?$"
Text_1C3264:: @ 81C3264
Route21_North_Text_SpencerRematchIntro:: @ 81C3264
.string "The sea cleanses my body and soul!$"
Text_1C3287:: @ 81C3287
.string "きょうも およぎに\n"
.string "きちまったぜ$"
Text_1C3298:: @ 81C3298
Route21_South_Text_JackRematchIntro:: @ 81C3298
.string "I caught my POKéMON at sea.\n"
.string "And that's where I train them.$"
Text_1C32D3:: @ 81C32D3
Route21_South_Text_JeromeRematchIntro:: @ 81C32D3
.string "Right now, I'm in another triathlon\n"
.string "meet!$"
Text_1C32FD:: @ 81C32FD
Route21_South_Text_RolandRematchIntro:: @ 81C32FD
.string "Ahh!\n"
.string "Feel the sun and the wind!$"
Text_1C331D:: @ 81C331D
Route21_South_Text_ClaudeRematchIntro:: @ 81C331D
.string "Hey, cut it out already.\n"
.string "You always scare away the fish!$"
Text_1C3356:: @ 81C3356
Route21_South_Text_NolanRematchIntro:: @ 81C3356
.string "Keep me company till I get a hit.$"
Text_1C3378:: @ 81C3378
Route21_North_Text_LilRematchIntro:: @ 81C3378
.string "LIL: Huh? A battle again?\n"
.string "IAN, can't you do it alone?$"
Text_1C33AE:: @ 81C33AE
Route21_North_Text_IanRematchIntro:: @ 81C33AE
.string "IAN: My sis is still a slob.\n"
.string "Help me get her into shape!$"
Text_1C33E7:: @ 81C33E7
Route25_Text_JoeyRematchIntro:: @ 81C33E7
.string "I won't lose while I'm here!$"
Text_1C3404:: @ 81C3404
Route25_Text_DanRematchIntro:: @ 81C3404
.string "Dad took me to a great party on\n"
.string "the S.S. ANNE at VERMILION CITY.$"
Text_1C3445:: @ 81C3445
Route25_Text_FlintRematchIntro:: @ 81C3445
.string "I'm a cool guy.\n"
.string "I've got a girlfriend!\p"
.string "I'll show her how cool I am for\n"
.string "sure this time!$"
Text_1C349C:: @ 81C349C
Route25_Text_KelseyRematchIntro:: @ 81C349C
.string "Hi!\n"
.string "My boyfriend is cool!\l"
.string "My conditioning's good today!$"
Text_1C34D4:: @ 81C34D4
Route25_Text_ChadRematchIntro:: @ 81C34D4
.string "I had this feeling…\n"
.string "I knew I had to battle you again!$"
Text_1C350A:: @ 81C350A
Route25_Text_HaleyRematchIntro:: @ 81C350A
.string "My friend has many cute POKéMON.\n"
.string "I'm so jealous!$"
Text_1C353B:: @ 81C353B
Route25_Text_FranklinRematchIntro:: @ 81C353B
.string "I just trained up on MT. MOON,\n"
.string "but I've still got gas in the tank!$"
Text_1C357E:: @ 81C357E
Route25_Text_NobRematchIntro:: @ 81C357E
.string "A POKéMANIAC lives on the cape.\n"
.string "Have you seen his collection?$"
Text_1C35BC:: @ 81C35BC
Route25_Text_WayneRematchIntro:: @ 81C35BC
.string "You're going to see BILL again?\n"
.string "First, we battle!$"
Text_1C35EE:: @ 81C35EE
Route24_Text_ShaneRematchIntro:: @ 81C35EE
.string "I saw your feat from the grass!$"
Text_1C360E:: @ 81C360E
Route24_Text_EthanRematchIntro:: @ 81C360E
.string "Okay!\n"
.string "I'll stomp you!$"
Text_1C3624:: @ 81C3624
Route24_Text_ReliRematchIntro:: @ 81C3624
.string "You always look so busy…\n"
.string "Aren't you getting tired?$"
Text_1C3657:: @ 81C3657
Route24_Text_TimmyRematchIntro:: @ 81C3657
.string "You really must love coming to\n"
.string "NUGGET BRIDGE.$"
Text_1C3685:: @ 81C3685
Route24_Text_AliRematchIntro:: @ 81C3685
.string "The time we battled…\p"
.string "Even though I was the second in\n"
.string "line, I was the best, wasn't I?$"
Text_1C36DA:: @ 81C36DA
Route24_Text_CaleRematchIntro:: @ 81C36DA
.string "People call this the NUGGET\n"
.string "BRIDGE!\p"
.string "You've already beaten us, so you're\n"
+36 -1
View File
@@ -14,7 +14,30 @@
// gTileset_Mart
#define METATILE_Mart_CounterMid_Top 0x2BF
#define METATILE_Mart_CounterMid_Bottom 0x2C0
#define METATILE_Mart_CounterMid_Bottom 0x2C0
// gTileset_PokemonCenter
#define METATILE_PokemonCenter_Escalator_Top_Normal 0x2E4
#define METATILE_PokemonCenter_Escalator_Top_Transition1 0x317
#define METATILE_PokemonCenter_Escalator_Top_Transition2 0x315
#define METATILE_PokemonCenter_Escalator_TopNext_Normal 0x2E3
#define METATILE_PokemonCenter_Escalator_TopNext_Transition1 0x316
#define METATILE_PokemonCenter_Escalator_TopNext_Transition2 0x314
#define METATILE_PokemonCenter_Escalator_TopNextRail_Normal 0x2EB
#define METATILE_PokemonCenter_Escalator_TopNextRail_Transition1 0x31E
#define METATILE_PokemonCenter_Escalator_TopNextRail_Transition2 0x31C
#define METATILE_PokemonCenter_Escalator_Bottom_Normal 0x2D9
#define METATILE_PokemonCenter_Escalator_Bottom_Transition1 0x313
#define METATILE_PokemonCenter_Escalator_Bottom_Transition2 0x311
#define METATILE_PokemonCenter_Escalator_BottomRail_Normal 0x2D1
#define METATILE_PokemonCenter_Escalator_BottomRail_Transition1 0x30B
#define METATILE_PokemonCenter_Escalator_BottomRail_Transition2 0x309
#define METATILE_PokemonCenter_Escalator_BottomNext_Normal 0x2D8
#define METATILE_PokemonCenter_Escalator_BottomNext_Transition1 0x312
#define METATILE_PokemonCenter_Escalator_BottomNext_Transition2 0x310
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Normal 0x2D0
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Transition1 0x30A
#define METATILE_PokemonCenter_Escalator_BottomNextRail_Transition2 0x308
// gTileset_VermilionGym
#define METATILE_VermilionGym_Floor 0x281
@@ -47,6 +70,18 @@
#define METATILE_VermilionGym_Beam_Node_BottomRight_Edge_HalfOn 0x2C6
#define METATILE_VermilionGym_Beam_Node_BottomRight_HalfOn 0x2C7
// gTileset_SeaCottage
#define METATILE_SeaCottage_Teleporter_Light_Green 0x28A
#define METATILE_SeaCottage_Teleporter_Light_Yellow 0x2B5
#define METATILE_SeaCottage_Teleporter_Light_Red 0x2B6
#define METATILE_SeaCottage_Teleporter_Cable_Top 0x285
#define METATILE_SeaCottage_Teleporter_Cable_Bottom 0x2B4
#define METATILE_SeaCottage_Teleporter_CableBall_Top 0x2B9
#define METATILE_SeaCottage_Teleporter_CableBall_Bottom 0x2BA
#define METATILE_SeaCottage_Teleporter_Door 0x296
#define METATILE_SeaCottage_Teleporter_Door_HalfGlowing 0x2B7
#define METATILE_SeaCottage_Teleporter_Door_FullGlowing 0x2B8
// gTileset_GameCorner
#define METATILE_GameCorner_Floor_ShadeFull 0x292
#define METATILE_GameCorner_Floor_StairsTop 0x29D
+2
View File
@@ -3,6 +3,8 @@
#define OBJECT_EVENTS_COUNT 16
#define METATILE_COLLISION_MASK 0x0C00
enum
{
CONNECTION_SOUTH = 1,
-12
View File
@@ -1,12 +0,0 @@
#ifndef GUARD_SEA_COTTAGE_SPECIAL_ANIM_H
#define GUARD_SEA_COTTAGE_SPECIAL_ANIM_H
#include "global.h"
void sub_809C448(u8 a0);
void sub_809C460(void);
bool8 sub_809C474(void);
void sub_809C4A8(void);
void sub_809C5FC(void);
#endif // GUARD_SEA_COTTAGE_SPECIAL_ANIM_H
+10
View File
@@ -0,0 +1,10 @@
#ifndef GUARD_SPECIAL_FIELD_ANIM_H
#define GUARD_SPECIAL_FIELD_ANIM_H
#include "global.h"
void StartEscalator(u8 a0);
void StopEscalator(void);
bool8 IsEscalatorMoving(void);
#endif // GUARD_SPECIAL_FIELD_ANIM_H
+2 -2
View File
@@ -138,7 +138,7 @@ SECTIONS {
src/battle_anim_mon_movement.o(.text);
src/item.o(.text);
src/shop.o(.text);
src/sea_cottage_special_anim.o(.text);
src/special_field_anim.o(.text);
src/berry.o(.text);
src/script_menu.o(.text);
asm/naming_screen.o(.text);
@@ -455,7 +455,7 @@ SECTIONS {
src/battle_anim_mon_movement.o(.rodata);
src/item.o(.rodata);
src/shop.o(.rodata);
src/sea_cottage_special_anim.o(.rodata);
src/special_field_anim.o(.rodata);
src/berry.o(.rodata);
src/script_menu.o(.rodata);
data/naming_screen.o(.rodata);
-262
View File
@@ -1,262 +0,0 @@
#include "global.h"
#include "event_data.h"
#include "task.h"
#include "field_player_avatar.h"
#include "fieldmap.h"
#include "field_camera.h"
static EWRAM_DATA u8 gUnknown_2039984 = 0;
static void sub_809C1D8(u8 taskId, const s16 *a1, u16 a2);
static void sub_809C334(u8 taskId);
static void sub_809C500(u8 taskId);
static void sub_809C640(u8 taskId);
static const u16 gUnknown_83DF0D4[] = {0x0308, 0x030a, 0x02d0};
static const u16 gUnknown_83DF0DA[] = {0x0309, 0x030b, 0x02d1};
static const u16 gUnknown_83DF0E0[] = {0x0310, 0x0312, 0x02d8};
static const u16 gUnknown_83DF0E6[] = {0x0311, 0x0313, 0x02d9};
static const u16 gUnknown_83DF0EC[] = {0x02e3, 0x0316, 0x0314};
static const u16 gUnknown_83DF0F2[] = {0x02e4, 0x0317, 0x0315};
static const u16 gUnknown_83DF0F8[] = {0x02eb, 0x031e, 0x031c};
// Functions
static void sub_809C1D8(u8 taskId, const s16 *a1, u16 a2)
{
s16 r5, r3, r4;
s16 i, j;
r5 = gTasks[taskId].data[4] - 1;
r3 = gTasks[taskId].data[5] - 1;
r4 = gTasks[taskId].data[1];
if (gTasks[taskId].data[2] == 0)
{
for (i = 0; i < 3; i++)
{
for (j = 0; j < 3; j++)
{
s32 id = MapGridGetMetatileIdAt(r5 + j, r3 + i);
if (a1[r4] == (s16)id)
{
if (r4 != 2)
MapGridSetMetatileIdAt(r5 + j, r3 + i, a2 | a1[r4 + 1]);
else
MapGridSetMetatileIdAt(r5 + j, r3 + i, a2 | a1[0]);
}
}
}
}
else
{
for (i = 0; i < 3; i++)
{
for (j = 0; j < 3; j++)
{
s32 id = MapGridGetMetatileIdAt(r5 + j, r3 + i);
if (a1[2 - r4] == (s16)id)
{
if (r4 != 2)
MapGridSetMetatileIdAt(r5 + j, r3 + i, a2 | a1[1 - r4]);
else
MapGridSetMetatileIdAt(r5 + j, r3 + i, a2 | a1[2]);
}
}
}
}
}
static void sub_809C334(u8 taskId)
{
s16 *data = gTasks[taskId].data;
u16 v1;
data[3] = 1;
switch (data[0])
{
case 0:
sub_809C1D8(taskId, gUnknown_83DF0D4, 0);
break;
case 1:
sub_809C1D8(taskId, gUnknown_83DF0DA, 0);
break;
case 2:
sub_809C1D8(taskId, gUnknown_83DF0E0, 0xC00);
break;
case 3:
sub_809C1D8(taskId, gUnknown_83DF0E6, 0);
break;
case 4:
sub_809C1D8(taskId, gUnknown_83DF0EC, 0xC00);
break;
case 5:
sub_809C1D8(taskId, gUnknown_83DF0F2, 0);
break;
case 6:
sub_809C1D8(taskId, gUnknown_83DF0F8, 0);
default:
break;
}
data[0] = (data[0] + 1) & 7;
v1 = data[0] & 7;
if (v1 == 0)
{
DrawWholeMapView();
data[1] = (data[1] + 1) % 3;
data[3] = v1;
}
}
static u8 sub_809C3FC(u16 a0)
{
u8 taskId;
s16 *data;
taskId = CreateTask(sub_809C334, 0);
data = gTasks[taskId].data;
PlayerGetDestCoords(&data[4], &data[5]);
data[0] = 0;
data[1] = 0;
data[2] = a0;
sub_809C334(taskId);
return taskId;
}
void sub_809C448(u8 a0)
{
u8 taskId;
taskId = sub_809C3FC(a0);
gUnknown_2039984 = taskId;
}
void sub_809C460(void)
{
DestroyTask(gUnknown_2039984);
}
bool8 sub_809C474(void)
{
if (gTasks[gUnknown_2039984].data[3] == 0)
{
if (gTasks[gUnknown_2039984].data[1] != 2)
return TRUE;
return FALSE;
}
else
{
return TRUE;
}
}
// special 0x1b5 - creates a tile animaiton one block left two-four up the player
void sub_809C4A8(void)
{
u8 taskId;
s16 *data;
taskId = CreateTask(sub_809C500, 0);
gTasks[taskId].data[0] = 0;
gTasks[taskId].data[1] = 0;
data = gTasks[taskId].data;
PlayerGetDestCoords(&data[2], &data[3]);
if (gSpecialVar_0x8004 == 0)
{
gTasks[taskId].data[2] += 6;
gTasks[taskId].data[3] -= 5;
}
else
{
gTasks[taskId].data[2]--;
gTasks[taskId].data[3] -= 5;
}
}
static void sub_809C500(u8 taskId)
{
s16 *data = gTasks[taskId].data;
if (data[0] == 0)
{
if ((data[1] & 1) == 0)
{
MapGridSetMetatileIdAt(data[2], data[3], 0xEB5);
MapGridSetMetatileIdAt(data[2], data[3] + 2, 0xEB7);
}
else
{
MapGridSetMetatileIdAt(data[2], data[3], 0xEB6);
MapGridSetMetatileIdAt(data[2], data[3] + 2, 0xEB8);
}
CurrentMapDrawMetatileAt(data[2], data[3]);
CurrentMapDrawMetatileAt(data[2], data[3] + 2);
}
data[0]++;
if (data[0] != 0x10)
return;
data[0] = 0;
data[1]++;
if (data[1] != 0xD)
return;
MapGridSetMetatileIdAt(data[2], data[3], 0xE8A);
MapGridSetMetatileIdAt(data[2], data[3] + 2, 0xE96);
CurrentMapDrawMetatileAt(data[2], data[3]);
CurrentMapDrawMetatileAt(data[2], data[3] + 2);
DestroyTask(taskId);
}
// special 0x1B7 - creates a tile animation two-six blocks right from the top-left corner of the screen
void sub_809C5FC(void)
{
u8 taskId;
s16 *data;
taskId = CreateTask(sub_809C640, 0);
gTasks[taskId].data[0] = 0;
gTasks[taskId].data[1] = 0;
data = gTasks[taskId].data;
PlayerGetDestCoords(&data[2], &data[3]);
gTasks[taskId].data[2] += 4;
gTasks[taskId].data[3] -= 5;
}
static void sub_809C640(u8 taskId)
{
s16 *data = gTasks[taskId].data;
if (data[0] == 0)
{
if (data[1] != 0)
{
MapGridSetMetatileIdAt(data[2], data[3], 0xE85);
MapGridSetMetatileIdAt(data[2], data[3] + 1, 0xEB4);
CurrentMapDrawMetatileAt(data[2], data[3]);
CurrentMapDrawMetatileAt(data[2], data[3] + 1);
if (data[1] == 4)
{
DestroyTask(taskId);
return;
}
data[2]--;
}
MapGridSetMetatileIdAt(data[2], data[3], 0xEB9);
MapGridSetMetatileIdAt(data[2], data[3] + 1, 0xEBA);
CurrentMapDrawMetatileAt(data[2], data[3]);
CurrentMapDrawMetatileAt(data[2], data[3] + 1);
}
data[0]++;
if (data[0] == 4)
{
data[0] = 0;
data[1]++;
}
}
+341
View File
@@ -0,0 +1,341 @@
#include "global.h"
#include "event_data.h"
#include "task.h"
#include "field_player_avatar.h"
#include "fieldmap.h"
#include "field_camera.h"
#include "constants/metatile_labels.h"
static EWRAM_DATA u8 sEscalatorTaskId = 0;
static void SetEscalatorMetatile(u8 taskId, const s16 *metatileIds, u16 metatileMasks);
static void Task_DrawEscalator(u8 taskId);
static void Task_DrawTeleporterHousing(u8 taskId);
static void Task_DrawTeleporterCable(u8 taskId);
#define ESCALATOR_STAGES 3
#define LAST_ESCALATOR_STAGE (ESCALATOR_STAGES - 1)
static const u16 sEscalatorMetatiles_BottomNextRail[ESCALATOR_STAGES] =
{
METATILE_PokemonCenter_Escalator_BottomNextRail_Transition2,
METATILE_PokemonCenter_Escalator_BottomNextRail_Transition1,
METATILE_PokemonCenter_Escalator_BottomNextRail_Normal
};
static const u16 sEscalatorMetatiles_BottomRail[ESCALATOR_STAGES] =
{
METATILE_PokemonCenter_Escalator_BottomRail_Transition2,
METATILE_PokemonCenter_Escalator_BottomRail_Transition1,
METATILE_PokemonCenter_Escalator_BottomRail_Normal
};
static const u16 sEscalatorMetatiles_BottomNext[ESCALATOR_STAGES] =
{
METATILE_PokemonCenter_Escalator_BottomNext_Transition2,
METATILE_PokemonCenter_Escalator_BottomNext_Transition1,
METATILE_PokemonCenter_Escalator_BottomNext_Normal
};
static const u16 sEscalatorMetatiles_Bottom[ESCALATOR_STAGES] =
{
METATILE_PokemonCenter_Escalator_Bottom_Transition2,
METATILE_PokemonCenter_Escalator_Bottom_Transition1,
METATILE_PokemonCenter_Escalator_Bottom_Normal
};
static const u16 sEscalatorMetatiles_TopNext[ESCALATOR_STAGES] =
{
METATILE_PokemonCenter_Escalator_TopNext_Normal,
METATILE_PokemonCenter_Escalator_TopNext_Transition1,
METATILE_PokemonCenter_Escalator_TopNext_Transition2
};
static const u16 sEscalatorMetatiles_Top[ESCALATOR_STAGES] =
{
METATILE_PokemonCenter_Escalator_Top_Normal,
METATILE_PokemonCenter_Escalator_Top_Transition1,
METATILE_PokemonCenter_Escalator_Top_Transition2
};
static const u16 sEscalatorMetatiles_TopNextRail[ESCALATOR_STAGES] =
{
METATILE_PokemonCenter_Escalator_TopNextRail_Normal,
METATILE_PokemonCenter_Escalator_TopNextRail_Transition1,
METATILE_PokemonCenter_Escalator_TopNextRail_Transition2
};
#define tState data[0]
#define tTransitionStage data[1]
#define tGoingUp data[2]
#define tDrawingEscalator data[3]
#define tPlayerX data[4]
#define tPlayerY data[5]
static void SetEscalatorMetatile(u8 taskId, const s16 *metatileIds, u16 metatileMasks)
{
s16 x, y, transitionStage;
s16 i, j;
x = gTasks[taskId].tPlayerX - 1;
y = gTasks[taskId].tPlayerY - 1;
transitionStage = gTasks[taskId].tTransitionStage;
// Check all the escalator sections and only progress the selected one to the next stage
if (!gTasks[taskId].tGoingUp)
{
for (i = 0; i < 3; i++)
{
for (j = 0; j < 3; j++)
{
s32 id = MapGridGetMetatileIdAt(x + j, y + i);
if (metatileIds[transitionStage] == (s16)id)
{
if (transitionStage != LAST_ESCALATOR_STAGE)
MapGridSetMetatileIdAt(x + j, y + i, metatileMasks | metatileIds[transitionStage + 1]);
else
MapGridSetMetatileIdAt(x + j, y + i, metatileMasks | metatileIds[0]);
}
}
}
}
else
{
for (i = 0; i < 3; i++)
{
for (j = 0; j < 3; j++)
{
s32 id = MapGridGetMetatileIdAt(x + j, y + i);
if (metatileIds[LAST_ESCALATOR_STAGE - transitionStage] == (s16)id)
{
if (transitionStage != LAST_ESCALATOR_STAGE)
MapGridSetMetatileIdAt(x + j, y + i, metatileMasks | metatileIds[1 - transitionStage]);
else
MapGridSetMetatileIdAt(x + j, y + i, metatileMasks | metatileIds[LAST_ESCALATOR_STAGE]);
}
}
}
}
}
static void Task_DrawEscalator(u8 taskId)
{
s16 *data = gTasks[taskId].data;
u16 state;
tDrawingEscalator = TRUE;
// Set tile for each section of the escalator in sequence for current transition stage
switch (tState)
{
case 0:
SetEscalatorMetatile(taskId, sEscalatorMetatiles_BottomNextRail, 0);
break;
case 1:
SetEscalatorMetatile(taskId, sEscalatorMetatiles_BottomRail, 0);
break;
case 2:
SetEscalatorMetatile(taskId, sEscalatorMetatiles_BottomNext, METATILE_COLLISION_MASK);
break;
case 3:
SetEscalatorMetatile(taskId, sEscalatorMetatiles_Bottom, 0);
break;
case 4:
SetEscalatorMetatile(taskId, sEscalatorMetatiles_TopNext, METATILE_COLLISION_MASK);
break;
case 5:
SetEscalatorMetatile(taskId, sEscalatorMetatiles_Top, 0);
break;
case 6:
SetEscalatorMetatile(taskId, sEscalatorMetatiles_TopNextRail, 0);
default:
break;
}
tState = (tState + 1) & 7;
state = tState & 7;
// If all sections of the escalator have been set, draw map and progress to next stage
if (state == 0)
{
DrawWholeMapView();
tTransitionStage = (tTransitionStage + 1) % ESCALATOR_STAGES;
tDrawingEscalator = FALSE;
}
}
static u8 CreateEscalatorTask(bool16 goingUp)
{
u8 taskId;
s16 *data;
taskId = CreateTask(Task_DrawEscalator, 0);
data = gTasks[taskId].data;
PlayerGetDestCoords(&tPlayerX, &tPlayerY);
tState = 0;
tTransitionStage = 0;
tGoingUp = goingUp;
Task_DrawEscalator(taskId);
return taskId;
}
void StartEscalator(bool8 goingUp)
{
u8 taskId;
taskId = CreateEscalatorTask(goingUp);
sEscalatorTaskId = taskId;
}
void StopEscalator(void)
{
DestroyTask(sEscalatorTaskId);
}
bool8 IsEscalatorMoving(void)
{
if (gTasks[sEscalatorTaskId].tDrawingEscalator == FALSE)
{
if (gTasks[sEscalatorTaskId].tTransitionStage != LAST_ESCALATOR_STAGE)
return TRUE;
return FALSE;
}
else
{
return TRUE;
}
}
#undef tState
#undef tTransitionStage
#undef tGoingUp
#undef tDrawingEscalator
#undef tPlayerX
#undef tPlayerY
#define tTimer data[0]
#define tState data[1]
#define tX data[2]
#define tY data[3]
void AnimateTeleporterHousing(void)
{
u8 taskId;
s16 *data;
taskId = CreateTask(Task_DrawTeleporterHousing, 0);
gTasks[taskId].tTimer = 0;
gTasks[taskId].tState = 0;
data = gTasks[taskId].data;
PlayerGetDestCoords(&tX, &tY);
// Set the coords of whichever teleporter is being animated
// 0 for the right teleporter, 1 for the left teleporter
if (gSpecialVar_0x8004 == 0)
{
gTasks[taskId].tX += 6;
gTasks[taskId].tY -= 5;
}
else
{
gTasks[taskId].tX -= 1;
gTasks[taskId].tY -= 5;
}
}
static void Task_DrawTeleporterHousing(u8 taskId)
{
s16 *data = gTasks[taskId].data;
if (tTimer == 0)
{
// Alternate the teleporter light / brightness of the teleporter door
if ((tState & 1) == 0)
{
MapGridSetMetatileIdAt(tX, tY, METATILE_SeaCottage_Teleporter_Light_Yellow | METATILE_COLLISION_MASK);
MapGridSetMetatileIdAt(tX, tY + 2, METATILE_SeaCottage_Teleporter_Door_HalfGlowing | METATILE_COLLISION_MASK);
}
else
{
MapGridSetMetatileIdAt(tX, tY, METATILE_SeaCottage_Teleporter_Light_Red | METATILE_COLLISION_MASK);
MapGridSetMetatileIdAt(tX, tY + 2, METATILE_SeaCottage_Teleporter_Door_FullGlowing | METATILE_COLLISION_MASK);
}
CurrentMapDrawMetatileAt(tX, tY);
CurrentMapDrawMetatileAt(tX, tY + 2);
}
tTimer++;
if (tTimer != 16)
return;
tTimer = 0;
tState++;
if (tState != 13)
return;
MapGridSetMetatileIdAt(tX, tY, METATILE_SeaCottage_Teleporter_Light_Green | METATILE_COLLISION_MASK);
MapGridSetMetatileIdAt(tX, tY + 2, METATILE_SeaCottage_Teleporter_Door | METATILE_COLLISION_MASK);
CurrentMapDrawMetatileAt(tX, tY);
CurrentMapDrawMetatileAt(tX, tY + 2);
DestroyTask(taskId);
}
void AnimateTeleporterCable(void)
{
u8 taskId;
s16 *data;
taskId = CreateTask(Task_DrawTeleporterCable, 0);
gTasks[taskId].tTimer = 0;
gTasks[taskId].tState = 0;
data = gTasks[taskId].data;
PlayerGetDestCoords(&tX, &tY);
gTasks[taskId].tX += 4;
gTasks[taskId].tY -= 5;
}
static void Task_DrawTeleporterCable(u8 taskId)
{
s16 *data = gTasks[taskId].data;
if (tTimer == 0)
{
if (tState != 0)
{
// Set default cable tiles to clear the ball
MapGridSetMetatileIdAt(tX, tY, METATILE_SeaCottage_Teleporter_Cable_Top | METATILE_COLLISION_MASK);
MapGridSetMetatileIdAt(tX, tY + 1, METATILE_SeaCottage_Teleporter_Cable_Bottom | METATILE_COLLISION_MASK);
CurrentMapDrawMetatileAt(tX, tY);
CurrentMapDrawMetatileAt(tX, tY + 1);
// End after drawing 4 times (length of the cable)
if (tState == 4)
{
DestroyTask(taskId);
return;
}
tX--;
}
// Draw the cable ball
MapGridSetMetatileIdAt(tX, tY, METATILE_SeaCottage_Teleporter_CableBall_Top | METATILE_COLLISION_MASK);
MapGridSetMetatileIdAt(tX, tY + 1, METATILE_SeaCottage_Teleporter_CableBall_Bottom | METATILE_COLLISION_MASK);
CurrentMapDrawMetatileAt(tX, tY);
CurrentMapDrawMetatileAt(tX, tY + 1);
}
tTimer++;
if (tTimer == 4)
{
tTimer = 0;
tState++;
}
}
#undef tTimer
#undef tState
#undef tX
#undef tY
+1 -1
View File
@@ -229,7 +229,7 @@ gBagPockets: @ 203988C
.align 2
.include "src/shop.o"
.align 2
.include "src/sea_cottage_special_anim.o"
.include "src/special_field_anim.o"
.align 2
.include "src/script_menu.o"