diff options
Diffstat (limited to 'data/maps/DewfordTown_Gym/scripts.inc')
-rw-r--r-- | data/maps/DewfordTown_Gym/scripts.inc | 166 |
1 files changed, 83 insertions, 83 deletions
diff --git a/data/maps/DewfordTown_Gym/scripts.inc b/data/maps/DewfordTown_Gym/scripts.inc index f67184045..d2b51766a 100644 --- a/data/maps/DewfordTown_Gym/scripts.inc +++ b/data/maps/DewfordTown_Gym/scripts.inc @@ -1,12 +1,12 @@ -DewfordTown_Gym_MapScripts:: @ 81FC63C +DewfordTown_Gym_MapScripts:: map_script MAP_SCRIPT_ON_TRANSITION, DewfordTown_Gym_OnTransition .byte 0 -DewfordTown_Gym_OnTransition: @ 81FC642 +DewfordTown_Gym_OnTransition: call DewfordTown_Gym_EventScript_SetFlashRadius end -DewfordTown_Gym_EventScript_SetFlashRadius:: @ 81FC648 +DewfordTown_Gym_EventScript_SetFlashRadius:: goto_if_defeated TRAINER_BRAWLY_1, DewfordTown_Gym_EventScript_SetLightsOn call DewfordTown_Gym_EventScript_CountTrainersDefeated copyvar VAR_0x8001, VAR_0x8000 @@ -24,39 +24,39 @@ DewfordTown_Gym_EventScript_SetFlashRadius:: @ 81FC648 goto_if_eq DewfordTown_Gym_EventScript_SetFlashRadius2 goto DewfordTown_Gym_EventScript_SetFlashRadius1 -DewfordTown_Gym_EventScript_SetLightsOn:: @ 81FC6A2 +DewfordTown_Gym_EventScript_SetLightsOn:: setflashradius 0 return -DewfordTown_Gym_EventScript_SetFlashRadius1:: @ 81FC6A6 +DewfordTown_Gym_EventScript_SetFlashRadius1:: setflashradius 1 return -DewfordTown_Gym_EventScript_SetFlashRadius2:: @ 81FC6AA +DewfordTown_Gym_EventScript_SetFlashRadius2:: setflashradius 2 return -DewfordTown_Gym_EventScript_SetFlashRadius3:: @ 81FC6AE +DewfordTown_Gym_EventScript_SetFlashRadius3:: setflashradius 3 return -DewfordTown_Gym_EventScript_SetFlashRadius4:: @ 81FC6B2 +DewfordTown_Gym_EventScript_SetFlashRadius4:: setflashradius 4 return -DewfordTown_Gym_EventScript_SetFlashRadius5:: @ 81FC6B6 +DewfordTown_Gym_EventScript_SetFlashRadius5:: setflashradius 5 return -DewfordTown_Gym_EventScript_SetFlashRadius6:: @ 81FC6BA +DewfordTown_Gym_EventScript_SetFlashRadius6:: setflashradius 6 return -DewfordTown_Gym_EventScript_SetFlashRadius7:: @ 81FC6BE +DewfordTown_Gym_EventScript_SetFlashRadius7:: setflashradius 7 return -DewfordTown_Gym_EventScript_BrightenRoom:: @ 81FC6C2 +DewfordTown_Gym_EventScript_BrightenRoom:: call DewfordTown_Gym_EventScript_CountTrainersDefeated nop1 compare VAR_0x8000, VAR_0x8001 @@ -75,75 +75,75 @@ DewfordTown_Gym_EventScript_BrightenRoom:: @ 81FC6C2 compare VAR_0x8000, 6 goto_if_eq DewfordTown_Gym_EventScript_AnimateFlash6Trainers -DewfordTown_Gym_EventScript_NoLightChange:: @ 81FC71A +DewfordTown_Gym_EventScript_NoLightChange:: return @ NOTE: A little confusingly, a larger animateflash param value is a smaller flash radius -DewfordTown_Gym_EventScript_AnimateFlash1Trainer:: @ 81FC71B +DewfordTown_Gym_EventScript_AnimateFlash1Trainer:: playse SE_SWITCH animateflash 6 call DewfordTown_Gym_EventScript_SetFlashRadius return -DewfordTown_Gym_EventScript_AnimateFlash2Trainers:: @ 81FC726 +DewfordTown_Gym_EventScript_AnimateFlash2Trainers:: playse SE_SWITCH animateflash 5 call DewfordTown_Gym_EventScript_SetFlashRadius return -DewfordTown_Gym_EventScript_AnimateFlash3Trainers:: @ 81FC731 +DewfordTown_Gym_EventScript_AnimateFlash3Trainers:: playse SE_SWITCH animateflash 4 call DewfordTown_Gym_EventScript_SetFlashRadius return -DewfordTown_Gym_EventScript_AnimateFlash4Trainers:: @ 81FC73C +DewfordTown_Gym_EventScript_AnimateFlash4Trainers:: playse SE_SWITCH animateflash 3 call DewfordTown_Gym_EventScript_SetFlashRadius return -DewfordTown_Gym_EventScript_AnimateFlash5Trainers:: @ 81FC747 +DewfordTown_Gym_EventScript_AnimateFlash5Trainers:: playse SE_SWITCH animateflash 2 call DewfordTown_Gym_EventScript_SetFlashRadius return -DewfordTown_Gym_EventScript_AnimateFlash6Trainers:: @ 81FC752 +DewfordTown_Gym_EventScript_AnimateFlash6Trainers:: playse SE_SWITCH animateflash 1 call DewfordTown_Gym_EventScript_SetFlashRadius return -DewfordTown_Gym_EventScript_AnimateFlashFullBrightness:: @ 81FC75D +DewfordTown_Gym_EventScript_AnimateFlashFullBrightness:: playse SE_SWITCH animateflash 0 call DewfordTown_Gym_EventScript_SetFlashRadius return -DewfordTown_Gym_EventScript_CountTrainersDefeated:: @ 81FC768 +DewfordTown_Gym_EventScript_CountTrainersDefeated:: setvar VAR_0x8000, 0 goto_if_not_defeated TRAINER_TAKAO, DewfordTown_Gym_EventScript_CheckJocelyn addvar VAR_0x8000, 1 -DewfordTown_Gym_EventScript_CheckJocelyn:: @ 81FC77B +DewfordTown_Gym_EventScript_CheckJocelyn:: goto_if_not_defeated TRAINER_JOCELYN, DewfordTown_Gym_EventScript_CheckLaura addvar VAR_0x8000, 1 -DewfordTown_Gym_EventScript_CheckLaura:: @ 81FC789 +DewfordTown_Gym_EventScript_CheckLaura:: goto_if_not_defeated TRAINER_LAURA, DewfordTown_Gym_EventScript_CheckBrenden addvar VAR_0x8000, 1 -DewfordTown_Gym_EventScript_CheckBrenden:: @ 81FC797 +DewfordTown_Gym_EventScript_CheckBrenden:: goto_if_not_defeated TRAINER_BRENDEN, DewfordTown_Gym_EventScript_CheckCristian addvar VAR_0x8000, 1 -DewfordTown_Gym_EventScript_CheckCristian:: @ 81FC7A5 +DewfordTown_Gym_EventScript_CheckCristian:: goto_if_not_defeated TRAINER_CRISTIAN, DewfordTown_Gym_EventScript_CheckLilith addvar VAR_0x8000, 1 -DewfordTown_Gym_EventScript_CheckLilith:: @ 81FC7B3 +DewfordTown_Gym_EventScript_CheckLilith:: goto_if_not_defeated TRAINER_LILITH, DewfordTown_Gym_EventScript_StopCountingTrainers addvar VAR_0x8000, 1 -DewfordTown_Gym_EventScript_StopCountingTrainers:: @ 81FC7C1 +DewfordTown_Gym_EventScript_StopCountingTrainers:: return -DewfordTown_Gym_EventScript_Brawly:: @ 81FC7C2 +DewfordTown_Gym_EventScript_Brawly:: trainerbattle_single TRAINER_BRAWLY_1, DewfordTown_Gym_Text_BrawlyIntro, DewfordTown_Gym_Text_BrawlyDefeat, DewfordTown_Gym_EventScript_BrawlyDefeated, NO_MUSIC specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, TRUE @@ -153,7 +153,7 @@ DewfordTown_Gym_EventScript_Brawly:: @ 81FC7C2 release end -DewfordTown_Gym_EventScript_BrawlyDefeated:: @ 81FC7F7 +DewfordTown_Gym_EventScript_BrawlyDefeated:: call DewfordTown_Gym_EventScript_AnimateFlashFullBrightness message DewfordTown_Gym_Text_ReceivedKnuckleBadge waitmessage @@ -180,7 +180,7 @@ DewfordTown_Gym_EventScript_BrawlyDefeated:: @ 81FC7F7 release end -DewfordTown_Gym_EventScript_GiveBulkUp:: @ 81FC855 +DewfordTown_Gym_EventScript_GiveBulkUp:: giveitem ITEM_TM08 compare VAR_RESULT, 0 goto_if_eq Common_EventScript_BagIsFull @@ -188,7 +188,7 @@ DewfordTown_Gym_EventScript_GiveBulkUp:: @ 81FC855 setflag FLAG_RECEIVED_TM08 return -DewfordTown_Gym_EventScript_GiveBulkUp2: @ 81FC878 +DewfordTown_Gym_EventScript_GiveBulkUp2: giveitem ITEM_TM08 compare VAR_RESULT, 0 goto_if_eq Common_EventScript_ShowBagIsFull @@ -197,72 +197,72 @@ DewfordTown_Gym_EventScript_GiveBulkUp2: @ 81FC878 release end -DewfordTown_Gym_EventScript_BrawlyRematch:: @ 81FC89C +DewfordTown_Gym_EventScript_BrawlyRematch:: trainerbattle_rematch_double TRAINER_BRAWLY_1, DewfordTown_Gym_Text_BrawlyPreRematch, DewfordTown_Gym_Text_BrawlyRematchDefeat, DewfordTown_Gym_Text_BrawlyRematchNeedTwoMons msgbox DewfordTown_Gym_Text_BrawlyPostRematch, MSGBOX_AUTOCLOSE end -DewfordTown_Gym_EventScript_Takao:: @ 81FC8B7 +DewfordTown_Gym_EventScript_Takao:: trainerbattle_single TRAINER_TAKAO, DewfordTown_Gym_Text_TakaoIntro, DewfordTown_Gym_Text_TakaoDefeat, DewfordTown_Gym_EventScript_TakaoBrightenRoom msgbox DewfordTown_Gym_Text_TakaoPostBattle, MSGBOX_AUTOCLOSE end -DewfordTown_Gym_EventScript_TakaoBrightenRoom:: @ 81FC8D2 +DewfordTown_Gym_EventScript_TakaoBrightenRoom:: call DewfordTown_Gym_EventScript_BrightenRoom release end -DewfordTown_Gym_EventScript_Jocelyn:: @ 81FC8D9 +DewfordTown_Gym_EventScript_Jocelyn:: trainerbattle_single TRAINER_JOCELYN, DewfordTown_Gym_Text_JocelynIntro, DewfordTown_Gym_Text_JocelynDefeat, DewfordTown_Gym_EventScript_JocelynBrightenRoom msgbox DewfordTown_Gym_Text_JocelynPostBattle, MSGBOX_AUTOCLOSE end -DewfordTown_Gym_EventScript_JocelynBrightenRoom:: @ 81FC8F4 +DewfordTown_Gym_EventScript_JocelynBrightenRoom:: call DewfordTown_Gym_EventScript_BrightenRoom release end -DewfordTown_Gym_EventScript_Laura:: @ 81FC8FB +DewfordTown_Gym_EventScript_Laura:: trainerbattle_single TRAINER_LAURA, DewfordTown_Gym_Text_LauraIntro, DewfordTown_Gym_Text_LauraDefeat, DewfordTown_Gym_EventScript_LauraBrightenRoom msgbox DewfordTown_Gym_Text_LauraPostBattle, MSGBOX_AUTOCLOSE end -DewfordTown_Gym_EventScript_LauraBrightenRoom:: @ 81FC916 +DewfordTown_Gym_EventScript_LauraBrightenRoom:: call DewfordTown_Gym_EventScript_BrightenRoom release end -DewfordTown_Gym_EventScript_Brenden:: @ 81FC91D +DewfordTown_Gym_EventScript_Brenden:: trainerbattle_single TRAINER_BRENDEN, DewfordTown_Gym_Text_BrendenIntro, DewfordTown_Gym_Text_BrendenDefeat, DewfordTown_Gym_EventScript_BrendenBrightenRoom msgbox DewfordTown_Gym_Text_BrendenPostBattle, MSGBOX_AUTOCLOSE end -DewfordTown_Gym_EventScript_BrendenBrightenRoom:: @ 81FC938 +DewfordTown_Gym_EventScript_BrendenBrightenRoom:: call DewfordTown_Gym_EventScript_BrightenRoom release end -DewfordTown_Gym_EventScript_Cristian:: @ 81FC93F +DewfordTown_Gym_EventScript_Cristian:: trainerbattle_single TRAINER_CRISTIAN, DewfordTown_Gym_Text_CristianIntro, DewfordTown_Gym_Text_CristianDefeat, DewfordTown_Gym_EventScript_CristianBrightenRoom msgbox DewfordTown_Gym_Text_CristianPostBattle, MSGBOX_AUTOCLOSE end -DewfordTown_Gym_EventScript_CristianBrightenRoom:: @ 81FC95A +DewfordTown_Gym_EventScript_CristianBrightenRoom:: call DewfordTown_Gym_EventScript_BrightenRoom release end -DewfordTown_Gym_EventScript_Lilith:: @ 81FC961 +DewfordTown_Gym_EventScript_Lilith:: trainerbattle_single TRAINER_LILITH, DewfordTown_Gym_Text_LilithIntro, DewfordTown_Gym_Text_LilithDefeat, DewfordTown_Gym_EventScript_LilithBrightenRoom msgbox DewfordTown_Gym_Text_LilithPostBattle, MSGBOX_AUTOCLOSE end -DewfordTown_Gym_EventScript_LilithBrightenRoom:: @ 81FC97C +DewfordTown_Gym_EventScript_LilithBrightenRoom:: call DewfordTown_Gym_EventScript_BrightenRoom release end -DewfordTown_Gym_EventScript_GymGuide:: @ 81FC983 +DewfordTown_Gym_EventScript_GymGuide:: lock faceplayer goto_if_set FLAG_DEFEATED_DEWFORD_GYM, DewfordTown_Gym_EventScript_GymGuidePostVictory @@ -270,34 +270,34 @@ DewfordTown_Gym_EventScript_GymGuide:: @ 81FC983 release end -DewfordTown_Gym_EventScript_GymGuidePostVictory:: @ 81FC998 +DewfordTown_Gym_EventScript_GymGuidePostVictory:: msgbox DewfordTown_Gym_Text_GymGuidePostVictory, MSGBOX_DEFAULT release end -DewfordTown_Gym_EventScript_LeftGymStatue:: @ 81FC9A2 +DewfordTown_Gym_EventScript_LeftGymStatue:: lockall goto_if_set FLAG_BADGE02_GET, DewfordTown_Gym_EventScript_GymStatueCertified goto DewfordTown_Gym_EventScript_GymStatue end -DewfordTown_Gym_EventScript_RightGymStatue:: @ 81FC9B2 +DewfordTown_Gym_EventScript_RightGymStatue:: lockall goto_if_set FLAG_BADGE02_GET, DewfordTown_Gym_EventScript_GymStatueCertified goto DewfordTown_Gym_EventScript_GymStatue end -DewfordTown_Gym_EventScript_GymStatueCertified:: @ 81FC9C2 +DewfordTown_Gym_EventScript_GymStatueCertified:: msgbox DewfordTown_Gym_Text_GymStatueCertified, MSGBOX_DEFAULT releaseall end -DewfordTown_Gym_EventScript_GymStatue:: @ 81FC9CC +DewfordTown_Gym_EventScript_GymStatue:: msgbox DewfordTown_Gym_Text_GymStatue, MSGBOX_DEFAULT releaseall end -DewfordTown_Gym_Text_GymGuideAdvice: @ 81FC9D6 +DewfordTown_Gym_Text_GymGuideAdvice: .string "Hey, how's it going, CHAMPION-\n" .string "bound {PLAYER}?\p" .string "DEWFORD's GYM LEADER BRAWLY commands\n" @@ -313,88 +313,88 @@ DewfordTown_Gym_Text_GymGuideAdvice: @ 81FC9D6 .string "the TRAINERS in your way.\p" .string "Hey, okay, go for it!$" -DewfordTown_Gym_Text_GymGuidePostVictory: @ 81FCB5C +DewfordTown_Gym_Text_GymGuidePostVictory: .string "Whoah! It's turned too bright in here!\p" .string "Your future is bright, too!$" -DewfordTown_Gym_Text_TakaoIntro: @ 81FCB9F +DewfordTown_Gym_Text_TakaoIntro: .string "Might is right!\n" .string "Come on!$" -DewfordTown_Gym_Text_TakaoDefeat: @ 81FCBB8 +DewfordTown_Gym_Text_TakaoDefeat: .string "Not enough power…$" -DewfordTown_Gym_Text_TakaoPostBattle: @ 81FCBCA +DewfordTown_Gym_Text_TakaoPostBattle: .string "Your skill overcame my strength!\n" .string "Your technique is commendable!$" -DewfordTown_Gym_Text_JocelynIntro: @ 81FCC0A +DewfordTown_Gym_Text_JocelynIntro: .string "There's no need for BRAWLY to be\n" .string "involved!\p" .string "I'll crush you!$" -DewfordTown_Gym_Text_JocelynDefeat: @ 81FCC45 +DewfordTown_Gym_Text_JocelynDefeat: .string "But… How?\n" .string "How could I lose so easily?$" -DewfordTown_Gym_Text_JocelynPostBattle: @ 81FCC6B +DewfordTown_Gym_Text_JocelynPostBattle: .string "I'm not going to waste this loss.\n" .string "I'll use it to motivate me to train!\p" .string "One day I'll become a GYM LEADER…\p" .string "No, I'll become the POKéMON LEAGUE\n" .string "CHAMPION!$" -DewfordTown_Gym_Text_LauraIntro: @ 81FCD01 +DewfordTown_Gym_Text_LauraIntro: .string "Don't you dare brush me off!\n" .string "It's not my fault if you cry!$" -DewfordTown_Gym_Text_LauraDefeat: @ 81FCD3C +DewfordTown_Gym_Text_LauraDefeat: .string "Waaaaaaah!\n" .string "I lost!$" -DewfordTown_Gym_Text_LauraPostBattle: @ 81FCD4F +DewfordTown_Gym_Text_LauraPostBattle: .string "I battle in the dark to make my heart\n" .string "stronger.\p" .string "But because it's so dark, I can never\n" .string "see BRAWLY's face…$" -DewfordTown_Gym_Text_LilithIntro: @ 81FCDB8 +DewfordTown_Gym_Text_LilithIntro: .string "Ufufu…\n" .string "Are you stumbling around in the dark?$" -DewfordTown_Gym_Text_LilithDefeat: @ 81FCDE5 +DewfordTown_Gym_Text_LilithDefeat: .string "Oh, you…\n" .string "I don't want to know you!$" -DewfordTown_Gym_Text_LilithPostBattle: @ 81FCE08 +DewfordTown_Gym_Text_LilithPostBattle: .string "You deserve to stay lost and end up\n" .string "back at the entrance again!$" -DewfordTown_Gym_Text_BrendenIntro: @ 81FCE48 +DewfordTown_Gym_Text_BrendenIntro: .string "I'll show you the gumption of\n" .string "a sailing man!$" -DewfordTown_Gym_Text_BrendenDefeat: @ 81FCE75 +DewfordTown_Gym_Text_BrendenDefeat: .string "How'd this happen?\n" .string "It's not like me to lose this way!$" -DewfordTown_Gym_Text_BrendenPostBattle: @ 81FCEAB +DewfordTown_Gym_Text_BrendenPostBattle: .string "Oh, aye! You're worthy of seeing\n" .string "our GYM LEADER.$" -DewfordTown_Gym_Text_CristianIntro: @ 81FCEDC +DewfordTown_Gym_Text_CristianIntro: .string "If you mean to pass, it has to be\n" .string "through me!$" -DewfordTown_Gym_Text_CristianDefeat: @ 81FCF0A +DewfordTown_Gym_Text_CristianDefeat: .string "Grrrrr!\n" .string "Vastly overpowered!$" -DewfordTown_Gym_Text_CristianPostBattle: @ 81FCF26 +DewfordTown_Gym_Text_CristianPostBattle: .string "You win!\n" .string "Go after that BADGE!$" -DewfordTown_Gym_Text_BrawlyIntro: @ 81FCF44 +DewfordTown_Gym_Text_BrawlyIntro: .string "I'm BRAWLY!\n" .string "DEWFORD's GYM LEADER!\p" .string "I've been churned in the rough waves\n" @@ -403,18 +403,18 @@ DewfordTown_Gym_Text_BrawlyIntro: @ 81FCF44 .string "So you wanted to challenge me?\n" .string "Let me see what you're made of!$" -DewfordTown_Gym_Text_BrawlyDefeat: @ 81FD008 +DewfordTown_Gym_Text_BrawlyDefeat: .string "Whoah, wow! You made a much bigger\n" .string "splash than I expected!\p" .string "You swamped me!\p" .string "Okay, you've got me.\n" .string "Take this GYM BADGE!$" -DewfordTown_Gym_Text_ReceivedKnuckleBadge: @ 81FD07D +DewfordTown_Gym_Text_ReceivedKnuckleBadge: .string "{PLAYER} received the KNUCKLE BADGE\n" .string "from BRAWLY.$" -DewfordTown_Gym_Text_KnuckleBadgeInfoTakeThis: @ 81FD0A8 +DewfordTown_Gym_Text_KnuckleBadgeInfoTakeThis: .string "The KNUCKLE BADGE makes all POKéMON\n" .string "up to Level 30, even those you get in\l" .string "trades, obey without question.\p" @@ -423,30 +423,30 @@ DewfordTown_Gym_Text_KnuckleBadgeInfoTakeThis: @ 81FD0A8 .string "If you'd like, use this TECHNICAL\n" .string "MACHINE, too.$" -DewfordTown_Gym_Text_ExplainBulkUp: @ 81FD181 +DewfordTown_Gym_Text_ExplainBulkUp: .string "That TM08 contains BULK UP.\p" .string "It's a move that raises both ATTACK\n" .string "and DEFENSE stats.\p" .string "… … … … … …$" -DewfordTown_Gym_Text_RegisteredBrawly: @ 81FD1E0 +DewfordTown_Gym_Text_RegisteredBrawly: .string "Registered GYM LEADER BRAWLY\n" .string "in the POKéNAV.$" -DewfordTown_Gym_Text_BrawlyPostBattle: @ 81FD20D +DewfordTown_Gym_Text_BrawlyPostBattle: .string "I can see your talent becoming a giant\n" .string "wave to cause a storm of astonishment\l" .string "among TRAINERS one day!$" -DewfordTown_Gym_Text_GymStatue: @ 81FD272 +DewfordTown_Gym_Text_GymStatue: .string "DEWFORD TOWN POKéMON GYM$" -DewfordTown_Gym_Text_GymStatueCertified: @ 81FD28B +DewfordTown_Gym_Text_GymStatueCertified: .string "DEWFORD TOWN POKéMON GYM\p" .string "BRAWLY'S CERTIFIED TRAINERS:\n" .string "{PLAYER}$" -DewfordTown_Gym_Text_BrawlyPreRematch: @ 81FD2C4 +DewfordTown_Gym_Text_BrawlyPreRematch: .string "BRAWLY: A wave may draw back, but it\n" .string "always returns to the shore.\p" .string "A giant wave of a talent like you…\n" @@ -454,16 +454,16 @@ DewfordTown_Gym_Text_BrawlyPreRematch: @ 81FD2C4 .string "Show me how much higher\n" .string "you've gone!$" -DewfordTown_Gym_Text_BrawlyRematchDefeat: @ 81FD367 +DewfordTown_Gym_Text_BrawlyRematchDefeat: .string "Wow!\n" .string "Swamped again!$" -DewfordTown_Gym_Text_BrawlyPostRematch: @ 81FD37B +DewfordTown_Gym_Text_BrawlyPostRematch: .string "BRAWLY: Battling is vast and it's deep.\n" .string "You can't see the bottom.\l" .string "It's just like the sea of HOENN!$" -DewfordTown_Gym_Text_BrawlyRematchNeedTwoMons: @ 81FD3DE +DewfordTown_Gym_Text_BrawlyRematchNeedTwoMons: .string "BRAWLY: A wave may draw back, but it\n" .string "always returns to the shore.\p" .string "A giant wave of a talent like you…\n" |