pokeemerald/data/maps/BattleFrontier_OutsideEast/scripts.inc

444 lines
15 KiB
PHP
Raw Normal View History

.set LOCALID_SUDOWOODO, 14
2017-11-10 02:21:31 +01:00
BattleFrontier_OutsideEast_MapScripts:: @ 8242C04
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_OutsideEast_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideEast_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
BattleFrontier_OutsideEast_OnResume: @ 8242C0F
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BattleFrontier_OutsideEast_EventScript_TryRemoveSudowoodo
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_TryRemoveSudowoodo:: @ 8242C19
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
2019-02-23 02:21:26 +01:00
goto_if_ne Common_EventScript_NopReturn
2017-11-10 02:21:31 +01:00
removeobject VAR_LAST_TALKED
return
BattleFrontier_OutsideEast_OnTransition: @ 8242C2D
2019-02-22 10:18:43 +01:00
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
setflag FLAG_HIDE_BATTLE_TOWER_REPORTER
call_if_unset FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_ShowSudowoodo
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_ShowSudowoodo:: @ 8242C3F
2018-10-19 20:59:18 +02:00
clearflag FLAG_HIDE_BATTLE_FRONTIER_SUDOWOODO
2017-11-10 02:21:31 +01:00
return
BattleFrontier_OutsideEast_EventScript_BattleTowerSign:: @ 8242C43
msgbox BattleFrontier_OutsideEast_Text_BattleTowerSign, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_BattlePalaceSign:: @ 8242C4C
msgbox BattleFrontier_OutsideEast_Text_BattlePalaceSign, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_BattleArenaSign:: @ 8242C55
msgbox BattleFrontier_OutsideEast_Text_BattleArenaSign, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_BattlePyramidSign:: @ 8242C5E
msgbox BattleFrontier_OutsideEast_Text_BattlePyramidSign, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_NinjaBoy:: @ 8242C67
msgbox BattleFrontier_OutsideEast_Text_BattleTowerFeelsSpecial, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_Man1:: @ 8242C70
msgbox BattleFrontier_OutsideEast_Text_ConquerLeagueAndFrontier, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_Hiker:: @ 8242C79
msgbox BattleFrontier_OutsideEast_Text_PyramidTooHarsh, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_HexManiac:: @ 8242C82
msgbox BattleFrontier_OutsideEast_Text_ThriveInDarkness, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_BlackBelt1:: @ 8242C8B
msgbox BattleFrontier_OutsideEast_Text_PutTogetherUltimateTeam, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_Cook:: @ 8242C94
2017-11-10 02:21:31 +01:00
lock
msgbox BattleFrontier_OutsideEast_Text_BelieveInYouBuddy, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
BattleFrontier_OutsideEast_EventScript_Zigzagoon:: @ 8242C9F
2017-11-10 02:21:31 +01:00
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
msgbox BattleFrontier_OutsideEast_Text_ZigzagoonLooksVacant, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitmoncry
release
end
BattleFrontier_OutsideEast_EventScript_RichBoy:: @ 8242CB2
msgbox BattleFrontier_OutsideEast_Text_PeopleCallMeBusybody, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_ExpertF:: @ 8242CBB
msgbox BattleFrontier_OutsideEast_Text_OnceBeatGymLeader, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_TriathleteF:: @ 8242CC4
msgbox BattleFrontier_OutsideEast_Text_FastOnBikeAndBattles, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_Twin:: @ 8242CCD
msgbox BattleFrontier_OutsideEast_Text_BetterThanDaddyAtPokemon, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_Man2:: @ 8242CD6
2017-11-10 02:21:31 +01:00
lock
msgbox BattleFrontier_OutsideEast_Text_GoRackUpSomeWinsForDaddy, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
BattleFrontier_OutsideEast_EventScript_TriathleteM:: @ 8242CE1
msgbox BattleFrontier_OutsideEast_Text_DidScottBringYouHere, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
BattleFrontier_OutsideEast_EventScript_Sudowoodo:: @ 8242CEA
2017-11-10 02:21:31 +01:00
lock
faceplayer
waitse
2020-08-21 00:02:00 +02:00
playse SE_SUDOWOODO_SHAKE
applymovement LOCALID_SUDOWOODO, BattleFrontier_OutsideEast_Movement_SudowoodoShake
2017-11-10 02:21:31 +01:00
waitmovement 0
release
end
BattleFrontier_OutsideEast_EventScript_WaterSudowoodo:: @ 8242CFC
2017-11-10 09:24:21 +01:00
lock
faceplayer
special DoWateringBerryTreeAnim
2017-11-10 09:24:21 +01:00
waitstate
waitse
2020-08-21 00:02:00 +02:00
playse SE_SUDOWOODO_SHAKE
applymovement LOCALID_SUDOWOODO, BattleFrontier_OutsideEast_Movement_SudowoodoShake
2017-11-10 09:24:21 +01:00
waitmovement 0
msgbox gText_Sudowoodo_Attacked, MSGBOX_DEFAULT
2017-11-10 09:24:21 +01:00
closemessage
waitse
playmoncry SPECIES_SUDOWOODO, 2
delay 40
waitmoncry
setvar VAR_LAST_TALKED, LOCALID_SUDOWOODO
2017-11-10 09:24:21 +01:00
setwildbattle SPECIES_SUDOWOODO, 40, ITEM_NONE
setflag FLAG_SYS_CTRL_OBJ_DELETE
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
2019-01-02 22:12:43 +01:00
setflag FLAG_DEFEATED_SUDOWOODO
2017-11-10 09:24:21 +01:00
release
end
BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo:: @ 8242D60
2019-01-02 22:12:43 +01:00
setflag FLAG_DEFEATED_SUDOWOODO
2019-08-15 05:38:42 +02:00
goto Common_EventScript_RemoveStaticPokemon
2017-11-10 09:24:21 +01:00
end
BattleFrontier_OutsideEast_Movement_SudowoodoShake: @ 8242D69
face_right
delay_8
face_down
delay_8
face_left
delay_8
face_down
delay_8
face_right
delay_8
face_down
delay_8
face_left
delay_8
face_down
step_end
BattleFrontier_OutsideEast_EventScript_Maniac1:: @ 8242D79
msgbox BattleFrontier_OutsideEast_Text_HeardPrettyGirlAtBattleArena, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_Girl:: @ 8242D82
msgbox BattleFrontier_OutsideEast_Text_SometimesImportantOldManInThere, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_PsychicM:: @ 8242D8B
msgbox BattleFrontier_OutsideEast_Text_LegendOfBattlePyramid, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_Man3:: @ 8242D94
msgbox BattleFrontier_OutsideEast_Text_GotWipedOut, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_Woman1:: @ 8242D9D
msgbox BattleFrontier_OutsideEast_Text_ToughTrainerInBattleTower, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_Woman2:: @ 8242DA6
msgbox BattleFrontier_OutsideEast_Text_EnoughBattlePointsForDoll, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_BlackBelt2:: @ 8242DAF
msgbox BattleFrontier_OutsideEast_Text_LikeToHaveNameRecordedHere, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_Maniac2:: @ 8242DB8
lock
msgbox BattleFrontier_OutsideEast_Text_CanDoAnythingWithYou, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_Woman3:: @ 8242DC3
lock
msgbox BattleFrontier_OutsideEast_Text_PowerOfOurLoveWillOvercome, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_RankingHallSign:: @ 8242DCE
msgbox BattleFrontier_OutsideEast_Text_RankingHallSign, MSGBOX_SIGN
end
BattleFrontier_OutsideEast_EventScript_ExchangeCornerSign:: @ 8242DD7
msgbox BattleFrontier_OutsideEast_Text_ExchangeCornerSign, MSGBOX_SIGN
end
BattleFrontier_OutsideEast_EventScript_Gentleman:: @ 8242DE0
msgbox BattleFrontier_OutsideEast_Text_FrontierNotExclusivelyForToughTrainers, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_OldWoman:: @ 8242DE9
lock
faceplayer
goto_if_set FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_OldWomanSudowoodoGone
msgbox BattleFrontier_OutsideEast_Text_OddTreeHereSeemsToWiggle, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_OldWomanSudowoodoGone:: @ 8242DFE
msgbox BattleFrontier_OutsideEast_Text_OnceAnOddTreePastHere, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_Camper:: @ 8242E08
msgbox BattleFrontier_OutsideEast_Text_StickyMonWithLongTail, MSGBOX_NPC
end
BattleFrontier_OutsideEast_Text_BattleTowerSign: @ 8242E11
.string "This is the BATTLE TOWER!\n"
.string "Keep the win streak as the toughest\l"
.string "TRAINER!$"
BattleFrontier_OutsideEast_Text_BattlePalaceSign: @ 8242E58
.string "This is the BATTLE PALACE!\n"
.string "Keep your eyes on POKéMON battles!$"
BattleFrontier_OutsideEast_Text_BattleArenaSign: @ 8242E96
.string "This is the BATTLE ARENA!\n"
.string "Let the toughest teams gather!$"
BattleFrontier_OutsideEast_Text_BattlePyramidSign: @ 8242ECF
.string "This is the BATTLE PYRAMID!\n"
.string "Advance through the Battle Quest!$"
BattleFrontier_OutsideEast_Text_RankingHallSign: @ 8242F0D
.string "BATTLE FRONTIER RANKING HALL\n"
.string "Set your sights on new records!$"
BattleFrontier_OutsideEast_Text_ExchangeCornerSign: @ 8242F4A
.string "BATTLE POINT EXCHANGE SERVICE CORNER\n"
.string "Exchange your Battle Points!$"
BattleFrontier_OutsideEast_Text_BattleTowerFeelsSpecial: @ 8242F8C
.string "Wow!\n"
2018-12-07 16:41:08 +01:00
.string "It's huge!\p"
.string "The BATTLE TOWER feels special.\n"
2018-12-07 16:41:08 +01:00
.string "It's different from the others.$"
BattleFrontier_OutsideEast_Text_ConquerLeagueAndFrontier: @ 8242FDC
.string "My grand ambition is to conquer both\n"
.string "the BATTLE FRONTIER and the POKéMON\l"
.string "LEAGUE.\p"
.string "And if my dream comes true…\p"
2018-12-07 16:41:08 +01:00
.string "I… I'm going to ask MIMI next door\n"
.string "if she will be friends with me!$"
BattleFrontier_OutsideEast_Text_PyramidTooHarsh: @ 824308C
2018-12-07 16:41:08 +01:00
.string "The BATTLE PYRAMID's too harsh!\n"
.string "I just can't make it to the top!\p"
.string "Since I'm out of options, maybe I can\n"
.string "climb the outside…$"
BattleFrontier_OutsideEast_Text_ThriveInDarkness: @ 8243106
.string "I thrive in darkness…\n"
.string "Yes… What is worthy of me?\l"
.string "None other than the BATTLE PYRAMID…\p"
.string "What say you to wandering in darkness\n"
.string "and in utter and total desperation?$"
BattleFrontier_OutsideEast_Text_PutTogetherUltimateTeam: @ 82431A5
2018-12-07 16:41:08 +01:00
.string "I didn't sleep for a week, but then\n"
.string "I put together the ultimate team!\p"
2018-12-07 16:41:08 +01:00
.string "I can't see myself losing, no joke.\n"
.string "We're storming the BATTLE ARENA!$"
BattleFrontier_OutsideEast_Text_DidScottBringYouHere: @ 8243230
.string "Did SCOTT bring you here, too?\n"
.string "What is it with that guy?\p"
.string "It sounds like he really does know\n"
.string "how to spot talented TRAINERS, but…\p"
2018-12-07 16:41:08 +01:00
.string "I've never seen him battling in person\n"
.string "ever.$"
BattleFrontier_OutsideEast_Text_BelieveInYouBuddy: @ 82432DD
.string "ZIGG!\n"
.string "I believe in you, little buddy!\p"
2018-12-07 16:41:08 +01:00
.string "I'll make my little ZIGG any favorite\n"
.string "tasty treats you like if you win!$"
BattleFrontier_OutsideEast_Text_ZigzagoonLooksVacant: @ 824334B
.string "ZIGZAGOON looks vacant…$"
BattleFrontier_OutsideEast_Text_PeopleCallMeBusybody: @ 8243363
.string "People call me a busybody,\n"
2018-12-07 16:41:08 +01:00
.string "but I can't help it.\p"
.string "Your hat's on crooked!\n"
.string "Oh, no, trash on the ground!\l"
2018-12-07 16:41:08 +01:00
.string "Oops, it's almost dinnertime!\p"
.string "I don't know if I can stand to just\n"
.string "watch at the BATTLE PALACE…$"
BattleFrontier_OutsideEast_Text_OnceBeatGymLeader: @ 8243425
.string "I may not look that impressive now,\n"
.string "but I once beat a GYM LEADER.\p"
.string "Who knows, maybe I should give it\n"
.string "another shot at glory.$"
BattleFrontier_OutsideEast_Text_FastOnBikeAndBattles: @ 82434A0
2018-12-07 16:41:08 +01:00
.string "I'm fast on my BIKE, and that goes for\n"
.string "the way I battle, too.\p"
.string "I win matches in the blink of\n"
.string "an eye!$"
BattleFrontier_OutsideEast_Text_BetterThanDaddyAtPokemon: @ 8243504
2018-12-07 16:41:08 +01:00
.string "I'm better than my daddy\n"
.string "at POKéMON.$"
BattleFrontier_OutsideEast_Text_GoRackUpSomeWinsForDaddy: @ 8243529
.string "Go on, my baby sweetie!\n"
.string "Go rack up some wins for Daddy!\p"
2018-12-07 16:41:08 +01:00
.string "You're just like your mother,\n"
.string "so you'll be dominating!$"
BattleFrontier_OutsideEast_Text_HeardPrettyGirlAtBattleArena: @ 8243598
2018-12-07 16:41:08 +01:00
.string "It wasn't easy getting here,\n"
.string "but I'd heard about this knockout\l"
.string "pretty girl at the BATTLE ARENA.\p"
.string "Instead of her, do you know what\n"
.string "I found?\p"
.string "A whole teeming mob of sweaty,\n"
.string "stinky, and primitive martial artists!$"
BattleFrontier_OutsideEast_Text_SometimesImportantOldManInThere: @ 8243668
.string "I sometimes see this really important-\n"
.string "looking old man going in there.\p"
.string "He has these really awesome POKéMON.\n"
.string "He seems really nice, though.$"
BattleFrontier_OutsideEast_Text_LegendOfBattlePyramid: @ 82436F2
.string "Do you know it?\n"
.string "The legend of the BATTLE PYRAMID?\p"
.string "When there comes a confident TRAINER\n"
.string "reaching for the golden pinnacle,\l"
.string "there shall appear a man among men.\p"
2018-12-07 16:41:08 +01:00
.string "Don't know that legend?\n"
.string "Well, of course not!\l"
.string "I just made it up!\p"
2018-12-07 16:41:08 +01:00
.string "What's it supposed to mean?\n"
.string "That, my friend, I can't say!$"
BattleFrontier_OutsideEast_Text_GotWipedOut: @ 8243809
.string "Man! Oh man!\n"
2018-12-07 16:41:08 +01:00
.string "I've never lost once before!\p"
.string "But I got wiped out with no saving\n"
.string "grace at all!\p"
2018-12-07 16:41:08 +01:00
.string "And then I'm told I don't have any\n"
.string "talent?! Man!$"
BattleFrontier_OutsideEast_Text_ToughTrainerInBattleTower: @ 8243895
.string "This guy ran into a horribly tough\n"
.string "TRAINER while he was on the BATTLE\l"
.string "TOWER challenge.\p"
.string "Now look at him…\p"
.string "You need to be cautious if you ever\n"
.string "decide to go to the BATTLE TOWER.$"
BattleFrontier_OutsideEast_Text_EnoughBattlePointsForDoll: @ 8243943
.string "Yes!\n"
2018-12-07 16:41:08 +01:00
.string "I've finally got enough Battle Points!\p"
.string "I guess I'll trade for another giant\n"
.string "plush DOLL!$"
BattleFrontier_OutsideEast_Text_LikeToHaveNameRecordedHere: @ 82439A0
.string "Oh, yeah, okay!\n"
.string "So this is the RANKING HALL!\p"
2018-12-07 16:41:08 +01:00
.string "I'd like to go down in history as\n"
.string "a super champ and have my name\l"
.string "recorded here for posterity.$"
BattleFrontier_OutsideEast_Text_CanDoAnythingWithYou: @ 8243A2B
.string "With you by my side, I can do anything.$"
BattleFrontier_OutsideEast_Text_PowerOfOurLoveWillOvercome: @ 8243A53
.string "Ooh, darling, you are so wonderful!\p"
2018-12-07 16:41:08 +01:00
.string "Ooh, I just can't wait anymore!\p"
.string "Let's go to a MULTI BATTLE ROOM\n"
.string "right this instant!\p"
.string "If we get together in the BATTLE SALON,\n"
.string "the power of our love will overcome\l"
.string "everyone we meet.\p"
.string "Why, before us, darling, everything\n"
.string "will topple like dominoes!$"
BattleFrontier_OutsideEast_Text_FrontierNotExclusivelyForToughTrainers: @ 8243B68
2018-12-07 16:41:08 +01:00
.string "The BATTLE FRONTIER isn't exclusively\n"
.string "for tough TRAINERS.\p"
.string "Many people with special abilities\n"
.string "have been invited, it seems.\p"
.string "That man SCOTT…\p"
.string "He may have built this place to serve\n"
.string "a bigger objective…$"
BattleFrontier_OutsideEast_Text_OddTreeHereSeemsToWiggle: @ 8243C2C
.string "Excuse me, young one.\n"
.string "Have you good eyesight?\p"
.string "There is an odd tree past here, and to\n"
.string "my tired eyes it seems to wiggle.$"
BattleFrontier_OutsideEast_Text_OnceAnOddTreePastHere: @ 8243CA3
.string "Excuse me, young one.\n"
.string "Have you a good memory?\p"
.string "I have this feeling there once was\n"
.string "an odd tree past here.$"
BattleFrontier_OutsideEast_Text_StickyMonWithLongTail: @ 8243D0B
.string "I…\n"
.string "I saw it!\p"
.string "There was a sticky sort of a POKéMON\n"
.string "with a long tail up ahead!\p"
.string "It was hiding under a boulder, and\n"
.string "it kept staring at me!$"