2022-05-19 19:14:13 +02:00
|
|
|
RustboroCity_Gym_MapScripts::
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_Roxanne::
|
|
|
|
trainerbattle_single TRAINER_ROXANNE_1, RustboroCity_Gym_Text_RoxanneIntro, RustboroCity_Gym_Text_RoxanneDefeat, RustboroCity_Gym_EventScript_RoxanneDefeated, NO_MUSIC
|
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
|
|
|
goto_if_eq VAR_RESULT, TRUE, RustboroCity_Gym_EventScript_RoxanneRematch
|
|
|
|
goto_if_unset FLAG_RECEIVED_TM39, RustboroCity_Gym_EventScript_GiveRockTomb
|
|
|
|
msgbox RustboroCity_Gym_Text_RoxannePostBattle, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_RoxanneDefeated::
|
|
|
|
message RustboroCity_Gym_Text_ReceivedStoneBadge
|
|
|
|
waitmessage
|
|
|
|
call Common_EventScript_PlayGymBadgeFanfare
|
|
|
|
msgbox RustboroCity_Gym_Text_StoneBadgeInfoTakeThis, MSGBOX_DEFAULT
|
|
|
|
setflag FLAG_DEFEATED_RUSTBORO_GYM
|
|
|
|
setflag FLAG_BADGE01_GET
|
|
|
|
setvar VAR_RUSTBORO_CITY_STATE, 1
|
|
|
|
addvar VAR_PETALBURG_GYM_STATE, 1
|
|
|
|
setvar VAR_0x8008, 1
|
|
|
|
call Common_EventScript_SetGymTrainers
|
|
|
|
call_if_eq VAR_PETALBURG_GYM_STATE, 6, Common_EventScript_ReadyPetalburgGymForBattle
|
|
|
|
goto RustboroCity_Gym_EventScript_GiveRockTomb
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_GiveRockTomb::
|
|
|
|
giveitem ITEM_TM39
|
|
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
|
|
|
setflag FLAG_RECEIVED_TM39
|
|
|
|
msgbox RustboroCity_Gym_Text_ExplainRockTomb, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_RoxanneRematch::
|
|
|
|
trainerbattle_rematch_double TRAINER_ROXANNE_1, RustboroCity_Gym_Text_RoxannePreRematch, RustboroCity_Gym_Text_RoxanneRematchDefeat, RustboroCity_Gym_Text_RoxanneRematchNeedTwoMons
|
|
|
|
msgbox RustboroCity_Gym_Text_RoxannePostRematch, MSGBOX_AUTOCLOSE
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_Josh::
|
|
|
|
trainerbattle_single TRAINER_JOSH, RustboroCity_Gym_Text_JoshIntro, RustboroCity_Gym_Text_JoshDefeat
|
|
|
|
msgbox RustboroCity_Gym_Text_JoshPostBattle, MSGBOX_AUTOCLOSE
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_Tommy::
|
|
|
|
trainerbattle_single TRAINER_TOMMY, RustboroCity_Gym_Text_TommyIntro, RustboroCity_Gym_Text_TommyDefeat
|
|
|
|
msgbox RustboroCity_Gym_Text_TommyPostBattle, MSGBOX_AUTOCLOSE
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_Marc::
|
|
|
|
trainerbattle_single TRAINER_MARC, RustboroCity_Gym_Text_MarcIntro, RustboroCity_Gym_Text_MarcDefeat
|
|
|
|
msgbox RustboroCity_Gym_Text_MarcPostBattle, MSGBOX_AUTOCLOSE
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_GymGuide::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_DEFEATED_RUSTBORO_GYM, RustboroCity_Gym_EventScript_GymGuidePostVictory
|
|
|
|
msgbox RustboroCity_Gym_Text_GymGuideAdvice, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_GymGuidePostVictory::
|
|
|
|
msgbox RustboroCity_Gym_Text_GymGuidePostVictory, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_LeftGymStatue::
|
|
|
|
lockall
|
|
|
|
goto_if_set FLAG_BADGE01_GET, RustboroCity_Gym_EventScript_GymStatueCertified
|
|
|
|
goto RustboroCity_Gym_EventScript_GymStatue
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_RightGymStatue::
|
|
|
|
lockall
|
|
|
|
goto_if_set FLAG_BADGE01_GET, RustboroCity_Gym_EventScript_GymStatueCertified
|
|
|
|
goto RustboroCity_Gym_EventScript_GymStatue
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_GymStatueCertified::
|
|
|
|
msgbox RustboroCity_Gym_Text_GymStatueCertified, MSGBOX_DEFAULT
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_GymStatue::
|
|
|
|
msgbox RustboroCity_Gym_Text_GymStatue, MSGBOX_DEFAULT
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_EventScript_RegisterRoxanne::
|
|
|
|
lockall
|
|
|
|
pokenavcall RustboroCity_Gym_Text_RoxanneRegisterCall
|
|
|
|
waitmessage
|
|
|
|
delay 30
|
|
|
|
playfanfare MUS_REGISTER_MATCH_CALL
|
|
|
|
msgbox RustboroCity_Gym_Text_RegisteredRoxanne, MSGBOX_DEFAULT
|
|
|
|
waitfanfare
|
|
|
|
closemessage
|
|
|
|
delay 30
|
|
|
|
setflag FLAG_ENABLE_ROXANNE_MATCH_CALL
|
|
|
|
clearflag FLAG_ENABLE_ROXANNE_FIRST_CALL
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_GymGuideAdvice:
|
|
|
|
.string "Yo, how's it going?\p"
|
|
|
|
.string "Listen, my friend!\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Would you like to become the Champion?\p"
|
|
|
|
.string "I'm no Trainer, not me, but I can\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "sure give you winning advice.\p"
|
|
|
|
.string "That's settled, then! We'll aim for the\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Pokémon Championship together!\p"
|
|
|
|
.string "It's your job as a Trainer to collect\n"
|
|
|
|
.string "Gym Badges, am I right?\p"
|
|
|
|
.string "But Gym Leaders aren't pushovers!\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "And that's where I come in!\n"
|
|
|
|
.string "I'm here to provide expert advice!\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Roxanne, the Gym Leader, is a user\n"
|
|
|
|
.string "of Rock-type Pokémon.\p"
|
|
|
|
.string "The Rock type is very durable, but\n"
|
|
|
|
.string "it can't stand Water-type and\l"
|
|
|
|
.string "Grass-type moves.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Come see me afterwards, if you beat\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "the Gym Leader.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Well, go for it!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_GymGuidePostVictory:
|
|
|
|
.string "Whoa! What a breathtaking victory!\n"
|
|
|
|
.string "My cheering must've worked!\p"
|
|
|
|
.string "Great!\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Check your Trainer Card.\p"
|
|
|
|
.string "The Stone Badge you got should be\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "properly recorded on it.\p"
|
|
|
|
.string "In other words…\p"
|
|
|
|
.string "You've climbed the first step on\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "the stairs to the Championship!\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "That's got to feel awesome!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_JoshIntro:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Don't take us Gym Trainers lightly!\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'll show you why we're better!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_JoshDefeat:
|
|
|
|
.string "You were too good for me…$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_JoshPostBattle:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "You haven't seen anything of the Rock\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "type's terrifying power!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_TommyIntro:
|
|
|
|
.string "If you can't beat me, you won't stand\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "a chance against Roxanne!$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
RustboroCity_Gym_Text_TommyDefeat:
|
|
|
|
.string "Wow! You've got some potential!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_TommyPostBattle:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Roxanne is stronger than me by\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "several times.\p"
|
|
|
|
.string "You'd better be on your guard!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_MarcIntro:
|
|
|
|
.string "We might be in the middle of town,\n"
|
|
|
|
.string "but so what?\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "My Rock Pokémon need room to\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "rampage!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_MarcDefeat:
|
|
|
|
.string "Oh, man oh man!\n"
|
|
|
|
.string "Our challenger is one feisty customer!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_MarcPostBattle:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I have to hand it to our Leader.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "It took smarts and sense for her to\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "pick the Rock type at her young age.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RoxanneIntro:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Hello, I am Roxanne, the Rustboro\n"
|
|
|
|
.string "Pokémon Gym Leader.\p"
|
|
|
|
.string "I became a Gym Leader so that I might\n"
|
|
|
|
.string "apply what I learned at the Pokémon\l"
|
|
|
|
.string "Trainer's School in battle.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Would you kindly demonstrate how you\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "battle, and with which Pokémon?$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RoxanneDefeat:
|
|
|
|
.string "So…\n"
|
|
|
|
.string "I lost…\p"
|
|
|
|
.string "It seems that I still have much more\n"
|
|
|
|
.string "to learn…\p"
|
|
|
|
.string "I understand.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "The Pokémon League's rules state\n"
|
|
|
|
.string "that Trainers are to be given this\l"
|
|
|
|
.string "if they defeat a Gym Leader.\p"
|
|
|
|
.string "Please accept the official Pokémon\n"
|
|
|
|
.string "League Stone Badge.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
RustboroCity_Gym_Text_ReceivedStoneBadge:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "{PLAYER} received the Stone Badge\n"
|
|
|
|
.string "from Roxanne.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
RustboroCity_Gym_Text_StoneBadgeInfoTakeThis:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "The Stone Badge heightens the Attack\n"
|
|
|
|
.string "power of your Pokémon.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "It also enables them to use the HM move\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Cut outside of battle.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Please take this with you, too.$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_ExplainRockTomb:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "That Technical Machine, TM39,\n"
|
|
|
|
.string "contains Rock Tomb.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "It not only inflicts damage by dropping\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "rocks, it also lowers Speed.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "If you use a TM, it instantly teaches\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "the move to a Pokémon.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "A TM can be used as many times as you'd\n"
|
|
|
|
.string "like, so please enjoy it.$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RoxannePostBattle:
|
|
|
|
.string "Since you are so strong, you should\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "challenge other Gym Leaders.\p"
|
|
|
|
.string "By battling many Trainers, you should\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "learn many things.$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_GymStatue:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rustboro City Pokémon Gym$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
RustboroCity_Gym_Text_GymStatueCertified:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Rustboro City Pokémon Gym\p"
|
|
|
|
.string "Roxanne's Certified Trainers:\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "{PLAYER}$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RoxanneRegisterCall:
|
|
|
|
.string "… … … … … …\n"
|
|
|
|
.string "… … … … … Beep!\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Roxanne: Oh, hello, {PLAYER}?\n"
|
|
|
|
.string "This is Roxanne of Rustboro City.\p"
|
|
|
|
.string "I heard from Brawly that you're\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "moving up through the ranks of\l"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Trainers at an incredible clip.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Well, I'd rather not think that\n"
|
|
|
|
.string "I can't beat you.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I promise, I will shape up my Gym\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "so that you may challenge us again.\p"
|
|
|
|
.string "I hope you'll be looking forward to\n"
|
|
|
|
.string "that occasion as much as me!\p"
|
|
|
|
.string "… … … … … …\n"
|
|
|
|
.string "… … … … … Click!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RegisteredRoxanne:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Registered Gym Leader Roxanne\n"
|
|
|
|
.string "in the Pokénav.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RoxannePreRematch:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Roxanne: I'm so glad to see you again.\n"
|
|
|
|
.string "I'm Roxanne, the Gym Leader here.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'm sure we've both experienced many\n"
|
|
|
|
.string "battles since we last met.\p"
|
|
|
|
.string "I would like to see how much better\n"
|
|
|
|
.string "we've become. Let us battle!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RoxanneRematchDefeat:
|
|
|
|
.string "Grr…\n"
|
|
|
|
.string "Again, I have lost…$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RoxannePostRematch:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Roxanne: I still have much to learn\n"
|
|
|
|
.string "when it comes to battling Pokémon.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "That awareness makes me love battling\n"
|
|
|
|
.string "all that much more!$"
|
|
|
|
|
|
|
|
RustboroCity_Gym_Text_RoxanneRematchNeedTwoMons:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Roxanne: I'm so glad to see you again.\n"
|
|
|
|
.string "I'm Roxanne, the Gym Leader here.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'm sure we've both experienced many\n"
|
|
|
|
.string "battles since we last met.\p"
|
|
|
|
.string "I would like to see how much better\n"
|
|
|
|
.string "we've become…\p"
|
|
|
|
.string "Oh, no…\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "You only have one Pokémon with you?\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Please return with at least one more\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Pokémon.$"
|