From 7eb54648608888a0e3dccb775dc3f4284ac934e6 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 8 Jan 2020 21:05:04 -0500 Subject: Sync some event_scripts.s, split files --- data/scripts/day_care.inc | 257 +++ data/scripts/fame_checker.inc | 286 ++++ data/scripts/field_moves.inc | 310 ++++ data/scripts/flash.inc | 4 + data/scripts/hole.inc | 31 + data/scripts/item_ball_scripts.inc | 671 ++++++++ data/scripts/move_tutors.inc | 598 +++++++ data/scripts/mystery_event_club.inc | 180 +++ data/scripts/pkmn_center_nurse.inc | 72 + data/scripts/repel.inc | 6 + data/scripts/set_gym_trainers.inc | 76 + data/scripts/surf.inc | 25 + data/scripts/trainer_battle.inc | 158 ++ data/scripts/trainers.inc | 3041 +++++++++++++++++++++++++++++++++++ 14 files changed, 5715 insertions(+) create mode 100644 data/scripts/day_care.inc create mode 100644 data/scripts/fame_checker.inc create mode 100644 data/scripts/field_moves.inc create mode 100644 data/scripts/flash.inc create mode 100644 data/scripts/hole.inc create mode 100644 data/scripts/item_ball_scripts.inc create mode 100644 data/scripts/move_tutors.inc create mode 100644 data/scripts/mystery_event_club.inc create mode 100644 data/scripts/pkmn_center_nurse.inc create mode 100644 data/scripts/repel.inc create mode 100644 data/scripts/set_gym_trainers.inc create mode 100644 data/scripts/surf.inc create mode 100644 data/scripts/trainer_battle.inc create mode 100644 data/scripts/trainers.inc (limited to 'data/scripts') diff --git a/data/scripts/day_care.inc b/data/scripts/day_care.inc new file mode 100644 index 000000000..3576b40e8 --- /dev/null +++ b/data/scripts/day_care.inc @@ -0,0 +1,257 @@ +Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lock + faceplayer + showmoneybox 0, 0, 0 + specialvar VAR_RESULT, IsThereMonInRoute5Daycare + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BF46E + msgbox Text_19DD66, 5 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BF3DD + msgbox Text_19DDB2 + goto EventScript_1BF541 + end + +EventScript_1BF3DD:: @ 81BF3DD + specialvar VAR_RESULT, CountPartyNonEggMons + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BF452 + msgbox Text_19DDBE + fadescreen 1 + hidemoneybox 0, 0 + special ChooseSendDaycareMon + waitstate + showmoneybox 0, 0, 0 + compare VAR_0x8004, 6 + goto_if ge, EventScript_1BF444 + specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BF460 + specialvar VAR_0x8005, GetSelectedMonNickAndSpecies + msgbox Text_19DDF9 + waitse + playmoncry VAR_0x8005, 0 + msgbox Text_19DE24 + waitmoncry + special PutMonInRoute5Daycare + incrementgamestat GAME_STAT_USED_DAYCARE + goto EventScript_1BF541 + end + +EventScript_1BF444:: @ 81BF444 + msgbox Text_19DDDC + goto EventScript_1BF541 + end + +EventScript_1BF452:: @ 81BF452 + msgbox Text_19DEF5 + goto EventScript_1BF541 + end + +EventScript_1BF460:: @ 81BF460 + msgbox Text_19DF1D + goto EventScript_1BF541 + end + +EventScript_1BF46E:: @ 81BF46E + setvar VAR_0x8004, 0 + specialvar VAR_RESULT, GetNumLevelsGainedForRoute5DaycareMon + compare VAR_RESULT, 0 + call_if ne, EventScript_1BF4AA + compare VAR_RESULT, 0 + call_if eq, EventScript_1BF4B3 + special GetCostToWithdrawRoute5DaycareMon + msgbox Text_19DE80, 5 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BF4BC + goto EventScript_1BF444 + end + +EventScript_1BF4AA:: @ 81BF4AA + msgbox Text_19DF56 + return + +EventScript_1BF4B3:: @ 81BF4B3 + msgbox Text_19DE3C + return + +EventScript_1BF4BC:: @ 81BF4BC + specialvar VAR_RESULT, CalculatePlayerPartyCount + compare VAR_RESULT, PARTY_SIZE + goto_if eq, EventScript_1BF533 + specialvar VAR_RESULT, IsEnoughForCostInVar0x8005 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BF4EA + msgbox Text_19E001 + goto EventScript_1BF541 + end + +EventScript_1BF4EA:: @ 81BF4EA + setvar VAR_0x8004, 0 + specialvar VAR_RESULT, TakePokemonFromRoute5Daycare + special SubtractMoneyFromVar0x8005 + updatemoneybox 0, 0, 0 + copyvar VAR_0x8008, VAR_RESULT + countpokemon + subvar VAR_RESULT, 1 + getpartymonname 0, VAR_RESULT + copyvar VAR_RESULT, VAR_0x8008 + msgbox Text_19DEAF + textcolor 3 + waitse + playmoncry VAR_RESULT, 0 + msgbox Text_19DECF + call EventScript_1A6675 + waitmoncry + goto EventScript_1BF541 + end + +EventScript_1BF533:: @ 81BF533 + msgbox Text_19DFC2 + goto EventScript_1BF541 + end + +EventScript_1BF541:: @ 81BF541 + hidemoneybox 0, 0 + release + end + +EventScript_81BF546:: @ 81BF546 + lockall + msgbox Text_1BFB5A + special EggHatch + waitstate + releaseall + end + +gUnknown_81BF555:: @ 81BF555 + .string "I'm the DAY-CARE MAN.\p" + .string "I help take care of the precious\n" + .string "POKéMON of TRAINERS.\p" + .string "If you'd like me to raise your\n" + .string "POKéMON, have a word with my wife.$" + +gUnknown_81BF5E3:: @ 81BF5E3 + .string "Ah, it's you!\p" + .string "We were raising your POKéMON, and\n" + .string "my goodness, were we surprised!\p" + .string "Your POKéMON had an EGG!\p" + .string "We don't know how it got there,\n" + .string "but your POKéMON had it.\p" + .string "You do want it, yes?$" + +gUnknown_81BF69A:: @ 81BF69A + .string "Ah, it's you! Good to see you.\n" + .string "Your {STR_VAR_1}'s doing fine.$" + +gUnknown_81BF6CF:: @ 81BF6CF + .string "Well then, I'll keep it.\n" + .string "Thanks!$" + +gUnknown_81BF6F0:: @ 81BF6F0 + .string "You have no room for it…\n" + .string "Come back when you've made room.$" + +Text_1BF72A:: @ 81BF72A + .string "{PLAYER} received the EGG from\n" + .string "the DAY-CARE MAN.$" + +gUnknown_81BF755:: @ 81BF755 + .string "Take good care of it.$" + +Text_1BF76B:: @ 81BF76B + .string "ポケモンを ひきとりたい ときは\n" + .string "ばさんに いって おくれ$" + +gUnknown_81BF789:: @ 81BF789 + .string "Ah, it's you! Your {STR_VAR_1} and\n" + .string "{STR_VAR_2} are doing fine.$" + +gUnknown_81BF7B6:: @ 81BF7B6 + .string "I really will keep it.\n" + .string "You do want this, yes?$" + +gUnknown_81BF7E4:: @ 81BF7E4 + .string "I'm the DAY-CARE LADY.\p" + .string "We can raise POKéMON for you.\p" + .string "Would you like us to raise one?$" + +gUnknown_81BF839:: @ 81BF839 + .string "Which POKéMON should we raise for\n" + .string "you?$" + +gUnknown_81BF860:: @ 81BF860 + .string "Fine, we'll raise your {STR_VAR_1}\n" + .string "for a while.\p" + .string "Come back for it later.$" + +gUnknown_81BF89F:: @ 81BF89F + .string "We can raise two of your POKéMON.\p" + .string "Would you like us to raise one\n" + .string "more POKéMON for you?$" + +gUnknown_81BF8F6:: @ 81BF8F6 + .string "My husband was looking for you.$" + +gUnknown_81BF916:: @ 81BF916 + .string "Oh, fine, then.\n" + .string "Come again.$" + +gUnknown_81BF932:: @ 81BF932 + .string "You don't have enough money…$" + +gUnknown_81BF94F:: @ 81BF94F + .string "Will you take back the other one,\n" + .string "too?$" + +gUnknown_81BF976:: @ 81BF976 + .string "Fine.\n" + .string "Come again.$" + +gUnknown_81BF988:: @ 81BF988 + .string "Ah, it's you!\n" + .string "Good to see you.\p" + .string "Your POKéMON can only be doing\n" + .string "good!$" + +gUnknown_81BF9CC:: @ 81BF9CC + .string "By level, your {STR_VAR_1} has\n" + .string "grown by {STR_VAR_2}.$" + +gUnknown_81BF9EF:: @ 81BF9EF + .string "Your POKéMON party is full.\n" + .string "Make room, then come see me.$" + +Text_1BFA28:: @ 81BFA28 + .string "どっちの ポケモンを ひきとるかい?$" + +gUnknown_81BFA3B:: @ 81BFA3B + .string "If you want your {STR_VAR_1} back,\n" + .string "it will cost ¥{STR_VAR_2}.$" + +gUnknown_81BFA67:: @ 81BFA67 + .string "Perfect!\n" + .string "Here's your POKéMON.$" + +gUnknown_81BFA85:: @ 81BFA85 + .string "{PLAYER} took back {STR_VAR_1} from\n" + .string "the DAY-CARE LADY.$" + +gUnknown_81BFAAD:: @ 81BFAAD + .string "Oh? But you have just one\n" + .string "POKéMON.\p" + .string "Come back another time.$" + +gUnknown_81BFAE8:: @ 81BFAE8 + .string "Will you take your POKéMON back?$" + +gUnknown_81BFB09:: @ 81BFB09 + .string "If you leave me that POKéMON,\n" + .string "what will you battle with?\p" + .string "Come back another time.$" + +Text_1BFB5A:: @ 81BFB5A + .string "Huh?$" diff --git a/data/scripts/fame_checker.inc b/data/scripts/fame_checker.inc new file mode 100644 index 000000000..88e1fa1f5 --- /dev/null +++ b/data/scripts/fame_checker.inc @@ -0,0 +1,286 @@ +ViridianCity_House2_EventScript_1ACD65:: @ 81ACD65 + lock + faceplayer + famechecker FAMECHECKER_OAK, 3 + famechecker FAMECHECKER_DAISY, 3 + textcolor 3 + msgbox gUnknown_81B1AB9 + release + end + +EventScript_1ACD8D:: @ 81ACD8D + lock + faceplayer + famechecker FAMECHECKER_DAISY, 1 + famechecker FAMECHECKER_OAK, 4 + textcolor 3 + msgbox gUnknown_81B1AB9 + release + end + +EventScript_1ACDB5:: @ 81ACDB5 + lock + faceplayer + famechecker FAMECHECKER_DAISY, 4 + textcolor 3 + msgbox gUnknown_81B1AB9 + release + end + +FourIsland_PokemonCenter_1F_EventScript_1ACDD0:: @ 81ACDD0 + lockall + famechecker FAMECHECKER_DAISY, 5 + textcolor 3 + msgbox gUnknown_81B1B3D + releaseall + end + +Route4_EventScript_1ACDEA:: @ 81ACDEA + lock + faceplayer + famechecker FAMECHECKER_BROCK, 3 + msgbox Text_183D26 + release + end + +MtMoon_1F_EventScript_1ACE03:: @ 81ACE03 + lock + faceplayer + famechecker FAMECHECKER_BROCK, 4 + msgbox Text_172B00 + release + end + +PewterCity_Museum_1F_EventScript_1ACE1C:: @ 81ACE1C + lockall + famechecker FAMECHECKER_BROCK, 5 + textcolor 3 + msgbox gUnknown_81B146A + releaseall + end + +Route20_EventScript_1ACE36:: @ 81ACE36 + lock + faceplayer + famechecker FAMECHECKER_MISTY, 3 + msgbox Text_1882E1 + release + end + +Route25_EventScript_1ACE4F:: @ 81ACE4F + lock + faceplayer + famechecker FAMECHECKER_MISTY, 4 + msgbox Text_189569 + release + end + +CeruleanCity_PokemonCenter_1F_EventScript_1ACE68:: @ 81ACE68 + lock + faceplayer + famechecker FAMECHECKER_MISTY, 5 + textcolor 3 + msgbox gUnknown_81B14E8 + release + end + +VermilionCity_PokemonCenter_1F_EventScript_1ACE83:: @ 81ACE83 + lockall + famechecker FAMECHECKER_LTSURGE, 5 + textcolor 3 + msgbox gUnknown_81B1558 + releaseall + end + +CeladonCity_Condominiums_2F_EventScript_1ACE9D:: @ 81ACE9D + lock + faceplayer + famechecker FAMECHECKER_ERIKA, 5 + textcolor 3 + msgbox gUnknown_81B161B + release + end + +FuchsiaCity_Building1_EventScript_1ACEB8:: @ 81ACEB8 + lock + faceplayer + famechecker FAMECHECKER_KOGA, 4 + textcolor 3 + msgbox gUnknown_81B16A8 + release + end + +SafariZone_Building3_EventScript_1ACED3:: @ 81ACED3 + lock + faceplayer + famechecker FAMECHECKER_KOGA, 5 + msgbox Text_177C47 + release + end + +SaffronCity_PokemonCenter_1F_EventScript_1ACEEC:: @ 81ACEEC + lock + faceplayer + famechecker FAMECHECKER_SABRINA, 4 + textcolor 3 + msgbox gUnknown_81B1753 + release + end + +CinnabarIsland_Gym_EventScript_1ACF07:: @ 81ACF07 + lockall + famechecker FAMECHECKER_BLAINE, 4 + famechecker FAMECHECKER_MRFUJI, 4 + msgbox Text_199E8A + releaseall + end + +FiveIsland_ResortGorgeous_House_EventScript_1ACF2C:: @ 81ACF2C + lockall + famechecker FAMECHECKER_BLAINE, 5 + textcolor 3 + msgbox gUnknown_81B17E9 + releaseall + end + +FourIsland_Mart_EventScript_1ACF46:: @ 81ACF46 + lock + faceplayer + famechecker FAMECHECKER_LORELEI, 2 + msgbox Text_1A3A60 + release + end + +FiveIsland_PokemonCenter_1F_EventScript_1ACF5F:: @ 81ACF5F + lock + faceplayer + famechecker FAMECHECKER_LORELEI, 3 + textcolor 3 + msgbox gUnknown_81B187F + release + end + +SaffronCity_PokemonTrainerFanClub_EventScript_1ACF7A:: @ 81ACF7A + lock + faceplayer + famechecker FAMECHECKER_BRUNO, 2 + textcolor 3 + msgbox gUnknown_81B1913 + release + end + +SevenIsland_SevaultCanyon_EventScript_1ACF95:: @ 81ACF95 + lock + faceplayer + famechecker FAMECHECKER_BRUNO, 5 + msgbox Text_18CF4D + release + end + +IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE:: @ 81ACFAE + lock + faceplayer + famechecker FAMECHECKER_AGATHA, 1 + famechecker FAMECHECKER_AGATHA, 2 + msgbox Text_19A9E7 + release + end + +SevenIsland_PokemonCenter_1F_EventScript_1ACFD4:: @ 81ACFD4 + lock + faceplayer + famechecker FAMECHECKER_AGATHA, 3 + textcolor 3 + msgbox gUnknown_81B19A8 + release + end + +SixIsland_Mart_EventScript_1ACFEF:: @ 81ACFEF + lock + faceplayer + famechecker FAMECHECKER_AGATHA, 5 + msgbox Text_1A41CA + release + end + +EventScript_1AD008:: @ 81AD008 + lock + faceplayer + famechecker FAMECHECKER_LANCE, 0 + msgbox gFameCheckerFlavorText_Lance0 + release + end + +EventScript_1AD021:: @ 81AD021 + lock + faceplayer + famechecker FAMECHECKER_LANCE, 1 + msgbox Text_181569 + release + end + +SaffronCity_EventScript_1AD03A:: @ 81AD03A + lock + faceplayer + famechecker FAMECHECKER_LANCE, 2 + msgbox Text_181569 + release + end + +CeladonCity_DepartmentStore_2F_EventScript_1AD053:: @ 81AD053 + lock + faceplayer + famechecker FAMECHECKER_LANCE, 3 + msgbox Text_19566B + release + end + +IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C:: @ 81AD06C + lock + faceplayer + famechecker FAMECHECKER_LANCE, 4 + textcolor 3 + msgbox gUnknown_81B1A31 + release + end + +IndigoPlateau_PokemonCenter_1F_EventScript_1AD087:: @ 81AD087 + lock + faceplayer + famechecker FAMECHECKER_LANCE, 5 + msgbox Text_19AB16 + release + end + +LavenderTown_PokemonCenter_1F_EventScript_1AD0A0:: @ 81AD0A0 + lock + faceplayer + famechecker FAMECHECKER_MRFUJI, 3 + msgbox Text_19358E + release + end + +CinnabarIsland_PokemonCenter_1F_EventScript_1AD0B9:: @ 81AD0B9 + lock + faceplayer + famechecker FAMECHECKER_MRFUJI, 5 + textcolor 3 + msgbox gUnknown_81B1BD1 + release + end + +SilphCo_5F_EventScript_1AD0D4:: @ 81AD0D4 + lock + faceplayer + famechecker FAMECHECKER_GIOVANNI, 1 + msgbox Text_175E99 + release + end + +SilphCo_8F_EventScript_1AD0ED:: @ 81AD0ED + lock + faceplayer + famechecker FAMECHECKER_GIOVANNI, 2 + msgbox Text_176ACB + release + end diff --git a/data/scripts/field_moves.inc b/data/scripts/field_moves.inc new file mode 100644 index 000000000..d0729d900 --- /dev/null +++ b/data/scripts/field_moves.inc @@ -0,0 +1,310 @@ +EventScript_InteractWithCutTreeObject:: @ 81BDF13 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + checkflag FLAG_BADGE02_GET + goto_if FALSE, EventScript_1BDF87 + checkpartymove MOVE_CUT + compare VAR_RESULT, PARTY_SIZE + goto_if eq, EventScript_1BDF87 + setfieldeffectarg 0, VAR_RESULT + getpartymonname 0, VAR_RESULT + getmovename 1, MOVE_CUT + msgbox gUnknown_81BDF94, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BDF91 + msgbox gUnknown_81BDFD7 + closemessage + dofieldeffect FLDEFF_USE_CUT_ON_TREE + waitstate + goto EventScript_1BDF76 + end + +gUnknown_81BDF6B:: @ 81BDF6B + lockall + dofieldeffect FLDEFF_USE_CUT_ON_TREE + waitstate + goto EventScript_1BDF76 + end + +EventScript_1BDF76:: @ 81BDF76 + applymovement VAR_LAST_TALKED, Movement_1BDF85 + waitmovement 0 + removeobject VAR_LAST_TALKED + releaseall + end + +Movement_1BDF85:: @ 81BDF85 + step_69 + step_end + +EventScript_1BDF87:: @ 81BDF87 + msgbox gUnknown_81BDFE3, 3 + releaseall + end + +EventScript_1BDF91:: @ 81BDF91 + closemessage + releaseall + end + +gUnknown_81BDF94:: @ 81BDF94 + .string "This tree looks like it can be CUT\n" + .string "down!\p" + .string "Would you like to CUT it?$" + +gUnknown_81BDFD7:: @ 81BDFD7 + .string "{STR_VAR_1} used {STR_VAR_2}!$" + +gUnknown_81BDFE3:: @ 81BDFE3 + .string "This tree looks like it can be CUT\n" + .string "down!$" + +EventScript_InteractWithRockSmashRockObject:: @ 81BE00C + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + checkflag FLAG_BADGE06_GET + goto_if FALSE, EventScript_1BE091 + checkpartymove MOVE_ROCK_SMASH + compare VAR_RESULT, PARTY_SIZE + goto_if eq, EventScript_1BE091 + setfieldeffectarg 0, VAR_RESULT + getpartymonname 0, VAR_RESULT + getmovename 1, MOVE_ROCK_SMASH + msgbox Text_1BE09D, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BE09A + msgbox gUnknown_81BDFD7 + closemessage + dofieldeffect FLDEFF_USE_ROCK_SMASH + waitstate + goto EventScript_1BE06F + end + +EventScript_FldEffRockSmash:: @ 81BE064 + lockall + dofieldeffect FLDEFF_USE_ROCK_SMASH + waitstate + goto EventScript_1BE06F + end + +EventScript_1BE06F:: @ 81BE06F + applymovement VAR_LAST_TALKED, Movement_1BE08F + waitmovement 0 + removeobject VAR_LAST_TALKED + special ScrSpecial_RockSmashWildEncounter + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BE08D + waitstate + releaseall + end + +EventScript_1BE08D:: @ 81BE08D + releaseall + end + +Movement_1BE08F:: @ 81BE08F + step_68 + step_end + +EventScript_1BE091:: @ 81BE091 + msgbox gUnknown_81BE0E2, 3 + end + +EventScript_1BE09A:: @ 81BE09A + closemessage + releaseall + end + +Text_1BE09D:: @ 81BE09D + .string "This rock appears to be breakable.\n" + .string "Would you like to use ROCK SMASH?$" + +gUnknown_81BE0E2:: @ 81BE0E2 + .string "It's a rugged rock, but a POKéMON\n" + .string "may be able to smash it.$" + +EventScript_InteractWithStrengthBoulderObject:: @ 81BE11D + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + checkflag FLAG_BADGE04_GET + goto_if FALSE, EventScript_1BE185 + checkflag FLAG_SYS_STRENGTH_ACTIVE + goto_if TRUE, EventScript_1BE18E + checkpartymove MOVE_STRENGTH + compare VAR_RESULT, PARTY_SIZE + goto_if eq, EventScript_1BE185 + setfieldeffectarg 0, VAR_RESULT + msgbox gUnknown_81BE19A, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BE197 + closemessage + dofieldeffect FLDEFF_USE_STRENGTH + waitstate + goto EventScript_1BE179 + end + +EventScript_FldEffStrength:: @ 81BE16E + lockall + dofieldeffect FLDEFF_USE_STRENGTH + waitstate + goto EventScript_1BE179 + end + +EventScript_1BE179:: @ 81BE179 + setflag FLAG_SYS_STRENGTH_ACTIVE + msgbox gUnknown_81BE1FA, 3 + end + +EventScript_1BE185:: @ 81BE185 + msgbox gUnknown_81BE244, 3 + end + +EventScript_1BE18E:: @ 81BE18E + msgbox gUnknown_81BE284, 3 + end + +EventScript_1BE197:: @ 81BE197 + closemessage + releaseall + end + +gUnknown_81BE19A:: @ 81BE19A + .string "It's a big boulder, but a POKéMON\n" + .string "may be able to push it aside.\p" + .string "Would you like to use STRENGTH?$" + +gUnknown_81BE1FA:: @ 81BE1FA + .string "{STR_VAR_1} used STRENGTH!\p" + .string "{STR_VAR_1}'s STRENGTH made it\n" + .string "possible to move boulders around!$" + +gUnknown_81BE244:: @ 81BE244 + .string "It's a big boulder, but a POKéMON\n" + .string "may be able to push it aside.$" + +gUnknown_81BE284:: @ 81BE284 + .string "STRENGTH made it possible to move\n" + .string "boulders around.$" + +gUnknown_81BE2B7:: @ 81BE2B7 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + checkpartymove MOVE_WATERFALL + compare VAR_RESULT, PARTY_SIZE + goto_if eq, EventScript_1BE300 + getpartymonname 0, VAR_RESULT + setfieldeffectarg 0, VAR_RESULT + msgbox gUnknown_81BE33F, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BE308 + msgbox gUnknown_81BE378 + dofieldeffect FLDEFF_USE_WATERFALL + goto EventScript_1BE308 + +EventScript_81BE2FF:: @ 81BE2FF + lockall +EventScript_1BE300: + msgbox gUnknown_81BE30A +EventScript_1BE308: + releaseall + end + +gUnknown_81BE30A:: @ 81BE30A + .string "A wall of water is crashing down\n" + .string "with a mighty roar.$" + +gUnknown_81BE33F:: @ 81BE33F + .string "It's a large waterfall.\n" + .string "Would you like to use WATERFALL?$" + +gUnknown_81BE378:: @ 81BE378 + .string "{STR_VAR_1} used WATERFALL.$" + +@ Unused leftover from R/S +EventScript_1BE38B:: @ 81BE38B + lockall + checkpartymove MOVE_DIVE + compare VAR_RESULT, PARTY_SIZE + goto_if eq, EventScript_1BE3CA + getpartymonname 0, VAR_RESULT + setfieldeffectarg 0, VAR_RESULT + setfieldeffectarg 1, 1 + msgbox gUnknown_81BE469, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BE3D2 + msgbox gUnknown_81BE49B + dofieldeffect FLDEFF_USE_DIVE + goto EventScript_1BE3D2 + +EventScript_1BE3C9:: @ 81BE3C9 + lockall +EventScript_1BE3CA: + msgbox Text_1BE42B +EventScript_1BE3D2: + releaseall + end + +EventScript_1BE3D4:: @ 81BE3D4 + lockall + checkpartymove MOVE_DIVE + compare VAR_RESULT, PARTY_SIZE + goto_if eq, EventScript_1BE412 + getpartymonname 0, VAR_RESULT + setfieldeffectarg 0, VAR_RESULT + setfieldeffectarg 1, 1 + msgbox gUnknown_81BE4EF, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BE429 + msgbox gUnknown_81BE49B + dofieldeffect FLDEFF_USE_DIVE + goto EventScript_1BE429 + +EventScript_1BE412:: @ 81BE412 + lockall + msgbox gUnknown_81BE4A9 + goto EventScript_1BE429 + +EventScript_1BE420:: @ 81BE420 + lockall + msgbox gUnknown_81BE52F +EventScript_1BE429: + releaseall + end + +Text_1BE42B:: @ 81BE42B + .string "The sea is deep here. A POKéMON\n" + .string "may be able to go underwater.$" + +gUnknown_81BE469:: @ 81BE469 + .string "The sea is deep here.\n" + .string "Would you like to use DIVE?$" + +gUnknown_81BE49B:: @ 81BE49B + .string "{STR_VAR_1} used DIVE.$" + +gUnknown_81BE4A9:: @ 81BE4A9 + .string "Light is filtering down from above.\n" + .string "A POKéMON may be able to surface.$" + +gUnknown_81BE4EF:: @ 81BE4EF + .string "Light is filtering down from above.\n" + .string "Would you like to use DIVE?$" + +gUnknown_81BE52F:: @ 81BE52F + .string "There is an obstacle above.\n" + .string "DIVE can't be used here.$" + +EventScript_FailSweetScent:: @ 81BE564 + msgbox Text_1BE56D, 3 + end + +Text_1BE56D:: @ 81BE56D + .string "Looks like there's nothing here…$" diff --git a/data/scripts/flash.inc b/data/scripts/flash.inc new file mode 100644 index 000000000..c05b7fcdd --- /dev/null +++ b/data/scripts/flash.inc @@ -0,0 +1,4 @@ +EventScript_81BFB5F:: @ 81BFB5F + animateflash 0 + setflashradius 0 + end diff --git a/data/scripts/hole.inc b/data/scripts/hole.inc new file mode 100644 index 000000000..3b7c671e9 --- /dev/null +++ b/data/scripts/hole.inc @@ -0,0 +1,31 @@ +EventScript_1C1338:: @ 81C1338 + map_script_2 VAR_0x4030, 0, EventScript_1C1348 + .2byte 0 + copyvar VAR_0x4030, 1 + end + +EventScript_1C1348:: @ 81C1348 + lockall + delay 20 + applymovement 255, Movement_1C137A + waitmovement 0 + playse SE_RU_HYUU + delay 60 + warphole 0xFFFF + waitstate + end + +EventScript_1C1361:: @ 81C1361 + lockall + delay 20 + applymovement 255, Movement_1C137A + waitmovement 0 + playse SE_RU_HYUU + delay 60 + special DoFallWarp + waitstate + end + +Movement_1C137A:: @ 81C137A + set_invisible + step_end diff --git a/data/scripts/item_ball_scripts.inc b/data/scripts/item_ball_scripts.inc new file mode 100644 index 000000000..76d2436ee --- /dev/null +++ b/data/scripts/item_ball_scripts.inc @@ -0,0 +1,671 @@ +Route2_EventScript_1BE58E:: @ 81BE58E + giveitem ITEM_ETHER, 1, 1 + end + +Route2_EventScript_1BE59B:: @ 81BE59B + giveitem ITEM_PARALYZE_HEAL, 1, 1 + end + +ViridianForest_EventScript_1BE5A8:: @ 81BE5A8 + giveitem ITEM_POKE_BALL, 1, 1 + end + +ViridianForest_EventScript_1BE5B5:: @ 81BE5B5 + giveitem ITEM_ANTIDOTE, 1, 1 + end + +ViridianForest_EventScript_1BE5C2:: @ 81BE5C2 + giveitem ITEM_POTION, 1, 1 + end + +MtMoon_1F_EventScript_1BE5CF:: @ 81BE5CF + giveitem ITEM_PARALYZE_HEAL, 1, 1 + end + +MtMoon_1F_EventScript_1BE5DC:: @ 81BE5DC + giveitem ITEM_TM09, 1, 1 + end + +MtMoon_1F_EventScript_1BE5E9:: @ 81BE5E9 + giveitem ITEM_POTION, 1, 1 + end + +MtMoon_1F_EventScript_1BE5F6:: @ 81BE5F6 + giveitem ITEM_RARE_CANDY, 1, 1 + end + +MtMoon_1F_EventScript_1BE603:: @ 81BE603 + giveitem ITEM_ESCAPE_ROPE, 1, 1 + end + +MtMoon_1F_EventScript_1BE610:: @ 81BE610 + giveitem ITEM_MOON_STONE, 1, 1 + end + +MtMoon_B2F_EventScript_1BE61D:: @ 81BE61D + giveitem ITEM_STAR_PIECE, 1, 1 + end + +MtMoon_B2F_EventScript_1BE62A:: @ 81BE62A + giveitem ITEM_TM46, 1, 1 + end + +Route4_EventScript_1BE637:: @ 81BE637 + giveitem ITEM_TM05, 1, 1 + end + +Route24_EventScript_1BE644:: @ 81BE644 + giveitem ITEM_TM45, 1, 1 + end + +Route25_EventScript_1BE651:: @ 81BE651 + giveitem ITEM_TM43, 1, 1 + end + +SSAnne_1F_Room2_EventScript_1BE65E:: @ 81BE65E + giveitem ITEM_TM31, 1, 1 + end + +SSAnne_2F_Room2_EventScript_1BE66B:: @ 81BE66B + giveitem ITEM_STARDUST, 1, 1 + end + +SSAnne_2F_Room4_EventScript_1BE678:: @ 81BE678 + giveitem ITEM_X_ATTACK, 1, 1 + end + +SSAnne_B1F_Room2_EventScript_1BE685:: @ 81BE685 + giveitem ITEM_TM44, 1, 1 + end + +SSAnne_B1F_Room3_EventScript_1BE692:: @ 81BE692 + giveitem ITEM_ETHER, 1, 1 + end + +SSAnne_B1F_Room5_EventScript_1BE69F:: @ 81BE69F + giveitem ITEM_SUPER_POTION, 1, 1 + end + +SSAnne_Kitchen_EventScript_1BE6AC:: @ 81BE6AC + giveitem ITEM_GREAT_BALL, 1, 1 + end + +Route9_EventScript_1BE6B9:: @ 81BE6B9 + giveitem ITEM_TM40, 1, 1 + end + +RocketHideout_B1F_EventScript_1BE6C6:: @ 81BE6C6 + giveitem ITEM_ESCAPE_ROPE, 1, 1 + end + +RocketHideout_B1F_EventScript_1BE6D3:: @ 81BE6D3 + giveitem ITEM_HYPER_POTION, 1, 1 + end + +RocketHideout_B2F_EventScript_1BE6E0:: @ 81BE6E0 + giveitem ITEM_X_SPEED, 1, 1 + end + +RocketHideout_B2F_EventScript_1BE6ED:: @ 81BE6ED + giveitem ITEM_MOON_STONE, 1, 1 + end + +RocketHideout_B2F_EventScript_1BE6FA:: @ 81BE6FA + giveitem ITEM_TM12, 1, 1 + end + +RocketHideout_B2F_EventScript_1BE707:: @ 81BE707 + giveitem ITEM_SUPER_POTION, 1, 1 + end + +RocketHideout_B3F_EventScript_1BE714:: @ 81BE714 + giveitem ITEM_RARE_CANDY, 1, 1 + end + +RocketHideout_B3F_EventScript_1BE721:: @ 81BE721 + giveitem ITEM_TM21, 1, 1 + end + +RocketHideout_B4F_EventScript_1BE72E:: @ 81BE72E + giveitem ITEM_TM49, 1, 1 + end + +RocketHideout_B4F_EventScript_1BE73B:: @ 81BE73B + giveitem ITEM_MAX_ETHER, 1, 1 + end + +RocketHideout_B4F_EventScript_1BE748:: @ 81BE748 + giveitem ITEM_CALCIUM, 1, 1 + end + +PokemonTower_3F_EventScript_1BE755:: @ 81BE755 + giveitem ITEM_ESCAPE_ROPE, 1, 1 + end + +PokemonTower_4F_EventScript_1BE762:: @ 81BE762 + giveitem ITEM_ELIXIR, 1, 1 + end + +PokemonTower_4F_EventScript_1BE76F:: @ 81BE76F + giveitem ITEM_AWAKENING, 1, 1 + end + +PokemonTower_4F_EventScript_1BE77C:: @ 81BE77C + giveitem ITEM_GREAT_BALL, 1, 1 + end + +PokemonTower_5F_EventScript_1BE789:: @ 81BE789 + giveitem ITEM_NUGGET, 1, 1 + end + +PokemonTower_6F_EventScript_1BE796:: @ 81BE796 + giveitem ITEM_RARE_CANDY, 1, 1 + end + +PokemonTower_6F_EventScript_1BE7A3:: @ 81BE7A3 + giveitem ITEM_X_ACCURACY, 1, 1 + end + +Route12_EventScript_1BE7B0:: @ 81BE7B0 + giveitem ITEM_TM48, 1, 1 + end + +Route12_EventScript_1BE7BD:: @ 81BE7BD + giveitem ITEM_IRON, 1, 1 + end + +Route15_EventScript_1BE7CA:: @ 81BE7CA + giveitem ITEM_TM18, 1, 1 + end + +SafariZone_Center_EventScript_1BE7D7:: @ 81BE7D7 + giveitem ITEM_NUGGET, 1, 1 + end + +SafariZone_East_EventScript_1BE7E4:: @ 81BE7E4 + giveitem ITEM_MAX_POTION, 1, 1 + end + +SafariZone_East_EventScript_1BE7F1:: @ 81BE7F1 + giveitem ITEM_FULL_RESTORE, 1, 1 + end + +SafariZone_East_EventScript_1BE7FE:: @ 81BE7FE + giveitem ITEM_TM11, 1, 1 + end + +SafariZone_East_EventScript_1BE80B:: @ 81BE80B + giveitem ITEM_LEAF_STONE, 1, 1 + end + +SafariZone_North_EventScript_1BE818:: @ 81BE818 + giveitem ITEM_PROTEIN, 1, 1 + end + +SafariZone_North_EventScript_1BE825:: @ 81BE825 + giveitem ITEM_TM47, 1, 1 + end + +SafariZone_West_EventScript_1BE832:: @ 81BE832 + giveitem ITEM_TM32, 1, 1 + end + +SafariZone_West_EventScript_1BE83F:: @ 81BE83F + giveitem ITEM_GOLD_TEETH, 1, 1 + end + +SafariZone_West_EventScript_1BE84C:: @ 81BE84C + giveitem ITEM_MAX_POTION, 1, 1 + end + +SafariZone_West_EventScript_1BE859:: @ 81BE859 + giveitem ITEM_MAX_REVIVE, 1, 1 + end + +SilphCo_3F_EventScript_1BE866:: @ 81BE866 + giveitem ITEM_HYPER_POTION, 1, 1 + end + +SilphCo_4F_EventScript_1BE873:: @ 81BE873 + giveitem ITEM_MAX_REVIVE, 1, 1 + end + +SilphCo_4F_EventScript_1BE880:: @ 81BE880 + giveitem ITEM_ESCAPE_ROPE, 1, 1 + end + +SilphCo_4F_EventScript_1BE88D:: @ 81BE88D + giveitem ITEM_FULL_HEAL, 1, 1 + end + +SilphCo_5F_EventScript_1BE89A:: @ 81BE89A + giveitem ITEM_PROTEIN, 1, 1 + end + +SilphCo_5F_EventScript_1BE8A7:: @ 81BE8A7 + giveitem ITEM_TM01, 1, 1 + end + +SilphCo_5F_EventScript_1BE8B4:: @ 81BE8B4 + giveitem ITEM_CARD_KEY, 1, 1 + end + +SilphCo_6F_EventScript_1BE8C1:: @ 81BE8C1 + giveitem ITEM_HP_UP, 1, 1 + end + +SilphCo_6F_EventScript_1BE8CE:: @ 81BE8CE + giveitem ITEM_X_SPECIAL, 1, 1 + end + +SilphCo_7F_EventScript_1BE8DB:: @ 81BE8DB + giveitem ITEM_CALCIUM, 1, 1 + end + +SilphCo_7F_EventScript_1BE8E8:: @ 81BE8E8 + giveitem ITEM_TM08, 1, 1 + end + +SilphCo_10F_EventScript_1BE8F5:: @ 81BE8F5 + giveitem ITEM_CARBOS, 1, 1 + end + +SilphCo_10F_EventScript_1BE902:: @ 81BE902 + giveitem ITEM_ULTRA_BALL, 1, 1 + end + +SilphCo_10F_EventScript_1BE90F:: @ 81BE90F + giveitem ITEM_RARE_CANDY, 1, 1 + end + +PowerPlant_EventScript_1BE91C:: @ 81BE91C + giveitem ITEM_MAX_POTION, 1, 1 + end + +PowerPlant_EventScript_1BE929:: @ 81BE929 + giveitem ITEM_TM17, 1, 1 + end + +PowerPlant_EventScript_1BE936:: @ 81BE936 + giveitem ITEM_TM25, 1, 1 + end + +PowerPlant_EventScript_1BE943:: @ 81BE943 + giveitem ITEM_THUNDER_STONE, 1, 1 + end + +PowerPlant_EventScript_1BE950:: @ 81BE950 + giveitem ITEM_ELIXIR, 1, 1 + end + +PokemonMansion_1F_EventScript_1BE95D:: @ 81BE95D + giveitem ITEM_CARBOS, 1, 1 + end + +PokemonMansion_1F_EventScript_1BE96A:: @ 81BE96A + giveitem ITEM_ESCAPE_ROPE, 1, 1 + end + +PokemonMansion_2F_EventScript_1BE977:: @ 81BE977 + giveitem ITEM_CALCIUM, 1, 1 + end + +PokemonMansion_3F_EventScript_1BE984:: @ 81BE984 + giveitem ITEM_MAX_POTION, 1, 1 + end + +PokemonMansion_3F_EventScript_1BE991:: @ 81BE991 + giveitem ITEM_IRON, 1, 1 + end + +PokemonMansion_B1F_EventScript_1BE99E:: @ 81BE99E + giveitem ITEM_TM14, 1, 1 + end + +PokemonMansion_B1F_EventScript_1BE9AB:: @ 81BE9AB + giveitem ITEM_FULL_RESTORE, 1, 1 + end + +PokemonMansion_B1F_EventScript_1BE9B8:: @ 81BE9B8 + giveitem ITEM_TM22, 1, 1 + end + +PokemonMansion_B1F_EventScript_1BE9C5:: @ 81BE9C5 + giveitem ITEM_SECRET_KEY, 1, 1 + end + +VictoryRoad_1F_EventScript_1BE9D2:: @ 81BE9D2 + giveitem ITEM_RARE_CANDY, 1, 1 + end + +VictoryRoad_1F_EventScript_1BE9DF:: @ 81BE9DF + giveitem ITEM_TM02, 1, 1 + end + +VictoryRoad_2F_EventScript_1BE9EC:: @ 81BE9EC + giveitem ITEM_GUARD_SPEC, 1, 1 + end + +VictoryRoad_2F_EventScript_1BE9F9:: @ 81BE9F9 + giveitem ITEM_TM07, 1, 1 + end + +VictoryRoad_2F_EventScript_1BEA06:: @ 81BEA06 + giveitem ITEM_FULL_HEAL, 1, 1 + end + +VictoryRoad_2F_EventScript_1BEA13:: @ 81BEA13 + giveitem ITEM_TM37, 1, 1 + end + +VictoryRoad_3F_EventScript_1BEA20:: @ 81BEA20 + giveitem ITEM_MAX_REVIVE, 1, 1 + end + +VictoryRoad_3F_EventScript_1BEA2D:: @ 81BEA2D + giveitem ITEM_TM50, 1, 1 + end + +CeruleanCave_1F_EventScript_1BEA3A:: @ 81BEA3A + giveitem ITEM_MAX_ELIXIR, 1, 1 + end + +CeruleanCave_1F_EventScript_1BEA47:: @ 81BEA47 + giveitem ITEM_NUGGET, 1, 1 + end + +CeruleanCave_1F_EventScript_1BEA54:: @ 81BEA54 + giveitem ITEM_FULL_RESTORE, 1, 1 + end + +CeruleanCave_2F_EventScript_1BEA61:: @ 81BEA61 + giveitem ITEM_FULL_RESTORE, 1, 1 + end + +CeruleanCave_2F_EventScript_1BEA6E:: @ 81BEA6E + giveitem ITEM_PP_UP, 1, 1 + end + +CeruleanCave_2F_EventScript_1BEA7B:: @ 81BEA7B + giveitem ITEM_ULTRA_BALL, 1, 1 + end + +CeruleanCave_B1F_EventScript_1BEA88:: @ 81BEA88 + giveitem ITEM_MAX_REVIVE, 1, 1 + end + +CeruleanCave_B1F_EventScript_1BEA95:: @ 81BEA95 + giveitem ITEM_ULTRA_BALL, 1, 1 + end + +FuchsiaCity_Building1_EventScript_1BEAA2:: @ 81BEAA2 + giveitem ITEM_RARE_CANDY, 1, 1 + end + +TwoIsland_EventScript_1BEAAF:: @ 81BEAAF + giveitem ITEM_REVIVE, 1, 1 + end + +ThreeIsland_EventScript_1BEABC:: @ 81BEABC + giveitem ITEM_ZINC, 1, 1 + end + +ViridianForest_EventScript_1BEAC9:: @ 81BEAC9 + giveitem ITEM_POTION, 1, 1 + end + +MtMoon_B2F_EventScript_1BEAD6:: @ 81BEAD6 + giveitem ITEM_REVIVE, 1, 1 + end + +MtMoon_B2F_EventScript_1BEAE3:: @ 81BEAE3 + giveitem ITEM_ANTIDOTE, 1, 1 + end + +Route11_EventScript_1BEAF0:: @ 81BEAF0 + giveitem ITEM_X_DEFEND, 1, 1 + end + +Route9_EventScript_1BEAFD:: @ 81BEAFD + giveitem ITEM_BURN_HEAL, 1, 1 + end + +RockTunnel_1F_EventScript_1BEB0A:: @ 81BEB0A + giveitem ITEM_REPEL, 1, 1 + end + +RockTunnel_1F_EventScript_1BEB17:: @ 81BEB17 + giveitem ITEM_PEARL, 1, 1 + end + +RockTunnel_1F_EventScript_1BEB24:: @ 81BEB24 + giveitem ITEM_ESCAPE_ROPE, 1, 1 + end + +RockTunnel_B1F_EventScript_1BEB31:: @ 81BEB31 + giveitem ITEM_REVIVE, 1, 1 + end + +RockTunnel_B1F_EventScript_1BEB3E:: @ 81BEB3E + giveitem ITEM_MAX_ETHER, 1, 1 + end + +SilphCo_8F_EventScript_1BEB4B:: @ 81BEB4B + giveitem ITEM_IRON, 1, 1 + end + +SilphCo_11F_EventScript_1BEB58:: @ 81BEB58 + giveitem ITEM_ZINC, 1, 1 + end + +PokemonMansion_1F_EventScript_1BEB65:: @ 81BEB65 + giveitem ITEM_PROTEIN, 1, 1 + end + +PokemonMansion_2F_EventScript_1BEB72:: @ 81BEB72 + giveitem ITEM_ZINC, 1, 1 + end + +PokemonMansion_2F_EventScript_1BEB7F:: @ 81BEB7F + giveitem ITEM_HP_UP, 1, 1 + end + +ViridianCity_EventScript_1BEB8C:: @ 81BEB8C + giveitem ITEM_POTION, 1, 1 + end + +Route11_EventScript_1BEB99:: @ 81BEB99 + giveitem ITEM_GREAT_BALL, 1, 1 + end + +Route11_EventScript_1BEBA6:: @ 81BEBA6 + giveitem ITEM_AWAKENING, 1, 1 + end + +PokemonTower_5F_EventScript_1BEBB3:: @ 81BEBB3 + giveitem ITEM_CLEANSE_TAG, 1, 1 + end + +CeladonCity_EventScript_1BEBC0:: @ 81BEBC0 + giveitem ITEM_ETHER, 1, 1 + end + +RocketHideout_B3F_EventScript_1BEBCD:: @ 81BEBCD + giveitem ITEM_BLACK_GLASSES, 1, 1 + end + +SafariZone_North_EventScript_1BEBDA:: @ 81BEBDA + giveitem ITEM_QUICK_CLAW, 1, 1 + end + +SeafoamIslands_1F_EventScript_1BEBE7:: @ 81BEBE7 + giveitem ITEM_ICE_HEAL, 1, 1 + end + +SeafoamIslands_B1F_EventScript_1BEBF4:: @ 81BEBF4 + giveitem ITEM_WATER_STONE, 1, 1 + end + +SeafoamIslands_B1F_EventScript_1BEC01:: @ 81BEC01 + giveitem ITEM_REVIVE, 1, 1 + end + +SeafoamIslands_B2F_EventScript_1BEC0E:: @ 81BEC0E + giveitem ITEM_BIG_PEARL, 1, 1 + end + +SeafoamIslands_B4F_EventScript_1BEC1B:: @ 81BEC1B + giveitem ITEM_ULTRA_BALL, 1, 1 + end + +FourIsland_EventScript_1BEC28:: @ 81BEC28 + giveitem ITEM_STAR_PIECE, 1, 1 + end + +FourIsland_EventScript_1BEC35:: @ 81BEC35 + giveitem ITEM_STARDUST, 1, 1 + end + +OneIsland_KindleRoad_EventScript_1BEC42:: @ 81BEC42 + giveitem ITEM_ETHER, 1, 1 + end + +OneIsland_KindleRoad_EventScript_1BEC4F:: @ 81BEC4F + giveitem ITEM_MAX_REPEL, 1, 1 + end + +OneIsland_KindleRoad_EventScript_1BEC5C:: @ 81BEC5C + giveitem ITEM_CARBOS, 1, 1 + end + +FiveIsland_Meadow_EventScript_1BEC69:: @ 81BEC69 + giveitem ITEM_MAX_POTION, 1, 1 + end + +FiveIsland_Meadow_EventScript_1BEC76:: @ 81BEC76 + giveitem ITEM_PP_UP, 1, 1 + end + +FiveIsland_MemorialPillar_EventScript_1BEC83:: @ 81BEC83 + giveitem ITEM_METAL_COAT, 1, 1 + end + +SixIsland_OutcastIsland_EventScript_1BEC90:: @ 81BEC90 + giveitem ITEM_PP_UP, 1, 1 + end + +SixIsland_WaterPath_EventScript_1BEC9D:: @ 81BEC9D + giveitem ITEM_ELIXIR, 1, 1 + end + +SixIsland_WaterPath_EventScript_1BECAA:: @ 81BECAA + giveitem ITEM_DRAGON_SCALE, 1, 1 + end + +SixIsland_RuinValley_EventScript_1BECB7:: @ 81BECB7 + giveitem ITEM_FULL_RESTORE, 1, 1 + end + +SixIsland_RuinValley_EventScript_1BECC4:: @ 81BECC4 + giveitem ITEM_HP_UP, 1, 1 + end + +SixIsland_RuinValley_EventScript_1BECD1:: @ 81BECD1 + giveitem ITEM_SUN_STONE, 1, 1 + end + +SevenIsland_SevaultCanyon_EventScript_1BECDE:: @ 81BECDE + giveitem ITEM_KINGS_ROCK, 1, 1 + end + +SevenIsland_SevaultCanyon_EventScript_1BECEB:: @ 81BECEB + giveitem ITEM_MAX_ELIXIR, 1, 1 + end + +SevenIsland_SevaultCanyon_EventScript_1BECF8:: @ 81BECF8 + giveitem ITEM_NUGGET, 1, 1 + end + +ThreeIsland_BerryForest_EventScript_1BED05:: @ 81BED05 + giveitem ITEM_MAX_ETHER, 1, 1 + end + +ThreeIsland_BerryForest_EventScript_1BED12:: @ 81BED12 + giveitem ITEM_FULL_HEAL, 1, 1 + end + +ThreeIsland_BerryForest_EventScript_1BED1F:: @ 81BED1F + giveitem ITEM_MAX_ELIXIR, 1, 1 + end + +MtEmber_Exterior_EventScript_1BED2C:: @ 81BED2C + giveitem ITEM_ULTRA_BALL, 1, 1 + end + +MtEmber_Exterior_EventScript_1BED39:: @ 81BED39 + giveitem ITEM_FIRE_STONE, 1, 1 + end + +MtEmber_Exterior_EventScript_1BED46:: @ 81BED46 + giveitem ITEM_DIRE_HIT, 1, 1 + end + +FourIsland_IcefallCave_1F_EventScript_1BED53:: @ 81BED53 + giveitem ITEM_ULTRA_BALL, 1, 1 + end + +FourIsland_IcefallCave_1F_EventScript_1BED60:: @ 81BED60 + giveitem ITEM_HM07, 1, 1 + end + +FourIsland_IcefallCave_B1F_EventScript_1BED6D:: @ 81BED6D + giveitem ITEM_FULL_RESTORE, 1, 1 + end + +FourIsland_IcefallCave_B1F_EventScript_1BED7A:: @ 81BED7A + giveitem ITEM_NEVER_MELT_ICE, 1, 1 + end + +FiveIsland_RocketWarehouse_EventScript_1BED87:: @ 81BED87 + giveitem ITEM_BIG_PEARL, 1, 1 + end + +FiveIsland_RocketWarehouse_EventScript_1BED94:: @ 81BED94 + giveitem ITEM_TM36, 1, 1 + end + +FiveIsland_RocketWarehouse_EventScript_1BEDA1:: @ 81BEDA1 + giveitem ITEM_PEARL, 1, 1 + end + +FiveIsland_RocketWarehouse_EventScript_1BEDAE:: @ 81BEDAE + giveitem ITEM_UP_GRADE, 1, 1 + end + +FiveIsland_LostCave_Room10_EventScript_1BEDBB:: @ 81BEDBB + giveitem ITEM_SILK_SCARF, 1, 1 + end + +FiveIsland_LostCave_Room11_EventScript_1BEDC8:: @ 81BEDC8 + giveitem ITEM_LAX_INCENSE, 1, 1 + end + +FiveIsland_LostCave_Room12_EventScript_1BEDD5:: @ 81BEDD5 + giveitem ITEM_SEA_INCENSE, 1, 1 + end + +FiveIsland_LostCave_Room13_EventScript_1BEDE2:: @ 81BEDE2 + giveitem ITEM_MAX_REVIVE, 1, 1 + end + +FiveIsland_LostCave_Room14_EventScript_1BEDEF:: @ 81BEDEF + giveitem ITEM_RARE_CANDY, 1, 1 + end + +SevenIsland_SevaultCanyon_House_EventScript_1BEDFC:: @ 81BEDFC + giveitem ITEM_LUCKY_PUNCH, 1, 1 + end + +SilphCo_4F_EventScript_1BEE09:: @ 81BEE09 + giveitem ITEM_TM41, 1, 1 + end diff --git a/data/scripts/move_tutors.inc b/data/scripts/move_tutors.inc new file mode 100644 index 000000000..51f87a6f5 --- /dev/null +++ b/data/scripts/move_tutors.inc @@ -0,0 +1,598 @@ +VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE + lock + faceplayer + checkflag FLAG_TUTOR_DOUBLE_EDGE + goto_if TRUE, EventScript_1C480C + msgbox Text_1749F9, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4802 + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4802 + msgbox Text_174AE2 + setvar VAR_0x8005, MOVETUTOR_DOUBLE_EDGE + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4802 + setflag FLAG_TUTOR_DOUBLE_EDGE + goto EventScript_1C480C + end + +EventScript_1C4802:: @ 81C4802 + msgbox Text_174ABC + release + end + +EventScript_1C480C:: @ 81C480C + msgbox Text_174B0C + release + end + +EventScript_1C4816:: @ 81C4816 + lock + faceplayer + checkflag FLAG_TUTOR_THUNDER_WAVE + goto_if TRUE, EventScript_1C4874 + msgbox Text_175711, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C486A + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C486A + msgbox Text_1757C1 + setvar VAR_0x8005, MOVETUTOR_THUNDER_WAVE + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C486A + setflag FLAG_TUTOR_THUNDER_WAVE + goto EventScript_1C4874 + end + +EventScript_1C486A:: @ 81C486A + msgbox Text_17579D + release + end + +EventScript_1C4874:: @ 81C4874 + msgbox Text_1757EC + release + end + +RockTunnel_B1F_EventScript_1C487E:: @ 81C487E + lock + faceplayer + checkflag FLAG_TUTOR_ROCK_SLIDE + goto_if TRUE, EventScript_1C48DC + msgbox Text_1799E0, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C48D2 + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C48D2 + msgbox Text_179AE1 + setvar VAR_0x8005, MOVETUTOR_ROCK_SLIDE + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C48D2 + setflag FLAG_TUTOR_ROCK_SLIDE + goto EventScript_1C48DC + end + +EventScript_1C48D2:: @ 81C48D2 + msgbox Text_179AC0 + release + end + +EventScript_1C48DC:: @ 81C48DC + msgbox Text_179B0A + release + end + +MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6 + lock + faceplayer + checkflag FLAG_TUTOR_EXPLOSION + goto_if TRUE, EventScript_1C4944 + msgbox Text_17A642, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C493A + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C493A + msgbox Text_17A717 + setvar VAR_0x8005, MOVETUTOR_EXPLOSION + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C493A + setflag FLAG_TUTOR_EXPLOSION + goto EventScript_1C4944 + end + +EventScript_1C493A:: @ 81C493A + msgbox Text_17A6ED + release + end + +EventScript_1C4944:: @ 81C4944 + msgbox Text_17A756 + release + end + +Route4_EventScript_1C494E:: @ 81C494E + lock + faceplayer + checkflag FLAG_TUTOR_META_PUNCH + goto_if TRUE, EventScript_1C49AC + msgbox Text_1839D5, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C49A2 + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C49A2 + msgbox Text_183ABF + setvar VAR_0x8005, MOVETUTOR_MEGA_PUNCH + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C49A2 + setflag FLAG_TUTOR_META_PUNCH + goto EventScript_1C49AC + end + +EventScript_1C49A2:: @ 81C49A2 + msgbox Text_183A83 + release + end + +EventScript_1C49AC:: @ 81C49AC + msgbox Text_183AE2 + release + end + +Route4_EventScript_1C49B6:: @ 81C49B6 + lock + faceplayer + checkflag FLAG_TUTOR_MEGA_KICK + goto_if TRUE, EventScript_1C4A14 + msgbox Text_183B74, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4A0A + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4A0A + msgbox Text_183C68 + setvar VAR_0x8005, MOVETUTOR_MEGA_KICK + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4A0A + setflag FLAG_TUTOR_MEGA_KICK + goto EventScript_1C4A14 + end + +EventScript_1C4A0A:: @ 81C4A0A + msgbox Text_183C25 + release + end + +EventScript_1C4A14:: @ 81C4A14 + msgbox Text_183C94 + release + end + +EventScript_1C4A1E:: @ 81C4A1E + lock + faceplayer + checkflag FLAG_TUTOR_DREAM_EATER + goto_if TRUE, EventScript_1C4A7C + msgbox Text_17E316, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4A72 + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4A72 + msgbox Text_17E3F1 + setvar VAR_0x8005, MOVETUTOR_DREAM_EATER + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4A72 + setflag FLAG_TUTOR_DREAM_EATER + goto EventScript_1C4A7C + end + +EventScript_1C4A72:: @ 81C4A72 + msgbox Text_17E3E9 + release + end + +EventScript_1C4A7C:: @ 81C4A7C + msgbox Text_17E41B + release + end + +EventScript_1C4A86:: @ 81C4A86 + lock + faceplayer + checkflag FLAG_TUTOR_SOFT_BOILED + goto_if TRUE, EventScript_1C4AE4 + msgbox Text_180388, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4ADA + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4ADA + msgbox Text_180484 + setvar VAR_0x8005, MOVETUTOR_SOFT_BOILED + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4ADA + setflag FLAG_TUTOR_SOFT_BOILED + goto EventScript_1C4AE4 + end + +EventScript_1C4ADA:: @ 81C4ADA + msgbox Text_18043F + release + end + +EventScript_1C4AE4:: @ 81C4AE4 + msgbox Text_1804C4 + release + end + +FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE + lock + faceplayer + checkflag FLAG_TUTOR_SUBSTITUTE + goto_if TRUE, EventScript_1C4B4C + msgbox Text_180948, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4B42 + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4B42 + msgbox Text_180A57 + setvar VAR_0x8005, MOVETUTOR_SUBSTITUTE + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4B42 + setflag FLAG_TUTOR_SUBSTITUTE + goto EventScript_1C4B4C + end + +EventScript_1C4B42:: @ 81C4B42 + msgbox Text_180A32 + release + end + +EventScript_1C4B4C:: @ 81C4B4C + msgbox Text_180A80 + release + end + +SevenIsland_EventScript_1C4B56:: @ 81C4B56 + lock + faceplayer + checkflag FLAG_TUTOR_SWORDS_DANCE + goto_if TRUE, EventScript_1C4BB4 + msgbox Text_182F01, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4BAA + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4BAA + msgbox Text_182FD9 + setvar VAR_0x8005, MOVETUTOR_SWORDS_DANCE + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4BAA + setflag FLAG_TUTOR_SWORDS_DANCE + goto EventScript_1C4BB4 + end + +EventScript_1C4BAA:: @ 81C4BAA + msgbox Text_182FC1 + release + end + +EventScript_1C4BB4:: @ 81C4BB4 + msgbox Text_18300D + release + end + +PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE + lock + faceplayer + checkflag FLAG_TUTOR_SEISMIC_TOSS + goto_if TRUE, EventScript_1C4C1C + msgbox Text_1909A3, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4C12 + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4C12 + msgbox Text_190AD5 + setvar VAR_0x8005, MOVETUTOR_SEISMIC_TOSS + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4C12 + setflag FLAG_TUTOR_SEISMIC_TOSS + goto EventScript_1C4C1C + end + +EventScript_1C4C12:: @ 81C4C12 + msgbox Text_190AA9 + release + end + +EventScript_1C4C1C:: @ 81C4C1C + msgbox Text_190B00 + release + end + +EventScript_1C4C26:: @ 81C4C26 + lock + faceplayer + checkflag FLAG_TUTOR_COUNTER + goto_if TRUE, EventScript_1C4C84 + msgbox Text_195928, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4C7A + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4C7A + msgbox Text_195A08 + setvar VAR_0x8005, MOVETUTOR_COUNTER + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4C7A + setflag FLAG_TUTOR_COUNTER + goto EventScript_1C4C84 + end + +EventScript_1C4C7A:: @ 81C4C7A + msgbox Text_1959CC + release + end + +EventScript_1C4C84:: @ 81C4C84 + msgbox Text_195A31 + release + end + +EventScript_1C4C8E:: @ 81C4C8E + lock + faceplayer + checkflag FLAG_TUTOR_METRONOME + goto_if TRUE, EventScript_1C4CEC + msgbox Text_19A137, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4CE2 + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4CE2 + msgbox Text_19A1EA + setvar VAR_0x8005, MOVETUTOR_METRONOME + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4CE2 + setflag FLAG_TUTOR_METRONOME + goto EventScript_1C4CEC + end + +EventScript_1C4CE2:: @ 81C4CE2 + msgbox Text_19A1CB + release + end + +EventScript_1C4CEC:: @ 81C4CEC + msgbox Text_19A20E + release + end + +EventScript_1C4CF6:: @ 81C4CF6 + checkflag FLAG_TUTOR_MIMIC + goto_if TRUE, EventScript_1C4D59 + msgbox Text_19AD85, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4D4F + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4D4F + msgbox Text_19ADEE + setvar VAR_0x8005, MOVETUTOR_MIMIC + call EventScript_1C4F30 + lock + faceplayer + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4D4F + removeitem ITEM_POKE_DOLL, 1 + setflag FLAG_TUTOR_MIMIC + goto EventScript_1C4D59 + end + +EventScript_1C4D4F:: @ 81C4D4F + msgbox Text_19ADD8 + release + end + +EventScript_1C4D59:: @ 81C4D59 + checkplayergender + compare VAR_RESULT, 0 + call_if eq, EventScript_1C4D72 + compare VAR_RESULT, 1 + call_if eq, EventScript_1C4D7B + release + end + +EventScript_1C4D72:: @ 81C4D72 + msgbox Text_19AE1C + return + +EventScript_1C4D7B:: @ 81C4D7B + msgbox Text_19AE90 + return + +FourIsland_House1_EventScript_1C4D84:: @ 81C4D84 + lock + faceplayer + checkflag FLAG_TUTOR_BODY_SLAM + goto_if TRUE, EventScript_1C4DE2 + msgbox Text_1A3505, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4DD8 + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4DD8 + msgbox Text_1A35DA + setvar VAR_0x8005, MOVETUTOR_BODY_SLAM + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4DD8 + setflag FLAG_TUTOR_BODY_SLAM + goto EventScript_1C4DE2 + end + +EventScript_1C4DD8:: @ 81C4DD8 + msgbox Text_1A35C7 + release + end + +EventScript_1C4DE2:: @ 81C4DE2 + msgbox Text_1A3609 + release + end + +TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + special sub_8112364 + lock + faceplayer + checkflag FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK + goto_if TRUE, EventScript_1C4EA1 + checkflag FLAG_TEMP_2 + goto_if TRUE, EventScript_1C4E97 + getfirstpartymonname 0 + msgbox Text_1A46C6 + specialvar VAR_RESULT, Special_CapeBrinkGetMoveToTeachLeadPokemon + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4F26 + copyvar VAR_0x8009, VAR_0x8005 + compare VAR_FACING, 2 + call_if eq, EventScript_1C4EF0 + compare VAR_FACING, 1 + call_if eq, EventScript_1C4EFB + compare VAR_FACING, 4 + call_if eq, EventScript_1C4F06 + compare VAR_FACING, 3 + call_if eq, EventScript_1C4F11 + msgbox Text_1A4751, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4F1C + call EventScript_1C4F37 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4F1C + msgbox Text_1A4814 + closemessage + fadescreen 1 + goto EventScript_1C4EDA + +EventScript_1C4E8F:: @ 81C4E8F + fadescreen 0 + goto EventScript_1C4EAB + end + +EventScript_1C4E97:: @ 81C4E97 + msgbox Text_1A48B3 + release + end + +EventScript_1C4EA1:: @ 81C4EA1 + msgbox Text_1A4972 + release + end + +EventScript_1C4EAB:: @ 81C4EAB + copyvar VAR_0x8005, VAR_0x8009 + specialvar VAR_RESULT, Special_HasLearnedAllMovesFromCapeBrinkTutor + compare VAR_RESULT, 1 + goto_if eq, EventScript_1C4ECD + msgbox Text_1A4865 + setflag FLAG_TEMP_2 + release + end + +EventScript_1C4ECD:: @ 81C4ECD + msgbox Text_1A48F3 + setflag FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK + release + end + +EventScript_1C4EDA:: @ 81C4EDA + call EventScript_1C4F30 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C4F1C + goto EventScript_1C4EAB + end + +EventScript_1C4EF0:: @ 81C4EF0 + applymovement 1, Movement_1C4F4C + waitmovement 0 + return + +EventScript_1C4EFB:: @ 81C4EFB + applymovement 1, Movement_1C4F4E + waitmovement 0 + return + +EventScript_1C4F06:: @ 81C4F06 + applymovement 1, Movement_1C4F50 + waitmovement 0 + return + +EventScript_1C4F11:: @ 81C4F11 + applymovement 1, Movement_1C4F52 + waitmovement 0 + return + +EventScript_1C4F1C:: @ 81C4F1C + msgbox Text_1A47E5 + release + end + +EventScript_1C4F26:: @ 81C4F26 + msgbox Text_1A4737 + release + end + +EventScript_1C4F30:: @ 81C4F30 + special ChooseMonForMoveTutor + waitstate + lock + faceplayer + return + +EventScript_1C4F37:: @ 81C4F37 + textcolor 3 + special sub_80699BC + signmsg + msgbox Text_1A644F, 5 + normalmsg + call EventScript_1A6675 + return + +Movement_1C4F4C:: @ 81C4F4C + step_52 + step_end + +Movement_1C4F4E:: @ 81C4F4E + step_53 + step_end + +Movement_1C4F50:: @ 81C4F50 + step_54 + step_end + +Movement_1C4F52:: @ 81C4F52 + step_55 + step_end diff --git a/data/scripts/mystery_event_club.inc b/data/scripts/mystery_event_club.inc new file mode 100644 index 000000000..6db5e89ff --- /dev/null +++ b/data/scripts/mystery_event_club.inc @@ -0,0 +1,180 @@ +PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16 + lock + faceplayer + compare VAR_0x4001, 1 + goto_if eq, EventScript_1BEE3A + checkflag FLAG_SYS_SET_TRAINER_CARD_PROFILE + goto_if TRUE, EventScript_1BEECD + msgbox Text_1BEF88 + goto EventScript_1BEE44 + end + +EventScript_1BEE3A:: @ 81BEE3A + msgbox gUnknown_81BF36A + release + end + +EventScript_1BEE44:: @ 81BEE44 + message Text_1BF017 + waitmessage + multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE + switch VAR_RESULT + case 0, EventScript_1BEE8F + case 1, EventScript_1BEEC3 + case 2, EventScript_1BEE81 + case SCR_MENU_CANCEL, EventScript_1BEEC3 + end + +EventScript_1BEE81:: @ 81BEE81 + msgbox gUnknown_81BF053 + goto EventScript_1BEE44 + end + +EventScript_1BEE8F:: @ 81BEE8F + msgbox gUnknown_81BF166 + closemessage + goto EventScript_1BEF5A + end + +EventScript_1BEE9E:: @ 81BEE9E + msgbox gUnknown_81BF1B2 + release + end + +EventScript_1BEEA8:: @ 81BEEA8 + setvar VAR_0x4001, 1 + setvar VAR_0x8004, 0 + special Special_BufferEasyChatMessage + waitmessage + delay 80 + msgbox gUnknown_81BF28E + release + end + +EventScript_1BEEC3:: @ 81BEEC3 + msgbox gUnknown_81BF17B + release + end + +EventScript_1BEECD:: @ 81BEECD + msgbox gUnknown_81BF1E8 + goto EventScript_1BEEDB + end + +EventScript_1BEEDB:: @ 81BEEDB + message Text_1BF1FB + waitmessage + multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE + switch VAR_RESULT + case 0, EventScript_1BEF26 + case 1, EventScript_1BEF35 + case 2, EventScript_1BEF18 + case SCR_MENU_CANCEL, EventScript_1BEF35 + end + +EventScript_1BEF18:: @ 81BEF18 + msgbox gUnknown_81BF053 + goto EventScript_1BEEDB + end + +EventScript_1BEF26:: @ 81BEF26 + msgbox gUnknown_81BF222 + closemessage + goto EventScript_1BEF5A + end + +EventScript_1BEF35:: @ 81BEF35 + msgbox gUnknown_81BF252 + release + end + +EventScript_1BEF3F:: @ 81BEF3F + setvar VAR_0x4001, 1 + setvar VAR_0x8004, 0 + special Special_BufferEasyChatMessage + waitmessage + delay 80 + msgbox gUnknown_81BF30D + release + end + +EventScript_1BEF5A:: @ 81BEF5A + setvar VAR_0x8004, 0 + call EventScript_1A6AC0 + lock + faceplayer + compare VAR_0x8004, 0 + goto_if eq, EventScript_1BEF3F + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BEE9E + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BEEA8 + end + +Text_1BEF88:: @ 81BEF88 + .string "Hi, glad to meet you!\p" + .string "…That's unfriendly of you.\n" + .string "How about saying hi back?\p" + .string "So, come on, tell me about\n" + .string "yourself.\p" + .string "I'd love to hear your profile!$" + +Text_1BF017:: @ 81BF017 + .string "Tell me something good about\n" + .string "yourself. What's your profile?$" + +gUnknown_81BF053:: @ 81BF053 + .string "A profile is written using four\n" + .string "words or phrases.\p" + .string "There're plenty of words to choose\n" + .string "from for your profile.\p" + .string "The words and phrases are placed\n" + .string "in several convenient groups.\p" + .string "First, choose a group, then choose\n" + .string "a word or phrase.\p" + .string "…It's easier than it sounds.\n" + .string "Why don't you try it?$" + +gUnknown_81BF166:: @ 81BF166 + .string "What's your profile?$" + +gUnknown_81BF17B:: @ 81BF17B + .string "Aww… Don't be like that.\n" + .string "You can tell me your profile.$" + +gUnknown_81BF1B2:: @ 81BF1B2 + .string "Oh, you've decided not to?\n" + .string "You're fickle, aren't you?$" + +gUnknown_81BF1E8:: @ 81BF1E8 + .string "Hi!\n" + .string "We meet again!$" + +Text_1BF1FB:: @ 81BF1FB + .string "Would you like to change your\n" + .string "profile?$" + +gUnknown_81BF222:: @ 81BF222 + .string "What are you like now?\n" + .string "I'd really like to know.$" + +gUnknown_81BF252:: @ 81BF252 + .string "Okay, you like your profile the\n" + .string "way it is.\p" + .string "I think so, too.$" + +gUnknown_81BF28E:: @ 81BF28E + .string "Hmhm…\p" + .string "Your profile really says something\n" + .string "about who you are.\p" + .string "Now that I know you better, it \n" + .string "makes us better friends than ever!$" + +gUnknown_81BF30D:: @ 81BF30D + .string "Oh, I've heard that before…\p" + .string "My cousin, who lives far away,\n" + .string "always used to say that, I think.$" + +gUnknown_81BF36A:: @ 81BF36A + .string "Please tell me more about\n" + .string "yourself next time!$" diff --git a/data/scripts/pkmn_center_nurse.inc b/data/scripts/pkmn_center_nurse.inc new file mode 100644 index 000000000..adf709ee3 --- /dev/null +++ b/data/scripts/pkmn_center_nurse.inc @@ -0,0 +1,72 @@ +EventScript_PkmnCenterNurse:: @ 81A6578 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + message Text_WelcomeWantToHealPkmn + waitmessage + multichoice 19, 8, MULTICHOICE_YES_NO, FALSE | (TRUE << 1) + switch VAR_RESULT + case 0, EventScript_PkmnCenterNurse_HealPkmn + case 1 EventScript_PkmnCenterNurse_Goodbye + case SCR_MENU_CANCEL, EventScript_PkmnCenterNurse_Goodbye + end + +EventScript_PkmnCenterNurse_HealPkmn:: @ 81A65B8 + incrementgamestat GAME_STAT_USED_POKECENTER + message Text_TakeYourPkmnForFewSeconds + waitmessage + call EventScript_PkmnCenterNurse_TakeAndHealPkmn + special sub_80CC524 + goto EventScript_PkmnCenterNurse_CheckTrainerTowerAndUnionRoom + end + +EventScript_PkmnCenterNurse_TakeAndHealPkmn:: @ 81A65CE + applymovement VAR_LAST_TALKED, Movement_1A75E7 + waitmovement 0 + dofieldeffect FLDEFF_POKECENTER_HEAL + waitfieldeffect FLDEFF_POKECENTER_HEAL + applymovement VAR_LAST_TALKED, Movement_1A75ED + waitmovement 0 + special sp000_heal_pokemon + return + +EventScript_PkmnCenterNurse_CheckTrainerTowerAndUnionRoom:: @ 81A65EC + specialvar VAR_RESULT, Special_PlayerIsNotInTrainerTowerLobby + compare VAR_RESULT, FALSE + goto_if eq, EventScript_PkmnCenterNurse_ReturnPkmn + specialvar VAR_RESULT, BufferUnionRoomPlayerName + copyvar VAR_0x8008, VAR_RESULT + compare VAR_0x8008, 0 + goto_if eq, EventScript_PkmnCenterNurse_ReturnPkmn + compare VAR_0x8008, 1 + goto_if eq, EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom + end + +EventScript_PkmnCenterNurse_ReturnPkmn:: @ 81A661D + message Text_RestoredPkmnToFullHealth + waitmessage + applymovement VAR_LAST_TALKED, Movement_1A666C + waitmovement 0 + msgbox Text_WeHopeToSeeYouAgain + return + +EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom:: @ 81A6636 + checkflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER + goto_if TRUE, EventScript_PkmnCenterNurse_ReturnPkmn + msgbox Text_RestoredPkmnToFullHealth + setflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER + message Text_PlayerIsPlayingRightNowGoForIt + waitmessage + applymovement VAR_LAST_TALKED, Movement_1A666C + waitmovement 0 + msgbox Text_WeHopeToSeeYouAgain + return + +EventScript_PkmnCenterNurse_Goodbye:: @ 81A6663 + msgbox Text_WeHopeToSeeYouAgain + return + +Movement_1A666C:: @ 81A666C + step_5b + step_1a + step_end diff --git a/data/scripts/repel.inc b/data/scripts/repel.inc new file mode 100644 index 000000000..addd6894e --- /dev/null +++ b/data/scripts/repel.inc @@ -0,0 +1,6 @@ +EventScript_RepelWoreOff:: @ 81BFB65 + msgbox Text_1BFB6E, 3 + end + +Text_1BFB6E:: @ 81BFB6E + .string "REPEL's effect wore off…$" diff --git a/data/scripts/set_gym_trainers.inc b/data/scripts/set_gym_trainers.inc new file mode 100644 index 000000000..d90fb1e81 --- /dev/null +++ b/data/scripts/set_gym_trainers.inc @@ -0,0 +1,76 @@ +EventScript_SetGymTrainers:: @ 81A6B18 + switch VAR_0x8008 + case 1, EventScript_SetPewterGymTrainers + case 2, EventScript_SetCeruleanGymTrainers + case 3, EventScript_SetVermilionGymTrainers + case 4, EventScript_SetCeladonGymTrainers + case 5, EventScript_SetFuchsiaGymTrainers + case 6, EventScript_SetSaffronGymTrainers + case 7, EventScript_SetCinnabarGymTrainers + case 8, EventScript_SetViridianGymTrainers + end + +EventScript_SetPewterGymTrainers:: @ 81A6B76 + settrainerflag TRAINER_CAMPER_LIAM + return + +EventScript_SetCeruleanGymTrainers:: @ 81A6B7A + settrainerflag TRAINER_PICNICKER_DIANA + settrainerflag TRAINER_SWIMMER_MALE_LUIS + return + +EventScript_SetVermilionGymTrainers:: @ 81A6B81 + settrainerflag TRAINER_SAILOR_DWAYNE + settrainerflag TRAINER_ENGINEER_BAILY + settrainerflag TRAINER_GENTLEMAN_TUCKER + return + +EventScript_SetCeladonGymTrainers:: @ 81A6B8B + settrainerflag TRAINER_LASS_KAY + settrainerflag TRAINER_LASS_LISA + settrainerflag TRAINER_PICNICKER_TINA + settrainerflag TRAINER_BEAUTY_BRIDGET + settrainerflag TRAINER_BEAUTY_TAMIA + settrainerflag TRAINER_BEAUTY_LORI + settrainerflag TRAINER_COOLTRAINER_MARY + return + +EventScript_SetFuchsiaGymTrainers:: @ 81A6BA1 + settrainerflag TRAINER_TAMER_PHIL + settrainerflag TRAINER_TAMER_EDGAR + settrainerflag TRAINER_JUGGLER_KIRK + settrainerflag TRAINER_JUGGLER_SHAWN + settrainerflag TRAINER_JUGGLER_KAYDEN + settrainerflag TRAINER_JUGGLER_NATE + return + +EventScript_SetSaffronGymTrainers:: @ 81A6BB4 + settrainerflag TRAINER_PSYCHIC_JOHAN + settrainerflag TRAINER_PSYCHIC_TYRON + settrainerflag TRAINER_PSYCHIC_CAMERON + settrainerflag TRAINER_PSYCHIC_PRESTON + settrainerflag TRAINER_CHANNELER_AMANDA + settrainerflag TRAINER_CHANNELER_STACY + settrainerflag TRAINER_CHANNELER_TASHA + return + +EventScript_SetCinnabarGymTrainers:: @ 81A6BCA + settrainerflag TRAINER_SUPER_NERD_ERIK + settrainerflag TRAINER_SUPER_NERD_AVERY + settrainerflag TRAINER_SUPER_NERD_DEREK + settrainerflag TRAINER_SUPER_NERD_ZAC + settrainerflag TRAINER_BURGLAR_QUINN + settrainerflag TRAINER_BURGLAR_RAMON + settrainerflag TRAINER_BURGLAR_DUSTY + return + +EventScript_SetViridianGymTrainers:: @ 81A6BE0 + settrainerflag TRAINER_TAMER_JASON + settrainerflag TRAINER_TAMER_COLE + settrainerflag TRAINER_BLACK_BELT_ATSUSHI + settrainerflag TRAINER_BLACK_BELT_KIYO + settrainerflag TRAINER_BLACK_BELT_TAKASHI + settrainerflag TRAINER_COOLTRAINER_SAMUEL + settrainerflag TRAINER_COOLTRAINER_YUJI + settrainerflag TRAINER_COOLTRAINER_WARREN + return diff --git a/data/scripts/surf.inc b/data/scripts/surf.inc new file mode 100644 index 000000000..e5955d9cb --- /dev/null +++ b/data/scripts/surf.inc @@ -0,0 +1,25 @@ +EventScript_UseSurf:: @ 81A6AC8 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_UseSurfEnd + checkpartymove MOVE_SURF + compare VAR_RESULT, PARTY_SIZE + goto_if eq, EventScript_UseSurfEnd + getpartymonname 0, VAR_RESULT + setfieldeffectarg 0, VAR_RESULT + lockall + msgbox Text_1A556E, 5 + compare VAR_RESULT, 0 + goto_if eq, EventScript_UseSurfRelease + msgbox Text_1A55A5 + dofieldeffect FLDEFF_USE_SURF +EventScript_UseSurfRelease:@ 81A6B0B + releaseall +EventScript_UseSurfEnd: @ 81A6B0C + end + +gUnknown_81A6B0D:: @ 81A6B0D + lockall + msgbox Text_CurrentTooFast + releaseall + end diff --git a/data/scripts/trainer_battle.inc b/data/scripts/trainer_battle.inc new file mode 100644 index 000000000..8d44b2783 --- /dev/null +++ b/data/scripts/trainer_battle.inc @@ -0,0 +1,158 @@ +gUnknown_81A4EB4:: @ 81A4EB4 + lock + special PlayTrainerEncounterMusic + special ScrSpecial_EndTrainerApproach + waitstate + goto EventScript_1A4FC7 + +EventScript_TryDoNormalTrainerBattle:: @ 81A4EC1 + lock + faceplayer + applymovement VAR_LAST_TALKED, Movement_1A4FC5 + waitmovement 0 + specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought + compare VAR_RESULT, 0 + goto_if ne, EventScript_1A4EE8 + special PlayTrainerEncounterMusic + special SetUpTrainerMovement + goto EventScript_1A4FC7 + +EventScript_1A4EE8:: @ 81A4EE8 + ontrainerbattleend + +EventScript_TryDoDoubleTrainerBattle:: @ 81A4EE9 + lock + faceplayer + call EventScript_1A4FBA + specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought + compare VAR_RESULT, 0 + goto_if ne, EventScript_1A4F20 + special CheckForAlivePartyMons + compare VAR_RESULT, 0 + goto_if ne, EventScript_1A4F19 + special PlayTrainerEncounterMusic + special SetUpTrainerMovement + goto EventScript_1A4FC7 + +EventScript_1A4F19:: @ 81A4F19 + special ScrSpecial_ShowTrainerNonBattlingSpeech + waitmessage + waitbuttonpress + release + end + +EventScript_1A4F20:: @ 81A4F20 + ontrainerbattleend + +EventScript_DoTrainerBattle:: @ 81A4F21 + applymovement VAR_LAST_TALKED, Movement_1A4FC5 + waitmovement 0 + special PlayTrainerEncounterMusic + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A501A + battlebegin + ontrainerbattleend + +EventScript_TryDoRematchBattle:: @ 81A4F3E + call EventScript_1A4FBA + specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag + compare VAR_RESULT, 0 + goto_if eq, EventScript_1A4F72 + special PlayTrainerEncounterMusic + special SetUpTrainerMovement + special ScrSpecial_ShowTrainerIntroSpeech + waitmessage + waitbuttonpress + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A4FB8 + special ScrSpecial_StartTrainerEyeRematch + waitstate + releaseall + end + +EventScript_1A4F72:: @ 81A4F72 + ontrainerbattleend + +EventScript_TryDoDoubleRematchBattle:: @ 81A4F73 + specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag + compare VAR_RESULT, 0 + goto_if eq, EventScript_1A4FB0 + special CheckForAlivePartyMons + compare VAR_RESULT, 0 + goto_if ne, EventScript_1A4FB1 + special PlayTrainerEncounterMusic + special SetUpTrainerMovement + special ScrSpecial_ShowTrainerIntroSpeech + waitmessage + waitbuttonpress + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A4FB8 + special ScrSpecial_StartTrainerEyeRematch + waitstate + releaseall + end + +EventScript_1A4FB0:: @ 81A4FB0 + ontrainerbattleend + +EventScript_1A4FB1:: @ 81A4FB1 + special ScrSpecial_ShowTrainerNonBattlingSpeech + waitmessage + waitbuttonpress + release + end + +EventScript_1A4FB8:: @ 81A4FB8 + releaseall + end + +EventScript_1A4FBA:: @ 81A4FBA + applymovement VAR_LAST_TALKED, Movement_1A4FC5 + waitmovement 0 + return + +Movement_1A4FC5:: @ 81A4FC5 + step_67 + step_end + +EventScript_1A4FC7:: @ 81A4FC7 + special ScrSpecial_ShowTrainerIntroSpeech + waitmessage + waitbuttonpress + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A501A + battlebegin + specialvar VAR_RESULT, ScrSpecial_GetTrainerBattleMode + compare VAR_RESULT, 0 + goto_if eq, EventScript_1A5017 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A5019 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A5019 + compare VAR_RESULT, 6 + goto_if eq, EventScript_1A5019 + compare VAR_RESULT, 8 + goto_if eq, EventScript_1A5019 + +EventScript_1A5017:: @ 81A5017 + releaseall + end + +EventScript_1A5019:: @ 81A5019 + ontrainerbattleendgoto + +EventScript_1A501A:: @ 81A501A + special SetBattledTrainerFlag + releaseall + end + +gStdScript_Message_WaitButton_AndRelease:: @ 81A501F + message 0x0 + waitmessage + waitbuttonpress + release + return diff --git a/data/scripts/trainers.inc b/data/scripts/trainers.inc new file mode 100644 index 000000000..0f59cabd1 --- /dev/null +++ b/data/scripts/trainers.inc @@ -0,0 +1,3041 @@ +Route3_EventScript_1A93C9:: @ 81A93C9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_BEN, 0, Text_183560, Text_1835A0 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A93F0 + msgbox Text_1835B4, 6 + end + +EventScript_1A93F0:: @ 81A93F0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_BEN, 0, Text_1C149D, Text_1835A0 + msgbox Text_1835B4, 6 + end + +Route3_EventScript_1A9407:: @ 81A9407 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_CALVIN, 0, Text_183786, Text_1837BD + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A942E + msgbox Text_1837CF, 6 + end + +EventScript_1A942E:: @ 81A942E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_CALVIN, 0, Text_1C1588, Text_1837BD + msgbox Text_1837CF, 6 + end + +Route3_EventScript_1A9445:: @ 81A9445 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_COLTON, 0, Text_1834E6, Text_183509 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A946C + msgbox Text_18351C, 6 + end + +EventScript_1A946C:: @ 81A946C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_COLTON, 0, Text_1C147A, Text_183509 + msgbox Text_18351C, 6 + end + +Route3_EventScript_1A9483:: @ 81A9483 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_GREG, 0, Text_183682, Text_1836B3 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A94AA + msgbox Text_1836D9, 6 + end + +EventScript_1A94AA:: @ 81A94AA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_GREG, 0, Text_1C1521, Text_1836B3 + msgbox Text_1836D9, 6 + end + +Route3_EventScript_1A94C1:: @ 81A94C1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_JAMES, 0, Text_183807, Text_183837 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A94E8 + msgbox Text_183849, 6 + end + +EventScript_1A94E8:: @ 81A94E8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_JAMES, 0, Text_1C15C5, Text_183837 + msgbox Text_183849, 6 + end + +Route3_EventScript_1A94FF:: @ 81A94FF + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_JANICE, 0, Text_183616, Text_18363F + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9526 + msgbox Text_18364C, 6 + end + +EventScript_1A9526:: @ 81A9526 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_JANICE, 0, Text_1C14F3, Text_18363F + msgbox Text_18364C, 6 + end + +Route3_EventScript_1A953D:: @ 81A953D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_SALLY, 0, Text_18371B, Text_183746 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9564 + msgbox Text_18374F, 6 + end + +EventScript_1A9564:: @ 81A9564 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_SALLY, 0, Text_1C155D, Text_183746 + msgbox Text_18374F, 6 + end + +Route3_EventScript_1A957B:: @ 81A957B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ROBIN, 0, Text_18387A, Text_183891 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A95A2 + msgbox Text_18389C, 6 + end + +EventScript_1A95A2:: @ 81A95A2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ROBIN, 0, Text_1C15F9, Text_183891 + msgbox Text_18389C, 6 + end + +Route4_EventScript_1A95B9:: @ 81A95B9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_CRISSY, 0, Text_183906, Text_183938 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A95E0 + msgbox Text_183957, 6 + end + +EventScript_1A95E0:: @ 81A95E0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_CRISSY, 0, Text_1C160F, Text_183938 + msgbox Text_183957, 6 + end + +Route24_EventScript_1A95F7:: @ 81A95F7 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_TIMMY, 0, Text_188F76, Text_188F95 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A961E + msgbox Text_188FA7, 6 + end + +EventScript_1A961E:: @ 81A961E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_TIMMY, 0, Text_1C3657, Text_188F95 + msgbox Text_188FA7, 6 + end + +Route24_EventScript_1A9635:: @ 81A9635 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_CALE, 0, Text_18901B, Text_18908C + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A965C + msgbox Text_18909E, 6 + end + +EventScript_1A965C:: @ 81A965C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_CALE, 0, Text_1C36DA, Text_18908C + msgbox Text_18909E, 6 + end + +Route24_EventScript_1A9673:: @ 81A9673 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_RELI, 0, Text_188F2C, Text_188F46 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A969A + msgbox Text_188F53, 6 + end + +EventScript_1A969A:: @ 81A969A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_RELI, 0, Text_1C3624, Text_188F46 + msgbox Text_188F53, 6 + end + +Route24_EventScript_1A96B1:: @ 81A96B1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ALI, 0, Text_188FC9, Text_188FE7 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A96D8 + msgbox Text_188FF9, 6 + end + +EventScript_1A96D8:: @ 81A96D8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ALI, 0, Text_1C3685, Text_188FE7 + msgbox Text_188FF9, 6 + end + +Route24_EventScript_1A96EF:: @ 81A96EF + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_SHANE, 0, Text_188E74, Text_188E94 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9716 + msgbox Text_188EA3, 6 + end + +EventScript_1A9716:: @ 81A9716 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_SHANE, 0, Text_1C35EE, Text_188E94 + msgbox Text_188EA3, 6 + end + +Route24_EventScript_1A972D:: @ 81A972D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_ETHAN, 0, Text_188ED9, Text_188EFA + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9754 + msgbox Text_188F0A, 6 + end + +EventScript_1A9754:: @ 81A9754 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_ETHAN, 0, Text_1C360E, Text_188EFA + msgbox Text_188F0A, 6 + end + +Route25_EventScript_1A976B:: @ 81A976B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_JOEY, 0, Text_1890C0, Text_1890E6 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9792 + msgbox Text_1890F5, 6 + end + +EventScript_1A9792:: @ 81A9792 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_JOEY, 0, Text_1C33E7, Text_1890E6 + msgbox Text_1890F5, 6 + end + +Route25_EventScript_1A97A9:: @ 81A97A9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DAN, 0, Text_189165, Text_1891A6 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A97D0 + msgbox Text_1891B3, 6 + end + +EventScript_1A97D0:: @ 81A97D0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DAN, 0, Text_1C3404, Text_1891A6 + msgbox Text_1891B3, 6 + end + +Route25_EventScript_1A97E7:: @ 81A97E7 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_CHAD, 0, Text_1892A9, Text_1892D9 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A980E + msgbox Text_1892EF, 6 + end + +EventScript_1A980E:: @ 81A980E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_CHAD, 0, Text_1C34D4, Text_1892D9 + msgbox Text_1892EF, 6 + end + +Route25_EventScript_1A9825:: @ 81A9825 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_KELSEY, 0, Text_189247, Text_189261 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A984C + msgbox Text_189281, 6 + end + +EventScript_1A984C:: @ 81A984C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_KELSEY, 0, Text_1C349C, Text_189261 + msgbox Text_189281, 6 + end + +Route25_EventScript_1A9863:: @ 81A9863 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_HALEY, 0, Text_189333, Text_189364 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A988A + msgbox Text_189378, 6 + end + +EventScript_1A988A:: @ 81A988A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_HALEY, 0, Text_1C350A, Text_189364 + msgbox Text_189378, 6 + end + +Route25_EventScript_1A98A1:: @ 81A98A1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_FRANKLIN, 0, Text_1893A7, Text_1893EA + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A98C8 + msgbox Text_1893FB, 6 + end + +EventScript_1A98C8:: @ 81A98C8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_FRANKLIN, 0, Text_1C353B, Text_1893EA + msgbox Text_1893FB, 6 + end + +Route25_EventScript_1A98DF:: @ 81A98DF + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_NOB, 0, Text_189423, Text_189459 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9906 + msgbox Text_18947E, 6 + end + +EventScript_1A9906:: @ 81A9906 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_NOB, 0, Text_1C357E, Text_189459 + msgbox Text_18947E, 6 + end + +Route25_EventScript_1A991D:: @ 81A991D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_WAYNE, 0, Text_1894DE, Text_18950A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9944 + msgbox Text_18951C, 6 + end + +EventScript_1A9944:: @ 81A9944 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_WAYNE, 0, Text_1C35BC, Text_18950A + msgbox Text_18951C, 6 + end + +Route25_EventScript_1A995B:: @ 81A995B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_FLINT, 0, Text_1891EB, Text_189212 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9982 + msgbox Text_18921D, 6 + end + +EventScript_1A9982:: @ 81A9982 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_FLINT, 0, Text_1C3445, Text_189212 + msgbox Text_18921D, 6 + end + +Route6_EventScript_1A9999:: @ 81A9999 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_KEIGO, 0, Text_183E9F, Text_183EC0 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A99C0 + msgbox Text_183ED4, 6 + end + +EventScript_1A99C0:: @ 81A99C0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_KEIGO, 0, Text_1C16E2, Text_183EC0 + msgbox Text_183ED4, 6 + end + +Route6_EventScript_1A99D7:: @ 81A99D7 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_183FF0, Text_18401A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A99FE + msgbox Text_18402B, 6 + end + +EventScript_1A99FE:: @ 81A99FE + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_1C176B, Text_18401A + msgbox Text_18402B, 6 + end + +Route6_EventScript_1A9A15:: @ 81A9A15 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_RICKY, 0, Text_183E04, Text_183E2A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9A3C + msgbox Text_183E3C, 6 + end + +EventScript_1A9A3C:: @ 81A9A3C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_RICKY, 0, Text_1C163C, Text_183E2A + msgbox Text_183E3C, 6 + end + +Route6_EventScript_1A9A53:: @ 81A9A53 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_JEFF, 0, Text_183F07, Text_183F24 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9A7A + msgbox Text_183F51, 6 + end + +EventScript_1A9A7A:: @ 81A9A7A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_JEFF, 0, Text_1C1723, Text_183F24 + msgbox Text_183F51, 6 + end + +Route6_EventScript_1A9A91:: @ 81A9A91 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_NANCY, 0, Text_183E4E, Text_183E79 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9AB8 + msgbox Text_183E8D, 6 + end + +EventScript_1A9AB8:: @ 81A9AB8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_NANCY, 0, Text_1C166D, Text_183E79 + msgbox Text_183E8D, 6 + end + +Route6_EventScript_1A9ACF:: @ 81A9ACF + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ISABELLE, 0, Text_183F90, Text_183FAB + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9AF6 + msgbox Text_183FC4, 6 + end + +EventScript_1A9AF6:: @ 81A9AF6 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ISABELLE, 0, Text_1C1746, Text_183FAB + msgbox Text_183FC4, 6 + end + +Route11_EventScript_1A9B0D:: @ 81A9B0D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_EDDIE, 0, Text_184FBD, Text_184FD8 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9B34 + msgbox Text_184FEF, 6 + end + +EventScript_1A9B34:: @ 81A9B34 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_EDDIE, 0, Text_1C1DB5, Text_184FD8 + msgbox Text_184FEF, 6 + end + +Route11_EventScript_1A9B4B:: @ 81A9B4B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DILLON, 0, Text_18506A, Text_18509B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9B72 + msgbox Text_1850CF, 6 + end + +EventScript_1A9B72:: @ 81A9B72 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DILLON, 0, Text_1C1E1F, Text_18509B + msgbox Text_1850CF, 6 + end + +Route11_EventScript_1A9B89:: @ 81A9B89 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_YASU, 0, Text_18517B, Text_1851AC + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9BB0 + msgbox Text_1851D2, 6 + end + +EventScript_1A9BB0:: @ 81A9BB0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_YASU, 0, Text_1C1EE2, Text_1851AC + msgbox Text_1851D2, 6 + end + +Route11_EventScript_1A9BC7:: @ 81A9BC7 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DAVE, 0, Text_185285, Text_1852C1 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9BEE + msgbox Text_1852E3, 6 + end + +EventScript_1A9BEE:: @ 81A9BEE + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DAVE, 0, Text_1C1F40, Text_1852C1 + msgbox Text_1852E3, 6 + end + +Route11_EventScript_1A9C05:: @ 81A9C05 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ENGINEER_BRAXTON, 0, Text_185011, Text_185037 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9C2C + msgbox Text_18504A, 6 + end + +EventScript_1A9C2C:: @ 81A9C2C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ENGINEER_BRAXTON, 0, Text_1C1DE1, Text_185037 + msgbox Text_18504A, 6 + end + +Route11_EventScript_1A9C43:: @ 81A9C43 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ENGINEER_BERNIE, 0, Text_185236, Text_185250 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9C6A + msgbox Text_185266, 6 + end + +EventScript_1A9C6A:: @ 81A9C6A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ENGINEER_BERNIE, 0, Text_1C1F1D, Text_185250 + msgbox Text_185266, 6 + end + +Route11_EventScript_1A9C81:: @ 81A9C81 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_HUGO, 0, Text_184F01, Text_184F15 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9CA8 + msgbox Text_184F2E, 6 + end + +EventScript_1A9CA8:: @ 81A9CA8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_HUGO, 0, Text_1C1D50, Text_184F15 + msgbox Text_184F2E, 6 + end + +Route11_EventScript_1A9CBF:: @ 81A9CBF + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_JASPER, 0, Text_184F5D, Text_184F7E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9CE6 + msgbox Text_184F8E, 6 + end + +EventScript_1A9CE6:: @ 81A9CE6 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_JASPER, 0, Text_1C1D79, Text_184F7E + msgbox Text_184F8E, 6 + end + +Route11_EventScript_1A9CFD:: @ 81A9CFD + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_DIRK, 0, Text_1850E9, Text_185105 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9D24 + msgbox Text_185114, 6 + end + +EventScript_1A9D24:: @ 81A9D24 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_DIRK, 0, Text_1C1E57, Text_185105 + msgbox Text_185114, 6 + end + +Route11_EventScript_1A9D3B:: @ 81A9D3B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_DARIAN, 0, Text_185135, Text_18514E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9D62 + msgbox Text_185161, 6 + end + +EventScript_1A9D62:: @ 81A9D62 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_DARIAN, 0, Text_1C1E9F, Text_18514E + msgbox Text_185161, 6 + end + +Route9_EventScript_1A9D79:: @ 81A9D79 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_BRENT, 0, Text_184A2F, Text_184A6A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9DA0 + msgbox Text_184A8C, 6 + end + +EventScript_1A9DA0:: @ 81A9DA0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_BRENT, 0, Text_1C1B83, Text_184A6A + msgbox Text_184A8C, 6 + end + +Route9_EventScript_1A9DB7:: @ 81A9DB7 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_CONNER, 0, Text_184B18, Text_184B32 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9DDE + msgbox Text_184B3B, 6 + end + +EventScript_1A9DDE:: @ 81A9DDE + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_CONNER, 0, Text_1C1BDC, Text_184B32 + msgbox Text_184B3B, 6 + end + +Route9_EventScript_1A9DF5:: @ 81A9DF5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_CHRIS, 0, Text_184844, Text_18487E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9E1C + msgbox Text_184890, 6 + end + +EventScript_1A9E1C:: @ 81A9E1C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_CHRIS, 0, Text_1C1A5D, Text_18487E + msgbox Text_184890, 6 + end + +Route9_EventScript_1A9E33:: @ 81A9E33 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_DREW, 0, Text_18489E, Text_1848CC + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9E5A + msgbox Text_1848DE, 6 + end + +EventScript_1A9E5A:: @ 81A9E5A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_DREW, 0, Text_1C1A9B, Text_1848CC + msgbox Text_1848DE, 6 + end + +Route9_EventScript_1A9E71:: @ 81A9E71 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ALICIA, 0, Text_1847B7, Text_1847DF + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9E98 + msgbox Text_1847F0, 6 + end + +EventScript_1A9E98:: @ 81A9E98 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ALICIA, 0, Text_1C1A2E, Text_1847DF + msgbox Text_1847F0, 6 + end + +Route9_EventScript_1A9EAF:: @ 81A9EAF + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CAITLIN, 0, Text_1848FF, Text_18491C + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9ED6 + msgbox Text_184931, 6 + end + +EventScript_1A9ED6:: @ 81A9ED6 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CAITLIN, 0, Text_1C1AFB, Text_18491C + msgbox Text_184931, 6 + end + +Route9_EventScript_1A9EED:: @ 81A9EED + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_ALAN, 0, Text_184ABE, Text_184AD5 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9F14 + msgbox Text_184AF1, 6 + end + +EventScript_1A9F14:: @ 81A9F14 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_ALAN, 0, Text_1C1BBE, Text_184AD5 + msgbox Text_184AF1, 6 + end + +Route9_EventScript_1A9F2B:: @ 81A9F2B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_BRICE, 0, Text_1849DF, Text_184A04 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9F52 + msgbox Text_184A11, 6 + end + +EventScript_1A9F52:: @ 81A9F52 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_BRICE, 0, Text_1C1B5E, Text_184A04 + msgbox Text_184A11, 6 + end + +Route9_EventScript_1A9F69:: @ 81A9F69 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_JEREMY, 0, Text_18495E, Text_18497F + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9F90 + msgbox Text_1849B0, 6 + end + +EventScript_1A9F90:: @ 81A9F90 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_JEREMY, 0, Text_1C1B37, Text_18497F + msgbox Text_1849B0, 6 + end + +Route10_EventScript_1A9FA7:: @ 81A9FA7 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_HEIDI, 0, Text_184CF1, Text_184D31 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9FCE + msgbox Text_184D4D, 6 + end + +EventScript_1A9FCE:: @ 81A9FCE + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_HEIDI, 0, Text_1C1C9A, Text_184D31 + msgbox Text_184D4D, 6 + end + +Route10_EventScript_1A9FE5:: @ 81A9FE5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CAROL, 0, Text_184E04, Text_184E3B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA00C + msgbox Text_184E5E, 6 + end + +EventScript_1AA00C:: @ 81AA00C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CAROL, 0, Text_1C1D14, Text_184E3B + msgbox Text_184E5E, 6 + end + +Route10_EventScript_1AA023:: @ 81AA023 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_MARK, 0, Text_184B8A, Text_184BE5 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA04A + msgbox Text_184BFB, 6 + end + +EventScript_1AA04A:: @ 81AA04A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_MARK, 0, Text_1C1BFA, Text_184BE5 + msgbox Text_184BFB, 6 + end + +Route10_EventScript_1AA061:: @ 81AA061 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_HERMAN, 0, Text_184C86, Text_184CA7 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA088 + msgbox Text_184CBB, 6 + end + +EventScript_1AA088:: @ 81AA088 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_HERMAN, 0, Text_1C1C76, Text_184CA7 + msgbox Text_184CBB, 6 + end + +Route10_EventScript_1AA09F:: @ 81AA09F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_CLARK, 0, Text_184C1D, Text_184C2D + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA0C6 + msgbox Text_184C60, 6 + end + +EventScript_1AA0C6:: @ 81AA0C6 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_CLARK, 0, Text_1C1C4F, Text_184C2D + msgbox Text_184C60, 6 + end + +Route10_EventScript_1AA0DD:: @ 81AA0DD + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_TRENT, 0, Text_184DAA, Text_184DCE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA104 + msgbox Text_184DE4, 6 + end + +EventScript_1AA104:: @ 81AA104 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_TRENT, 0, Text_1C1CD3, Text_184DCE + msgbox Text_184DE4, 6 + end + +Route8_EventScript_1AA11B:: @ 81AA11B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_PAIGE, 0, Text_1841ED, Text_184210 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA142 + msgbox Text_18421B, 6 + end + +EventScript_1AA142:: @ 81AA142 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_PAIGE, 0, Text_1C1834, Text_184210 + msgbox Text_18421B, 6 + end + +Route8_EventScript_1AA159:: @ 81AA159 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ANDREA, 0, Text_184321, Text_184346 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA180 + msgbox Text_184350, 6 + end + +EventScript_1AA180:: @ 81AA180 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ANDREA, 0, Text_1C18AA, Text_184346 + msgbox Text_184350, 6 + end + +Route8_EventScript_1AA197:: @ 81AA197 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_MEGAN, 0, Text_18437A, Text_1843A6 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA1BE + msgbox Text_1843D2, 6 + end + +EventScript_1AA1BE:: @ 81AA1BE + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_MEGAN, 0, Text_1C18DC, Text_1843A6 + msgbox Text_1843D2, 6 + end + +Route8_EventScript_1AA1D5:: @ 81AA1D5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_JULIA, 0, Text_1844AC, Text_1844D6 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA1FC + msgbox Text_1844FD, 6 + end + +EventScript_1AA1FC:: @ 81AA1FC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_JULIA, 0, Text_1C1955, Text_1844D6 + msgbox Text_1844FD, 6 + end + +Route8_EventScript_1AA213:: @ 81AA213 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_AIDAN, 0, Text_1840C5, Text_184100 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA23A + msgbox Text_18410E, 6 + end + +EventScript_1AA23A:: @ 81AA23A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_AIDAN, 0, Text_1C1793, Text_184100 + msgbox Text_18410E, 6 + end + +Route8_EventScript_1AA251:: @ 81AA251 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_GLENN, 0, Text_18417C, Text_1841B6 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA278 + msgbox Text_1841C8, 6 + end + +EventScript_1AA278:: @ 81AA278 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_GLENN, 0, Text_1C17F1, Text_1841B6 + msgbox Text_1841C8, 6 + end + +Route8_EventScript_1AA28F:: @ 81AA28F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_LESLIE, 0, Text_184257, Text_18427A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA2B6 + msgbox Text_1842B3, 6 + end + +EventScript_1AA2B6:: @ 81AA2B6 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_LESLIE, 0, Text_1C1873, Text_18427A + msgbox Text_1842B3, 6 + end + +Route8_EventScript_1AA2CD:: @ 81AA2CD + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_STAN, 0, Text_18412F, Text_18414D + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA2F4 + msgbox Text_184162, 6 + end + +EventScript_1AA2F4:: @ 81AA2F4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_STAN, 0, Text_1C17CD, Text_18414D + msgbox Text_184162, 6 + end + +Route8_EventScript_1AA30B:: @ 81AA30B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_RICH, 0, Text_184432, Text_18444F + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA332 + msgbox Text_184466, 6 + end + +EventScript_1AA332:: @ 81AA332 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_RICH, 0, Text_1C191F, Text_18444F + msgbox Text_184466, 6 + end + +Route8_EventScript_1AA349:: @ 81AA349 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1845A4, Text_1845D0, Text_184616 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA374 + msgbox Text_1845F2, 6 + end + +EventScript_1AA374:: @ 81AA374 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1C19E5, Text_1845D0, Text_184616 + msgbox Text_1845F2, 6 + end + +Route8_EventScript_1AA38F:: @ 81AA38F + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_18464A, Text_184675, Text_1846AF + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA3BA + msgbox Text_18468B, 6 + end + +EventScript_1AA3BA:: @ 81AA3BA + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1C1A0D, Text_184675, Text_1846AF + msgbox Text_18468B, 6 + end + +Route8_EventScript_1AA3D5:: @ 81AA3D5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_RICARDO, 0, Text_1846E2, Text_1846FC + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA3FC + msgbox Text_184719, 6 + end + +EventScript_1AA3FC:: @ 81AA3FC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_RICARDO, 0, Text_1C199C, Text_1846FC + msgbox Text_184719, 6 + end + +Route8_EventScript_1AA413:: @ 81AA413 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JAREN, 0, Text_184742, Text_184767 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA43A + msgbox Text_18477A, 6 + end + +EventScript_1AA43A:: @ 81AA43A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JAREN, 0, Text_1C19BC, Text_184767 + msgbox Text_18477A, 6 + end + +Route12_EventScript_1AA451:: @ 81AA451 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_NED, 0, Text_185402, Text_18541B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA478 + msgbox Text_185432, 6 + end + +EventScript_1AA478:: @ 81AA478 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_NED, 0, Text_1C1F9D, Text_18541B + msgbox Text_185432, 6 + end + +Route12_EventScript_1AA48F:: @ 81AA48F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_CHIP, 0, Text_18544E, Text_185475 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA4B6 + msgbox Text_185488, 6 + end + +EventScript_1AA4B6:: @ 81AA4B6 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_CHIP, 0, Text_1C1FD8, Text_185475 + msgbox Text_185488, 6 + end + +Route12_EventScript_1AA4CD:: @ 81AA4CD + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_HANK, 0, Text_1855E1, Text_185606 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA4F4 + msgbox Text_185616, 6 + end + +EventScript_1AA4F4:: @ 81AA4F4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_HANK, 0, Text_1C209C, Text_185606 + msgbox Text_185616, 6 + end + +Route12_EventScript_1AA50B:: @ 81AA50B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_ELLIOT, 0, Text_185682, Text_1856D0 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA532 + msgbox Text_1856DF, 6 + end + +EventScript_1AA532:: @ 81AA532 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_ELLIOT, 0, Text_1C20D4, Text_1856D0 + msgbox Text_1856DF, 6 + end + +Route12_EventScript_1AA549:: @ 81AA549 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_ANDREW, 0, Text_18570E, Text_185744 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA570 + msgbox Text_18574D, 6 + end + +EventScript_1AA570:: @ 81AA570 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_ANDREW, 0, Text_1C2134, Text_185744 + msgbox Text_18574D, 6 + end + +Route12_EventScript_1AA587:: @ 81AA587 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ROCKER_LUCA, 0, Text_185547, Text_18559B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA5AE + msgbox Text_1855A6, 6 + end + +EventScript_1AA5AE:: @ 81AA5AE + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ROCKER_LUCA, 0, Text_1C203B, Text_18559B + msgbox Text_1855A6, 6 + end + +Route12_EventScript_1AA5C5:: @ 81AA5C5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_JUSTIN, 0, Text_1854B9, Text_1854ED + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA5EC + msgbox Text_1854F2, 6 + end + +EventScript_1AA5EC:: @ 81AA5EC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_JUSTIN, 0, Text_1C2008, Text_1854ED + msgbox Text_1854F2, 6 + end + +Route12_EventScript_1AA603:: @ 81AA603 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1857C5, Text_1857F1, Text_185842 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA62E + msgbox Text_18581F, 6 + end + +EventScript_1AA62E:: @ 81AA62E + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C216B, Text_1857F1, Text_185842 + msgbox Text_18581F, 6 + end + +Route12_EventScript_1AA649:: @ 81AA649 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1858A6, Text_1858D0, Text_185908 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA674 + msgbox Text_1858E2, 6 + end + +EventScript_1AA674:: @ 81AA674 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C219B, Text_1858D0, Text_185908 + msgbox Text_1858E2, 6 + end + +Route13_EventScript_1AA68F:: @ 81AA68F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JARED, 0, Text_185D05, Text_185D1D + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA6B6 + msgbox Text_185D33, 6 + end + +EventScript_1AA6B6:: @ 81AA6B6 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JARED, 0, Text_1C236B, Text_185D1D + msgbox Text_185D33, 6 + end + +Route13_EventScript_1AA6CD:: @ 81AA6CD + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_LOLA, 0, Text_185BFC, Text_185C1F + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA6F4 + msgbox Text_185C35, 6 + end + +EventScript_1AA6F4:: @ 81AA6F4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_LOLA, 0, Text_1C2306, Text_185C1F + msgbox Text_185C35, 6 + end + +Route13_EventScript_1AA70B:: @ 81AA70B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_SHEILA, 0, Text_185C69, Text_185C95 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA732 + msgbox Text_185CA8, 6 + end + +EventScript_1AA732:: @ 81AA732 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_SHEILA, 0, Text_1C2340, Text_185C95 + msgbox Text_185CA8, 6 + end + +Route13_EventScript_1AA749:: @ 81AA749 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_185955, Text_18597E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA770 + msgbox Text_1859A2, 6 + end + +EventScript_1AA770:: @ 81AA770 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_1C21EE, Text_18597E + msgbox Text_1859A2, 6 + end + +Route13_EventScript_1AA787:: @ 81AA787 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_PERRY, 0, Text_185B8F, Text_185BCA + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA7AE + msgbox Text_185BDB, 6 + end + +EventScript_1AA7AE:: @ 81AA7AE + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_PERRY, 0, Text_1C22CA, Text_185BCA + msgbox Text_185BDB, 6 + end + +Route13_EventScript_1AA7C5:: @ 81AA7C5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_185D3D, Text_185D7B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA7EC + msgbox Text_185D89, 6 + end + +EventScript_1AA7EC:: @ 81AA7EC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_1C2383, Text_185D7B + msgbox Text_185D89, 6 + end + +Route13_EventScript_1AA803:: @ 81AA803 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ALMA, 0, Text_185B12, Text_185B48 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA82A + msgbox Text_185B67, 6 + end + +EventScript_1AA82A:: @ 81AA82A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ALMA, 0, Text_1C2299, Text_185B48 + msgbox Text_185B67, 6 + end + +Route13_EventScript_1AA841:: @ 81AA841 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_SUSIE, 0, Text_1859CF, Text_1859EC + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA868 + msgbox Text_1859F9, 6 + end + +EventScript_1AA868:: @ 81AA868 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_SUSIE, 0, Text_1C220C, Text_1859EC + msgbox Text_1859F9, 6 + end + +Route13_EventScript_1AA87F:: @ 81AA87F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_VALERIE, 0, Text_185A37, Text_185A56 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA8A6 + msgbox Text_185A62, 6 + end + +EventScript_1AA8A6:: @ 81AA8A6 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_VALERIE, 0, Text_1C223C, Text_185A56 + msgbox Text_185A62, 6 + end + +Route13_EventScript_1AA8BD:: @ 81AA8BD + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_GWEN, 0, Text_185A91, Text_185AC1 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA8E4 + msgbox Text_185ADE, 6 + end + +EventScript_1AA8E4:: @ 81AA8E4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_GWEN, 0, Text_1C225B, Text_185AC1 + msgbox Text_185ADE, 6 + end + +Route14_EventScript_1AA8FB:: @ 81AA8FB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_MALIK, 0, Text_186344, Text_186362 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA922 + msgbox Text_18636E, 6 + end + +EventScript_1AA922:: @ 81AA922 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_MALIK, 0, Text_1C25D6, Text_186362 + msgbox Text_18636E, 6 + end + +Route14_EventScript_1AA939:: @ 81AA939 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_LUKAS, 0, Text_1861F7, Text_186223 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA960 + msgbox Text_186239, 6 + end + +EventScript_1AA960:: @ 81AA960 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_LUKAS, 0, Text_1C2531, Text_186223 + msgbox Text_186239, 6 + end + +Route14_EventScript_1AA977:: @ 81AA977 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ISAAC, 0, Text_186263, Text_186291 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA99E + msgbox Text_18629D, 6 + end + +EventScript_1AA99E:: @ 81AA99E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ISAAC, 0, Text_1C2572, Text_186291 + msgbox Text_18629D, 6 + end + +Route14_EventScript_1AA9B5:: @ 81AA9B5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_GERALD, 0, Text_1862BD, Text_1862EF + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AA9DC + msgbox Text_1862F8, 6 + end + +EventScript_1AA9DC:: @ 81AA9DC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_GERALD, 0, Text_1C259E, Text_1862EF + msgbox Text_1862F8, 6 + end + +Route14_EventScript_1AA9F3:: @ 81AA9F3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1860D9, Text_18610A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAA1A + msgbox Text_18611D, 6 + end + +EventScript_1AAA1A:: @ 81AAA1A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1C24CB, Text_18610A + msgbox Text_18611D, 6 + end + +Route14_EventScript_1AAA31:: @ 81AAA31 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_BENNY, 0, Text_18618E, Text_1861B3 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAA58 + msgbox Text_1861BE, 6 + end + +EventScript_1AAA58:: @ 81AAA58 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_BENNY, 0, Text_1C2505, Text_1861B3 + msgbox Text_1861BE, 6 + end + +Route14_EventScript_1AAA6F:: @ 81AAA6F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CARTER, 0, Text_185E4D, Text_185E81 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAA96 + msgbox Text_185E9C, 6 + end + +EventScript_1AAA96:: @ 81AAA96 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CARTER, 0, Text_1C23C1, Text_185E81 + msgbox Text_185E9C, 6 + end + +Route14_EventScript_1AAAAD:: @ 81AAAAD + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MITCH, 0, Text_185EDF, Text_185F0B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAAD4 + msgbox Text_185F1A, 6 + end + +EventScript_1AAAD4:: @ 81AAAD4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MITCH, 0, Text_1C23EF, Text_185F0B + msgbox Text_185F1A, 6 + end + +Route14_EventScript_1AAAEB:: @ 81AAAEB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_BECK, 0, Text_185F46, Text_185FAE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAB12 + msgbox Text_185FBB, 6 + end + +EventScript_1AAB12:: @ 81AAB12 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_BECK, 0, Text_1C2425, Text_185FAE + msgbox Text_185FBB, 6 + end + +Route14_EventScript_1AAB29:: @ 81AAB29 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MARLON, 0, Text_186021, Text_18607C + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAB50 + msgbox Text_186091, 6 + end + +EventScript_1AAB50:: @ 81AAB50 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MARLON, 0, Text_1C2461, Text_18607C + msgbox Text_186091, 6 + end + +Route14_EventScript_1AAB67:: @ 81AAB67 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1863B7, Text_1863EA, Text_18642E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAB92 + msgbox Text_18640D, 6 + end + +EventScript_1AAB92:: @ 81AAB92 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1C25FB, Text_1863EA, Text_18642E + msgbox Text_18640D, 6 + end + +Route14_EventScript_1AABAD:: @ 81AABAD + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_18645B, Text_186487, Text_1864D3 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AABD8 + msgbox Text_18649C, 6 + end + +EventScript_1AABD8:: @ 81AABD8 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1C261B, Text_186487, Text_1864D3 + msgbox Text_18649C, 6 + end + +Route15_EventScript_1AABF3:: @ 81AABF3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ERNEST, 0, Text_1868B6, Text_1868E8 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAC1A + msgbox Text_1868F1, 6 + end + +EventScript_1AAC1A:: @ 81AAC1A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ERNEST, 0, Text_1C27E7, Text_1868E8 + msgbox Text_1868F1, 6 + end + +Route15_EventScript_1AAC31:: @ 81AAC31 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ALEX, 0, Text_186936, Text_186968 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAC58 + msgbox Text_18697C, 6 + end + +EventScript_1AAC58:: @ 81AAC58 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ALEX, 0, Text_1C2814, Text_186968 + msgbox Text_18697C, 6 + end + +Route15_EventScript_1AAC6F:: @ 81AAC6F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_GRACE, 0, Text_18678B, Text_1867C1 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAC96 + msgbox Text_1867DA, 6 + end + +EventScript_1AAC96:: @ 81AAC96 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_GRACE, 0, Text_1C2753, Text_1867C1 + msgbox Text_1867DA, 6 + end + +Route15_EventScript_1AACAD:: @ 81AACAD + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_OLIVIA, 0, Text_18680C, Text_186841 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AACD4 + msgbox Text_18686F, 6 + end + +EventScript_1AACD4:: @ 81AACD4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_OLIVIA, 0, Text_1C279D, Text_186841 + msgbox Text_18686F, 6 + end + +Route15_EventScript_1AACEB:: @ 81AACEB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_18664F, Text_18667A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAD12 + msgbox Text_18668D, 6 + end + +EventScript_1AAD12:: @ 81AAD12 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_1C26D3, Text_18667A + msgbox Text_18668D, 6 + end + +Route15_EventScript_1AAD29:: @ 81AAD29 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1866D1, Text_186707 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAD50 + msgbox Text_18671A, 6 + end + +EventScript_1AAD50:: @ 81AAD50 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1C2717, Text_186707 + msgbox Text_18671A, 6 + end + +Route15_EventScript_1AAD67:: @ 81AAD67 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_YAZMIN, 0, Text_186A22, Text_186A40 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAD8E + msgbox Text_186A55, 6 + end + +EventScript_1AAD8E:: @ 81AAD8E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_YAZMIN, 0, Text_1C287D, Text_186A40 + msgbox Text_186A55, 6 + end + +Route15_EventScript_1AADA5:: @ 81AADA5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_KINDRA, 0, Text_18650B, Text_186549 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AADCC + msgbox Text_18655A, 6 + end + +EventScript_1AADCC:: @ 81AADCC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_KINDRA, 0, Text_1C2650, Text_186549 + msgbox Text_18655A, 6 + end + +Route15_EventScript_1AADE3:: @ 81AADE3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_BECKY, 0, Text_1865D3, Text_186612 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAE0A + msgbox Text_18661D, 6 + end + +EventScript_1AAE0A:: @ 81AAE0A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_BECKY, 0, Text_1C268D, Text_186612 + msgbox Text_18661D, 6 + end + +Route15_EventScript_1AAE21:: @ 81AAE21 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CELIA, 0, Text_1869BA, Text_1869E6 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAE48 + msgbox Text_1869F4, 6 + end + +EventScript_1AAE48:: @ 81AAE48 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CELIA, 0, Text_1C2846, Text_1869E6 + msgbox Text_1869F4, 6 + end + +Route15_EventScript_1AAE5F:: @ 81AAE5F + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_186A95, Text_186ACB, Text_186B46 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAE8A + msgbox Text_186B0A, 6 + end + +EventScript_1AAE8A:: @ 81AAE8A + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28A1, Text_186ACB, Text_186B46 + msgbox Text_186B0A, 6 + end + +Route15_EventScript_1AAEA5:: @ 81AAEA5 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_186B89, Text_186BB1, Text_186BFE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAED0 + msgbox Text_186BD2, 6 + end + +EventScript_1AAED0:: @ 81AAED0 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28EC, Text_186BB1, Text_186BFE + msgbox Text_186BD2, 6 + end + +Route16_EventScript_1AAEEB:: @ 81AAEEB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_LAO, 0, Text_186C4D, Text_186C5F + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAF12 + msgbox Text_186C75, 6 + end + +EventScript_1AAF12:: @ 81AAF12 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_LAO, 0, Text_1C2913, Text_186C5F + msgbox Text_186C75, 6 + end + +Route16_EventScript_1AAF29:: @ 81AAF29 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_HIDEO, 0, Text_186D39, Text_186D52 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAF50 + msgbox Text_186D5A, 6 + end + +EventScript_1AAF50:: @ 81AAF50 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_HIDEO, 0, Text_1C297B, Text_186D52 + msgbox Text_186D5A, 6 + end + +Route16_EventScript_1AAF67:: @ 81AAF67 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_RUBEN, 0, Text_186E86, Text_186EB4 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAF8E + msgbox Text_186EC7, 6 + end + +EventScript_1AAF8E:: @ 81AAF8E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_RUBEN, 0, Text_1C29EB, Text_186EB4 + msgbox Text_186EC7, 6 + end + +Route16_EventScript_1AAFA5:: @ 81AAFA5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_KOJI, 0, Text_186CA2, Text_186CBB + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AAFCC + msgbox Text_186CC5, 6 + end + +EventScript_1AAFCC:: @ 81AAFCC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_KOJI, 0, Text_1C2925, Text_186CBB + msgbox Text_186CC5, 6 + end + +Route16_EventScript_1AAFE3:: @ 81AAFE3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_LUKE, 0, Text_186CE5, Text_186D06 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB00A + msgbox Text_186D16, 6 + end + +EventScript_1AB00A:: @ 81AB00A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_LUKE, 0, Text_1C2944, Text_186D06 + msgbox Text_186D16, 6 + end + +Route16_EventScript_1AB021:: @ 81AB021 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_CAMRON, 0, Text_186DD9, Text_186E0D + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB048 + msgbox Text_186E1C, 6 + end + +EventScript_1AB048:: @ 81AB048 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_CAMRON, 0, Text_1C29B0, Text_186E0D + msgbox Text_186E1C, 6 + end + +Route16_EventScript_1AB05F:: @ 81AB05F + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_186FBD, Text_186FFA, Text_187057 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB08A + msgbox Text_187027, 6 + end + +EventScript_1AB08A:: @ 81AB08A + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A19, Text_186FFA, Text_187057 + msgbox Text_187027, 6 + end + +Route16_EventScript_1AB0A5:: @ 81AB0A5 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_187097, Text_1870CC, Text_187120 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB0D0 + msgbox Text_1870F9, 6 + end + +EventScript_1AB0D0:: @ 81AB0D0 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A53, Text_1870CC, Text_187120 + msgbox Text_1870F9, 6 + end + +Route17_EventScript_1AB0EB:: @ 81AB0EB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_BILLY, 0, Text_1872BD, Text_1872E3 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB112 + msgbox Text_1872EB, 6 + end + +EventScript_1AB112:: @ 81AB112 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_BILLY, 0, Text_1C2B06, Text_1872E3 + msgbox Text_1872EB, 6 + end + +Route17_EventScript_1AB129:: @ 81AB129 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_NIKOLAS, 0, Text_18730A, Text_187325 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB150 + msgbox Text_187333, 6 + end + +EventScript_1AB150:: @ 81AB150 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_NIKOLAS, 0, Text_1C2B2C, Text_187325 + msgbox Text_187333, 6 + end + +Route17_EventScript_1AB167:: @ 81AB167 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JAXON, 0, Text_187456, Text_187472 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB18E + msgbox Text_187479, 6 + end + +EventScript_1AB18E:: @ 81AB18E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JAXON, 0, Text_1C2BE6, Text_187472 + msgbox Text_187479, 6 + end + +Route17_EventScript_1AB1A5:: @ 81AB1A5 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_WILLIAM, 0, Text_18749B, Text_1874B6 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB1CC + msgbox Text_1874C9, 6 + end + +EventScript_1AB1CC:: @ 81AB1CC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_WILLIAM, 0, Text_1C2C10, Text_1874B6 + msgbox Text_1874C9, 6 + end + +Route17_EventScript_1AB1E3:: @ 81AB1E3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_RAUL, 0, Text_18717E, Text_1871AE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB20A + msgbox Text_1871BA, 6 + end + +EventScript_1AB20A:: @ 81AB20A + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_RAUL, 0, Text_1C2A88, Text_1871AE + msgbox Text_1871BA, 6 + end + +Route17_EventScript_1AB221:: @ 81AB221 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_ISAIAH, 0, Text_187228, Text_187254 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB248 + msgbox Text_18725A, 6 + end + +EventScript_1AB248:: @ 81AB248 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_ISAIAH, 0, Text_1C2AC4, Text_187254 + msgbox Text_18725A, 6 + end + +Route17_EventScript_1AB25F:: @ 81AB25F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_ZEEK, 0, Text_187362, Text_187395 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB286 + msgbox Text_18739F, 6 + end + +EventScript_1AB286:: @ 81AB286 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_ZEEK, 0, Text_1C2B5E, Text_187395 + msgbox Text_18739F, 6 + end + +Route17_EventScript_1AB29D:: @ 81AB29D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_JAMAL, 0, Text_1873D1, Text_1873EB + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB2C4 + msgbox Text_1873FF, 6 + end + +EventScript_1AB2C4:: @ 81AB2C4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_JAMAL, 0, Text_1C2B9C, Text_1873EB + msgbox Text_1873FF, 6 + end + +Route17_EventScript_1AB2DB:: @ 81AB2DB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_COREY, 0, Text_18741D, Text_187429 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB302 + msgbox Text_187432, 6 + end + +EventScript_1AB302:: @ 81AB302 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_COREY, 0, Text_1C2BDA, Text_187429 + msgbox Text_187432, 6 + end + +Route17_EventScript_1AB319:: @ 81AB319 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_VIRGIL, 0, Text_18727D, Text_187295 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB340 + msgbox Text_1872A5, 6 + end + +EventScript_1AB340:: @ 81AB340 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_VIRGIL, 0, Text_1C2AF0, Text_187295 + msgbox Text_1872A5, 6 + end + +Route18_EventScript_1AB357:: @ 81AB357 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_WILTON, 0, Text_187640, Text_187672 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB37E + msgbox Text_187677, 6 + end + +EventScript_1AB37E:: @ 81AB37E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_WILTON, 0, Text_1C2C2B, Text_187672 + msgbox Text_187677, 6 + end + +Route18_EventScript_1AB395:: @ 81AB395 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_18768C, Text_1876B3 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB3BC + msgbox Text_1876C5, 6 + end + +EventScript_1AB3BC:: @ 81AB3BC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_1C2C7B, Text_1876B3 + msgbox Text_1876C5, 6 + end + +Route18_EventScript_1AB3D3:: @ 81AB3D3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_JACOB, 0, Text_187704, Text_187726 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB3FA + msgbox Text_18772C, 6 + end + +EventScript_1AB3FA:: @ 81AB3FA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_JACOB, 0, Text_1C2CA8, Text_187726 + msgbox Text_18772C, 6 + end + +Route19_EventScript_1AB411:: @ 81AB411 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1877A3, Text_1877DF + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB438 + msgbox Text_1877EE, 6 + end + +EventScript_1AB438:: @ 81AB438 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1C2CEE, Text_1877DF + msgbox Text_1877EE, 6 + end + +Route19_EventScript_1AB44F:: @ 81AB44F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_REECE, 0, Text_187811, Text_18783E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB476 + msgbox Text_187852, 6 + end + +EventScript_1AB476:: @ 81AB476 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_REECE, 0, Text_1C2D19, Text_18783E + msgbox Text_187852, 6 + end + +Route19_EventScript_1AB48D:: @ 81AB48D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_187884, Text_1878A5 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB4B4 + msgbox Text_1878B1, 6 + end + +EventScript_1AB4B4:: @ 81AB4B4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_1C2D4B, Text_1878A5 + msgbox Text_1878B1, 6 + end + +Route19_EventScript_1AB4CB:: @ 81AB4CB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1878DD, Text_1878F8 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB4F2 + msgbox Text_1878FE, 6 + end + +EventScript_1AB4F2:: @ 81AB4F2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1C2D7D, Text_1878F8 + msgbox Text_1878FE, 6 + end + +Route19_EventScript_1AB509:: @ 81AB509 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DAVID, 0, Text_187925, Text_187955 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB530 + msgbox Text_18795B, 6 + end + +EventScript_1AB530:: @ 81AB530 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DAVID, 0, Text_1C2DA7, Text_187955 + msgbox Text_18795B, 6 + end + +Route19_EventScript_1AB547:: @ 81AB547 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_TONY, 0, Text_187985, Text_1879C3 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB56E + msgbox Text_1879D3, 6 + end + +EventScript_1AB56E:: @ 81AB56E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_TONY, 0, Text_1C2DE9, Text_1879C3 + msgbox Text_1879D3, 6 + end + +Route19_EventScript_1AB585:: @ 81AB585 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_AXLE, 0, Text_187AFA, Text_187B25 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB5AC + msgbox Text_187B35, 6 + end + +EventScript_1AB5AC:: @ 81AB5AC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_AXLE, 0, Text_1C2EC0, Text_187B25 + msgbox Text_187B35, 6 + end + +Route19_EventScript_1AB5C3:: @ 81AB5C3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_187A11, Text_187A44 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB5EA + msgbox Text_187A50, 6 + end + +EventScript_1AB5EA:: @ 81AB5EA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_1C2E4A, Text_187A44 + msgbox Text_187A50, 6 + end + +Route19_EventScript_1AB601:: @ 81AB601 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_187A9E, Text_187AC1 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB628 + msgbox Text_187ACA, 6 + end + +EventScript_1AB628:: @ 81AB628 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_1C2E9D, Text_187AC1 + msgbox Text_187ACA, 6 + end + +Route19_EventScript_1AB63F:: @ 81AB63F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_187B5D, Text_187B85 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB666 + msgbox Text_187B94, 6 + end + +EventScript_1AB666:: @ 81AB666 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_1C2EFC, Text_187B85 + msgbox Text_187B94, 6 + end + +Route19_EventScript_1AB67D:: @ 81AB67D + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_187C32, Text_187C6F, Text_187CF2 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB6A8 + msgbox Text_187C9E, 6 + end + +EventScript_1AB6A8:: @ 81AB6A8 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2F41, Text_187C6F, Text_187CF2 + msgbox Text_187C9E, 6 + end + +Route19_EventScript_1AB6C3:: @ 81AB6C3 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_187D45, Text_187D7E, Text_187DE8 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB6EE + msgbox Text_187DAD, 6 + end + +EventScript_1AB6EE:: @ 81AB6EE + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2FAE, Text_187D7E, Text_187DE8 + msgbox Text_187DAD, 6 + end + +Route20_EventScript_1AB709:: @ 81AB709 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_BARRY, 0, Text_187E40, Text_187E7B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB730 + msgbox Text_187E83, 6 + end + +EventScript_1AB730:: @ 81AB730 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_BARRY, 0, Text_1C2FF3, Text_187E7B + msgbox Text_187E83, 6 + end + +Route20_EventScript_1AB747:: @ 81AB747 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DEAN, 0, Text_187FDB, Text_187FF7 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB76E + msgbox Text_187FFE, 6 + end + +EventScript_1AB76E:: @ 81AB76E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DEAN, 0, Text_1C30B0, Text_187FF7 + msgbox Text_187FFE, 6 + end + +Route20_EventScript_1AB785:: @ 81AB785 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_18802E, Text_18805C + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB7AC + msgbox Text_18806D, 6 + end + +EventScript_1AB7AC:: @ 81AB7AC + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_1C30ED, Text_18805C + msgbox Text_18806D, 6 + end + +Route20_EventScript_1AB7C3:: @ 81AB7C3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_187F24, Text_187F5A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB7EA + msgbox Text_187F61, 6 + end + +EventScript_1AB7EA:: @ 81AB7EA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_1C305F, Text_187F5A + msgbox Text_187F61, 6 + end + +Route20_EventScript_1AB801:: @ 81AB801 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1880F8, Text_188119 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB828 + msgbox Text_188139, 6 + end + +EventScript_1AB828:: @ 81AB828 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1C3149, Text_188119 + msgbox Text_188139, 6 + end + +Route20_EventScript_1AB83F:: @ 81AB83F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_188218, Text_18825C + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB866 + msgbox Text_18827B, 6 + end + +EventScript_1AB866:: @ 81AB866 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_1C31C4, Text_18825C + msgbox Text_18827B, 6 + end + +Route20_EventScript_1AB87D:: @ 81AB87D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_187EBB, Text_187EED + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB8A4 + msgbox Text_187EF6, 6 + end + +EventScript_1AB8A4:: @ 81AB8A4 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_1C302E, Text_187EED + msgbox Text_187EF6, 6 + end + +Route20_EventScript_1AB8BB:: @ 81AB8BB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_ROGER, 0, Text_18808E, Text_1880AB + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB8E2 + msgbox Text_1880C8, 6 + end + +EventScript_1AB8E2:: @ 81AB8E2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_ROGER, 0, Text_1C312C, Text_1880AB + msgbox Text_1880C8, 6 + end + +Route20_EventScript_1AB8F9:: @ 81AB8F9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_MISSY, 0, Text_188165, Text_1881A3 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB920 + msgbox Text_1881B8, 6 + end + +EventScript_1AB920:: @ 81AB920 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_MISSY, 0, Text_1C3185, Text_1881A3 + msgbox Text_1881B8, 6 + end + +Route20_EventScript_1AB937:: @ 81AB937 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_IRENE, 0, Text_187F78, Text_187F92 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB95E + msgbox Text_187FA3, 6 + end + +EventScript_1AB95E:: @ 81AB95E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_IRENE, 0, Text_1C3095, Text_187F92 + msgbox Text_187FA3, 6 + end + +Route21_North_EventScript_1AB975:: @ 81AB975 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_RONALD, 0, Text_18835A, Text_188383 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB99C + msgbox Text_188389, 6 + end + +EventScript_1AB99C:: @ 81AB99C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_RONALD, 0, Text_1C3208, Text_188383 + msgbox Text_188389, 6 + end + +Route21_South_EventScript_1AB9B3:: @ 81AB9B3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_CLAUDE, 0, Text_1885D8, Text_1885F8 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AB9DA + msgbox Text_188632, 6 + end + +EventScript_1AB9DA:: @ 81AB9DA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_CLAUDE, 0, Text_1C331D, Text_1885F8 + msgbox Text_188632, 6 + end + +Route21_North_EventScript_1AB9F1:: @ 81AB9F1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_WADE, 0, Text_1883C6, Text_1883E9 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABA18 + msgbox Text_18841D, 6 + end + +EventScript_1ABA18:: @ 81ABA18 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_WADE, 0, Text_1C3231, Text_1883E9 + msgbox Text_18841D, 6 + end + +Route21_South_EventScript_1ABA2F:: @ 81ABA2F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_NOLAN, 0, Text_18868C, Text_1886AE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABA56 + msgbox Text_1886C5, 6 + end + +EventScript_1ABA56:: @ 81ABA56 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_NOLAN, 0, Text_1C3356, Text_1886AE + msgbox Text_1886C5, 6 + end + +Route21_North_EventScript_1ABA6D:: @ 81ABA6D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_18843C, Text_18845F + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABA94 + msgbox Text_188465, 6 + end + +EventScript_1ABA94:: @ 81ABA94 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_1C3264, Text_18845F + msgbox Text_188465, 6 + end + +Route21_South_EventScript_1ABAAB:: @ 81ABAAB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_JACK, 0, Text_1884D4, Text_1884F0 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABAD2 + msgbox Text_1884FF, 6 + end + +EventScript_1ABAD2:: @ 81ABAD2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_JACK, 0, Text_1C3298, Text_1884F0 + msgbox Text_1884FF, 6 + end + +Route21_South_EventScript_1ABAE9:: @ 81ABAE9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_JEROME, 0, Text_18851F, Text_188543 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABB10 + msgbox Text_188555, 6 + end + +EventScript_1ABB10:: @ 81ABB10 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_JEROME, 0, Text_1C32D3, Text_188543 + msgbox Text_188555, 6 + end + +Route21_South_EventScript_1ABB27:: @ 81ABB27 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_188592, Text_1885B2 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABB4E + msgbox Text_1885BF, 6 + end + +EventScript_1ABB4E:: @ 81ABB4E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_1C32FD, Text_1885B2 + msgbox Text_1885BF, 6 + end + +Route21_North_EventScript_1ABB65:: @ 81ABB65 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1886E2, Text_188712, Text_18875E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABB90 + msgbox Text_188734, 6 + end + +EventScript_1ABB90:: @ 81ABB90 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C3378, Text_188712, Text_18875E + msgbox Text_188734, 6 + end + +Route21_North_EventScript_1ABBAB:: @ 81ABBAB + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1887B4, Text_1887F1, Text_188850 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABBD6 + msgbox Text_188812, 6 + end + +EventScript_1ABBD6:: @ 81ABBD6 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C33AE, Text_1887F1, Text_188850 + msgbox Text_188812, 6 + end + +OneIsland_KindleRoad_EventScript_1ABBF1:: @ 81ABBF1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_18961F, Text_18964D + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABC18 + msgbox Text_189657, 6 + end + +EventScript_1ABC18:: @ 81ABC18 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_1C37B5, Text_18964D + msgbox Text_189657, 6 + end + +OneIsland_KindleRoad_EventScript_1ABC2F:: @ 81ABC2F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_18968C, Text_1896AC + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABC56 + msgbox Text_1896C1, 6 + end + +EventScript_1ABC56:: @ 81ABC56 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_1C37E7, Text_1896AC + msgbox Text_1896C1, 6 + end + +OneIsland_KindleRoad_EventScript_1ABC6D:: @ 81ABC6D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_FINN, 0, Text_1896F9, Text_189728 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABC94 + msgbox Text_189740, 6 + end + +EventScript_1ABC94:: @ 81ABC94 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_FINN, 0, Text_1C3807, Text_189728 + msgbox Text_189740, 6 + end + +OneIsland_KindleRoad_EventScript_1ABCAB:: @ 81ABCAB + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_189767, Text_1897A4 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABCD2 + msgbox Text_1897C5, 6 + end + +EventScript_1ABCD2:: @ 81ABCD2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_1C3835, Text_1897A4 + msgbox Text_1897C5, 6 + end + +OneIsland_KindleRoad_EventScript_1ABCE9:: @ 81ABCE9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_TOMMY, 0, Text_1897FF, Text_189833 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABD10 + msgbox Text_18984B, 6 + end + +EventScript_1ABD10:: @ 81ABD10 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_TOMMY, 0, Text_1C386A, Text_189833 + msgbox Text_18984B, 6 + end + +OneIsland_KindleRoad_EventScript_1ABD27:: @ 81ABD27 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_SHARON, 0, Text_189883, Text_1898AB + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABD4E + msgbox Text_1898C4, 6 + end + +EventScript_1ABD4E:: @ 81ABD4E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_SHARON, 0, Text_1C389F, Text_1898AB + msgbox Text_1898C4, 6 + end + +OneIsland_KindleRoad_EventScript_1ABD65:: @ 81ABD65 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1898F0, Text_18991B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABD8C + msgbox Text_18992C, 6 + end + +EventScript_1ABD8C:: @ 81ABD8C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1C38CA, Text_18991B + msgbox Text_18992C, 6 + end + +OneIsland_KindleRoad_EventScript_1ABDA3:: @ 81ABDA3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BLACK_BELT_SHEA, 0, Text_189950, Text_18998C + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABDCA + msgbox Text_189998, 6 + end + +EventScript_1ABDCA:: @ 81ABDCA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BLACK_BELT_SHEA, 0, Text_1C38FA, Text_18998C + msgbox Text_189998, 6 + end + +OneIsland_KindleRoad_EventScript_1ABDE1:: @ 81ABDE1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BLACK_BELT_HUGH, 0, Text_1899CE, Text_189A0A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABE08 + msgbox Text_189A13, 6 + end + +EventScript_1ABE08:: @ 81ABE08 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BLACK_BELT_HUGH, 0, Text_1C3943, Text_189A0A + msgbox Text_189A13, 6 + end + +OneIsland_KindleRoad_EventScript_1ABE1F:: @ 81ABE1F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_BRYCE, 0, Text_189A53, Text_189A92 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABE46 + msgbox Text_189A9F, 6 + end + +EventScript_1ABE46:: @ 81ABE46 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_BRYCE, 0, Text_1C3987, Text_189A92 + msgbox Text_189A9F, 6 + end + +OneIsland_KindleRoad_EventScript_1ABE5D:: @ 81ABE5D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CLAIRE, 0, Text_189ACB, Text_189B0B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABE84 + msgbox Text_189B24, 6 + end + +EventScript_1ABE84:: @ 81ABE84 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CLAIRE, 0, Text_1C39C6, Text_189B0B + msgbox Text_189B24, 6 + end + +OneIsland_KindleRoad_EventScript_1ABE9B:: @ 81ABE9B + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_189B4D, Text_189B84, Text_189BDE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABEC6 + msgbox Text_189BA3, 6 + end + +EventScript_1ABEC6:: @ 81ABEC6 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A05, Text_189B84, Text_189BDE + msgbox Text_189BA3, 6 + end + +OneIsland_KindleRoad_EventScript_1ABEE1:: @ 81ABEE1 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_189C33, Text_189C62, Text_189CAB + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABF0C + msgbox Text_189C7E, 6 + end + +EventScript_1ABF0C:: @ 81ABF0C + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A55, Text_189C62, Text_189CAB + msgbox Text_189C7E, 6 + end + +OneIsland_TreasureBeach_EventScript_1ABF27:: @ 81ABF27 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_189D5A, Text_189D8B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABF4E + msgbox Text_189DA3, 6 + end + +EventScript_1ABF4E:: @ 81ABF4E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_1C3773, Text_189D8B + msgbox Text_189DA3, 6 + end + +ThreeIsland_BondBridge_EventScript_1ABF65:: @ 81ABF65 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_NIKKI, 0, Text_189E42, Text_189E72 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABF8C + msgbox Text_189E9E, 6 + end + +EventScript_1ABF8C:: @ 81ABF8C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_NIKKI, 0, Text_1C3AA7, Text_189E72 + msgbox Text_189E9E, 6 + end + +ThreeIsland_BondBridge_EventScript_1ABFA3:: @ 81ABFA3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_VIOLET, 0, Text_189ED4, Text_189EFA + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ABFCA + msgbox Text_189F21, 6 + end + +EventScript_1ABFCA:: @ 81ABFCA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_VIOLET, 0, Text_1C3ABF, Text_189EFA + msgbox Text_189F21, 6 + end + +ThreeIsland_BondBridge_EventScript_1ABFE1:: @ 81ABFE1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TUBER_AMIRA, 0, Text_189F63, Text_189F9A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC008 + msgbox Text_189FA8, 6 + end + +EventScript_1AC008:: @ 81AC008 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TUBER_AMIRA, 0, Text_1C3AF2, Text_189F9A + msgbox Text_189FA8, 6 + end + +ThreeIsland_BondBridge_EventScript_1AC01F:: @ 81AC01F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TUBER_ALEXIS, 0, Text_189FDB, Text_189FEE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC046 + msgbox Text_18A000, 6 + end + +EventScript_1AC046:: @ 81AC046 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TUBER_ALEXIS, 0, Text_1C3B1D, Text_189FEE + msgbox Text_18A000, 6 + end + +ThreeIsland_BondBridge_EventScript_1AC05D:: @ 81AC05D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_18A01F, Text_18A053 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC084 + msgbox Text_18A082, 6 + end + +EventScript_1AC084:: @ 81AC084 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_1C3B30, Text_18A053 + msgbox Text_18A082, 6 + end + +ThreeIsland_BondBridge_EventScript_1AC09B:: @ 81AC09B + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_18A0C4, Text_18A0F7, Text_18A138 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC0C6 + msgbox Text_18A106, 6 + end + +EventScript_1AC0C6:: @ 81AC0C6 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B6E, Text_18A0F7, Text_18A138 + msgbox Text_18A106, 6 + end + +ThreeIsland_BondBridge_EventScript_1AC0E1:: @ 81AC0E1 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_18A179, Text_18A1A3, Text_18A1CD + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC10C + msgbox Text_18A1B2, 6 + end + +EventScript_1AC10C:: @ 81AC10C + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B99, Text_18A1A3, Text_18A1CD + msgbox Text_18A1B2, 6 + end + +FiveIsland_ResortGorgeous_EventScript_1AC127:: @ 81AC127 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_DAISY, 0, Text_18A3E2, Text_18A40E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC14E + msgbox Text_18A430, 6 + end + +EventScript_1AC14E:: @ 81AC14E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_DAISY, 0, Text_1C3BF6, Text_18A40E + msgbox Text_18A430, 6 + end + +FiveIsland_ResortGorgeous_EventScript_1AC165:: @ 81AC165 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_CELINA, 0, Text_18A461, Text_18A49E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC18C + msgbox Text_18A4C6, 6 + end + +EventScript_1AC18C:: @ 81AC18C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_CELINA, 0, Text_1C3C28, Text_18A49E + msgbox Text_18A4C6, 6 + end + +FiveIsland_ResortGorgeous_EventScript_1AC1A3:: @ 81AC1A3 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_RAYNA, 0, Text_18A50E, Text_18A535 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC1CA + msgbox Text_18A555, 6 + end + +EventScript_1AC1CA:: @ 81AC1CA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_RAYNA, 0, Text_1C3C70, Text_18A535 + msgbox Text_18A555, 6 + end + +FiveIsland_ResortGorgeous_EventScript_1AC1E1:: @ 81AC1E1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LADY_JACKI, 0, Text_18A5B9, Text_18A5EE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC208 + msgbox Text_18A601, 6 + end + +EventScript_1AC208:: @ 81AC208 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LADY_JACKI, 0, Text_1C3CB0, Text_18A5EE + msgbox Text_18A601, 6 + end + +FiveIsland_ResortGorgeous_EventScript_1AC21F:: @ 81AC21F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LADY_GILLIAN, 0, Text_18A645, Text_18A67F + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC246 + msgbox Text_18A699, 6 + end + +EventScript_1AC246:: @ 81AC246 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LADY_GILLIAN, 0, Text_1C3CF1, Text_18A67F + msgbox Text_18A699, 6 + end + +FiveIsland_ResortGorgeous_EventScript_1AC25D:: @ 81AC25D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DESTIN, 0, Text_18A6DA, Text_18A6FE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC284 + msgbox Text_18A715, 6 + end + +EventScript_1AC284:: @ 81AC284 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DESTIN, 0, Text_1C3D47, Text_18A6FE + msgbox Text_18A715, 6 + end + +FiveIsland_ResortGorgeous_EventScript_1AC29B:: @ 81AC29B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_TOBY, 0, Text_18A74A, Text_18A786 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC2C2 + msgbox Text_18A7AC, 6 + end + +EventScript_1AC2C2:: @ 81AC2C2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_TOBY, 0, Text_1C3D73, Text_18A786 + msgbox Text_18A7AC, 6 + end + +FiveIsland_WaterLabyrinth_EventScript_1AC2D9:: @ 81AC2D9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_18AAD5, Text_18AB0B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC300 + msgbox Text_18AB37, 6 + end + +EventScript_1AC300:: @ 81AC300 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_1C3BB7, Text_18AB0B + msgbox Text_18AB37, 6 + end + +FiveIsland_MemorialPillar_EventScript_1AC317:: @ 81AC317 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MILO, 0, Text_18AE50, Text_18AEA8 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC33E + msgbox Text_18AEB6, 6 + end + +EventScript_1AC33E:: @ 81AC33E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MILO, 0, Text_1C3DA2, Text_18AEA8 + msgbox Text_18AEB6, 6 + end + +FiveIsland_MemorialPillar_EventScript_1AC355:: @ 81AC355 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_18AEDC, Text_18AF39 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC37C + msgbox Text_18AF45, 6 + end + +EventScript_1AC37C:: @ 81AC37C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_1C3E0F, Text_18AF39 + msgbox Text_18AF45, 6 + end + +FiveIsland_MemorialPillar_EventScript_1AC393:: @ 81AC393 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_18AF72, Text_18AFCC + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC3BA + msgbox Text_18AFF2, 6 + end + +EventScript_1AC3BA:: @ 81AC3BA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_1C3E6A, Text_18AFCC + msgbox Text_18AFF2, 6 + end + +SixIsland_OutcastIsland_EventScript_1AC3D1:: @ 81AC3D1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_TYLOR, 0, Text_18B400, Text_18B43B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC3F8 + msgbox Text_18B451, 6 + end + +EventScript_1AC3F8:: @ 81AC3F8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_TYLOR, 0, Text_1C3ED0, Text_18B43B + msgbox Text_18B451, 6 + end + +SixIsland_OutcastIsland_EventScript_1AC40F:: @ 81AC40F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_MYMO, 0, Text_18B48F, Text_18B4C5 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC436 + msgbox Text_18B4D1, 6 + end + +EventScript_1AC436:: @ 81AC436 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_MYMO, 0, Text_1C3F11, Text_18B4C5 + msgbox Text_18B4D1, 6 + end + +SixIsland_OutcastIsland_EventScript_1AC44D:: @ 81AC44D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_18B4FA, Text_18B539 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC474 + msgbox Text_18B573, 6 + end + +EventScript_1AC474:: @ 81AC474 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_1C3F51, Text_18B539 + msgbox Text_18B573, 6 + end + +SixIsland_OutcastIsland_EventScript_1AC48B:: @ 81AC48B + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_18B5C8, Text_18B5F4, Text_18B660 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC4B6 + msgbox Text_18B62E, 6 + end + +EventScript_1AC4B6:: @ 81AC4B6 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3F7B, Text_18B5F4, Text_18B660 + msgbox Text_18B62E, 6 + end + +SixIsland_OutcastIsland_EventScript_1AC4D1:: @ 81AC4D1 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_18B6C1, Text_18B6EF, Text_18B762 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC4FC + msgbox Text_18B720, 6 + end + +EventScript_1AC4FC:: @ 81AC4FC + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3FB3, Text_18B6EF, Text_18B762 + msgbox Text_18B720, 6 + end + +SixIsland_GreenPath_EventScript_1AC517:: @ 81AC517 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_JACLYN, 0, Text_18B7B0, Text_18B7F0 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC53E + msgbox Text_18B7FD, 6 + end + +EventScript_1AC53E:: @ 81AC53E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_JACLYN, 0, Text_1C3FE9, Text_18B7F0 + msgbox Text_18B7FD, 6 + end + +SixIsland_WaterPath_EventScript_1AC555:: @ 81AC555 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_ROSE, 0, Text_18B896, Text_18B8C8 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC57C + msgbox Text_18B8F7, 6 + end + +EventScript_1AC57C:: @ 81AC57C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_ROSE, 0, Text_1C4028, Text_18B8C8 + msgbox Text_18B8F7, 6 + end + +SixIsland_WaterPath_EventScript_1AC593:: @ 81AC593 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_JUGGLER_EDWARD, 0, Text_18B959, Text_18B988 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC5BA + msgbox Text_18B9A5, 6 + end + +EventScript_1AC5BA:: @ 81AC5BA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_JUGGLER_EDWARD, 0, Text_1C4057, Text_18B988 + msgbox Text_18B9A5, 6 + end + +SixIsland_WaterPath_EventScript_1AC5D1:: @ 81AC5D1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_18B9EC, Text_18BA47 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC5F8 + msgbox Text_18BA57, 6 + end + +EventScript_1AC5F8:: @ 81AC5F8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_1C407F, Text_18BA47 + msgbox Text_18BA57, 6 + end + +SixIsland_WaterPath_EventScript_1AC60F:: @ 81AC60F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_18BA86, Text_18BAC0 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC636 + msgbox Text_18BAE0, 6 + end + +EventScript_1AC636:: @ 81AC636 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_1C40D9, Text_18BAC0 + msgbox Text_18BAE0, 6 + end + +SixIsland_WaterPath_EventScript_1AC64D:: @ 81AC64D + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_18BBBA, Text_18BBE2, Text_18BC24 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC678 + msgbox Text_18BBF6, 6 + end + +EventScript_1AC678:: @ 81AC678 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_1C4138, Text_18BBE2, Text_18BC24 + msgbox Text_18BBF6, 6 + end + +SixIsland_WaterPath_EventScript_1AC693:: @ 81AC693 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_18BC5A, Text_18BC84, Text_18BCCF + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC6BE + msgbox Text_18BCAE, 6 + end + +EventScript_1AC6BE:: @ 81AC6BE + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_1C4166, Text_18BC84, Text_18BCCF + msgbox Text_18BCAE, 6 + end + +SixIsland_WaterPath_EventScript_1AC6D9:: @ 81AC6D9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_EARL, 0, Text_18BB2D, Text_18BB62 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC700 + msgbox Text_18BB8B, 6 + end + +EventScript_1AC700:: @ 81AC700 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_EARL, 0, Text_1C40FA, Text_18BB62 + msgbox Text_18BB8B, 6 + end + +SixIsland_RuinValley_EventScript_1AC717:: @ 81AC717 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_STANLY, 0, Text_18BE5D, Text_18BE9B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC73E + msgbox Text_18BEA0, 6 + end + +EventScript_1AC73E:: @ 81AC73E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_STANLY, 0, Text_1C4196, Text_18BE9B + msgbox Text_18BEA0, 6 + end + +SixIsland_RuinValley_EventScript_1AC755:: @ 81AC755 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_18BF05, Text_18BF33 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC77C + msgbox Text_18BF6C, 6 + end + +EventScript_1AC77C:: @ 81AC77C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_1C41D4, Text_18BF33 + msgbox Text_18BF6C, 6 + end + +SixIsland_RuinValley_EventScript_1AC793:: @ 81AC793 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_LARRY, 0, Text_18BFC5, Text_18C03B + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC7BA + msgbox Text_18C04C, 6 + end + +EventScript_1AC7BA:: @ 81AC7BA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_LARRY, 0, Text_1C4210, Text_18C03B + msgbox Text_18C04C, 6 + end + +SixIsland_RuinValley_EventScript_1AC7D1:: @ 81AC7D1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_DARYL, 0, Text_18C09C, Text_18C0BB + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC7F8 + msgbox Text_18C0EA, 6 + end + +EventScript_1AC7F8:: @ 81AC7F8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_DARYL, 0, Text_1C4280, Text_18C0BB + msgbox Text_18C0EA, 6 + end + +SixIsland_RuinValley_EventScript_1AC80F:: @ 81AC80F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_HECTOR, 0, Text_18C10A, Text_18C140 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC836 + msgbox Text_18C17A, 6 + end + +EventScript_1AC836:: @ 81AC836 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_HECTOR, 0, Text_1C42A0, Text_18C140 + msgbox Text_18C17A, 6 + end + +SevenIsland_TrainerTower_EventScript_1AC84D:: @ 81AC84D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_DARIO, 0, Text_18C1ED, Text_18C205 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC874 + msgbox Text_18C20E, 6 + end + +EventScript_1AC874:: @ 81AC874 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_DARIO, 0, Text_1C42D6, Text_18C205 + msgbox Text_18C20E, 6 + end + +SevenIsland_TrainerTower_EventScript_1AC88B:: @ 81AC88B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_RODETTE, 0, Text_18C283, Text_18C2BC + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC8B2 + msgbox Text_18C2D5, 6 + end + +EventScript_1AC8B2:: @ 81AC8B2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_RODETTE, 0, Text_1C42EE, Text_18C2BC + msgbox Text_18C2D5, 6 + end + +SevenIsland_SevaultCanyon_Entrance_EventScript_1AC8C9:: @ 81AC8C9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_MIAH, 0, Text_18C3BC, Text_18C3E7 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC8F0 + msgbox Text_18C3FF, 6 + end + +EventScript_1AC8F0:: @ 81AC8F0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_MIAH, 0, Text_1C4327, Text_18C3E7 + msgbox Text_18C3FF, 6 + end + +SevenIsland_SevaultCanyon_Entrance_EventScript_1AC907:: @ 81AC907 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_18C632, Text_18C662, Text_18C6AB + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC932 + msgbox Text_18C683, 6 + end + +EventScript_1AC932:: @ 81AC932 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C4416, Text_18C662, Text_18C6AB + msgbox Text_18C683, 6 + end + +SevenIsland_SevaultCanyon_Entrance_EventScript_1AC94D:: @ 81AC94D + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_18C700, Text_18C73B, Text_18C7BD + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC978 + msgbox Text_18C773, 6 + end + +EventScript_1AC978:: @ 81AC978 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C444C, Text_18C73B, Text_18C7BD + msgbox Text_18C773, 6 + end + +SevenIsland_SevaultCanyon_Entrance_EventScript_1AC993:: @ 81AC993 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_JUGGLER_MASON, 0, Text_18C44B, Text_18C473 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC9BA + msgbox Text_18C4BA, 6 + end + +EventScript_1AC9BA:: @ 81AC9BA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_JUGGLER_MASON, 0, Text_1C4374, Text_18C473 + msgbox Text_18C4BA, 6 + end + +SevenIsland_SevaultCanyon_Entrance_EventScript_1AC9D1:: @ 81AC9D1 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_18C500, Text_18C543 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1AC9F8 + msgbox Text_18C54B, 6 + end + +EventScript_1AC9F8:: @ 81AC9F8 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_1C43AD, Text_18C543 + msgbox Text_18C54B, 6 + end + +SevenIsland_SevaultCanyon_Entrance_EventScript_1ACA0F:: @ 81ACA0F + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_MADELINE, 0, Text_18C5AA, Text_18C5CD + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACA36 + msgbox Text_18C5F5, 6 + end + +EventScript_1ACA36:: @ 81ACA36 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_MADELINE, 0, Text_1C43EC, Text_18C5CD + msgbox Text_18C5F5, 6 + end + +SevenIsland_SevaultCanyon_EventScript_1ACA4D:: @ 81ACA4D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_18C887, Text_18C8A6 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACA74 + msgbox Text_18C8C2, 6 + end + +EventScript_1ACA74:: @ 81ACA74 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_1C4491, Text_18C8A6 + msgbox Text_18C8C2, 6 + end + +SevenIsland_SevaultCanyon_EventScript_1ACA8B:: @ 81ACA8B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TAMER_EVAN, 0, Text_18C8FD, Text_18C980 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACAB2 + msgbox Text_18C999, 6 + end + +EventScript_1ACAB2:: @ 81ACAB2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TAMER_EVAN, 0, Text_1C44CB, Text_18C980 + msgbox Text_18C999, 6 + end + +SevenIsland_SevaultCanyon_EventScript_1ACAC9:: @ 81ACAC9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_JACKSON, 0, Text_18CA2F, Text_18CA6F + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACAF0 + msgbox Text_18CA9C, 6 + end + +EventScript_1ACAF0:: @ 81ACAF0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_JACKSON, 0, Text_1C454E, Text_18CA6F + msgbox Text_18CA9C, 6 + end + +SevenIsland_SevaultCanyon_EventScript_1ACB07:: @ 81ACB07 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_KATELYN, 0, Text_18CB16, Text_18CB3E + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACB2E + msgbox Text_18CB6C, 6 + end + +EventScript_1ACB2E:: @ 81ACB2E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_KATELYN, 0, Text_1C458E, Text_18CB3E + msgbox Text_18CB6C, 6 + end + +SevenIsland_SevaultCanyon_EventScript_1ACB45:: @ 81ACB45 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_COOLTRAINER_LEROY, 0, Text_18CBB4, Text_18CBE0 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACB6C + msgbox Text_18CC09, 6 + end + +EventScript_1ACB6C:: @ 81ACB6C + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_COOLTRAINER_LEROY, 0, Text_1C45C2, Text_18CBE0 + msgbox Text_18CC09, 6 + end + +SevenIsland_SevaultCanyon_EventScript_1ACB83:: @ 81ACB83 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_COOLTRAINER_MICHELLE, 0, Text_18CC4F, Text_18CCAE + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACBAA + msgbox Text_18CCEA, 6 + end + +EventScript_1ACBAA:: @ 81ACBAA + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_COOLTRAINER_MICHELLE, 0, Text_1C45FB, Text_18CCAE + msgbox Text_18CCEA, 6 + end + +SevenIsland_SevaultCanyon_EventScript_1ACBC1:: @ 81ACBC1 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_18CD49, Text_18CD75, Text_18CDE2 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACBEC + msgbox Text_18CD9C, 6 + end + +EventScript_1ACBEC:: @ 81ACBEC + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4662, Text_18CD75, Text_18CDE2 + msgbox Text_18CD9C, 6 + end + +SevenIsland_SevaultCanyon_EventScript_1ACC07:: @ 81ACC07 + trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_18CE20, Text_18CE5A, Text_18CEF4 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACC32 + msgbox Text_18CE78, 6 + end + +EventScript_1ACC32:: @ 81ACC32 + trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4699, Text_18CE5A, Text_18CEF4 + msgbox Text_18CE78, 6 + end + +SevenIsland_TanobyRuins_EventScript_1ACC4D:: @ 81ACC4D + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_18CFFB, Text_18D02A + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACC74 + msgbox Text_18D061, 6 + end + +EventScript_1ACC74:: @ 81ACC74 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_1C46D3, Text_18D02A + msgbox Text_18D061, 6 + end + +SevenIsland_TanobyRuins_EventScript_1ACC8B:: @ 81ACC8B + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_18D0D9, Text_18D108 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACCB2 + msgbox Text_18D125, 6 + end + +EventScript_1ACCB2:: @ 81ACCB2 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_1C470A, Text_18D108 + msgbox Text_18D125, 6 + end + +SevenIsland_TanobyRuins_EventScript_1ACCC9:: @ 81ACCC9 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_EDNA, 0, Text_18D18F, Text_18D1B5 + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACCF0 + msgbox Text_18D1E3, 6 + end + +EventScript_1ACCF0:: @ 81ACCF0 + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_EDNA, 0, Text_1C4739, Text_18D1B5 + msgbox Text_18D1E3, 6 + end + +SevenIsland_TanobyRuins_EventScript_1ACD07:: @ 81ACD07 + trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_18D22F, Text_18D26D + specialvar VAR_RESULT, ShouldTryRematchBattle + compare VAR_RESULT, 1 + goto_if eq, EventScript_1ACD2E + msgbox Text_18D284, 6 + end + +EventScript_1ACD2E:: @ 81ACD2E + trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_1C476A, Text_18D26D + msgbox Text_18D284, 6 + end -- cgit v1.2.3 From 33a4b6848647bd18ca1d01e44d15624c195305a9 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 8 Jan 2020 21:12:58 -0500 Subject: Use special obj event ids --- data/scripts/hole.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/hole.inc b/data/scripts/hole.inc index 3b7c671e9..5637ccbde 100644 --- a/data/scripts/hole.inc +++ b/data/scripts/hole.inc @@ -7,7 +7,7 @@ EventScript_1C1338:: @ 81C1338 EventScript_1C1348:: @ 81C1348 lockall delay 20 - applymovement 255, Movement_1C137A + applymovement OBJ_EVENT_ID_PLAYER, Movement_1C137A waitmovement 0 playse SE_RU_HYUU delay 60 @@ -18,7 +18,7 @@ EventScript_1C1348:: @ 81C1348 EventScript_1C1361:: @ 81C1361 lockall delay 20 - applymovement 255, Movement_1C137A + applymovement OBJ_EVENT_ID_PLAYER, Movement_1C137A waitmovement 0 playse SE_RU_HYUU delay 60 -- cgit v1.2.3 From 16dc234d9964e41443b965dc774a0ff60d3338fa Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 8 Jan 2020 23:44:55 -0500 Subject: Some stdscript sync, start syncing cable_club.inc --- data/scripts/cable_club.inc | 1910 ++++++++++++++++++++++++++++++++++++ data/scripts/item_ball_scripts.inc | 336 +++---- data/scripts/move_tutors.inc | 66 +- data/scripts/repel.inc | 2 +- data/scripts/trainer_battle.inc | 2 +- data/scripts/trainers.inc | 936 +++++++++--------- 6 files changed, 2581 insertions(+), 671 deletions(-) create mode 100644 data/scripts/cable_club.inc (limited to 'data/scripts') diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc new file mode 100644 index 000000000..e3b5c4806 --- /dev/null +++ b/data/scripts/cable_club.inc @@ -0,0 +1,1910 @@ +CableClub_OnTransition:: @ 81BB1B4 + call CableClub_EventScript_HideOrShowMysteryGiftMan + end + +CableClub_EventScript_HideOrShowMysteryGiftMan:: @ 81BB1BA + specialvar VAR_RESULT, ValidateReceivedWonderCard + compare VAR_RESULT, FALSE + goto_if eq, EventScript_HideMysteryGiftMan + clearflag FLAG_HIDE_MG_DELIVERYMEN + return + +EventScript_HideMysteryGiftMan:: @ 81BB1CE + setflag FLAG_HIDE_MG_DELIVERYMEN + return + +CableClub_EventScript_MysteryGiftMan:: @ 81BB1D2 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + special sub_8112364 + execram + +@ Unused +EventScript_1BB1E4:: @ 81BB1E4 + msgbox Text_1A6393, MSGBOX_NPC + end + +CableClub_OnWarp:: @ 81BB1ED + map_script_2 VAR_CABLE_CLUB_STATE, USING_SINGLE_BATTLE, EventScript_CheckTurnAttendant + map_script_2 VAR_CABLE_CLUB_STATE, USING_DOUBLE_BATTLE, EventScript_CheckTurnAttendant + map_script_2 VAR_CABLE_CLUB_STATE, USING_MULTI_BATTLE, EventScript_CheckTurnAttendant + map_script_2 VAR_CABLE_CLUB_STATE, USING_TRADE_CENTER, EventScript_CheckTurnAttendant + map_script_2 VAR_CABLE_CLUB_STATE, USING_UNION_ROOM, EventScript_CheckTurnAttendant + map_script_2 VAR_CABLE_CLUB_STATE, USING_BERRY_CRUSH, EventScript_CheckTurnAttendant + map_script_2 VAR_CABLE_CLUB_STATE, USING_MINIGAME, EventScript_CheckTurnAttendant + .2byte 0 + +EventScript_CheckTurnAttendant:: @ 81BB227 + compare VAR_0x8007, 0 + goto_if eq, EventScript_CheckTurnAttendantEnd + turnobject VAR_0x8007, 3 +EventScript_CheckTurnAttendantEnd: + end + +CableClub_OnLoad:: @ 81BB237 + compare VAR_CABLE_CLUB_STATE, USING_SINGLE_BATTLE + goto_if eq, EventScript_OnLoadFromColosseum + compare VAR_CABLE_CLUB_STATE, USING_DOUBLE_BATTLE + goto_if eq, EventScript_OnLoadFromColosseum + compare VAR_CABLE_CLUB_STATE, USING_MULTI_BATTLE + goto_if eq, EventScript_OnLoadFromColosseum + compare VAR_CABLE_CLUB_STATE, USING_TRADE_CENTER + goto_if eq, EventScript_OnLoadFromTradeCenter + compare VAR_CABLE_CLUB_STATE, USING_UNION_ROOM + goto_if eq, EventScript_OnLoadFromUnionRoom + compare VAR_CABLE_CLUB_STATE, USING_BERRY_CRUSH + goto_if eq, EventScript_OnLoadFromBerryCrush + compare VAR_CABLE_CLUB_STATE, USING_MINIGAME + goto_if eq, EventScript_OnLoadFromGameCorner + end + +EventScript_OnLoadFromColosseum:: @ 81BB285 + call CableClub_EventScript_OpenDirectCornerBarrier + end + +EventScript_OnLoadFromTradeCenter:: @ 81BB28B + call CableClub_EventScript_OpenDirectCornerBarrier + end + +EventScript_OnLoadFromUnionRoom:: @ 81BB291 + call CableClub_EventScript_OpenUnionRoomBarrier + end + +EventScript_OnLoadFromBerryCrush:: @ 81BB297 + call CableClub_EventScript_OpenDirectCornerBarrier + end + +EventScript_OnLoadFromGameCorner:: @ 81BB29D + call CableClub_EventScript_OpenGameCornerBarrier + end + +CableClub_OnFrame:: @ 81BB2A3 + map_script_2 VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 1, CableClub_EventScript_Tutorial + map_script_2 VAR_CABLE_CLUB_STATE, USING_SINGLE_BATTLE, CableClub_EventScript_ExitLinkRoom + map_script_2 VAR_CABLE_CLUB_STATE, USING_DOUBLE_BATTLE, CableClub_EventScript_ExitLinkRoom + map_script_2 VAR_CABLE_CLUB_STATE, USING_MULTI_BATTLE, CableClub_EventScript_ExitLinkRoom + map_script_2 VAR_CABLE_CLUB_STATE, USING_TRADE_CENTER, CableClub_EventScript_ExitTradeCenter + map_script_2 VAR_CABLE_CLUB_STATE, USING_UNION_ROOM, CableClub_EventScript_ExitUnionRoom + map_script_2 VAR_CABLE_CLUB_STATE, USING_BERRY_CRUSH, CableClub_EventScript_ExitLinkRoom + map_script_2 VAR_CABLE_CLUB_STATE, USING_MINIGAME, CableClub_EventScript_ExitMinigameRoom + .2byte 0 + +CableClub_EventScript_ExitLinkRoom:: @ 81BB2E5 + lockall + call CableClub_EventScript_CloseLinkAndExitLinkRoom + call CableClub_EventScript_CloseDirectCornerBarrier + special DrawWholeMapView + playse SE_TK_KASYA + erasebox 0, 0, 29, 19 + releaseall + end + +CableClub_EventScript_ExitMinigameRoom:: @ 81BB2FD + lockall + call CableClub_EventScript_CloseLinkAndExitLinkRoom + call CableClub_EventScript_CloseGameCornerBarrier + special DrawWholeMapView + playse SE_TK_KASYA + erasebox 0, 0, 29, 19 + releaseall + end + +CableClub_EventScript_CloseLinkAndExitLinkRoom:: @ 81BB315 + special CloseLink + special HelpSystem_Enable + special sub_811390C + setvar VAR_CABLE_CLUB_STATE, 0 + textcolor 1 + compare VAR_0x8007, 0 + goto_if eq, CableClub_EventScript_PlayerExitLinkRoom + applymovement VAR_0x8007, Movement_1BB88F + waitmovement 0 + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB891 + waitmovement 0 + applymovement VAR_0x8007, Movement_1BB88B + waitmovement 0 + return + +CableClub_EventScript_ExitTradeCenter:: @ 81BB34F + lockall + call EventScript_1BB367 + call CableClub_EventScript_CloseDirectCornerBarrier + special DrawWholeMapView + playse SE_TK_KASYA + erasebox 0, 0, 29, 19 + releaseall + end + +EventScript_1BB367:: @ 81BB367 + special CloseLink + special HelpSystem_Enable + special sub_811390C + setvar VAR_CABLE_CLUB_STATE, 0 + textcolor 1 + compare VAR_0x8007, 0 + goto_if eq, CableClub_EventScript_PlayerExitLinkRoom + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB8A0 + waitmovement 0 + applymovement VAR_0x8007, Movement_1BB88F + waitmovement 0 + call EventScript_1BB3E6 + return + +CableClub_EventScript_ExitUnionRoom:: @ 81BB39C + lockall + call EventScript_1BB3B4 + call CableClub_EventScript_CloseUnionRoomBarrier + special DrawWholeMapView + playse SE_TK_KASYA + erasebox 0, 0, 29, 19 + releaseall + end + +EventScript_1BB3B4:: @ 81BB3B4 + special HelpSystem_Enable + special sub_811390C + setvar VAR_CABLE_CLUB_STATE, 0 + textcolor 1 + compare VAR_0x8007, 0 + goto_if eq, CableClub_EventScript_PlayerExitLinkRoom + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB8A0 + waitmovement 0 + applymovement VAR_0x8007, Movement_1BB88F + waitmovement 0 + call EventScript_1BB3E6 + return + +EventScript_1BB3E6:: @ 81BB3E6 + message Text_1BC918 + waitmessage + playse SE_PIN + message Text_1BC943 + waitmessage + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB891 + waitmovement 0 + applymovement VAR_0x8007, Movement_1BB88B + waitmovement 0 + return + +CableClub_EventScript_PlayerExitLinkRoom:: @ 81BB40A + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB891 + waitmovement 0 + return + +CableClub_EventScript_Tutorial:: @ 81BB415 + lockall + textcolor 1 + applymovement OBJ_EVENT_ID_PLAYER, Movement_1A75E9 + waitmovement 0 + msgbox gUnknown_81BD898 + closemessage + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB447 + waitmovement 0 + delay 30 + msgbox gUnknown_81BD966 + setvar VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 2 + releaseall + end + +Movement_1BB447:: @ 81BB447 + step_11 + step_11 + step_end + +EventScript_1BB44A:: @ 81BB44A + message gUnknown_81BC311 + waitmessage + delay 15 + goto EventScript_1BB467 + end + +EventScript_1BB459:: @ 81BB459 + msgbox gUnknown_81BC35E + goto EventScript_1BB467 + end + +EventScript_1BB467:: @ 81BB467 + setvar VAR_0x8004, 0 + multichoice 0, 0, MULTICHOICE_TRADE_CENTER_COLOSSEUM, FALSE + switch VAR_RESULT + case 0, EventScript_1BB6AB + case 1, EventScript_1BB4A3 + case 2, EventScript_1BB82F + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BB4A3:: @ 81BB4A3 + copyvar VAR_0x8007, VAR_LAST_TALKED + goto EventScript_1BB4AE + +EventScript_1BB4AD:: @ 81BB4AD + end + +EventScript_1BB4AE:: @ 81BB4AE + message Text_1BD338 + waitmessage + multichoice 0, 0, MULTICHOICE_SINGLE_DOUBLE_MULTI_INFO_EXIT, FALSE + switch VAR_RESULT + case 0, EventScript_1BB50F + case 1, EventScript_1BB51A + case 2, EventScript_1BB541 + case 3, EventScript_1BB501 + case 4, EventScript_1BB82F + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BB501:: @ 81BB501 + msgbox gUnknown_81BD390 + goto EventScript_1BB4AE + end + +EventScript_1BB50F:: @ 81BB50F + setvar VAR_0x8004, 1 + goto EventScript_1BB54C + end + +EventScript_1BB51A:: @ 81BB51A + special CheckForAlivePartyMons + compare VAR_RESULT, 0 + goto_if ne, EventScript_1BB533 + setvar VAR_0x8004, 2 + goto EventScript_1BB54C + end + +EventScript_1BB533:: @ 81BB533 + msgbox gUnknown_81BC409 + goto EventScript_1BB4AE + end + +EventScript_1BB541:: @ 81BB541 + setvar VAR_0x8004, 5 + goto EventScript_1BB54C + end + +EventScript_1BB54C:: @ 81BB54C + call EventScript_1A4EAF + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB82F + message gUnknown_81BC4AC + waitmessage + special HelpSystem_Disable + textcolor 3 + special sub_8081064 + waitstate + call EventScript_1A6675 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BB5B3 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1BB80F + compare VAR_RESULT, 3 + goto_if eq, EventScript_1BB81F + compare VAR_RESULT, 4 + goto_if eq, EventScript_1BB63C + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BB82F + compare VAR_RESULT, 6 + goto_if eq, EventScript_1BB7FF + end + +EventScript_1BB5B3:: @ 81BB5B3 + special sp000_heal_pokemon + special SavePlayerParty + special LoadPlayerBag + copyvar VAR_CABLE_CLUB_STATE, VAR_0x8004 + messageautoscroll Text_1BC590 + waitmessage + call CableClub_EventScript_OpenDirectCornerBarrier + special DrawWholeMapView + playse SE_TK_KASYA + delay 60 + applymovement VAR_LAST_TALKED, Movement_1BB88F + waitmovement 0 + closemessage + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB898 + waitmovement 0 + opendoor 9, 1 + waitdooranim + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB89C + waitmovement 0 + hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + closedoor 9, 1 + waitdooranim + release + compare VAR_0x8004, 5 + goto_if eq, EventScript_1BB62C + special SetCableClubWarp + warp MAP_UNKNOWN_MAP_00_00, 255, 6, 8 + special DoCableClubWarp + waitstate + end + +EventScript_1BB621:: @ 81BB621 + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB894 + waitmovement 0 + return + +EventScript_1BB62C:: @ 81BB62C + special SetCableClubWarp + warp MAP_UNKNOWN_MAP_00_03, 255, 5, 8 + special DoCableClubWarp + waitstate + end + +EventScript_1BB63C:: @ 81BB63C + switch VAR_0x8004 + case 1, EventScript_1BB68A + case 2, EventScript_1BB679 + case 5, EventScript_1BB668 + goto EventScript_1BB857 + +EventScript_1BB667:: @ 81BB667 + end + +EventScript_1BB668:: @ 81BB668 + special CloseLink + msgbox gUnknown_81BC736 + goto EventScript_1BB69B + +EventScript_1BB678:: @ 81BB678 + end + +EventScript_1BB679:: @ 81BB679 + special CloseLink + msgbox gUnknown_81BC700 + goto EventScript_1BB69B + +EventScript_1BB689:: @ 81BB689 + end + +EventScript_1BB68A:: @ 81BB68A + special CloseLink + msgbox gUnknown_81BC6CA + goto EventScript_1BB69B + +EventScript_1BB69A:: @ 81BB69A + end + +EventScript_1BB69B:: @ 81BB69B + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC76B + release + end + +EventScript_1BB6AB:: @ 81BB6AB + copyvar VAR_0x8007, VAR_LAST_TALKED + call EventScript_1BB79C + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB82F + call EventScript_1A4EAF + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB82F + message gUnknown_81BC4AC + waitmessage + special HelpSystem_Disable + textcolor 3 + special sub_80810CC + waitstate + call EventScript_1A6675 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BB73D + compare VAR_RESULT, 2 + goto_if eq, EventScript_1BB80F + compare VAR_RESULT, 3 + goto_if eq, EventScript_1BB81F + compare VAR_RESULT, 4 + goto_if eq, EventScript_1BB857 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BB82F + compare VAR_RESULT, 6 + goto_if eq, EventScript_1BB7FF + compare VAR_RESULT, 7 + goto_if eq, EventScript_1BB7DF + compare VAR_RESULT, 9 + goto_if eq, EventScript_1BB7EF + end + +EventScript_1BB73D:: @ 81BB73D + setvar VAR_0x8004, 3 + copyvar VAR_CABLE_CLUB_STATE, VAR_0x8004 + messageautoscroll Text_1BC590 + waitmessage + call CableClub_EventScript_OpenDirectCornerBarrier + special DrawWholeMapView + playse SE_TK_KASYA + delay 60 + applymovement VAR_LAST_TALKED, Movement_1BB88F + waitmovement 0 + closemessage + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB898 + waitmovement 0 + opendoor 9, 1 + waitdooranim + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB89C + waitmovement 0 + hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + closedoor 9, 1 + waitdooranim + release + special SetCableClubWarp + setwarp MAP_UNKNOWN_MAP_00_01, 255, 5, 8 + special DoCableClubWarp + waitstate + end + +EventScript_1BB79C:: @ 81BB79C + specialvar VAR_RESULT, CalculatePlayerPartyCount + compare VAR_RESULT, 2 + goto_if lt, EventScript_1BB7C2 + specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BB7D0 + setvar VAR_RESULT, 1 + return + +EventScript_1BB7C2:: @ 81BB7C2 + msgbox gUnknown_81BC442 + setvar VAR_RESULT, 0 + return + +EventScript_1BB7D0:: @ 81BB7D0 + msgbox gUnknown_81BC47C + setvar VAR_RESULT, 0 + return + +EventScript_1BB7DE:: @ 81BB7DE + end + +EventScript_1BB7DF:: @ 81BB7DF + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC95C + release + end + +EventScript_1BB7EF:: @ 81BB7EF + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC9C0 + release + end + +EventScript_1BB7FF:: @ 81BB7FF + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC615 + release + end + +EventScript_1BB80F:: @ 81BB80F + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC5C0 + release + end + +EventScript_1BB81F:: @ 81BB81F + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC64E + release + end + +EventScript_1BB82F:: @ 81BB82F + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC68A + release + end + +EventScript_1BB83F:: @ 81BB83F + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BCFD1 + release + end + +EventScript_1BB84F:: @ 81BB84F + special SetCableClubWarp + special DoCableClubWarp + waitstate + end + +EventScript_1BB857:: @ 81BB857 + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC6A1 + release + end + +EventScript_1BB867:: @ 81BB867 + special CloseLink + special HelpSystem_Enable + msgbox gUnknown_81BC9E0 + release + end + +EventScript_1BB877:: @ 81BB877 + msgbox Text_WirelessClubUndergoingAdjustments + release + end + +EventScript_1BB881:: @ 81BB881 + msgbox Text_AppearsToBeUndergoingAdjustments + releaseall + end + +Movement_1BB88B:: @ 81BB88B + step_00 + step_end + +Movement_1BB88D:: @ 81BB88D + step_03 + step_end + +Movement_1BB88F:: @ 81BB88F + step_02 + step_end + +Movement_1BB891:: @ 81BB891 + step_10 + step_10 + step_end + +Movement_1BB894:: @ 81BB894 + step_13 + step_11 + step_11 + step_end + +Movement_1BB898:: @ 81BB898 + step_12 + step_11 + step_11 + step_end + +Movement_1BB89C:: @ 81BB89C + step_11 + step_end + +Movement_1BB89E:: @ 81BB89E + step_02 + step_end + +Movement_1BB8A0:: @ 81BB8A0 + step_03 + step_end + +Movement_1BB8A2:: @ 81BB8A2 + step_12 + step_11 + step_11 + step_11 + step_end + +gUnknown_81BB8A7:: @ 81BB8A7 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + fadescreen 1 + setvar VAR_0x8004, 0 + special Special_BattleRecords + waitstate + releaseall + end + +gUnknown_81BB8C3:: @ 81BB8C3 +UnknownMap_00_00_EventScript_1BB8C3:: @ 81BB8C3 + setvar VAR_0x8005, 0 + textcolor 3 + special sub_80819C8 + waitstate + end + +gUnknown_81BB8CF:: @ 81BB8CF +UnknownMap_00_00_EventScript_1BB8CF:: @ 81BB8CF + setvar VAR_0x8005, 1 + textcolor 3 + special sub_80819C8 + waitstate + end + +gUnknown_81BB8DB:: @ 81BB8DB +UnknownMap_00_03_EventScript_1BB8DB:: @ 81BB8DB + fadescreen 1 + special sub_80A0334 + waitstate + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB94F + setvar VAR_0x8005, 0 + textcolor 3 + special sub_80819C8 + waitstate + end + +gUnknown_81BB8F8:: @ 81BB8F8 +UnknownMap_00_03_EventScript_1BB8F8:: @ 81BB8F8 + fadescreen 1 + special sub_80A0334 + waitstate + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB94F + setvar VAR_0x8005, 1 + textcolor 3 + special sub_80819C8 + waitstate + end + +gUnknown_81BB915:: @ 81BB915 +UnknownMap_00_03_EventScript_1BB915:: @ 81BB915 + fadescreen 1 + special sub_80A0334 + waitstate + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB94F + setvar VAR_0x8005, 2 + textcolor 3 + special sub_80819C8 + waitstate + end + +gUnknown_81BB932:: @ 81BB932 +UnknownMap_00_03_EventScript_1BB932:: @ 81BB932 + fadescreen 1 + special sub_80A0334 + waitstate + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB94F + setvar VAR_0x8005, 3 + textcolor 3 + special sub_80819C8 + waitstate + end + +EventScript_1BB94F:: @ 81BB94F + end + +gUnknown_81BB950:: @ 81BB950 +UnknownMap_00_01_EventScript_1BB950:: @ 81BB950 + setvar VAR_0x8005, 0 + textcolor 3 + special sub_8081978 + waitstate + end + +gUnknown_81BB95C:: @ 81BB95C +UnknownMap_00_01_EventScript_1BB95C:: @ 81BB95C + setvar VAR_0x8005, 1 + textcolor 3 + special sub_8081978 + waitstate + end + +EventScript_1BB968:: @ 81BB968 + setvar VAR_0x8005, 2 + textcolor 3 + special sub_8081978 + waitstate + end + +EventScript_1BB974:: @ 81BB974 + setvar VAR_0x8005, 3 + textcolor 3 + special sub_8081978 + waitstate + end + +gUnknown_81BB980:: @ 81BB980 +UnknownMap_00_02_EventScript_1BB980:: @ 81BB980 + end + +gUnknown_81BB981:: @ 81BB981 + textcolor 3 + msgbox Text_LookedAtPlayersTrainerCard + fadescreen 1 + special sp02A_crash_sound + waitstate + end + +gUnknown_81BB992:: @ 81BB992 + textcolor 3 + msgbox Text_LookedAtPlayersTrainerCardColored + fadescreen 1 + special sp02A_crash_sound + waitstate + end + +gUnknown_81BB9A3:: @ 81BB9A3 + textcolor 3 + msgbox Text_TrainerTooBusyToNotice + closemessage + end + +UnknownMap_00_00_EventScript_1BB9AF:: @ 81BB9AF + textcolor 3 + special sub_8069740 + msgbox Text_TakeSeatStartBattle + special sub_8069768 + closemessage + end + +UnknownMap_00_01_EventScript_1BB9C1:: @ 81BB9C1 + textcolor 3 + special sub_8069740 + msgbox Text_TakeSeatStartTrade + special sub_8069768 + closemessage + end + +UnknownMap_00_02_EventScript_1BB9D3:: @ 81BB9D3 + end + +gUnknown_81BB9D4:: @ 81BB9D4 + textcolor 3 + msgbox Text_TerminateLinkIfYouLeaveRoom, MSGBOX_YESNO + compare VAR_RESULT, YES + goto_if eq, EventScript_1BB9F0 + erasebox 0, 0, 29, 19 + releaseall + end + +EventScript_1BB9F0:: @ 81BB9F0 + textcolor 3 + messageautoscroll Text_1BC7E2 + waitmessage + special sub_8081770 + end + +gUnknown_81BB9FC:: @ 81BB9FC + special sub_8081744 + special sub_807E704 + waitstate + end + +EventScript_1BBA04:: @ 81BBA04 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + special sub_8112364 + lock + faceplayer + checkflag FLAG_SYS_POKEDEX_GET + goto_if FALSE, EventScript_1BB877 + specialvar VAR_RESULT, Special_BadEggInParty + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BB867 + copyvar VAR_0x8007, VAR_LAST_TALKED + specialvar VAR_RESULT, IsWirelessAdapterConnected + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BBB60 + message Text_1BD65B + waitmessage + goto EventScript_1BBA51 + +EventScript_1BBA50:: @ 81BBA50 + end + +EventScript_1BBA51:: @ 81BBA51 + multichoice 18, 6, MULTICHOICE_YES_NO_INFO, FALSE + switch VAR_RESULT + case 0, EventScript_1BBA94 + case 1, EventScript_1BB82F + case 2, EventScript_1BBA88 + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BBA88:: @ 81BBA88 + message Text_1BD706 + waitmessage + goto EventScript_1BBA51 + +EventScript_1BBA93:: @ 81BBA93 + end + +EventScript_1BBA94:: @ 81BBA94 + call EventScript_1BBB1E + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB82F + call EventScript_1A4EAF + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB82F + msgbox gUnknown_81BD86A + closemessage + special sp000_heal_pokemon + setvar VAR_0x8004, 6 + copyvar VAR_CABLE_CLUB_STATE, VAR_0x8004 + special HelpSystem_Disable + call CableClub_EventScript_OpenUnionRoomBarrier + special DrawWholeMapView + playse SE_TK_KASYA + delay 60 + applymovement VAR_LAST_TALKED, Movement_1BB88F + waitmovement 0 + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB898 + waitmovement 0 + opendoor 5, 1 + waitdooranim + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB89C + waitmovement 0 + hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + closedoor 5, 1 + waitdooranim + special sub_811B15C + special SetCableClubWarp + warpteleport2 MAP_UNKNOWN_MAP_00_04, 255, 7, 11 + waitstate + special UnionRoomSpecial + waitstate + end + +EventScript_1BBB1E:: @ 81BBB1E + specialvar VAR_RESULT, CountPartyNonEggMons + compare VAR_RESULT, 2 + goto_if lt, EventScript_1BBB44 + specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BBB52 + setvar VAR_RESULT, 1 + return + +EventScript_1BBB44:: @ 81BBB44 + msgbox gUnknown_81BCBC3 + goto EventScript_1A77B0 + +EventScript_1BBB51:: @ 81BBB51 + end + +EventScript_1BBB52:: @ 81BBB52 + msgbox gUnknown_81BCC00 + goto EventScript_1A77B0 + +EventScript_1BBB5F:: @ 81BBB5F + end + +EventScript_1BBB60:: @ 81BBB60 + msgbox gUnknown_81BCC3A + release + return + +EventScript_1BBB6A:: @ 81BBB6A + lock + faceplayer + checkflag FLAG_SYS_POKEDEX_GET + goto_if FALSE, EventScript_1BB877 + msgbox gUnknown_81BDB85, MSGBOX_YESNO + compare VAR_RESULT, NO + goto_if eq, EventScript_1BBB92 + msgbox gUnknown_81BDBF8 + release + return + +EventScript_1BBB92:: @ 81BBB92 + msgbox gUnknown_81BDEDF + release + return + +EventScript_1BBB9C:: @ 81BBB9C + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + special sub_8112364 + lock + faceplayer + checkflag FLAG_SYS_POKEDEX_GET + goto_if FALSE, EventScript_1BB877 + specialvar VAR_RESULT, Special_BadEggInParty + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BB867 + specialvar VAR_RESULT, IsWirelessAdapterConnected + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB44A + message Text_1BD28D + waitmessage + delay 15 + goto EventScript_1BBBE7 + +EventScript_1BBBE6:: @ 81BBBE6 + end + +EventScript_1BBBE7:: @ 81BBBE7 + checkflag FLAG_GOT_POWDER_JAR + goto_if FALSE, EventScript_1BBC32 + multichoice 0, 0, MULTICHOICE_TRADE_COLOSSEUM_CRUSH, FALSE + switch VAR_RESULT + case 0, EventScript_1BBC69 + case 1, EventScript_1BBC97 + case 2, EventScript_1BBD35 + case 3, EventScript_1BB82F + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BBC32:: @ 81BBC32 + multichoice 0, 0, MULTICHOICE_TRADE_COLOSSEUM_2, FALSE + switch VAR_RESULT + case 0, EventScript_1BBC69 + case 1, EventScript_1BBC97 + case 2, EventScript_1BB82F + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BBC69:: @ 81BBC69 + msgbox gUnknown_81BD317, MSGBOX_YESNO + compare VAR_RESULT, NO + goto_if eq, EventScript_1BB82F + call EventScript_1BB79C + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB82F + setvar VAR_0x8004, 3 + goto EventScript_1BBD6F + +EventScript_1BBC96:: @ 81BBC96 + end + +EventScript_1BBC97:: @ 81BBC97 + message Text_1BD338 + waitmessage + multichoice 0, 0, MULTICHOICE_SINGLE_DOUBLE_MULTI_INFO_EXIT, FALSE + switch VAR_RESULT + case 0, EventScript_1BBCEA + case 1, EventScript_1BBCF5 + case 2, EventScript_1BBD1C + case 3, EventScript_1BBD27 + case 4, EventScript_1BB82F + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BBCEA:: @ 81BBCEA + setvar VAR_0x8004, 0 + goto EventScript_1BBD6F + +EventScript_1BBCF4:: @ 81BBCF4 + end + +EventScript_1BBCF5:: @ 81BBCF5 + special CheckForAlivePartyMons + compare VAR_RESULT, 0 + goto_if ne, EventScript_1BBD0E + setvar VAR_0x8004, 1 + goto EventScript_1BBD6F + +EventScript_1BBD0D:: @ 81BBD0D + end + +EventScript_1BBD0E:: @ 81BBD0E + msgbox gUnknown_81BC409 + goto EventScript_1BBC97 + +EventScript_1BBD1B:: @ 81BBD1B + end + +EventScript_1BBD1C:: @ 81BBD1C + setvar VAR_0x8004, 2 + goto EventScript_1BBD6F + +EventScript_1BBD26:: @ 81BBD26 + end + +EventScript_1BBD27:: @ 81BBD27 + msgbox gUnknown_81BD390 + goto EventScript_1BBC97 + +EventScript_1BBD34:: @ 81BBD34 + end + +EventScript_1BBD35:: @ 81BBD35 + msgbox gUnknown_81BD362, MSGBOX_YESNO + compare VAR_RESULT, NO + goto_if eq, EventScript_1BB82F + special CheckHasAtLeastOneBerry + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BBD61 + setvar VAR_0x8004, 5 + goto EventScript_1BBD6F + +EventScript_1BBD60:: @ 81BBD60 + end + +EventScript_1BBD61:: @ 81BBD61 + msgbox gUnknown_81BCB81 + goto EventScript_1BBBE7 + +EventScript_1BBD6E:: @ 81BBD6E + end + +EventScript_1BBD6F:: @ 81BBD6F + call EventScript_1A4EAF + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB82F + switch VAR_0x8004 + case 3, EventScript_1BBDBC + case 0, EventScript_1BBDBC + case 1, EventScript_1BBDBC + case 2, EventScript_1BBE50 + case 5, EventScript_1BBEE4 + end + +EventScript_1BBDBC:: @ 81BBDBC + textcolor 3 + message Text_1BD51B + waitmessage + call EventScript_1A6675 + multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE + switch VAR_RESULT + case 0, EventScript_1BBE28 + case 1, EventScript_1BBE00 + case 2, EventScript_1BB82F + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BBE00:: @ 81BBE00 + call EventScript_1BBF78 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BBF88 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BBDBC + compare VAR_RESULT, 8 + goto_if eq, EventScript_1BBE00 + release + return + +EventScript_1BBE28:: @ 81BBE28 + call EventScript_1BBF80 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BBF88 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BBDBC + compare VAR_RESULT, 8 + goto_if eq, EventScript_1BBE28 + release + return + +EventScript_1BBE50:: @ 81BBE50 + textcolor 3 + message Text_1BD582 + waitmessage + call EventScript_1A6675 + multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE + switch VAR_RESULT + case 0, EventScript_1BBEBC + case 1, EventScript_1BBE94 + case 2, EventScript_1BB82F + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BBE94:: @ 81BBE94 + call EventScript_1BBF78 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BBF88 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BBE50 + compare VAR_RESULT, 8 + goto_if eq, EventScript_1BBE94 + release + return + +EventScript_1BBEBC:: @ 81BBEBC + call EventScript_1BBF80 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BBF88 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BBE50 + compare VAR_RESULT, 8 + goto_if eq, EventScript_1BBEBC + release + return + +EventScript_1BBEE4:: @ 81BBEE4 + textcolor 3 + message Text_1BD5F1 + waitmessage + call EventScript_1A6675 + multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE + switch VAR_RESULT + case 0, EventScript_1BBF50 + case 1, EventScript_1BBF28 + case 2, EventScript_1BB82F + case SCR_MENU_CANCEL, EventScript_1BB82F + end + +EventScript_1BBF28:: @ 81BBF28 + call EventScript_1BBF78 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BBF88 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BBEE4 + compare VAR_RESULT, 8 + goto_if eq, EventScript_1BBF28 + release + return + +EventScript_1BBF50:: @ 81BBF50 + call EventScript_1BBF80 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BBF88 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BBEE4 + compare VAR_RESULT, 8 + goto_if eq, EventScript_1BBF50 + release + return + +EventScript_1BBF78:: @ 81BBF78 + special HelpSystem_Disable + special sub_8115A24 + waitstate + return + +EventScript_1BBF80:: @ 81BBF80 + special HelpSystem_Disable + special BerryBlenderLinkJoinGroup + waitstate + return + +EventScript_1BBF88:: @ 81BBF88 + messageautoscroll Text_1BC59E + waitmessage + delay 60 + closemessage + copyvar VAR_0x8007, VAR_LAST_TALKED + call CableClub_EventScript_OpenDirectCornerBarrier + special DrawWholeMapView + playse SE_TK_KASYA + delay 60 + applymovement VAR_LAST_TALKED, Movement_1BB88F + waitmovement 0 + closemessage + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB898 + waitmovement 0 + opendoor 9, 1 + waitdooranim + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB89C + waitmovement 0 + hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + closedoor 9, 1 + waitdooranim + release + waitstate + end + +gUnknown_81BBFD8:: @ 81BBFD8 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + checkflag FLAG_SYS_POKEDEX_GET + goto_if FALSE, EventScript_1BB881 + specialvar VAR_RESULT, IsWirelessAdapterConnected + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BC016 + special HelpSystem_Disable + fadescreen 1 + special sub_814F1D4 + waitstate + msgbox gUnknown_81BCA43 + special HelpSystem_Enable + releaseall + end + +EventScript_1BC016:: @ 81BC016 + msgbox gUnknown_81BCA13 + releaseall + end + +CableClub_EventScript_OpenUnionRoomBarrier:: @ 81BC020 + setmetatile 5, 3, 709, 0 + return + +CableClub_EventScript_CloseUnionRoomBarrier:: @ 81BC02A + setmetatile 5, 3, 761, 1 + return + +CableClub_EventScript_OpenDirectCornerBarrier:: @ 81BC034 + setmetatile 9, 3, 709, 0 + return + +CableClub_EventScript_CloseDirectCornerBarrier:: @ 81BC03E + setmetatile 9, 3, 761, 1 + return + +CableClub_EventScript_OpenGameCornerBarrier:: @ 81BC048 + setmetatile 5, 3, 737, 0 + return + +CableClub_EventScript_CloseGameCornerBarrier:: @ 81BC052 + setmetatile 5, 3, 759, 1 + return + +CeladonCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +CeruleanCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +CinnabarIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +FiveIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +FourIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +FuchsiaCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +IndigoPlateau_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +LavenderTown_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +OneIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +PewterCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +Route10_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +Route4_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +SaffronCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +SevenIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +SixIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +ThreeIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +TwoIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +VermilionCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C +ViridianCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C + special sub_811999C + end + +EventScript_1BC060:: @ 81BC060 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + special sub_8112364 + lock + faceplayer + message Text_1BCCFF + waitmessage + multichoice 0, 0, MULTICHOICE_POKEJUMP_DODRIO, FALSE + switch VAR_RESULT + case 0, EventScript_1BC0B0 + case 1, EventScript_1BC0BA + case 2, EventScript_1BC0C4 + case SCR_MENU_CANCEL, EventScript_1BC0C4 + end + +EventScript_1BC0B0:: @ 81BC0B0 + msgbox gUnknown_81BCD4D + release + end + +EventScript_1BC0BA:: @ 81BC0BA + msgbox gUnknown_81BCE73 + release + end + +EventScript_1BC0C4:: @ 81BC0C4 + msgbox gUnknown_81BCF2E + release + end + +EventScript_1BC0CE:: @ 81BC0CE + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + special sub_8112364 + lock + faceplayer + message Text_1BCF69 + waitmessage + specialvar VAR_RESULT, IsWirelessAdapterConnected + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BC29C + delay 60 + special HelpSystem_Disable + message Text_1BD02D + waitmessage + multichoice 0, 0, MULTICHOICE_POKEJUMP_DODRIO, FALSE + switch VAR_RESULT + case 0, EventScript_1BC13A + case 1, EventScript_1BC184 + case 2, EventScript_1BB83F + case SCR_MENU_CANCEL, EventScript_1BB83F + end + +EventScript_1BC13A:: @ 81BC13A + setvar VAR_0x8005, 0 + special sub_8149A18 + compare VAR_RESULT, 0 + goto_if eq, EventScript_NoEligiblePkmn + msgbox gUnknown_81BD059 + setvar VAR_0x8005, 0 + special ChooseMonForWirelessMinigame + waitstate + compare VAR_0x8004, 6 + goto_if ge, EventScript_1BB83F + call EventScript_1A4EAF + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB83F + setvar VAR_0x8004, 4 + goto EventScript_1BC1CE + +EventScript_1BC183:: @ 81BC183 + end + +EventScript_1BC184:: @ 81BC184 + setvar VAR_0x8005, 1 + special sub_81537C0 + compare VAR_RESULT, 0 + goto_if eq, EventScript_NoEligiblePkmn + msgbox gUnknown_81BD059 + setvar VAR_0x8005, 1 + special ChooseMonForWirelessMinigame + waitstate + compare VAR_0x8004, 6 + goto_if ge, EventScript_1BB83F + call EventScript_1A4EAF + compare VAR_RESULT, 0 + goto_if eq, EventScript_1BB83F + setvar VAR_0x8004, 6 + goto EventScript_1BC1CE + +EventScript_1BC1CD:: @ 81BC1CD + end + +EventScript_1BC1CE:: @ 81BC1CE + textcolor 3 + message Text_1BD5F1 + waitmessage + call EventScript_1A6675 + multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE + switch VAR_RESULT + case 0, EventScript_1BC23A + case 1, EventScript_1BC212 + case 2, EventScript_1BB83F + case SCR_MENU_CANCEL, EventScript_1BB83F + end + +EventScript_1BC212:: @ 81BC212 + call EventScript_1BBF78 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BC262 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BC1CE + compare VAR_RESULT, 8 + goto_if eq, EventScript_1BC212 + release + return + +EventScript_1BC23A:: @ 81BC23A + call EventScript_1BBF80 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1BC262 + compare VAR_RESULT, 5 + goto_if eq, EventScript_1BC1CE + compare VAR_RESULT, 8 + goto_if eq, EventScript_1BC23A + release + return + +EventScript_1BC262:: @ 81BC262 + messageautoscroll Text_1BD080 + waitmessage + delay 120 + closemessage + copyvar VAR_0x8007, VAR_LAST_TALKED + call CableClub_EventScript_OpenGameCornerBarrier + special DrawWholeMapView + playse SE_TK_KASYA + delay 60 + applymovement VAR_LAST_TALKED, Movement_1BB88F + waitmovement 0 + closemessage + applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB8A2 + waitmovement 0 + hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + release + waitstate + end + +EventScript_1BC29C:: @ 81BC29C + msgbox gUnknown_81BCFE8 + release + end + +EventScript_NoEligiblePkmn:: @ 81BC2A6 + msgbox gUnknown_81BD0CF, MSGBOX_YESNO + compare VAR_RESULT, NO + goto_if eq, EventScript_1BB83F + compare VAR_0x8005, 0 + call_if eq, EventScript_1BC2D5 + compare VAR_0x8005, 1 + call_if eq, EventScript_1BC2DE + goto EventScript_1BB83F + +EventScript_1BC2D4:: @ 81BC2D4 + end + +EventScript_1BC2D5:: @ 81BC2D5 + msgbox gUnknown_81BD14B + return + +EventScript_1BC2DE:: @ 81BC2DE + msgbox gUnknown_81BD213 + return + +TwoIsland_JoyfulGameCorner_EventScript_1BC2E7:: @ 81BC2E7 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + special sub_814B504 + waitstate + releaseall + end + +TwoIsland_JoyfulGameCorner_EventScript_1BC2FC:: @ 81BC2FC + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + special sub_8153810 + waitstate + releaseall + end + +gUnknown_81BC311:: @ 81BC311 + .string "Welcome to the POKéMON CABLE\n" + .string "CLUB.\p" + .string "Which of our services do you wish\n" + .string "to use?$" + +gUnknown_81BC35E:: @ 81BC35E + .string "Which of our services do you wish\n" + .string "to use?$" + +Text_1BC388:: @ 81BC388 + .string "Trade POKéMON with another player\n" + .string "using a GBA Game Link cable.$" + +Text_1BC3C7:: @ 81BC3C7 + .string "You may battle another TRAINER\n" + .string "using a GBA Game Link cable.$" + +Text_1BC403:: @ 81BC403 + .string "おわります$" + +gUnknown_81BC409:: @ 81BC409 + .string "For a DOUBLE BATTLE, you must\n" + .string "have at least two POKéMON.$" + +gUnknown_81BC442:: @ 81BC442 + .string "For trading, you must have at\n" + .string "least two POKéMON with you.$" + +gUnknown_81BC47C:: @ 81BC47C + .string "A POKéMON holding the {STR_VAR_1}\n" + .string "BERRY can't be traded.$" + +gUnknown_81BC4AC:: @ 81BC4AC + .string "Please wait.\n" + .string "… … B Button: Cancel$" + +gUnknown_81BC4CE:: @ 81BC4CE + .string "When all players are ready…\n" + .string "A Button: Confirm\l" + .string "B Button: Cancel$" + +gUnknown_81BC50D:: @ 81BC50D + .string "Start link with {STR_VAR_1} players.\n" + .string "A Button: Confirm\l" + .string "B Button: Cancel$" + +gUnknown_81BC54C:: @ 81BC54C + .string "Awaiting linkup…\n" + .string "… … B Button: Cancel$" + +Text_1BC572:: @ 81BC572 + .string "はじめる まえに レポートを\n" + .string "かきますが よろしいですか?$" + +Text_1BC590:: @ 81BC590 + .string "Please enter.$" + +Text_1BC59E:: @ 81BC59E + .string "I'll direct you to your room now.$" + +gUnknown_81BC5C0:: @ 81BC5C0 + .string "Someone is not ready to link.\p" + .string "Please come back after everyone\n" + .string "has made preparations.$" + +gUnknown_81BC615:: @ 81BC615 + .string "Sorry, we have a link error…\n" + .string "Please reset and try again.$" + +gUnknown_81BC64E:: @ 81BC64E + .string "The link partners appear to have\n" + .string "made different selections.$" + +gUnknown_81BC68A:: @ 81BC68A + .string "Please do visit again.$" + +gUnknown_81BC6A1:: @ 81BC6A1 + .string "The number of participants is\n" + .string "incorrect.$" + +gUnknown_81BC6CA:: @ 81BC6CA + .string "The SINGLE BATTLE Mode can't be\n" + .string "played by {STR_VAR_1} players.$" + +gUnknown_81BC700:: @ 81BC700 + .string "The DOUBLE BATTLE Mode can't be\n" + .string "played by {STR_VAR_1} players.$" + +gUnknown_81BC736:: @ 81BC736 + .string "There must be four players to play\n" + .string "this Battle Mode.$" + +gUnknown_81BC76B:: @ 81BC76B + .string "Please confirm the number of\n" + .string "players and start again.$" + +Text_TerminateLinkIfYouLeaveRoom:: @ 81BC7A1 + .string "The link will be terminated if you\n" + .string "leave the room. Is that okay?$" + +Text_1BC7E2:: @ 81BC7E2 + .string "Terminating link…\n" + .string "You will be escorted out of\l" + .string "the room. Please wait.$" + +Text_TrainerTooBusyToNotice:: @ 81BC827 + .string "This TRAINER is too busy to\n" + .string "notice…$" + +Text_LookedAtPlayersTrainerCard:: @ 81BC84B + .string "Score! Got to look at {STR_VAR_1}'s\n" + .string "TRAINER CARD!$" + +Text_LookedAtPlayersTrainerCardColored:: @ 81BC874 + .string "Score! Got to look at {STR_VAR_1}'s\n" + .string "TRAINER CARD!\p" + .string "It's a {STR_VAR_2} card!$" + +Text_TakeSeatStartBattle:: @ 81BC8AD + .string "Please take your seat and start\n" + .string "your battle.$" + +Text_TakeSeatStartTrade:: @ 81BC8DA + .string "Please take your seat and start\n" + .string "your trade.$" + +Text_1BC906:: @ 81BC906 + .string "ごりよう ありがとう ございました$" + +Text_1BC918:: @ 81BC918 + .string "The TRAINER CARD data will\n" + .string "be overwritten.$" + +Text_1BC943:: @ 81BC943 + .string "I hope to see you again!$" + +gUnknown_81BC95C:: @ 81BC95C + .string "I'm awfully sorry.\p" + .string "We're not set up to conduct trades\n" + .string "with TRAINERS far away in another\l" + .string "region yet…$" + +gUnknown_81BC9C0:: @ 81BC9C0 + .string "The other TRAINER is not ready.$" + +gUnknown_81BC9E0:: @ 81BC9E0 + .string "You have at least one POKéMON\n" + .string "that can't be taken.$" + +gUnknown_81BCA13:: @ 81BCA13 + .string "The Wireless Adapter is not\n" + .string "connected properly.$" + +gUnknown_81BCA43:: @ 81BCA43 + .string "Participants are asked to step up\n" + .string "to the reception counter.$" + +Text_1BCA7F:: @ 81BCA7F + .string "こんにちは!$" + +Text_1BCA86:: @ 81BCA86 + .string "しょうしょう おまちください$" + +Text_1BCA95:: @ 81BCA95 + .string "You may trade your POKéMON here\n" + .string "with another TRAINER.$" + +Text_1BCACB:: @ 81BCACB + .string "You may battle with your friends\n" + .string "here.$" + +Text_1BCAF2:: @ 81BCAF2 + .string "Two to five TRAINERS can make\n" + .string "BERRY POWDER together.$" + +Text_1BCB27:: @ 81BCB27 + .string "ワイヤレス クラブでの\n" + .string "あそびかたを せつめいします$" + +Text_1BCB42:: @ 81BCB42 + .string "Cancels the selected MENU item.$" + +Text_1BCB62:: @ 81BCB62 + .string "どちらの しょうぶに しますか?$" + +Text_1BCB73:: @ 81BCB73 + .string "ひとつ まえに もどります$" + +gUnknown_81BCB81:: @ 81BCB81 + .string "To use the BERRY CRUSH service,\n" + .string "you must have at least one BERRY.$" + +gUnknown_81BCBC3:: @ 81BCBC3 + .string "To enter the UNION ROOM, you must\n" + .string "have at least two POKéMON.$" + +gUnknown_81BCC00:: @ 81BCC00 + .string "No POKéMON holding the {STR_VAR_1}\n" + .string "BERRY may enter the UNION ROOM.$" + +gUnknown_81BCC3A:: @ 81BCC3A + .string "This is the POKéMON WIRELESS CLUB\n" + .string "UNION ROOM.\p" + .string "Unfortunately, your Wireless\n" + .string "Adapter is not connected properly.\p" + .string "Please do come again.$" + +Text_1BCCBE:: @ 81BCCBE + .string "あ‥‥\n" + .string "おきゃくさま!$" + +Text_PlayerIsPlayingRightNowGoForIt:: @ 81BCCCA + .string "It appears as if {STR_VAR_1} is playing\n" + .string "right now.\l" + .string "Go for it!$" + +Text_1BCCFF:: @ 81BCCFF + .string "I can explain game rules to you,\n" + .string "if you'd like.\p" + .string "Which game should I describe?$" + +gUnknown_81BCD4D:: @ 81BCD4D + .string "“POKéMON JUMP”\p" + .string "Make your POKéMON skip the\n" + .string "VINE WHIP rope with the A Button.\p" + .string "Only mini POKéMON around 28 inches\n" + .string "or less may participate.\p" + .string "POKéMON that only swim, burrow, or\n" + .string "fly are not good at jumping.\p" + .string "As a result, those POKéMON may not\n" + .string "participate.\p" + .string "Good things happen if everyone\n" + .string "jumps in time.$" + +gUnknown_81BCE73:: @ 81BCE73 + .string "“DODRIO BERRY-PICKING”\p" + .string "Command DODRIO's three heads to\n" + .string "catch falling BERRIES.\p" + .string "Press right, up, or left on the\n" + .string "{PLUS} Control Pad to move the heads.\p" + .string "To play this game, you must have\n" + .string "a DODRIO.$" + +gUnknown_81BCF2E:: @ 81BCF2E + .string "If you want to play a game,\n" + .string "please tell the man beside me.$" + +Text_1BCF69:: @ 81BCF69 + .string "Hi, welcome!\n" + .string "You can play games over the\l" + .string "Wireless Communication System.\p" + .string "Can you wait just a little bit?$" + +gUnknown_81BCFD1:: @ 81BCFD1 + .string "All right, come again!$" + +gUnknown_81BCFE8:: @ 81BCFE8 + .string "The Wireless Adapter isn't\n" + .string "connected.\p" + .string "Come back when it's hooked up!$" + +Text_1BD02D:: @ 81BD02D + .string "All right, which game did you want\n" + .string "to play?$" + +gUnknown_81BD059:: @ 81BD059 + .string "Which POKéMON would you like to\n" + .string "enter?$" + +Text_1BD080:: @ 81BD080 + .string "Okay, you're all good to go.\n" + .string "Don't let the others beat you!$" + +Text_1BD0BC:: @ 81BD0BC + .string "きょうは けえるのか?\n" + .string "またこいよ!$" + +gUnknown_81BD0CF:: @ 81BD0CF + .string "It doesn't look like you have any\n" + .string "POKéMON that you can enter…\p" + .string "Would you like me to explain what\n" + .string "kinds of POKéMON can enter?$" + +gUnknown_81BD14B:: @ 81BD14B + .string "“POKéMON JUMP” is open to POKéMON\n" + .string "around 28 inches or less.\p" + .string "What you can't enter are those\n" + .string "POKéMON that can't jump.\p" + .string "You know, like POKéMON that only\n" + .string "swim, burrow, or fly.\p" + .string "That's all you need to know.$" + +gUnknown_81BD213:: @ 81BD213 + .string "“DODRIO BERRY-PICKING”…\n" + .string "Well, the name says it all.\p" + .string "You have to have a DODRIO to play\n" + .string "this game.$" + +Text_1BD274:: @ 81BD274 + .string "もういちど はじめから\n" + .string "やりなおして みて くれ$" + +Text_1BD28D:: @ 81BD28D + .string "Welcome to the POKéMON WIRELESS\n" + .string "CLUB DIRECT CORNER.\p" + .string "You may interact directly with\n" + .string "your friends here.\p" + .string "Which room would you like to\n" + .string "enter?$" + +gUnknown_81BD317:: @ 81BD317 + .string "Would you like to trade POKéMON?$" + +Text_1BD338:: @ 81BD338 + .string "Which Battle Mode would you like\n" + .string "to play?$" + +gUnknown_81BD362:: @ 81BD362 + .string "Would you like to use the\n" + .string "BERRY CRUSH System?$" + +gUnknown_81BD390:: @ 81BD390 + .string "There are three Battle Modes.\p" + .string "SINGLE BATTLE is for two TRAINERS\n" + .string "with one or more POKéMON each.\p" + .string "Each TRAINER can have one POKéMON\n" + .string "in battle at a time.\p" + .string "DOUBLE BATTLE is for two TRAINERS\n" + .string "with two or more POKéMON each.\p" + .string "Each TRAINER will send out two\n" + .string "POKéMON in battle at a time.\p" + .string "MULTI BATTLE is for four TRAINERS\n" + .string "with one or more POKéMON each.\p" + .string "Each TRAINER can have one POKéMON\n" + .string "in battle at a time.$" + +Text_1BD51B:: @ 81BD51B + .string "Please decide which of you two\n" + .string "will become the LEADER.\p" + .string "The other player must then choose\n" + .string "“JOIN GROUP.”$" + +Text_1BD582:: @ 81BD582 + .string "Please decide which of you four\n" + .string "will become the GROUP LEADER.\p" + .string "The other players must then choose\n" + .string "“JOIN GROUP.”$" + +Text_1BD5F1:: @ 81BD5F1 + .string "Please decide which of you will\n" + .string "become the GROUP LEADER.\p" + .string "The other players must then choose\n" + .string "“JOIN GROUP.”$" + +Text_1BD65B:: @ 81BD65B + .string "Welcome to the POKéMON WIRELESS\n" + .string "CLUB UNION ROOM.\p" + .string "You may interact directly with\n" + .string "other TRAINERS here, some of\l" + .string "whom you may not even know.\p" + .string "Would you like to enter the ROOM?$" + +Text_1BD706:: @ 81BD706 + .string "The TRAINERS in the UNION ROOM\n" + .string "will be those players around you\l" + .string "who have also entered the ROOM.\p" + .string "You may do all sorts of things\n" + .string "here, such as exchanging greetings.\p" + .string "You may enter two POKéMON up to\n" + .string "Lv. 30 for a one-on-one battle.\p" + .string "You may take part in a chat with\n" + .string "two to five people.\p" + .string "Or, you may register a POKéMON for\n" + .string "trade.\p" + .string "Would you like to enter the ROOM?$" + +gUnknown_81BD86A:: @ 81BD86A + .string "I hope you enjoy your time in\n" + .string "the UNION ROOM.$" + +gUnknown_81BD898:: @ 81BD898 + .string "Hello!\n" + .string "My name is TEALA.\p" + .string "This must be your first time\n" + .string "up here.\p" + .string "I'll show you how the Wireless\n" + .string "Communication System works.\p" + .string "First, I need to show you this\n" + .string "floor of our POKéMON CENTER.\p" + .string "Right this way, please.$" + +gUnknown_81BD966:: @ 81BD966 + .string "On the top floor, there are two\n" + .string "rooms.\p" + .string "First, the room on the left.\n" + .string "It's the UNION ROOM.\p" + .string "You may link up with TRAINERS\n" + .string "around you who have also entered\l" + .string "the UNION ROOM.\p" + .string "With them, you may do things like\n" + .string "chat, battle, and trade.\p" + .string "Second, the room on the right is\n" + .string "the DIRECT CORNER.\p" + .string "You may trade or battle POKéMON\n" + .string "with your friends in this room.\p" + .string "If the Wireless Adapter isn't\n" + .string "connected, you may still link up\l" + .string "using a GBA Game Link cable.\p" + .string "If that is the case, you must go\n" + .string "to the DIRECT CORNER.\p" + .string "I hope you enjoy the Wireless \n" + .string "Communication System.$" + +gUnknown_81BDB85:: @ 81BDB85 + .string "Hello, {PLAYER}!\p" + .string "It's me, TEALA, the POKéMON\n" + .string "CENTER 2F attendant.\p" + .string "Is there something you needed to\n" + .string "ask me about linking?$" + +gUnknown_81BDBF8:: @ 81BDBF8 + .string "Let me explain how the POKéMON\n" + .string "WIRELESS CLUB works.\p" + .string "On this, the top floor, there are\n" + .string "two rooms.\p" + .string "First, the room on the left.\n" + .string "It's the UNION ROOM.\p" + .string "You may link up with TRAINERS\n" + .string "around you who have also entered\l" + .string "the UNION ROOM.\p" + .string "With them, you may do things like\n" + .string "chat, battle, and trade.\p" + .string "Second, the room on the right is\n" + .string "the DIRECT CORNER.\p" + .string "You may trade or battle POKéMON\n" + .string "with your friends in this room.\p" + .string "Sometimes, you may not be able to\n" + .string "find your friends in the UNION ROOM\l" + .string "or the DIRECT CORNER.\p" + .string "In that case, please move closer\n" + .string "to your friends.\p" + .string "If the Wireless Adapter isn't\n" + .string "connected, you may still link up\l" + .string "using a GBA Game Link cable.\p" + .string "If that is the case, you must go\n" + .string "to the DIRECT CORNER.\p" + .string "I hope you enjoy the Wireless \n" + .string "Communication System.$" + +gUnknown_81BDEDF:: @ 81BDEDF + .string "I hope you enjoy the Wireless\n" + .string "Communication System.$" diff --git a/data/scripts/item_ball_scripts.inc b/data/scripts/item_ball_scripts.inc index 76d2436ee..c268f4dcd 100644 --- a/data/scripts/item_ball_scripts.inc +++ b/data/scripts/item_ball_scripts.inc @@ -1,671 +1,671 @@ Route2_EventScript_1BE58E:: @ 81BE58E - giveitem ITEM_ETHER, 1, 1 + finditem ITEM_ETHER end Route2_EventScript_1BE59B:: @ 81BE59B - giveitem ITEM_PARALYZE_HEAL, 1, 1 + finditem ITEM_PARALYZE_HEAL end ViridianForest_EventScript_1BE5A8:: @ 81BE5A8 - giveitem ITEM_POKE_BALL, 1, 1 + finditem ITEM_POKE_BALL end ViridianForest_EventScript_1BE5B5:: @ 81BE5B5 - giveitem ITEM_ANTIDOTE, 1, 1 + finditem ITEM_ANTIDOTE end ViridianForest_EventScript_1BE5C2:: @ 81BE5C2 - giveitem ITEM_POTION, 1, 1 + finditem ITEM_POTION end MtMoon_1F_EventScript_1BE5CF:: @ 81BE5CF - giveitem ITEM_PARALYZE_HEAL, 1, 1 + finditem ITEM_PARALYZE_HEAL end MtMoon_1F_EventScript_1BE5DC:: @ 81BE5DC - giveitem ITEM_TM09, 1, 1 + finditem ITEM_TM09 end MtMoon_1F_EventScript_1BE5E9:: @ 81BE5E9 - giveitem ITEM_POTION, 1, 1 + finditem ITEM_POTION end MtMoon_1F_EventScript_1BE5F6:: @ 81BE5F6 - giveitem ITEM_RARE_CANDY, 1, 1 + finditem ITEM_RARE_CANDY end MtMoon_1F_EventScript_1BE603:: @ 81BE603 - giveitem ITEM_ESCAPE_ROPE, 1, 1 + finditem ITEM_ESCAPE_ROPE end MtMoon_1F_EventScript_1BE610:: @ 81BE610 - giveitem ITEM_MOON_STONE, 1, 1 + finditem ITEM_MOON_STONE end MtMoon_B2F_EventScript_1BE61D:: @ 81BE61D - giveitem ITEM_STAR_PIECE, 1, 1 + finditem ITEM_STAR_PIECE end MtMoon_B2F_EventScript_1BE62A:: @ 81BE62A - giveitem ITEM_TM46, 1, 1 + finditem ITEM_TM46 end Route4_EventScript_1BE637:: @ 81BE637 - giveitem ITEM_TM05, 1, 1 + finditem ITEM_TM05 end Route24_EventScript_1BE644:: @ 81BE644 - giveitem ITEM_TM45, 1, 1 + finditem ITEM_TM45 end Route25_EventScript_1BE651:: @ 81BE651 - giveitem ITEM_TM43, 1, 1 + finditem ITEM_TM43 end SSAnne_1F_Room2_EventScript_1BE65E:: @ 81BE65E - giveitem ITEM_TM31, 1, 1 + finditem ITEM_TM31 end SSAnne_2F_Room2_EventScript_1BE66B:: @ 81BE66B - giveitem ITEM_STARDUST, 1, 1 + finditem ITEM_STARDUST end SSAnne_2F_Room4_EventScript_1BE678:: @ 81BE678 - giveitem ITEM_X_ATTACK, 1, 1 + finditem ITEM_X_ATTACK end SSAnne_B1F_Room2_EventScript_1BE685:: @ 81BE685 - giveitem ITEM_TM44, 1, 1 + finditem ITEM_TM44 end SSAnne_B1F_Room3_EventScript_1BE692:: @ 81BE692 - giveitem ITEM_ETHER, 1, 1 + finditem ITEM_ETHER end SSAnne_B1F_Room5_EventScript_1BE69F:: @ 81BE69F - giveitem ITEM_SUPER_POTION, 1, 1 + finditem ITEM_SUPER_POTION end SSAnne_Kitchen_EventScript_1BE6AC:: @ 81BE6AC - giveitem ITEM_GREAT_BALL, 1, 1 + finditem ITEM_GREAT_BALL end Route9_EventScript_1BE6B9:: @ 81BE6B9 - giveitem ITEM_TM40, 1, 1 + finditem ITEM_TM40 end RocketHideout_B1F_EventScript_1BE6C6:: @ 81BE6C6 - giveitem ITEM_ESCAPE_ROPE, 1, 1 + finditem ITEM_ESCAPE_ROPE end RocketHideout_B1F_EventScript_1BE6D3:: @ 81BE6D3 - giveitem ITEM_HYPER_POTION, 1, 1 + finditem ITEM_HYPER_POTION end RocketHideout_B2F_EventScript_1BE6E0:: @ 81BE6E0 - giveitem ITEM_X_SPEED, 1, 1 + finditem ITEM_X_SPEED end RocketHideout_B2F_EventScript_1BE6ED:: @ 81BE6ED - giveitem ITEM_MOON_STONE, 1, 1 + finditem ITEM_MOON_STONE end RocketHideout_B2F_EventScript_1BE6FA:: @ 81BE6FA - giveitem ITEM_TM12, 1, 1 + finditem ITEM_TM12 end RocketHideout_B2F_EventScript_1BE707:: @ 81BE707 - giveitem ITEM_SUPER_POTION, 1, 1 + finditem ITEM_SUPER_POTION end RocketHideout_B3F_EventScript_1BE714:: @ 81BE714 - giveitem ITEM_RARE_CANDY, 1, 1 + finditem ITEM_RARE_CANDY end RocketHideout_B3F_EventScript_1BE721:: @ 81BE721 - giveitem ITEM_TM21, 1, 1 + finditem ITEM_TM21 end RocketHideout_B4F_EventScript_1BE72E:: @ 81BE72E - giveitem ITEM_TM49, 1, 1 + finditem ITEM_TM49 end RocketHideout_B4F_EventScript_1BE73B:: @ 81BE73B - giveitem ITEM_MAX_ETHER, 1, 1 + finditem ITEM_MAX_ETHER end RocketHideout_B4F_EventScript_1BE748:: @ 81BE748 - giveitem ITEM_CALCIUM, 1, 1 + finditem ITEM_CALCIUM end PokemonTower_3F_EventScript_1BE755:: @ 81BE755 - giveitem ITEM_ESCAPE_ROPE, 1, 1 + finditem ITEM_ESCAPE_ROPE end PokemonTower_4F_EventScript_1BE762:: @ 81BE762 - giveitem ITEM_ELIXIR, 1, 1 + finditem ITEM_ELIXIR end PokemonTower_4F_EventScript_1BE76F:: @ 81BE76F - giveitem ITEM_AWAKENING, 1, 1 + finditem ITEM_AWAKENING end PokemonTower_4F_EventScript_1BE77C:: @ 81BE77C - giveitem ITEM_GREAT_BALL, 1, 1 + finditem ITEM_GREAT_BALL end PokemonTower_5F_EventScript_1BE789:: @ 81BE789 - giveitem ITEM_NUGGET, 1, 1 + finditem ITEM_NUGGET end PokemonTower_6F_EventScript_1BE796:: @ 81BE796 - giveitem ITEM_RARE_CANDY, 1, 1 + finditem ITEM_RARE_CANDY end PokemonTower_6F_EventScript_1BE7A3:: @ 81BE7A3 - giveitem ITEM_X_ACCURACY, 1, 1 + finditem ITEM_X_ACCURACY end Route12_EventScript_1BE7B0:: @ 81BE7B0 - giveitem ITEM_TM48, 1, 1 + finditem ITEM_TM48 end Route12_EventScript_1BE7BD:: @ 81BE7BD - giveitem ITEM_IRON, 1, 1 + finditem ITEM_IRON end Route15_EventScript_1BE7CA:: @ 81BE7CA - giveitem ITEM_TM18, 1, 1 + finditem ITEM_TM18 end SafariZone_Center_EventScript_1BE7D7:: @ 81BE7D7 - giveitem ITEM_NUGGET, 1, 1 + finditem ITEM_NUGGET end SafariZone_East_EventScript_1BE7E4:: @ 81BE7E4 - giveitem ITEM_MAX_POTION, 1, 1 + finditem ITEM_MAX_POTION end SafariZone_East_EventScript_1BE7F1:: @ 81BE7F1 - giveitem ITEM_FULL_RESTORE, 1, 1 + finditem ITEM_FULL_RESTORE end SafariZone_East_EventScript_1BE7FE:: @ 81BE7FE - giveitem ITEM_TM11, 1, 1 + finditem ITEM_TM11 end SafariZone_East_EventScript_1BE80B:: @ 81BE80B - giveitem ITEM_LEAF_STONE, 1, 1 + finditem ITEM_LEAF_STONE end SafariZone_North_EventScript_1BE818:: @ 81BE818 - giveitem ITEM_PROTEIN, 1, 1 + finditem ITEM_PROTEIN end SafariZone_North_EventScript_1BE825:: @ 81BE825 - giveitem ITEM_TM47, 1, 1 + finditem ITEM_TM47 end SafariZone_West_EventScript_1BE832:: @ 81BE832 - giveitem ITEM_TM32, 1, 1 + finditem ITEM_TM32 end SafariZone_West_EventScript_1BE83F:: @ 81BE83F - giveitem ITEM_GOLD_TEETH, 1, 1 + finditem ITEM_GOLD_TEETH end SafariZone_West_EventScript_1BE84C:: @ 81BE84C - giveitem ITEM_MAX_POTION, 1, 1 + finditem ITEM_MAX_POTION end SafariZone_West_EventScript_1BE859:: @ 81BE859 - giveitem ITEM_MAX_REVIVE, 1, 1 + finditem ITEM_MAX_REVIVE end SilphCo_3F_EventScript_1BE866:: @ 81BE866 - giveitem ITEM_HYPER_POTION, 1, 1 + finditem ITEM_HYPER_POTION end SilphCo_4F_EventScript_1BE873:: @ 81BE873 - giveitem ITEM_MAX_REVIVE, 1, 1 + finditem ITEM_MAX_REVIVE end SilphCo_4F_EventScript_1BE880:: @ 81BE880 - giveitem ITEM_ESCAPE_ROPE, 1, 1 + finditem ITEM_ESCAPE_ROPE end SilphCo_4F_EventScript_1BE88D:: @ 81BE88D - giveitem ITEM_FULL_HEAL, 1, 1 + finditem ITEM_FULL_HEAL end SilphCo_5F_EventScript_1BE89A:: @ 81BE89A - giveitem ITEM_PROTEIN, 1, 1 + finditem ITEM_PROTEIN end SilphCo_5F_EventScript_1BE8A7:: @ 81BE8A7 - giveitem ITEM_TM01, 1, 1 + finditem ITEM_TM01 end SilphCo_5F_EventScript_1BE8B4:: @ 81BE8B4 - giveitem ITEM_CARD_KEY, 1, 1 + finditem ITEM_CARD_KEY end SilphCo_6F_EventScript_1BE8C1:: @ 81BE8C1 - giveitem ITEM_HP_UP, 1, 1 + finditem ITEM_HP_UP end SilphCo_6F_EventScript_1BE8CE:: @ 81BE8CE - giveitem ITEM_X_SPECIAL, 1, 1 + finditem ITEM_X_SPECIAL end SilphCo_7F_EventScript_1BE8DB:: @ 81BE8DB - giveitem ITEM_CALCIUM, 1, 1 + finditem ITEM_CALCIUM end SilphCo_7F_EventScript_1BE8E8:: @ 81BE8E8 - giveitem ITEM_TM08, 1, 1 + finditem ITEM_TM08 end SilphCo_10F_EventScript_1BE8F5:: @ 81BE8F5 - giveitem ITEM_CARBOS, 1, 1 + finditem ITEM_CARBOS end SilphCo_10F_EventScript_1BE902:: @ 81BE902 - giveitem ITEM_ULTRA_BALL, 1, 1 + finditem ITEM_ULTRA_BALL end SilphCo_10F_EventScript_1BE90F:: @ 81BE90F - giveitem ITEM_RARE_CANDY, 1, 1 + finditem ITEM_RARE_CANDY end PowerPlant_EventScript_1BE91C:: @ 81BE91C - giveitem ITEM_MAX_POTION, 1, 1 + finditem ITEM_MAX_POTION end PowerPlant_EventScript_1BE929:: @ 81BE929 - giveitem ITEM_TM17, 1, 1 + finditem ITEM_TM17 end PowerPlant_EventScript_1BE936:: @ 81BE936 - giveitem ITEM_TM25, 1, 1 + finditem ITEM_TM25 end PowerPlant_EventScript_1BE943:: @ 81BE943 - giveitem ITEM_THUNDER_STONE, 1, 1 + finditem ITEM_THUNDER_STONE end PowerPlant_EventScript_1BE950:: @ 81BE950 - giveitem ITEM_ELIXIR, 1, 1 + finditem ITEM_ELIXIR end PokemonMansion_1F_EventScript_1BE95D:: @ 81BE95D - giveitem ITEM_CARBOS, 1, 1 + finditem ITEM_CARBOS end PokemonMansion_1F_EventScript_1BE96A:: @ 81BE96A - giveitem ITEM_ESCAPE_ROPE, 1, 1 + finditem ITEM_ESCAPE_ROPE end PokemonMansion_2F_EventScript_1BE977:: @ 81BE977 - giveitem ITEM_CALCIUM, 1, 1 + finditem ITEM_CALCIUM end PokemonMansion_3F_EventScript_1BE984:: @ 81BE984 - giveitem ITEM_MAX_POTION, 1, 1 + finditem ITEM_MAX_POTION end PokemonMansion_3F_EventScript_1BE991:: @ 81BE991 - giveitem ITEM_IRON, 1, 1 + finditem ITEM_IRON end PokemonMansion_B1F_EventScript_1BE99E:: @ 81BE99E - giveitem ITEM_TM14, 1, 1 + finditem ITEM_TM14 end PokemonMansion_B1F_EventScript_1BE9AB:: @ 81BE9AB - giveitem ITEM_FULL_RESTORE, 1, 1 + finditem ITEM_FULL_RESTORE end PokemonMansion_B1F_EventScript_1BE9B8:: @ 81BE9B8 - giveitem ITEM_TM22, 1, 1 + finditem ITEM_TM22 end PokemonMansion_B1F_EventScript_1BE9C5:: @ 81BE9C5 - giveitem ITEM_SECRET_KEY, 1, 1 + finditem ITEM_SECRET_KEY end VictoryRoad_1F_EventScript_1BE9D2:: @ 81BE9D2 - giveitem ITEM_RARE_CANDY, 1, 1 + finditem ITEM_RARE_CANDY end VictoryRoad_1F_EventScript_1BE9DF:: @ 81BE9DF - giveitem ITEM_TM02, 1, 1 + finditem ITEM_TM02 end VictoryRoad_2F_EventScript_1BE9EC:: @ 81BE9EC - giveitem ITEM_GUARD_SPEC, 1, 1 + finditem ITEM_GUARD_SPEC end VictoryRoad_2F_EventScript_1BE9F9:: @ 81BE9F9 - giveitem ITEM_TM07, 1, 1 + finditem ITEM_TM07 end VictoryRoad_2F_EventScript_1BEA06:: @ 81BEA06 - giveitem ITEM_FULL_HEAL, 1, 1 + finditem ITEM_FULL_HEAL end VictoryRoad_2F_EventScript_1BEA13:: @ 81BEA13 - giveitem ITEM_TM37, 1, 1 + finditem ITEM_TM37 end VictoryRoad_3F_EventScript_1BEA20:: @ 81BEA20 - giveitem ITEM_MAX_REVIVE, 1, 1 + finditem ITEM_MAX_REVIVE end VictoryRoad_3F_EventScript_1BEA2D:: @ 81BEA2D - giveitem ITEM_TM50, 1, 1 + finditem ITEM_TM50 end CeruleanCave_1F_EventScript_1BEA3A:: @ 81BEA3A - giveitem ITEM_MAX_ELIXIR, 1, 1 + finditem ITEM_MAX_ELIXIR end CeruleanCave_1F_EventScript_1BEA47:: @ 81BEA47 - giveitem ITEM_NUGGET, 1, 1 + finditem ITEM_NUGGET end CeruleanCave_1F_EventScript_1BEA54:: @ 81BEA54 - giveitem ITEM_FULL_RESTORE, 1, 1 + finditem ITEM_FULL_RESTORE end CeruleanCave_2F_EventScript_1BEA61:: @ 81BEA61 - giveitem ITEM_FULL_RESTORE, 1, 1 + finditem ITEM_FULL_RESTORE end CeruleanCave_2F_EventScript_1BEA6E:: @ 81BEA6E - giveitem ITEM_PP_UP, 1, 1 + finditem ITEM_PP_UP end CeruleanCave_2F_EventScript_1BEA7B:: @ 81BEA7B - giveitem ITEM_ULTRA_BALL, 1, 1 + finditem ITEM_ULTRA_BALL end CeruleanCave_B1F_EventScript_1BEA88:: @ 81BEA88 - giveitem ITEM_MAX_REVIVE, 1, 1 + finditem ITEM_MAX_REVIVE end CeruleanCave_B1F_EventScript_1BEA95:: @ 81BEA95 - giveitem ITEM_ULTRA_BALL, 1, 1 + finditem ITEM_ULTRA_BALL end FuchsiaCity_Building1_EventScript_1BEAA2:: @ 81BEAA2 - giveitem ITEM_RARE_CANDY, 1, 1 + finditem ITEM_RARE_CANDY end TwoIsland_EventScript_1BEAAF:: @ 81BEAAF - giveitem ITEM_REVIVE, 1, 1 + finditem ITEM_REVIVE end ThreeIsland_EventScript_1BEABC:: @ 81BEABC - giveitem ITEM_ZINC, 1, 1 + finditem ITEM_ZINC end ViridianForest_EventScript_1BEAC9:: @ 81BEAC9 - giveitem ITEM_POTION, 1, 1 + finditem ITEM_POTION end MtMoon_B2F_EventScript_1BEAD6:: @ 81BEAD6 - giveitem ITEM_REVIVE, 1, 1 + finditem ITEM_REVIVE end MtMoon_B2F_EventScript_1BEAE3:: @ 81BEAE3 - giveitem ITEM_ANTIDOTE, 1, 1 + finditem ITEM_ANTIDOTE end Route11_EventScript_1BEAF0:: @ 81BEAF0 - giveitem ITEM_X_DEFEND, 1, 1 + finditem ITEM_X_DEFEND end Route9_EventScript_1BEAFD:: @ 81BEAFD - giveitem ITEM_BURN_HEAL, 1, 1 + finditem ITEM_BURN_HEAL end RockTunnel_1F_EventScript_1BEB0A:: @ 81BEB0A - giveitem ITEM_REPEL, 1, 1 + finditem ITEM_REPEL end RockTunnel_1F_EventScript_1BEB17:: @ 81BEB17 - giveitem ITEM_PEARL, 1, 1 + finditem ITEM_PEARL end RockTunnel_1F_EventScript_1BEB24:: @ 81BEB24 - giveitem ITEM_ESCAPE_ROPE, 1, 1 + finditem ITEM_ESCAPE_ROPE end RockTunnel_B1F_EventScript_1BEB31:: @ 81BEB31 - giveitem ITEM_REVIVE, 1, 1 + finditem ITEM_REVIVE end RockTunnel_B1F_EventScript_1BEB3E:: @ 81BEB3E - giveitem ITEM_MAX_ETHER, 1, 1 + finditem ITEM_MAX_ETHER end SilphCo_8F_EventScript_1BEB4B:: @ 81BEB4B - giveitem ITEM_IRON, 1, 1 + finditem ITEM_IRON end SilphCo_11F_EventScript_1BEB58:: @ 81BEB58 - giveitem ITEM_ZINC, 1, 1 + finditem ITEM_ZINC end PokemonMansion_1F_EventScript_1BEB65:: @ 81BEB65 - giveitem ITEM_PROTEIN, 1, 1 + finditem ITEM_PROTEIN end PokemonMansion_2F_EventScript_1BEB72:: @ 81BEB72 - giveitem ITEM_ZINC, 1, 1 + finditem ITEM_ZINC end PokemonMansion_2F_EventScript_1BEB7F:: @ 81BEB7F - giveitem ITEM_HP_UP, 1, 1 + finditem ITEM_HP_UP end ViridianCity_EventScript_1BEB8C:: @ 81BEB8C - giveitem ITEM_POTION, 1, 1 + finditem ITEM_POTION end Route11_EventScript_1BEB99:: @ 81BEB99 - giveitem ITEM_GREAT_BALL, 1, 1 + finditem ITEM_GREAT_BALL end Route11_EventScript_1BEBA6:: @ 81BEBA6 - giveitem ITEM_AWAKENING, 1, 1 + finditem ITEM_AWAKENING end PokemonTower_5F_EventScript_1BEBB3:: @ 81BEBB3 - giveitem ITEM_CLEANSE_TAG, 1, 1 + finditem ITEM_CLEANSE_TAG end CeladonCity_EventScript_1BEBC0:: @ 81BEBC0 - giveitem ITEM_ETHER, 1, 1 + finditem ITEM_ETHER end RocketHideout_B3F_EventScript_1BEBCD:: @ 81BEBCD - giveitem ITEM_BLACK_GLASSES, 1, 1 + finditem ITEM_BLACK_GLASSES end SafariZone_North_EventScript_1BEBDA:: @ 81BEBDA - giveitem ITEM_QUICK_CLAW, 1, 1 + finditem ITEM_QUICK_CLAW end SeafoamIslands_1F_EventScript_1BEBE7:: @ 81BEBE7 - giveitem ITEM_ICE_HEAL, 1, 1 + finditem ITEM_ICE_HEAL end SeafoamIslands_B1F_EventScript_1BEBF4:: @ 81BEBF4 - giveitem ITEM_WATER_STONE, 1, 1 + finditem ITEM_WATER_STONE end SeafoamIslands_B1F_EventScript_1BEC01:: @ 81BEC01 - giveitem ITEM_REVIVE, 1, 1 + finditem ITEM_REVIVE end SeafoamIslands_B2F_EventScript_1BEC0E:: @ 81BEC0E - giveitem ITEM_BIG_PEARL, 1, 1 + finditem ITEM_BIG_PEARL end SeafoamIslands_B4F_EventScript_1BEC1B:: @ 81BEC1B - giveitem ITEM_ULTRA_BALL, 1, 1 + finditem ITEM_ULTRA_BALL end FourIsland_EventScript_1BEC28:: @ 81BEC28 - giveitem ITEM_STAR_PIECE, 1, 1 + finditem ITEM_STAR_PIECE end FourIsland_EventScript_1BEC35:: @ 81BEC35 - giveitem ITEM_STARDUST, 1, 1 + finditem ITEM_STARDUST end OneIsland_KindleRoad_EventScript_1BEC42:: @ 81BEC42 - giveitem ITEM_ETHER, 1, 1 + finditem ITEM_ETHER end OneIsland_KindleRoad_EventScript_1BEC4F:: @ 81BEC4F - giveitem ITEM_MAX_REPEL, 1, 1 + finditem ITEM_MAX_REPEL end OneIsland_KindleRoad_EventScript_1BEC5C:: @ 81BEC5C - giveitem ITEM_CARBOS, 1, 1 + finditem ITEM_CARBOS end FiveIsland_Meadow_EventScript_1BEC69:: @ 81BEC69 - giveitem ITEM_MAX_POTION, 1, 1 + finditem ITEM_MAX_POTION end FiveIsland_Meadow_EventScript_1BEC76:: @ 81BEC76 - giveitem ITEM_PP_UP, 1, 1 + finditem ITEM_PP_UP end FiveIsland_MemorialPillar_EventScript_1BEC83:: @ 81BEC83 - giveitem ITEM_METAL_COAT, 1, 1 + finditem ITEM_METAL_COAT end SixIsland_OutcastIsland_EventScript_1BEC90:: @ 81BEC90 - giveitem ITEM_PP_UP, 1, 1 + finditem ITEM_PP_UP end SixIsland_WaterPath_EventScript_1BEC9D:: @ 81BEC9D - giveitem ITEM_ELIXIR, 1, 1 + finditem ITEM_ELIXIR end SixIsland_WaterPath_EventScript_1BECAA:: @ 81BECAA - giveitem ITEM_DRAGON_SCALE, 1, 1 + finditem ITEM_DRAGON_SCALE end SixIsland_RuinValley_EventScript_1BECB7:: @ 81BECB7 - giveitem ITEM_FULL_RESTORE, 1, 1 + finditem ITEM_FULL_RESTORE end SixIsland_RuinValley_EventScript_1BECC4:: @ 81BECC4 - giveitem ITEM_HP_UP, 1, 1 + finditem ITEM_HP_UP end SixIsland_RuinValley_EventScript_1BECD1:: @ 81BECD1 - giveitem ITEM_SUN_STONE, 1, 1 + finditem ITEM_SUN_STONE end SevenIsland_SevaultCanyon_EventScript_1BECDE:: @ 81BECDE - giveitem ITEM_KINGS_ROCK, 1, 1 + finditem ITEM_KINGS_ROCK end SevenIsland_SevaultCanyon_EventScript_1BECEB:: @ 81BECEB - giveitem ITEM_MAX_ELIXIR, 1, 1 + finditem ITEM_MAX_ELIXIR end SevenIsland_SevaultCanyon_EventScript_1BECF8:: @ 81BECF8 - giveitem ITEM_NUGGET, 1, 1 + finditem ITEM_NUGGET end ThreeIsland_BerryForest_EventScript_1BED05:: @ 81BED05 - giveitem ITEM_MAX_ETHER, 1, 1 + finditem ITEM_MAX_ETHER end ThreeIsland_BerryForest_EventScript_1BED12:: @ 81BED12 - giveitem ITEM_FULL_HEAL, 1, 1 + finditem ITEM_FULL_HEAL end ThreeIsland_BerryForest_EventScript_1BED1F:: @ 81BED1F - giveitem ITEM_MAX_ELIXIR, 1, 1 + finditem ITEM_MAX_ELIXIR end MtEmber_Exterior_EventScript_1BED2C:: @ 81BED2C - giveitem ITEM_ULTRA_BALL, 1, 1 + finditem ITEM_ULTRA_BALL end MtEmber_Exterior_EventScript_1BED39:: @ 81BED39 - giveitem ITEM_FIRE_STONE, 1, 1 + finditem ITEM_FIRE_STONE end MtEmber_Exterior_EventScript_1BED46:: @ 81BED46 - giveitem ITEM_DIRE_HIT, 1, 1 + finditem ITEM_DIRE_HIT end FourIsland_IcefallCave_1F_EventScript_1BED53:: @ 81BED53 - giveitem ITEM_ULTRA_BALL, 1, 1 + finditem ITEM_ULTRA_BALL end FourIsland_IcefallCave_1F_EventScript_1BED60:: @ 81BED60 - giveitem ITEM_HM07, 1, 1 + finditem ITEM_HM07 end FourIsland_IcefallCave_B1F_EventScript_1BED6D:: @ 81BED6D - giveitem ITEM_FULL_RESTORE, 1, 1 + finditem ITEM_FULL_RESTORE end FourIsland_IcefallCave_B1F_EventScript_1BED7A:: @ 81BED7A - giveitem ITEM_NEVER_MELT_ICE, 1, 1 + finditem ITEM_NEVER_MELT_ICE end FiveIsland_RocketWarehouse_EventScript_1BED87:: @ 81BED87 - giveitem ITEM_BIG_PEARL, 1, 1 + finditem ITEM_BIG_PEARL end FiveIsland_RocketWarehouse_EventScript_1BED94:: @ 81BED94 - giveitem ITEM_TM36, 1, 1 + finditem ITEM_TM36 end FiveIsland_RocketWarehouse_EventScript_1BEDA1:: @ 81BEDA1 - giveitem ITEM_PEARL, 1, 1 + finditem ITEM_PEARL end FiveIsland_RocketWarehouse_EventScript_1BEDAE:: @ 81BEDAE - giveitem ITEM_UP_GRADE, 1, 1 + finditem ITEM_UP_GRADE end FiveIsland_LostCave_Room10_EventScript_1BEDBB:: @ 81BEDBB - giveitem ITEM_SILK_SCARF, 1, 1 + finditem ITEM_SILK_SCARF end FiveIsland_LostCave_Room11_EventScript_1BEDC8:: @ 81BEDC8 - giveitem ITEM_LAX_INCENSE, 1, 1 + finditem ITEM_LAX_INCENSE end FiveIsland_LostCave_Room12_EventScript_1BEDD5:: @ 81BEDD5 - giveitem ITEM_SEA_INCENSE, 1, 1 + finditem ITEM_SEA_INCENSE end FiveIsland_LostCave_Room13_EventScript_1BEDE2:: @ 81BEDE2 - giveitem ITEM_MAX_REVIVE, 1, 1 + finditem ITEM_MAX_REVIVE end FiveIsland_LostCave_Room14_EventScript_1BEDEF:: @ 81BEDEF - giveitem ITEM_RARE_CANDY, 1, 1 + finditem ITEM_RARE_CANDY end SevenIsland_SevaultCanyon_House_EventScript_1BEDFC:: @ 81BEDFC - giveitem ITEM_LUCKY_PUNCH, 1, 1 + finditem ITEM_LUCKY_PUNCH end SilphCo_4F_EventScript_1BEE09:: @ 81BEE09 - giveitem ITEM_TM41, 1, 1 + finditem ITEM_TM41 end diff --git a/data/scripts/move_tutors.inc b/data/scripts/move_tutors.inc index 51f87a6f5..b0bf1dba4 100644 --- a/data/scripts/move_tutors.inc +++ b/data/scripts/move_tutors.inc @@ -3,8 +3,8 @@ VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE faceplayer checkflag FLAG_TUTOR_DOUBLE_EDGE goto_if TRUE, EventScript_1C480C - msgbox Text_1749F9, 5 - compare VAR_RESULT, 0 + msgbox Text_1749F9, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4802 call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -33,8 +33,8 @@ EventScript_1C4816:: @ 81C4816 faceplayer checkflag FLAG_TUTOR_THUNDER_WAVE goto_if TRUE, EventScript_1C4874 - msgbox Text_175711, 5 - compare VAR_RESULT, 0 + msgbox Text_175711, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C486A call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -63,8 +63,8 @@ RockTunnel_B1F_EventScript_1C487E:: @ 81C487E faceplayer checkflag FLAG_TUTOR_ROCK_SLIDE goto_if TRUE, EventScript_1C48DC - msgbox Text_1799E0, 5 - compare VAR_RESULT, 0 + msgbox Text_1799E0, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C48D2 call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -93,8 +93,8 @@ MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6 faceplayer checkflag FLAG_TUTOR_EXPLOSION goto_if TRUE, EventScript_1C4944 - msgbox Text_17A642, 5 - compare VAR_RESULT, 0 + msgbox Text_17A642, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C493A call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -123,8 +123,8 @@ Route4_EventScript_1C494E:: @ 81C494E faceplayer checkflag FLAG_TUTOR_META_PUNCH goto_if TRUE, EventScript_1C49AC - msgbox Text_1839D5, 5 - compare VAR_RESULT, 0 + msgbox Text_1839D5, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C49A2 call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -153,8 +153,8 @@ Route4_EventScript_1C49B6:: @ 81C49B6 faceplayer checkflag FLAG_TUTOR_MEGA_KICK goto_if TRUE, EventScript_1C4A14 - msgbox Text_183B74, 5 - compare VAR_RESULT, 0 + msgbox Text_183B74, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4A0A call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -183,8 +183,8 @@ EventScript_1C4A1E:: @ 81C4A1E faceplayer checkflag FLAG_TUTOR_DREAM_EATER goto_if TRUE, EventScript_1C4A7C - msgbox Text_17E316, 5 - compare VAR_RESULT, 0 + msgbox Text_17E316, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4A72 call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -213,8 +213,8 @@ EventScript_1C4A86:: @ 81C4A86 faceplayer checkflag FLAG_TUTOR_SOFT_BOILED goto_if TRUE, EventScript_1C4AE4 - msgbox Text_180388, 5 - compare VAR_RESULT, 0 + msgbox Text_180388, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4ADA call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -243,8 +243,8 @@ FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE faceplayer checkflag FLAG_TUTOR_SUBSTITUTE goto_if TRUE, EventScript_1C4B4C - msgbox Text_180948, 5 - compare VAR_RESULT, 0 + msgbox Text_180948, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4B42 call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -273,8 +273,8 @@ SevenIsland_EventScript_1C4B56:: @ 81C4B56 faceplayer checkflag FLAG_TUTOR_SWORDS_DANCE goto_if TRUE, EventScript_1C4BB4 - msgbox Text_182F01, 5 - compare VAR_RESULT, 0 + msgbox Text_182F01, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4BAA call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -303,8 +303,8 @@ PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE faceplayer checkflag FLAG_TUTOR_SEISMIC_TOSS goto_if TRUE, EventScript_1C4C1C - msgbox Text_1909A3, 5 - compare VAR_RESULT, 0 + msgbox Text_1909A3, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4C12 call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -333,8 +333,8 @@ EventScript_1C4C26:: @ 81C4C26 faceplayer checkflag FLAG_TUTOR_COUNTER goto_if TRUE, EventScript_1C4C84 - msgbox Text_195928, 5 - compare VAR_RESULT, 0 + msgbox Text_195928, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4C7A call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -363,8 +363,8 @@ EventScript_1C4C8E:: @ 81C4C8E faceplayer checkflag FLAG_TUTOR_METRONOME goto_if TRUE, EventScript_1C4CEC - msgbox Text_19A137, 5 - compare VAR_RESULT, 0 + msgbox Text_19A137, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4CE2 call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -391,8 +391,8 @@ EventScript_1C4CEC:: @ 81C4CEC EventScript_1C4CF6:: @ 81C4CF6 checkflag FLAG_TUTOR_MIMIC goto_if TRUE, EventScript_1C4D59 - msgbox Text_19AD85, 5 - compare VAR_RESULT, 0 + msgbox Text_19AD85, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4D4F call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -436,8 +436,8 @@ FourIsland_House1_EventScript_1C4D84:: @ 81C4D84 faceplayer checkflag FLAG_TUTOR_BODY_SLAM goto_if TRUE, EventScript_1C4DE2 - msgbox Text_1A3505, 5 - compare VAR_RESULT, 0 + msgbox Text_1A3505, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4DD8 call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -486,8 +486,8 @@ TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC call_if eq, EventScript_1C4F06 compare VAR_FACING, 3 call_if eq, EventScript_1C4F11 - msgbox Text_1A4751, 5 - compare VAR_RESULT, 0 + msgbox Text_1A4751, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if eq, EventScript_1C4F1C call EventScript_1C4F37 compare VAR_RESULT, 0 @@ -576,7 +576,7 @@ EventScript_1C4F37:: @ 81C4F37 textcolor 3 special sub_80699BC signmsg - msgbox Text_1A644F, 5 + msgbox Text_1A644F, MSGBOX_YESNO normalmsg call EventScript_1A6675 return diff --git a/data/scripts/repel.inc b/data/scripts/repel.inc index addd6894e..1cc93c95d 100644 --- a/data/scripts/repel.inc +++ b/data/scripts/repel.inc @@ -1,5 +1,5 @@ EventScript_RepelWoreOff:: @ 81BFB65 - msgbox Text_1BFB6E, 3 + msgbox Text_1BFB6E, MSGBOX_SIGN end Text_1BFB6E:: @ 81BFB6E diff --git a/data/scripts/trainer_battle.inc b/data/scripts/trainer_battle.inc index 8d44b2783..874bce358 100644 --- a/data/scripts/trainer_battle.inc +++ b/data/scripts/trainer_battle.inc @@ -150,7 +150,7 @@ EventScript_1A501A:: @ 81A501A releaseall end -gStdScript_Message_WaitButton_AndRelease:: @ 81A501F +Std_MsgboxAutoclose:: @ 81A501F message 0x0 waitmessage waitbuttonpress diff --git a/data/scripts/trainers.inc b/data/scripts/trainers.inc index 0f59cabd1..64bb44c50 100644 --- a/data/scripts/trainers.inc +++ b/data/scripts/trainers.inc @@ -3,12 +3,12 @@ Route3_EventScript_1A93C9:: @ 81A93C9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A93F0 - msgbox Text_1835B4, 6 + msgbox Text_1835B4, MSGBOX_AUTOCLOSE end EventScript_1A93F0:: @ 81A93F0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_BEN, 0, Text_1C149D, Text_1835A0 - msgbox Text_1835B4, 6 + msgbox Text_1835B4, MSGBOX_AUTOCLOSE end Route3_EventScript_1A9407:: @ 81A9407 @@ -16,12 +16,12 @@ Route3_EventScript_1A9407:: @ 81A9407 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A942E - msgbox Text_1837CF, 6 + msgbox Text_1837CF, MSGBOX_AUTOCLOSE end EventScript_1A942E:: @ 81A942E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_CALVIN, 0, Text_1C1588, Text_1837BD - msgbox Text_1837CF, 6 + msgbox Text_1837CF, MSGBOX_AUTOCLOSE end Route3_EventScript_1A9445:: @ 81A9445 @@ -29,12 +29,12 @@ Route3_EventScript_1A9445:: @ 81A9445 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A946C - msgbox Text_18351C, 6 + msgbox Text_18351C, MSGBOX_AUTOCLOSE end EventScript_1A946C:: @ 81A946C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_COLTON, 0, Text_1C147A, Text_183509 - msgbox Text_18351C, 6 + msgbox Text_18351C, MSGBOX_AUTOCLOSE end Route3_EventScript_1A9483:: @ 81A9483 @@ -42,12 +42,12 @@ Route3_EventScript_1A9483:: @ 81A9483 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A94AA - msgbox Text_1836D9, 6 + msgbox Text_1836D9, MSGBOX_AUTOCLOSE end EventScript_1A94AA:: @ 81A94AA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_GREG, 0, Text_1C1521, Text_1836B3 - msgbox Text_1836D9, 6 + msgbox Text_1836D9, MSGBOX_AUTOCLOSE end Route3_EventScript_1A94C1:: @ 81A94C1 @@ -55,12 +55,12 @@ Route3_EventScript_1A94C1:: @ 81A94C1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A94E8 - msgbox Text_183849, 6 + msgbox Text_183849, MSGBOX_AUTOCLOSE end EventScript_1A94E8:: @ 81A94E8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_JAMES, 0, Text_1C15C5, Text_183837 - msgbox Text_183849, 6 + msgbox Text_183849, MSGBOX_AUTOCLOSE end Route3_EventScript_1A94FF:: @ 81A94FF @@ -68,12 +68,12 @@ Route3_EventScript_1A94FF:: @ 81A94FF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9526 - msgbox Text_18364C, 6 + msgbox Text_18364C, MSGBOX_AUTOCLOSE end EventScript_1A9526:: @ 81A9526 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_JANICE, 0, Text_1C14F3, Text_18363F - msgbox Text_18364C, 6 + msgbox Text_18364C, MSGBOX_AUTOCLOSE end Route3_EventScript_1A953D:: @ 81A953D @@ -81,12 +81,12 @@ Route3_EventScript_1A953D:: @ 81A953D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9564 - msgbox Text_18374F, 6 + msgbox Text_18374F, MSGBOX_AUTOCLOSE end EventScript_1A9564:: @ 81A9564 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_SALLY, 0, Text_1C155D, Text_183746 - msgbox Text_18374F, 6 + msgbox Text_18374F, MSGBOX_AUTOCLOSE end Route3_EventScript_1A957B:: @ 81A957B @@ -94,12 +94,12 @@ Route3_EventScript_1A957B:: @ 81A957B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A95A2 - msgbox Text_18389C, 6 + msgbox Text_18389C, MSGBOX_AUTOCLOSE end EventScript_1A95A2:: @ 81A95A2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ROBIN, 0, Text_1C15F9, Text_183891 - msgbox Text_18389C, 6 + msgbox Text_18389C, MSGBOX_AUTOCLOSE end Route4_EventScript_1A95B9:: @ 81A95B9 @@ -107,12 +107,12 @@ Route4_EventScript_1A95B9:: @ 81A95B9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A95E0 - msgbox Text_183957, 6 + msgbox Text_183957, MSGBOX_AUTOCLOSE end EventScript_1A95E0:: @ 81A95E0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_CRISSY, 0, Text_1C160F, Text_183938 - msgbox Text_183957, 6 + msgbox Text_183957, MSGBOX_AUTOCLOSE end Route24_EventScript_1A95F7:: @ 81A95F7 @@ -120,12 +120,12 @@ Route24_EventScript_1A95F7:: @ 81A95F7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A961E - msgbox Text_188FA7, 6 + msgbox Text_188FA7, MSGBOX_AUTOCLOSE end EventScript_1A961E:: @ 81A961E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_TIMMY, 0, Text_1C3657, Text_188F95 - msgbox Text_188FA7, 6 + msgbox Text_188FA7, MSGBOX_AUTOCLOSE end Route24_EventScript_1A9635:: @ 81A9635 @@ -133,12 +133,12 @@ Route24_EventScript_1A9635:: @ 81A9635 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A965C - msgbox Text_18909E, 6 + msgbox Text_18909E, MSGBOX_AUTOCLOSE end EventScript_1A965C:: @ 81A965C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_CALE, 0, Text_1C36DA, Text_18908C - msgbox Text_18909E, 6 + msgbox Text_18909E, MSGBOX_AUTOCLOSE end Route24_EventScript_1A9673:: @ 81A9673 @@ -146,12 +146,12 @@ Route24_EventScript_1A9673:: @ 81A9673 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A969A - msgbox Text_188F53, 6 + msgbox Text_188F53, MSGBOX_AUTOCLOSE end EventScript_1A969A:: @ 81A969A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_RELI, 0, Text_1C3624, Text_188F46 - msgbox Text_188F53, 6 + msgbox Text_188F53, MSGBOX_AUTOCLOSE end Route24_EventScript_1A96B1:: @ 81A96B1 @@ -159,12 +159,12 @@ Route24_EventScript_1A96B1:: @ 81A96B1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A96D8 - msgbox Text_188FF9, 6 + msgbox Text_188FF9, MSGBOX_AUTOCLOSE end EventScript_1A96D8:: @ 81A96D8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ALI, 0, Text_1C3685, Text_188FE7 - msgbox Text_188FF9, 6 + msgbox Text_188FF9, MSGBOX_AUTOCLOSE end Route24_EventScript_1A96EF:: @ 81A96EF @@ -172,12 +172,12 @@ Route24_EventScript_1A96EF:: @ 81A96EF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9716 - msgbox Text_188EA3, 6 + msgbox Text_188EA3, MSGBOX_AUTOCLOSE end EventScript_1A9716:: @ 81A9716 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_SHANE, 0, Text_1C35EE, Text_188E94 - msgbox Text_188EA3, 6 + msgbox Text_188EA3, MSGBOX_AUTOCLOSE end Route24_EventScript_1A972D:: @ 81A972D @@ -185,12 +185,12 @@ Route24_EventScript_1A972D:: @ 81A972D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9754 - msgbox Text_188F0A, 6 + msgbox Text_188F0A, MSGBOX_AUTOCLOSE end EventScript_1A9754:: @ 81A9754 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_ETHAN, 0, Text_1C360E, Text_188EFA - msgbox Text_188F0A, 6 + msgbox Text_188F0A, MSGBOX_AUTOCLOSE end Route25_EventScript_1A976B:: @ 81A976B @@ -198,12 +198,12 @@ Route25_EventScript_1A976B:: @ 81A976B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9792 - msgbox Text_1890F5, 6 + msgbox Text_1890F5, MSGBOX_AUTOCLOSE end EventScript_1A9792:: @ 81A9792 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_JOEY, 0, Text_1C33E7, Text_1890E6 - msgbox Text_1890F5, 6 + msgbox Text_1890F5, MSGBOX_AUTOCLOSE end Route25_EventScript_1A97A9:: @ 81A97A9 @@ -211,12 +211,12 @@ Route25_EventScript_1A97A9:: @ 81A97A9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A97D0 - msgbox Text_1891B3, 6 + msgbox Text_1891B3, MSGBOX_AUTOCLOSE end EventScript_1A97D0:: @ 81A97D0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DAN, 0, Text_1C3404, Text_1891A6 - msgbox Text_1891B3, 6 + msgbox Text_1891B3, MSGBOX_AUTOCLOSE end Route25_EventScript_1A97E7:: @ 81A97E7 @@ -224,12 +224,12 @@ Route25_EventScript_1A97E7:: @ 81A97E7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A980E - msgbox Text_1892EF, 6 + msgbox Text_1892EF, MSGBOX_AUTOCLOSE end EventScript_1A980E:: @ 81A980E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_CHAD, 0, Text_1C34D4, Text_1892D9 - msgbox Text_1892EF, 6 + msgbox Text_1892EF, MSGBOX_AUTOCLOSE end Route25_EventScript_1A9825:: @ 81A9825 @@ -237,12 +237,12 @@ Route25_EventScript_1A9825:: @ 81A9825 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A984C - msgbox Text_189281, 6 + msgbox Text_189281, MSGBOX_AUTOCLOSE end EventScript_1A984C:: @ 81A984C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_KELSEY, 0, Text_1C349C, Text_189261 - msgbox Text_189281, 6 + msgbox Text_189281, MSGBOX_AUTOCLOSE end Route25_EventScript_1A9863:: @ 81A9863 @@ -250,12 +250,12 @@ Route25_EventScript_1A9863:: @ 81A9863 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A988A - msgbox Text_189378, 6 + msgbox Text_189378, MSGBOX_AUTOCLOSE end EventScript_1A988A:: @ 81A988A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_HALEY, 0, Text_1C350A, Text_189364 - msgbox Text_189378, 6 + msgbox Text_189378, MSGBOX_AUTOCLOSE end Route25_EventScript_1A98A1:: @ 81A98A1 @@ -263,12 +263,12 @@ Route25_EventScript_1A98A1:: @ 81A98A1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A98C8 - msgbox Text_1893FB, 6 + msgbox Text_1893FB, MSGBOX_AUTOCLOSE end EventScript_1A98C8:: @ 81A98C8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_FRANKLIN, 0, Text_1C353B, Text_1893EA - msgbox Text_1893FB, 6 + msgbox Text_1893FB, MSGBOX_AUTOCLOSE end Route25_EventScript_1A98DF:: @ 81A98DF @@ -276,12 +276,12 @@ Route25_EventScript_1A98DF:: @ 81A98DF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9906 - msgbox Text_18947E, 6 + msgbox Text_18947E, MSGBOX_AUTOCLOSE end EventScript_1A9906:: @ 81A9906 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_NOB, 0, Text_1C357E, Text_189459 - msgbox Text_18947E, 6 + msgbox Text_18947E, MSGBOX_AUTOCLOSE end Route25_EventScript_1A991D:: @ 81A991D @@ -289,12 +289,12 @@ Route25_EventScript_1A991D:: @ 81A991D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9944 - msgbox Text_18951C, 6 + msgbox Text_18951C, MSGBOX_AUTOCLOSE end EventScript_1A9944:: @ 81A9944 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_WAYNE, 0, Text_1C35BC, Text_18950A - msgbox Text_18951C, 6 + msgbox Text_18951C, MSGBOX_AUTOCLOSE end Route25_EventScript_1A995B:: @ 81A995B @@ -302,12 +302,12 @@ Route25_EventScript_1A995B:: @ 81A995B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9982 - msgbox Text_18921D, 6 + msgbox Text_18921D, MSGBOX_AUTOCLOSE end EventScript_1A9982:: @ 81A9982 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_FLINT, 0, Text_1C3445, Text_189212 - msgbox Text_18921D, 6 + msgbox Text_18921D, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9999:: @ 81A9999 @@ -315,12 +315,12 @@ Route6_EventScript_1A9999:: @ 81A9999 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A99C0 - msgbox Text_183ED4, 6 + msgbox Text_183ED4, MSGBOX_AUTOCLOSE end EventScript_1A99C0:: @ 81A99C0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_KEIGO, 0, Text_1C16E2, Text_183EC0 - msgbox Text_183ED4, 6 + msgbox Text_183ED4, MSGBOX_AUTOCLOSE end Route6_EventScript_1A99D7:: @ 81A99D7 @@ -328,12 +328,12 @@ Route6_EventScript_1A99D7:: @ 81A99D7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A99FE - msgbox Text_18402B, 6 + msgbox Text_18402B, MSGBOX_AUTOCLOSE end EventScript_1A99FE:: @ 81A99FE trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_1C176B, Text_18401A - msgbox Text_18402B, 6 + msgbox Text_18402B, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9A15:: @ 81A9A15 @@ -341,12 +341,12 @@ Route6_EventScript_1A9A15:: @ 81A9A15 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9A3C - msgbox Text_183E3C, 6 + msgbox Text_183E3C, MSGBOX_AUTOCLOSE end EventScript_1A9A3C:: @ 81A9A3C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_RICKY, 0, Text_1C163C, Text_183E2A - msgbox Text_183E3C, 6 + msgbox Text_183E3C, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9A53:: @ 81A9A53 @@ -354,12 +354,12 @@ Route6_EventScript_1A9A53:: @ 81A9A53 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9A7A - msgbox Text_183F51, 6 + msgbox Text_183F51, MSGBOX_AUTOCLOSE end EventScript_1A9A7A:: @ 81A9A7A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_JEFF, 0, Text_1C1723, Text_183F24 - msgbox Text_183F51, 6 + msgbox Text_183F51, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9A91:: @ 81A9A91 @@ -367,12 +367,12 @@ Route6_EventScript_1A9A91:: @ 81A9A91 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9AB8 - msgbox Text_183E8D, 6 + msgbox Text_183E8D, MSGBOX_AUTOCLOSE end EventScript_1A9AB8:: @ 81A9AB8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_NANCY, 0, Text_1C166D, Text_183E79 - msgbox Text_183E8D, 6 + msgbox Text_183E8D, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9ACF:: @ 81A9ACF @@ -380,12 +380,12 @@ Route6_EventScript_1A9ACF:: @ 81A9ACF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9AF6 - msgbox Text_183FC4, 6 + msgbox Text_183FC4, MSGBOX_AUTOCLOSE end EventScript_1A9AF6:: @ 81A9AF6 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ISABELLE, 0, Text_1C1746, Text_183FAB - msgbox Text_183FC4, 6 + msgbox Text_183FC4, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9B0D:: @ 81A9B0D @@ -393,12 +393,12 @@ Route11_EventScript_1A9B0D:: @ 81A9B0D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9B34 - msgbox Text_184FEF, 6 + msgbox Text_184FEF, MSGBOX_AUTOCLOSE end EventScript_1A9B34:: @ 81A9B34 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_EDDIE, 0, Text_1C1DB5, Text_184FD8 - msgbox Text_184FEF, 6 + msgbox Text_184FEF, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9B4B:: @ 81A9B4B @@ -406,12 +406,12 @@ Route11_EventScript_1A9B4B:: @ 81A9B4B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9B72 - msgbox Text_1850CF, 6 + msgbox Text_1850CF, MSGBOX_AUTOCLOSE end EventScript_1A9B72:: @ 81A9B72 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DILLON, 0, Text_1C1E1F, Text_18509B - msgbox Text_1850CF, 6 + msgbox Text_1850CF, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9B89:: @ 81A9B89 @@ -419,12 +419,12 @@ Route11_EventScript_1A9B89:: @ 81A9B89 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9BB0 - msgbox Text_1851D2, 6 + msgbox Text_1851D2, MSGBOX_AUTOCLOSE end EventScript_1A9BB0:: @ 81A9BB0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_YASU, 0, Text_1C1EE2, Text_1851AC - msgbox Text_1851D2, 6 + msgbox Text_1851D2, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9BC7:: @ 81A9BC7 @@ -432,12 +432,12 @@ Route11_EventScript_1A9BC7:: @ 81A9BC7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9BEE - msgbox Text_1852E3, 6 + msgbox Text_1852E3, MSGBOX_AUTOCLOSE end EventScript_1A9BEE:: @ 81A9BEE trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DAVE, 0, Text_1C1F40, Text_1852C1 - msgbox Text_1852E3, 6 + msgbox Text_1852E3, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9C05:: @ 81A9C05 @@ -445,12 +445,12 @@ Route11_EventScript_1A9C05:: @ 81A9C05 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9C2C - msgbox Text_18504A, 6 + msgbox Text_18504A, MSGBOX_AUTOCLOSE end EventScript_1A9C2C:: @ 81A9C2C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ENGINEER_BRAXTON, 0, Text_1C1DE1, Text_185037 - msgbox Text_18504A, 6 + msgbox Text_18504A, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9C43:: @ 81A9C43 @@ -458,12 +458,12 @@ Route11_EventScript_1A9C43:: @ 81A9C43 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9C6A - msgbox Text_185266, 6 + msgbox Text_185266, MSGBOX_AUTOCLOSE end EventScript_1A9C6A:: @ 81A9C6A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ENGINEER_BERNIE, 0, Text_1C1F1D, Text_185250 - msgbox Text_185266, 6 + msgbox Text_185266, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9C81:: @ 81A9C81 @@ -471,12 +471,12 @@ Route11_EventScript_1A9C81:: @ 81A9C81 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9CA8 - msgbox Text_184F2E, 6 + msgbox Text_184F2E, MSGBOX_AUTOCLOSE end EventScript_1A9CA8:: @ 81A9CA8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_HUGO, 0, Text_1C1D50, Text_184F15 - msgbox Text_184F2E, 6 + msgbox Text_184F2E, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9CBF:: @ 81A9CBF @@ -484,12 +484,12 @@ Route11_EventScript_1A9CBF:: @ 81A9CBF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9CE6 - msgbox Text_184F8E, 6 + msgbox Text_184F8E, MSGBOX_AUTOCLOSE end EventScript_1A9CE6:: @ 81A9CE6 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_JASPER, 0, Text_1C1D79, Text_184F7E - msgbox Text_184F8E, 6 + msgbox Text_184F8E, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9CFD:: @ 81A9CFD @@ -497,12 +497,12 @@ Route11_EventScript_1A9CFD:: @ 81A9CFD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9D24 - msgbox Text_185114, 6 + msgbox Text_185114, MSGBOX_AUTOCLOSE end EventScript_1A9D24:: @ 81A9D24 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_DIRK, 0, Text_1C1E57, Text_185105 - msgbox Text_185114, 6 + msgbox Text_185114, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9D3B:: @ 81A9D3B @@ -510,12 +510,12 @@ Route11_EventScript_1A9D3B:: @ 81A9D3B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9D62 - msgbox Text_185161, 6 + msgbox Text_185161, MSGBOX_AUTOCLOSE end EventScript_1A9D62:: @ 81A9D62 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_DARIAN, 0, Text_1C1E9F, Text_18514E - msgbox Text_185161, 6 + msgbox Text_185161, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9D79:: @ 81A9D79 @@ -523,12 +523,12 @@ Route9_EventScript_1A9D79:: @ 81A9D79 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9DA0 - msgbox Text_184A8C, 6 + msgbox Text_184A8C, MSGBOX_AUTOCLOSE end EventScript_1A9DA0:: @ 81A9DA0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_BRENT, 0, Text_1C1B83, Text_184A6A - msgbox Text_184A8C, 6 + msgbox Text_184A8C, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9DB7:: @ 81A9DB7 @@ -536,12 +536,12 @@ Route9_EventScript_1A9DB7:: @ 81A9DB7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9DDE - msgbox Text_184B3B, 6 + msgbox Text_184B3B, MSGBOX_AUTOCLOSE end EventScript_1A9DDE:: @ 81A9DDE trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_CONNER, 0, Text_1C1BDC, Text_184B32 - msgbox Text_184B3B, 6 + msgbox Text_184B3B, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9DF5:: @ 81A9DF5 @@ -549,12 +549,12 @@ Route9_EventScript_1A9DF5:: @ 81A9DF5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9E1C - msgbox Text_184890, 6 + msgbox Text_184890, MSGBOX_AUTOCLOSE end EventScript_1A9E1C:: @ 81A9E1C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_CHRIS, 0, Text_1C1A5D, Text_18487E - msgbox Text_184890, 6 + msgbox Text_184890, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9E33:: @ 81A9E33 @@ -562,12 +562,12 @@ Route9_EventScript_1A9E33:: @ 81A9E33 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9E5A - msgbox Text_1848DE, 6 + msgbox Text_1848DE, MSGBOX_AUTOCLOSE end EventScript_1A9E5A:: @ 81A9E5A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_DREW, 0, Text_1C1A9B, Text_1848CC - msgbox Text_1848DE, 6 + msgbox Text_1848DE, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9E71:: @ 81A9E71 @@ -575,12 +575,12 @@ Route9_EventScript_1A9E71:: @ 81A9E71 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9E98 - msgbox Text_1847F0, 6 + msgbox Text_1847F0, MSGBOX_AUTOCLOSE end EventScript_1A9E98:: @ 81A9E98 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ALICIA, 0, Text_1C1A2E, Text_1847DF - msgbox Text_1847F0, 6 + msgbox Text_1847F0, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9EAF:: @ 81A9EAF @@ -588,12 +588,12 @@ Route9_EventScript_1A9EAF:: @ 81A9EAF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9ED6 - msgbox Text_184931, 6 + msgbox Text_184931, MSGBOX_AUTOCLOSE end EventScript_1A9ED6:: @ 81A9ED6 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CAITLIN, 0, Text_1C1AFB, Text_18491C - msgbox Text_184931, 6 + msgbox Text_184931, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9EED:: @ 81A9EED @@ -601,12 +601,12 @@ Route9_EventScript_1A9EED:: @ 81A9EED specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9F14 - msgbox Text_184AF1, 6 + msgbox Text_184AF1, MSGBOX_AUTOCLOSE end EventScript_1A9F14:: @ 81A9F14 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_ALAN, 0, Text_1C1BBE, Text_184AD5 - msgbox Text_184AF1, 6 + msgbox Text_184AF1, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9F2B:: @ 81A9F2B @@ -614,12 +614,12 @@ Route9_EventScript_1A9F2B:: @ 81A9F2B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9F52 - msgbox Text_184A11, 6 + msgbox Text_184A11, MSGBOX_AUTOCLOSE end EventScript_1A9F52:: @ 81A9F52 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_BRICE, 0, Text_1C1B5E, Text_184A04 - msgbox Text_184A11, 6 + msgbox Text_184A11, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9F69:: @ 81A9F69 @@ -627,12 +627,12 @@ Route9_EventScript_1A9F69:: @ 81A9F69 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9F90 - msgbox Text_1849B0, 6 + msgbox Text_1849B0, MSGBOX_AUTOCLOSE end EventScript_1A9F90:: @ 81A9F90 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_JEREMY, 0, Text_1C1B37, Text_18497F - msgbox Text_1849B0, 6 + msgbox Text_1849B0, MSGBOX_AUTOCLOSE end Route10_EventScript_1A9FA7:: @ 81A9FA7 @@ -640,12 +640,12 @@ Route10_EventScript_1A9FA7:: @ 81A9FA7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1A9FCE - msgbox Text_184D4D, 6 + msgbox Text_184D4D, MSGBOX_AUTOCLOSE end EventScript_1A9FCE:: @ 81A9FCE trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_HEIDI, 0, Text_1C1C9A, Text_184D31 - msgbox Text_184D4D, 6 + msgbox Text_184D4D, MSGBOX_AUTOCLOSE end Route10_EventScript_1A9FE5:: @ 81A9FE5 @@ -653,12 +653,12 @@ Route10_EventScript_1A9FE5:: @ 81A9FE5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA00C - msgbox Text_184E5E, 6 + msgbox Text_184E5E, MSGBOX_AUTOCLOSE end EventScript_1AA00C:: @ 81AA00C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CAROL, 0, Text_1C1D14, Text_184E3B - msgbox Text_184E5E, 6 + msgbox Text_184E5E, MSGBOX_AUTOCLOSE end Route10_EventScript_1AA023:: @ 81AA023 @@ -666,12 +666,12 @@ Route10_EventScript_1AA023:: @ 81AA023 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA04A - msgbox Text_184BFB, 6 + msgbox Text_184BFB, MSGBOX_AUTOCLOSE end EventScript_1AA04A:: @ 81AA04A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_MARK, 0, Text_1C1BFA, Text_184BE5 - msgbox Text_184BFB, 6 + msgbox Text_184BFB, MSGBOX_AUTOCLOSE end Route10_EventScript_1AA061:: @ 81AA061 @@ -679,12 +679,12 @@ Route10_EventScript_1AA061:: @ 81AA061 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA088 - msgbox Text_184CBB, 6 + msgbox Text_184CBB, MSGBOX_AUTOCLOSE end EventScript_1AA088:: @ 81AA088 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_HERMAN, 0, Text_1C1C76, Text_184CA7 - msgbox Text_184CBB, 6 + msgbox Text_184CBB, MSGBOX_AUTOCLOSE end Route10_EventScript_1AA09F:: @ 81AA09F @@ -692,12 +692,12 @@ Route10_EventScript_1AA09F:: @ 81AA09F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA0C6 - msgbox Text_184C60, 6 + msgbox Text_184C60, MSGBOX_AUTOCLOSE end EventScript_1AA0C6:: @ 81AA0C6 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_CLARK, 0, Text_1C1C4F, Text_184C2D - msgbox Text_184C60, 6 + msgbox Text_184C60, MSGBOX_AUTOCLOSE end Route10_EventScript_1AA0DD:: @ 81AA0DD @@ -705,12 +705,12 @@ Route10_EventScript_1AA0DD:: @ 81AA0DD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA104 - msgbox Text_184DE4, 6 + msgbox Text_184DE4, MSGBOX_AUTOCLOSE end EventScript_1AA104:: @ 81AA104 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_TRENT, 0, Text_1C1CD3, Text_184DCE - msgbox Text_184DE4, 6 + msgbox Text_184DE4, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA11B:: @ 81AA11B @@ -718,12 +718,12 @@ Route8_EventScript_1AA11B:: @ 81AA11B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA142 - msgbox Text_18421B, 6 + msgbox Text_18421B, MSGBOX_AUTOCLOSE end EventScript_1AA142:: @ 81AA142 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_PAIGE, 0, Text_1C1834, Text_184210 - msgbox Text_18421B, 6 + msgbox Text_18421B, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA159:: @ 81AA159 @@ -731,12 +731,12 @@ Route8_EventScript_1AA159:: @ 81AA159 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA180 - msgbox Text_184350, 6 + msgbox Text_184350, MSGBOX_AUTOCLOSE end EventScript_1AA180:: @ 81AA180 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ANDREA, 0, Text_1C18AA, Text_184346 - msgbox Text_184350, 6 + msgbox Text_184350, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA197:: @ 81AA197 @@ -744,12 +744,12 @@ Route8_EventScript_1AA197:: @ 81AA197 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA1BE - msgbox Text_1843D2, 6 + msgbox Text_1843D2, MSGBOX_AUTOCLOSE end EventScript_1AA1BE:: @ 81AA1BE trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_MEGAN, 0, Text_1C18DC, Text_1843A6 - msgbox Text_1843D2, 6 + msgbox Text_1843D2, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA1D5:: @ 81AA1D5 @@ -757,12 +757,12 @@ Route8_EventScript_1AA1D5:: @ 81AA1D5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA1FC - msgbox Text_1844FD, 6 + msgbox Text_1844FD, MSGBOX_AUTOCLOSE end EventScript_1AA1FC:: @ 81AA1FC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_JULIA, 0, Text_1C1955, Text_1844D6 - msgbox Text_1844FD, 6 + msgbox Text_1844FD, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA213:: @ 81AA213 @@ -770,12 +770,12 @@ Route8_EventScript_1AA213:: @ 81AA213 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA23A - msgbox Text_18410E, 6 + msgbox Text_18410E, MSGBOX_AUTOCLOSE end EventScript_1AA23A:: @ 81AA23A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_AIDAN, 0, Text_1C1793, Text_184100 - msgbox Text_18410E, 6 + msgbox Text_18410E, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA251:: @ 81AA251 @@ -783,12 +783,12 @@ Route8_EventScript_1AA251:: @ 81AA251 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA278 - msgbox Text_1841C8, 6 + msgbox Text_1841C8, MSGBOX_AUTOCLOSE end EventScript_1AA278:: @ 81AA278 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_GLENN, 0, Text_1C17F1, Text_1841B6 - msgbox Text_1841C8, 6 + msgbox Text_1841C8, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA28F:: @ 81AA28F @@ -796,12 +796,12 @@ Route8_EventScript_1AA28F:: @ 81AA28F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA2B6 - msgbox Text_1842B3, 6 + msgbox Text_1842B3, MSGBOX_AUTOCLOSE end EventScript_1AA2B6:: @ 81AA2B6 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_LESLIE, 0, Text_1C1873, Text_18427A - msgbox Text_1842B3, 6 + msgbox Text_1842B3, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA2CD:: @ 81AA2CD @@ -809,12 +809,12 @@ Route8_EventScript_1AA2CD:: @ 81AA2CD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA2F4 - msgbox Text_184162, 6 + msgbox Text_184162, MSGBOX_AUTOCLOSE end EventScript_1AA2F4:: @ 81AA2F4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_STAN, 0, Text_1C17CD, Text_18414D - msgbox Text_184162, 6 + msgbox Text_184162, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA30B:: @ 81AA30B @@ -822,12 +822,12 @@ Route8_EventScript_1AA30B:: @ 81AA30B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA332 - msgbox Text_184466, 6 + msgbox Text_184466, MSGBOX_AUTOCLOSE end EventScript_1AA332:: @ 81AA332 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_RICH, 0, Text_1C191F, Text_18444F - msgbox Text_184466, 6 + msgbox Text_184466, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA349:: @ 81AA349 @@ -835,12 +835,12 @@ Route8_EventScript_1AA349:: @ 81AA349 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA374 - msgbox Text_1845F2, 6 + msgbox Text_1845F2, MSGBOX_AUTOCLOSE end EventScript_1AA374:: @ 81AA374 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1C19E5, Text_1845D0, Text_184616 - msgbox Text_1845F2, 6 + msgbox Text_1845F2, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA38F:: @ 81AA38F @@ -848,12 +848,12 @@ Route8_EventScript_1AA38F:: @ 81AA38F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA3BA - msgbox Text_18468B, 6 + msgbox Text_18468B, MSGBOX_AUTOCLOSE end EventScript_1AA3BA:: @ 81AA3BA trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1C1A0D, Text_184675, Text_1846AF - msgbox Text_18468B, 6 + msgbox Text_18468B, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA3D5:: @ 81AA3D5 @@ -861,12 +861,12 @@ Route8_EventScript_1AA3D5:: @ 81AA3D5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA3FC - msgbox Text_184719, 6 + msgbox Text_184719, MSGBOX_AUTOCLOSE end EventScript_1AA3FC:: @ 81AA3FC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_RICARDO, 0, Text_1C199C, Text_1846FC - msgbox Text_184719, 6 + msgbox Text_184719, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA413:: @ 81AA413 @@ -874,12 +874,12 @@ Route8_EventScript_1AA413:: @ 81AA413 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA43A - msgbox Text_18477A, 6 + msgbox Text_18477A, MSGBOX_AUTOCLOSE end EventScript_1AA43A:: @ 81AA43A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JAREN, 0, Text_1C19BC, Text_184767 - msgbox Text_18477A, 6 + msgbox Text_18477A, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA451:: @ 81AA451 @@ -887,12 +887,12 @@ Route12_EventScript_1AA451:: @ 81AA451 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA478 - msgbox Text_185432, 6 + msgbox Text_185432, MSGBOX_AUTOCLOSE end EventScript_1AA478:: @ 81AA478 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_NED, 0, Text_1C1F9D, Text_18541B - msgbox Text_185432, 6 + msgbox Text_185432, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA48F:: @ 81AA48F @@ -900,12 +900,12 @@ Route12_EventScript_1AA48F:: @ 81AA48F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA4B6 - msgbox Text_185488, 6 + msgbox Text_185488, MSGBOX_AUTOCLOSE end EventScript_1AA4B6:: @ 81AA4B6 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_CHIP, 0, Text_1C1FD8, Text_185475 - msgbox Text_185488, 6 + msgbox Text_185488, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA4CD:: @ 81AA4CD @@ -913,12 +913,12 @@ Route12_EventScript_1AA4CD:: @ 81AA4CD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA4F4 - msgbox Text_185616, 6 + msgbox Text_185616, MSGBOX_AUTOCLOSE end EventScript_1AA4F4:: @ 81AA4F4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_HANK, 0, Text_1C209C, Text_185606 - msgbox Text_185616, 6 + msgbox Text_185616, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA50B:: @ 81AA50B @@ -926,12 +926,12 @@ Route12_EventScript_1AA50B:: @ 81AA50B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA532 - msgbox Text_1856DF, 6 + msgbox Text_1856DF, MSGBOX_AUTOCLOSE end EventScript_1AA532:: @ 81AA532 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_ELLIOT, 0, Text_1C20D4, Text_1856D0 - msgbox Text_1856DF, 6 + msgbox Text_1856DF, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA549:: @ 81AA549 @@ -939,12 +939,12 @@ Route12_EventScript_1AA549:: @ 81AA549 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA570 - msgbox Text_18574D, 6 + msgbox Text_18574D, MSGBOX_AUTOCLOSE end EventScript_1AA570:: @ 81AA570 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_ANDREW, 0, Text_1C2134, Text_185744 - msgbox Text_18574D, 6 + msgbox Text_18574D, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA587:: @ 81AA587 @@ -952,12 +952,12 @@ Route12_EventScript_1AA587:: @ 81AA587 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA5AE - msgbox Text_1855A6, 6 + msgbox Text_1855A6, MSGBOX_AUTOCLOSE end EventScript_1AA5AE:: @ 81AA5AE trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ROCKER_LUCA, 0, Text_1C203B, Text_18559B - msgbox Text_1855A6, 6 + msgbox Text_1855A6, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA5C5:: @ 81AA5C5 @@ -965,12 +965,12 @@ Route12_EventScript_1AA5C5:: @ 81AA5C5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA5EC - msgbox Text_1854F2, 6 + msgbox Text_1854F2, MSGBOX_AUTOCLOSE end EventScript_1AA5EC:: @ 81AA5EC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_JUSTIN, 0, Text_1C2008, Text_1854ED - msgbox Text_1854F2, 6 + msgbox Text_1854F2, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA603:: @ 81AA603 @@ -978,12 +978,12 @@ Route12_EventScript_1AA603:: @ 81AA603 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA62E - msgbox Text_18581F, 6 + msgbox Text_18581F, MSGBOX_AUTOCLOSE end EventScript_1AA62E:: @ 81AA62E trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C216B, Text_1857F1, Text_185842 - msgbox Text_18581F, 6 + msgbox Text_18581F, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA649:: @ 81AA649 @@ -991,12 +991,12 @@ Route12_EventScript_1AA649:: @ 81AA649 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA674 - msgbox Text_1858E2, 6 + msgbox Text_1858E2, MSGBOX_AUTOCLOSE end EventScript_1AA674:: @ 81AA674 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C219B, Text_1858D0, Text_185908 - msgbox Text_1858E2, 6 + msgbox Text_1858E2, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA68F:: @ 81AA68F @@ -1004,12 +1004,12 @@ Route13_EventScript_1AA68F:: @ 81AA68F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA6B6 - msgbox Text_185D33, 6 + msgbox Text_185D33, MSGBOX_AUTOCLOSE end EventScript_1AA6B6:: @ 81AA6B6 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JARED, 0, Text_1C236B, Text_185D1D - msgbox Text_185D33, 6 + msgbox Text_185D33, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA6CD:: @ 81AA6CD @@ -1017,12 +1017,12 @@ Route13_EventScript_1AA6CD:: @ 81AA6CD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA6F4 - msgbox Text_185C35, 6 + msgbox Text_185C35, MSGBOX_AUTOCLOSE end EventScript_1AA6F4:: @ 81AA6F4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_LOLA, 0, Text_1C2306, Text_185C1F - msgbox Text_185C35, 6 + msgbox Text_185C35, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA70B:: @ 81AA70B @@ -1030,12 +1030,12 @@ Route13_EventScript_1AA70B:: @ 81AA70B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA732 - msgbox Text_185CA8, 6 + msgbox Text_185CA8, MSGBOX_AUTOCLOSE end EventScript_1AA732:: @ 81AA732 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_SHEILA, 0, Text_1C2340, Text_185C95 - msgbox Text_185CA8, 6 + msgbox Text_185CA8, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA749:: @ 81AA749 @@ -1043,12 +1043,12 @@ Route13_EventScript_1AA749:: @ 81AA749 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA770 - msgbox Text_1859A2, 6 + msgbox Text_1859A2, MSGBOX_AUTOCLOSE end EventScript_1AA770:: @ 81AA770 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_1C21EE, Text_18597E - msgbox Text_1859A2, 6 + msgbox Text_1859A2, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA787:: @ 81AA787 @@ -1056,12 +1056,12 @@ Route13_EventScript_1AA787:: @ 81AA787 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA7AE - msgbox Text_185BDB, 6 + msgbox Text_185BDB, MSGBOX_AUTOCLOSE end EventScript_1AA7AE:: @ 81AA7AE trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_PERRY, 0, Text_1C22CA, Text_185BCA - msgbox Text_185BDB, 6 + msgbox Text_185BDB, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA7C5:: @ 81AA7C5 @@ -1069,12 +1069,12 @@ Route13_EventScript_1AA7C5:: @ 81AA7C5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA7EC - msgbox Text_185D89, 6 + msgbox Text_185D89, MSGBOX_AUTOCLOSE end EventScript_1AA7EC:: @ 81AA7EC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_1C2383, Text_185D7B - msgbox Text_185D89, 6 + msgbox Text_185D89, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA803:: @ 81AA803 @@ -1082,12 +1082,12 @@ Route13_EventScript_1AA803:: @ 81AA803 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA82A - msgbox Text_185B67, 6 + msgbox Text_185B67, MSGBOX_AUTOCLOSE end EventScript_1AA82A:: @ 81AA82A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ALMA, 0, Text_1C2299, Text_185B48 - msgbox Text_185B67, 6 + msgbox Text_185B67, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA841:: @ 81AA841 @@ -1095,12 +1095,12 @@ Route13_EventScript_1AA841:: @ 81AA841 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA868 - msgbox Text_1859F9, 6 + msgbox Text_1859F9, MSGBOX_AUTOCLOSE end EventScript_1AA868:: @ 81AA868 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_SUSIE, 0, Text_1C220C, Text_1859EC - msgbox Text_1859F9, 6 + msgbox Text_1859F9, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA87F:: @ 81AA87F @@ -1108,12 +1108,12 @@ Route13_EventScript_1AA87F:: @ 81AA87F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA8A6 - msgbox Text_185A62, 6 + msgbox Text_185A62, MSGBOX_AUTOCLOSE end EventScript_1AA8A6:: @ 81AA8A6 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_VALERIE, 0, Text_1C223C, Text_185A56 - msgbox Text_185A62, 6 + msgbox Text_185A62, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA8BD:: @ 81AA8BD @@ -1121,12 +1121,12 @@ Route13_EventScript_1AA8BD:: @ 81AA8BD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA8E4 - msgbox Text_185ADE, 6 + msgbox Text_185ADE, MSGBOX_AUTOCLOSE end EventScript_1AA8E4:: @ 81AA8E4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_GWEN, 0, Text_1C225B, Text_185AC1 - msgbox Text_185ADE, 6 + msgbox Text_185ADE, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA8FB:: @ 81AA8FB @@ -1134,12 +1134,12 @@ Route14_EventScript_1AA8FB:: @ 81AA8FB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA922 - msgbox Text_18636E, 6 + msgbox Text_18636E, MSGBOX_AUTOCLOSE end EventScript_1AA922:: @ 81AA922 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_MALIK, 0, Text_1C25D6, Text_186362 - msgbox Text_18636E, 6 + msgbox Text_18636E, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA939:: @ 81AA939 @@ -1147,12 +1147,12 @@ Route14_EventScript_1AA939:: @ 81AA939 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA960 - msgbox Text_186239, 6 + msgbox Text_186239, MSGBOX_AUTOCLOSE end EventScript_1AA960:: @ 81AA960 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_LUKAS, 0, Text_1C2531, Text_186223 - msgbox Text_186239, 6 + msgbox Text_186239, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA977:: @ 81AA977 @@ -1160,12 +1160,12 @@ Route14_EventScript_1AA977:: @ 81AA977 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA99E - msgbox Text_18629D, 6 + msgbox Text_18629D, MSGBOX_AUTOCLOSE end EventScript_1AA99E:: @ 81AA99E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ISAAC, 0, Text_1C2572, Text_186291 - msgbox Text_18629D, 6 + msgbox Text_18629D, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA9B5:: @ 81AA9B5 @@ -1173,12 +1173,12 @@ Route14_EventScript_1AA9B5:: @ 81AA9B5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AA9DC - msgbox Text_1862F8, 6 + msgbox Text_1862F8, MSGBOX_AUTOCLOSE end EventScript_1AA9DC:: @ 81AA9DC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_GERALD, 0, Text_1C259E, Text_1862EF - msgbox Text_1862F8, 6 + msgbox Text_1862F8, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA9F3:: @ 81AA9F3 @@ -1186,12 +1186,12 @@ Route14_EventScript_1AA9F3:: @ 81AA9F3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAA1A - msgbox Text_18611D, 6 + msgbox Text_18611D, MSGBOX_AUTOCLOSE end EventScript_1AAA1A:: @ 81AAA1A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1C24CB, Text_18610A - msgbox Text_18611D, 6 + msgbox Text_18611D, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAA31:: @ 81AAA31 @@ -1199,12 +1199,12 @@ Route14_EventScript_1AAA31:: @ 81AAA31 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAA58 - msgbox Text_1861BE, 6 + msgbox Text_1861BE, MSGBOX_AUTOCLOSE end EventScript_1AAA58:: @ 81AAA58 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_BENNY, 0, Text_1C2505, Text_1861B3 - msgbox Text_1861BE, 6 + msgbox Text_1861BE, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAA6F:: @ 81AAA6F @@ -1212,12 +1212,12 @@ Route14_EventScript_1AAA6F:: @ 81AAA6F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAA96 - msgbox Text_185E9C, 6 + msgbox Text_185E9C, MSGBOX_AUTOCLOSE end EventScript_1AAA96:: @ 81AAA96 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CARTER, 0, Text_1C23C1, Text_185E81 - msgbox Text_185E9C, 6 + msgbox Text_185E9C, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAAAD:: @ 81AAAAD @@ -1225,12 +1225,12 @@ Route14_EventScript_1AAAAD:: @ 81AAAAD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAAD4 - msgbox Text_185F1A, 6 + msgbox Text_185F1A, MSGBOX_AUTOCLOSE end EventScript_1AAAD4:: @ 81AAAD4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MITCH, 0, Text_1C23EF, Text_185F0B - msgbox Text_185F1A, 6 + msgbox Text_185F1A, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAAEB:: @ 81AAAEB @@ -1238,12 +1238,12 @@ Route14_EventScript_1AAAEB:: @ 81AAAEB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAB12 - msgbox Text_185FBB, 6 + msgbox Text_185FBB, MSGBOX_AUTOCLOSE end EventScript_1AAB12:: @ 81AAB12 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_BECK, 0, Text_1C2425, Text_185FAE - msgbox Text_185FBB, 6 + msgbox Text_185FBB, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAB29:: @ 81AAB29 @@ -1251,12 +1251,12 @@ Route14_EventScript_1AAB29:: @ 81AAB29 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAB50 - msgbox Text_186091, 6 + msgbox Text_186091, MSGBOX_AUTOCLOSE end EventScript_1AAB50:: @ 81AAB50 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MARLON, 0, Text_1C2461, Text_18607C - msgbox Text_186091, 6 + msgbox Text_186091, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAB67:: @ 81AAB67 @@ -1264,12 +1264,12 @@ Route14_EventScript_1AAB67:: @ 81AAB67 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAB92 - msgbox Text_18640D, 6 + msgbox Text_18640D, MSGBOX_AUTOCLOSE end EventScript_1AAB92:: @ 81AAB92 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1C25FB, Text_1863EA, Text_18642E - msgbox Text_18640D, 6 + msgbox Text_18640D, MSGBOX_AUTOCLOSE end Route14_EventScript_1AABAD:: @ 81AABAD @@ -1277,12 +1277,12 @@ Route14_EventScript_1AABAD:: @ 81AABAD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AABD8 - msgbox Text_18649C, 6 + msgbox Text_18649C, MSGBOX_AUTOCLOSE end EventScript_1AABD8:: @ 81AABD8 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1C261B, Text_186487, Text_1864D3 - msgbox Text_18649C, 6 + msgbox Text_18649C, MSGBOX_AUTOCLOSE end Route15_EventScript_1AABF3:: @ 81AABF3 @@ -1290,12 +1290,12 @@ Route15_EventScript_1AABF3:: @ 81AABF3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAC1A - msgbox Text_1868F1, 6 + msgbox Text_1868F1, MSGBOX_AUTOCLOSE end EventScript_1AAC1A:: @ 81AAC1A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ERNEST, 0, Text_1C27E7, Text_1868E8 - msgbox Text_1868F1, 6 + msgbox Text_1868F1, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAC31:: @ 81AAC31 @@ -1303,12 +1303,12 @@ Route15_EventScript_1AAC31:: @ 81AAC31 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAC58 - msgbox Text_18697C, 6 + msgbox Text_18697C, MSGBOX_AUTOCLOSE end EventScript_1AAC58:: @ 81AAC58 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ALEX, 0, Text_1C2814, Text_186968 - msgbox Text_18697C, 6 + msgbox Text_18697C, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAC6F:: @ 81AAC6F @@ -1316,12 +1316,12 @@ Route15_EventScript_1AAC6F:: @ 81AAC6F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAC96 - msgbox Text_1867DA, 6 + msgbox Text_1867DA, MSGBOX_AUTOCLOSE end EventScript_1AAC96:: @ 81AAC96 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_GRACE, 0, Text_1C2753, Text_1867C1 - msgbox Text_1867DA, 6 + msgbox Text_1867DA, MSGBOX_AUTOCLOSE end Route15_EventScript_1AACAD:: @ 81AACAD @@ -1329,12 +1329,12 @@ Route15_EventScript_1AACAD:: @ 81AACAD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AACD4 - msgbox Text_18686F, 6 + msgbox Text_18686F, MSGBOX_AUTOCLOSE end EventScript_1AACD4:: @ 81AACD4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_OLIVIA, 0, Text_1C279D, Text_186841 - msgbox Text_18686F, 6 + msgbox Text_18686F, MSGBOX_AUTOCLOSE end Route15_EventScript_1AACEB:: @ 81AACEB @@ -1342,12 +1342,12 @@ Route15_EventScript_1AACEB:: @ 81AACEB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAD12 - msgbox Text_18668D, 6 + msgbox Text_18668D, MSGBOX_AUTOCLOSE end EventScript_1AAD12:: @ 81AAD12 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_1C26D3, Text_18667A - msgbox Text_18668D, 6 + msgbox Text_18668D, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAD29:: @ 81AAD29 @@ -1355,12 +1355,12 @@ Route15_EventScript_1AAD29:: @ 81AAD29 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAD50 - msgbox Text_18671A, 6 + msgbox Text_18671A, MSGBOX_AUTOCLOSE end EventScript_1AAD50:: @ 81AAD50 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1C2717, Text_186707 - msgbox Text_18671A, 6 + msgbox Text_18671A, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAD67:: @ 81AAD67 @@ -1368,12 +1368,12 @@ Route15_EventScript_1AAD67:: @ 81AAD67 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAD8E - msgbox Text_186A55, 6 + msgbox Text_186A55, MSGBOX_AUTOCLOSE end EventScript_1AAD8E:: @ 81AAD8E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_YAZMIN, 0, Text_1C287D, Text_186A40 - msgbox Text_186A55, 6 + msgbox Text_186A55, MSGBOX_AUTOCLOSE end Route15_EventScript_1AADA5:: @ 81AADA5 @@ -1381,12 +1381,12 @@ Route15_EventScript_1AADA5:: @ 81AADA5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AADCC - msgbox Text_18655A, 6 + msgbox Text_18655A, MSGBOX_AUTOCLOSE end EventScript_1AADCC:: @ 81AADCC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_KINDRA, 0, Text_1C2650, Text_186549 - msgbox Text_18655A, 6 + msgbox Text_18655A, MSGBOX_AUTOCLOSE end Route15_EventScript_1AADE3:: @ 81AADE3 @@ -1394,12 +1394,12 @@ Route15_EventScript_1AADE3:: @ 81AADE3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAE0A - msgbox Text_18661D, 6 + msgbox Text_18661D, MSGBOX_AUTOCLOSE end EventScript_1AAE0A:: @ 81AAE0A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_BECKY, 0, Text_1C268D, Text_186612 - msgbox Text_18661D, 6 + msgbox Text_18661D, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAE21:: @ 81AAE21 @@ -1407,12 +1407,12 @@ Route15_EventScript_1AAE21:: @ 81AAE21 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAE48 - msgbox Text_1869F4, 6 + msgbox Text_1869F4, MSGBOX_AUTOCLOSE end EventScript_1AAE48:: @ 81AAE48 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CELIA, 0, Text_1C2846, Text_1869E6 - msgbox Text_1869F4, 6 + msgbox Text_1869F4, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAE5F:: @ 81AAE5F @@ -1420,12 +1420,12 @@ Route15_EventScript_1AAE5F:: @ 81AAE5F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAE8A - msgbox Text_186B0A, 6 + msgbox Text_186B0A, MSGBOX_AUTOCLOSE end EventScript_1AAE8A:: @ 81AAE8A trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28A1, Text_186ACB, Text_186B46 - msgbox Text_186B0A, 6 + msgbox Text_186B0A, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAEA5:: @ 81AAEA5 @@ -1433,12 +1433,12 @@ Route15_EventScript_1AAEA5:: @ 81AAEA5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAED0 - msgbox Text_186BD2, 6 + msgbox Text_186BD2, MSGBOX_AUTOCLOSE end EventScript_1AAED0:: @ 81AAED0 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28EC, Text_186BB1, Text_186BFE - msgbox Text_186BD2, 6 + msgbox Text_186BD2, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAEEB:: @ 81AAEEB @@ -1446,12 +1446,12 @@ Route16_EventScript_1AAEEB:: @ 81AAEEB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAF12 - msgbox Text_186C75, 6 + msgbox Text_186C75, MSGBOX_AUTOCLOSE end EventScript_1AAF12:: @ 81AAF12 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_LAO, 0, Text_1C2913, Text_186C5F - msgbox Text_186C75, 6 + msgbox Text_186C75, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAF29:: @ 81AAF29 @@ -1459,12 +1459,12 @@ Route16_EventScript_1AAF29:: @ 81AAF29 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAF50 - msgbox Text_186D5A, 6 + msgbox Text_186D5A, MSGBOX_AUTOCLOSE end EventScript_1AAF50:: @ 81AAF50 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_HIDEO, 0, Text_1C297B, Text_186D52 - msgbox Text_186D5A, 6 + msgbox Text_186D5A, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAF67:: @ 81AAF67 @@ -1472,12 +1472,12 @@ Route16_EventScript_1AAF67:: @ 81AAF67 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAF8E - msgbox Text_186EC7, 6 + msgbox Text_186EC7, MSGBOX_AUTOCLOSE end EventScript_1AAF8E:: @ 81AAF8E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_RUBEN, 0, Text_1C29EB, Text_186EB4 - msgbox Text_186EC7, 6 + msgbox Text_186EC7, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAFA5:: @ 81AAFA5 @@ -1485,12 +1485,12 @@ Route16_EventScript_1AAFA5:: @ 81AAFA5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AAFCC - msgbox Text_186CC5, 6 + msgbox Text_186CC5, MSGBOX_AUTOCLOSE end EventScript_1AAFCC:: @ 81AAFCC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_KOJI, 0, Text_1C2925, Text_186CBB - msgbox Text_186CC5, 6 + msgbox Text_186CC5, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAFE3:: @ 81AAFE3 @@ -1498,12 +1498,12 @@ Route16_EventScript_1AAFE3:: @ 81AAFE3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB00A - msgbox Text_186D16, 6 + msgbox Text_186D16, MSGBOX_AUTOCLOSE end EventScript_1AB00A:: @ 81AB00A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_LUKE, 0, Text_1C2944, Text_186D06 - msgbox Text_186D16, 6 + msgbox Text_186D16, MSGBOX_AUTOCLOSE end Route16_EventScript_1AB021:: @ 81AB021 @@ -1511,12 +1511,12 @@ Route16_EventScript_1AB021:: @ 81AB021 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB048 - msgbox Text_186E1C, 6 + msgbox Text_186E1C, MSGBOX_AUTOCLOSE end EventScript_1AB048:: @ 81AB048 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_CAMRON, 0, Text_1C29B0, Text_186E0D - msgbox Text_186E1C, 6 + msgbox Text_186E1C, MSGBOX_AUTOCLOSE end Route16_EventScript_1AB05F:: @ 81AB05F @@ -1524,12 +1524,12 @@ Route16_EventScript_1AB05F:: @ 81AB05F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB08A - msgbox Text_187027, 6 + msgbox Text_187027, MSGBOX_AUTOCLOSE end EventScript_1AB08A:: @ 81AB08A trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A19, Text_186FFA, Text_187057 - msgbox Text_187027, 6 + msgbox Text_187027, MSGBOX_AUTOCLOSE end Route16_EventScript_1AB0A5:: @ 81AB0A5 @@ -1537,12 +1537,12 @@ Route16_EventScript_1AB0A5:: @ 81AB0A5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB0D0 - msgbox Text_1870F9, 6 + msgbox Text_1870F9, MSGBOX_AUTOCLOSE end EventScript_1AB0D0:: @ 81AB0D0 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A53, Text_1870CC, Text_187120 - msgbox Text_1870F9, 6 + msgbox Text_1870F9, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB0EB:: @ 81AB0EB @@ -1550,12 +1550,12 @@ Route17_EventScript_1AB0EB:: @ 81AB0EB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB112 - msgbox Text_1872EB, 6 + msgbox Text_1872EB, MSGBOX_AUTOCLOSE end EventScript_1AB112:: @ 81AB112 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_BILLY, 0, Text_1C2B06, Text_1872E3 - msgbox Text_1872EB, 6 + msgbox Text_1872EB, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB129:: @ 81AB129 @@ -1563,12 +1563,12 @@ Route17_EventScript_1AB129:: @ 81AB129 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB150 - msgbox Text_187333, 6 + msgbox Text_187333, MSGBOX_AUTOCLOSE end EventScript_1AB150:: @ 81AB150 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_NIKOLAS, 0, Text_1C2B2C, Text_187325 - msgbox Text_187333, 6 + msgbox Text_187333, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB167:: @ 81AB167 @@ -1576,12 +1576,12 @@ Route17_EventScript_1AB167:: @ 81AB167 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB18E - msgbox Text_187479, 6 + msgbox Text_187479, MSGBOX_AUTOCLOSE end EventScript_1AB18E:: @ 81AB18E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JAXON, 0, Text_1C2BE6, Text_187472 - msgbox Text_187479, 6 + msgbox Text_187479, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB1A5:: @ 81AB1A5 @@ -1589,12 +1589,12 @@ Route17_EventScript_1AB1A5:: @ 81AB1A5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB1CC - msgbox Text_1874C9, 6 + msgbox Text_1874C9, MSGBOX_AUTOCLOSE end EventScript_1AB1CC:: @ 81AB1CC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_WILLIAM, 0, Text_1C2C10, Text_1874B6 - msgbox Text_1874C9, 6 + msgbox Text_1874C9, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB1E3:: @ 81AB1E3 @@ -1602,12 +1602,12 @@ Route17_EventScript_1AB1E3:: @ 81AB1E3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB20A - msgbox Text_1871BA, 6 + msgbox Text_1871BA, MSGBOX_AUTOCLOSE end EventScript_1AB20A:: @ 81AB20A trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_RAUL, 0, Text_1C2A88, Text_1871AE - msgbox Text_1871BA, 6 + msgbox Text_1871BA, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB221:: @ 81AB221 @@ -1615,12 +1615,12 @@ Route17_EventScript_1AB221:: @ 81AB221 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB248 - msgbox Text_18725A, 6 + msgbox Text_18725A, MSGBOX_AUTOCLOSE end EventScript_1AB248:: @ 81AB248 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_ISAIAH, 0, Text_1C2AC4, Text_187254 - msgbox Text_18725A, 6 + msgbox Text_18725A, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB25F:: @ 81AB25F @@ -1628,12 +1628,12 @@ Route17_EventScript_1AB25F:: @ 81AB25F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB286 - msgbox Text_18739F, 6 + msgbox Text_18739F, MSGBOX_AUTOCLOSE end EventScript_1AB286:: @ 81AB286 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_ZEEK, 0, Text_1C2B5E, Text_187395 - msgbox Text_18739F, 6 + msgbox Text_18739F, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB29D:: @ 81AB29D @@ -1641,12 +1641,12 @@ Route17_EventScript_1AB29D:: @ 81AB29D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB2C4 - msgbox Text_1873FF, 6 + msgbox Text_1873FF, MSGBOX_AUTOCLOSE end EventScript_1AB2C4:: @ 81AB2C4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_JAMAL, 0, Text_1C2B9C, Text_1873EB - msgbox Text_1873FF, 6 + msgbox Text_1873FF, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB2DB:: @ 81AB2DB @@ -1654,12 +1654,12 @@ Route17_EventScript_1AB2DB:: @ 81AB2DB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB302 - msgbox Text_187432, 6 + msgbox Text_187432, MSGBOX_AUTOCLOSE end EventScript_1AB302:: @ 81AB302 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_COREY, 0, Text_1C2BDA, Text_187429 - msgbox Text_187432, 6 + msgbox Text_187432, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB319:: @ 81AB319 @@ -1667,12 +1667,12 @@ Route17_EventScript_1AB319:: @ 81AB319 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB340 - msgbox Text_1872A5, 6 + msgbox Text_1872A5, MSGBOX_AUTOCLOSE end EventScript_1AB340:: @ 81AB340 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_VIRGIL, 0, Text_1C2AF0, Text_187295 - msgbox Text_1872A5, 6 + msgbox Text_1872A5, MSGBOX_AUTOCLOSE end Route18_EventScript_1AB357:: @ 81AB357 @@ -1680,12 +1680,12 @@ Route18_EventScript_1AB357:: @ 81AB357 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB37E - msgbox Text_187677, 6 + msgbox Text_187677, MSGBOX_AUTOCLOSE end EventScript_1AB37E:: @ 81AB37E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_WILTON, 0, Text_1C2C2B, Text_187672 - msgbox Text_187677, 6 + msgbox Text_187677, MSGBOX_AUTOCLOSE end Route18_EventScript_1AB395:: @ 81AB395 @@ -1693,12 +1693,12 @@ Route18_EventScript_1AB395:: @ 81AB395 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB3BC - msgbox Text_1876C5, 6 + msgbox Text_1876C5, MSGBOX_AUTOCLOSE end EventScript_1AB3BC:: @ 81AB3BC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_1C2C7B, Text_1876B3 - msgbox Text_1876C5, 6 + msgbox Text_1876C5, MSGBOX_AUTOCLOSE end Route18_EventScript_1AB3D3:: @ 81AB3D3 @@ -1706,12 +1706,12 @@ Route18_EventScript_1AB3D3:: @ 81AB3D3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB3FA - msgbox Text_18772C, 6 + msgbox Text_18772C, MSGBOX_AUTOCLOSE end EventScript_1AB3FA:: @ 81AB3FA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_JACOB, 0, Text_1C2CA8, Text_187726 - msgbox Text_18772C, 6 + msgbox Text_18772C, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB411:: @ 81AB411 @@ -1719,12 +1719,12 @@ Route19_EventScript_1AB411:: @ 81AB411 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB438 - msgbox Text_1877EE, 6 + msgbox Text_1877EE, MSGBOX_AUTOCLOSE end EventScript_1AB438:: @ 81AB438 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1C2CEE, Text_1877DF - msgbox Text_1877EE, 6 + msgbox Text_1877EE, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB44F:: @ 81AB44F @@ -1732,12 +1732,12 @@ Route19_EventScript_1AB44F:: @ 81AB44F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB476 - msgbox Text_187852, 6 + msgbox Text_187852, MSGBOX_AUTOCLOSE end EventScript_1AB476:: @ 81AB476 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_REECE, 0, Text_1C2D19, Text_18783E - msgbox Text_187852, 6 + msgbox Text_187852, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB48D:: @ 81AB48D @@ -1745,12 +1745,12 @@ Route19_EventScript_1AB48D:: @ 81AB48D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB4B4 - msgbox Text_1878B1, 6 + msgbox Text_1878B1, MSGBOX_AUTOCLOSE end EventScript_1AB4B4:: @ 81AB4B4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_1C2D4B, Text_1878A5 - msgbox Text_1878B1, 6 + msgbox Text_1878B1, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB4CB:: @ 81AB4CB @@ -1758,12 +1758,12 @@ Route19_EventScript_1AB4CB:: @ 81AB4CB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB4F2 - msgbox Text_1878FE, 6 + msgbox Text_1878FE, MSGBOX_AUTOCLOSE end EventScript_1AB4F2:: @ 81AB4F2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1C2D7D, Text_1878F8 - msgbox Text_1878FE, 6 + msgbox Text_1878FE, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB509:: @ 81AB509 @@ -1771,12 +1771,12 @@ Route19_EventScript_1AB509:: @ 81AB509 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB530 - msgbox Text_18795B, 6 + msgbox Text_18795B, MSGBOX_AUTOCLOSE end EventScript_1AB530:: @ 81AB530 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DAVID, 0, Text_1C2DA7, Text_187955 - msgbox Text_18795B, 6 + msgbox Text_18795B, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB547:: @ 81AB547 @@ -1784,12 +1784,12 @@ Route19_EventScript_1AB547:: @ 81AB547 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB56E - msgbox Text_1879D3, 6 + msgbox Text_1879D3, MSGBOX_AUTOCLOSE end EventScript_1AB56E:: @ 81AB56E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_TONY, 0, Text_1C2DE9, Text_1879C3 - msgbox Text_1879D3, 6 + msgbox Text_1879D3, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB585:: @ 81AB585 @@ -1797,12 +1797,12 @@ Route19_EventScript_1AB585:: @ 81AB585 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB5AC - msgbox Text_187B35, 6 + msgbox Text_187B35, MSGBOX_AUTOCLOSE end EventScript_1AB5AC:: @ 81AB5AC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_AXLE, 0, Text_1C2EC0, Text_187B25 - msgbox Text_187B35, 6 + msgbox Text_187B35, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB5C3:: @ 81AB5C3 @@ -1810,12 +1810,12 @@ Route19_EventScript_1AB5C3:: @ 81AB5C3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB5EA - msgbox Text_187A50, 6 + msgbox Text_187A50, MSGBOX_AUTOCLOSE end EventScript_1AB5EA:: @ 81AB5EA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_1C2E4A, Text_187A44 - msgbox Text_187A50, 6 + msgbox Text_187A50, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB601:: @ 81AB601 @@ -1823,12 +1823,12 @@ Route19_EventScript_1AB601:: @ 81AB601 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB628 - msgbox Text_187ACA, 6 + msgbox Text_187ACA, MSGBOX_AUTOCLOSE end EventScript_1AB628:: @ 81AB628 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_1C2E9D, Text_187AC1 - msgbox Text_187ACA, 6 + msgbox Text_187ACA, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB63F:: @ 81AB63F @@ -1836,12 +1836,12 @@ Route19_EventScript_1AB63F:: @ 81AB63F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB666 - msgbox Text_187B94, 6 + msgbox Text_187B94, MSGBOX_AUTOCLOSE end EventScript_1AB666:: @ 81AB666 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_1C2EFC, Text_187B85 - msgbox Text_187B94, 6 + msgbox Text_187B94, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB67D:: @ 81AB67D @@ -1849,12 +1849,12 @@ Route19_EventScript_1AB67D:: @ 81AB67D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB6A8 - msgbox Text_187C9E, 6 + msgbox Text_187C9E, MSGBOX_AUTOCLOSE end EventScript_1AB6A8:: @ 81AB6A8 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2F41, Text_187C6F, Text_187CF2 - msgbox Text_187C9E, 6 + msgbox Text_187C9E, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB6C3:: @ 81AB6C3 @@ -1862,12 +1862,12 @@ Route19_EventScript_1AB6C3:: @ 81AB6C3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB6EE - msgbox Text_187DAD, 6 + msgbox Text_187DAD, MSGBOX_AUTOCLOSE end EventScript_1AB6EE:: @ 81AB6EE trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2FAE, Text_187D7E, Text_187DE8 - msgbox Text_187DAD, 6 + msgbox Text_187DAD, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB709:: @ 81AB709 @@ -1875,12 +1875,12 @@ Route20_EventScript_1AB709:: @ 81AB709 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB730 - msgbox Text_187E83, 6 + msgbox Text_187E83, MSGBOX_AUTOCLOSE end EventScript_1AB730:: @ 81AB730 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_BARRY, 0, Text_1C2FF3, Text_187E7B - msgbox Text_187E83, 6 + msgbox Text_187E83, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB747:: @ 81AB747 @@ -1888,12 +1888,12 @@ Route20_EventScript_1AB747:: @ 81AB747 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB76E - msgbox Text_187FFE, 6 + msgbox Text_187FFE, MSGBOX_AUTOCLOSE end EventScript_1AB76E:: @ 81AB76E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DEAN, 0, Text_1C30B0, Text_187FF7 - msgbox Text_187FFE, 6 + msgbox Text_187FFE, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB785:: @ 81AB785 @@ -1901,12 +1901,12 @@ Route20_EventScript_1AB785:: @ 81AB785 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB7AC - msgbox Text_18806D, 6 + msgbox Text_18806D, MSGBOX_AUTOCLOSE end EventScript_1AB7AC:: @ 81AB7AC trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_1C30ED, Text_18805C - msgbox Text_18806D, 6 + msgbox Text_18806D, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB7C3:: @ 81AB7C3 @@ -1914,12 +1914,12 @@ Route20_EventScript_1AB7C3:: @ 81AB7C3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB7EA - msgbox Text_187F61, 6 + msgbox Text_187F61, MSGBOX_AUTOCLOSE end EventScript_1AB7EA:: @ 81AB7EA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_1C305F, Text_187F5A - msgbox Text_187F61, 6 + msgbox Text_187F61, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB801:: @ 81AB801 @@ -1927,12 +1927,12 @@ Route20_EventScript_1AB801:: @ 81AB801 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB828 - msgbox Text_188139, 6 + msgbox Text_188139, MSGBOX_AUTOCLOSE end EventScript_1AB828:: @ 81AB828 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1C3149, Text_188119 - msgbox Text_188139, 6 + msgbox Text_188139, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB83F:: @ 81AB83F @@ -1940,12 +1940,12 @@ Route20_EventScript_1AB83F:: @ 81AB83F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB866 - msgbox Text_18827B, 6 + msgbox Text_18827B, MSGBOX_AUTOCLOSE end EventScript_1AB866:: @ 81AB866 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_1C31C4, Text_18825C - msgbox Text_18827B, 6 + msgbox Text_18827B, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB87D:: @ 81AB87D @@ -1953,12 +1953,12 @@ Route20_EventScript_1AB87D:: @ 81AB87D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB8A4 - msgbox Text_187EF6, 6 + msgbox Text_187EF6, MSGBOX_AUTOCLOSE end EventScript_1AB8A4:: @ 81AB8A4 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_1C302E, Text_187EED - msgbox Text_187EF6, 6 + msgbox Text_187EF6, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB8BB:: @ 81AB8BB @@ -1966,12 +1966,12 @@ Route20_EventScript_1AB8BB:: @ 81AB8BB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB8E2 - msgbox Text_1880C8, 6 + msgbox Text_1880C8, MSGBOX_AUTOCLOSE end EventScript_1AB8E2:: @ 81AB8E2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_ROGER, 0, Text_1C312C, Text_1880AB - msgbox Text_1880C8, 6 + msgbox Text_1880C8, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB8F9:: @ 81AB8F9 @@ -1979,12 +1979,12 @@ Route20_EventScript_1AB8F9:: @ 81AB8F9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB920 - msgbox Text_1881B8, 6 + msgbox Text_1881B8, MSGBOX_AUTOCLOSE end EventScript_1AB920:: @ 81AB920 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_MISSY, 0, Text_1C3185, Text_1881A3 - msgbox Text_1881B8, 6 + msgbox Text_1881B8, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB937:: @ 81AB937 @@ -1992,12 +1992,12 @@ Route20_EventScript_1AB937:: @ 81AB937 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB95E - msgbox Text_187FA3, 6 + msgbox Text_187FA3, MSGBOX_AUTOCLOSE end EventScript_1AB95E:: @ 81AB95E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_IRENE, 0, Text_1C3095, Text_187F92 - msgbox Text_187FA3, 6 + msgbox Text_187FA3, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1AB975:: @ 81AB975 @@ -2005,12 +2005,12 @@ Route21_North_EventScript_1AB975:: @ 81AB975 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB99C - msgbox Text_188389, 6 + msgbox Text_188389, MSGBOX_AUTOCLOSE end EventScript_1AB99C:: @ 81AB99C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_RONALD, 0, Text_1C3208, Text_188383 - msgbox Text_188389, 6 + msgbox Text_188389, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1AB9B3:: @ 81AB9B3 @@ -2018,12 +2018,12 @@ Route21_South_EventScript_1AB9B3:: @ 81AB9B3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AB9DA - msgbox Text_188632, 6 + msgbox Text_188632, MSGBOX_AUTOCLOSE end EventScript_1AB9DA:: @ 81AB9DA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_CLAUDE, 0, Text_1C331D, Text_1885F8 - msgbox Text_188632, 6 + msgbox Text_188632, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1AB9F1:: @ 81AB9F1 @@ -2031,12 +2031,12 @@ Route21_North_EventScript_1AB9F1:: @ 81AB9F1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABA18 - msgbox Text_18841D, 6 + msgbox Text_18841D, MSGBOX_AUTOCLOSE end EventScript_1ABA18:: @ 81ABA18 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_WADE, 0, Text_1C3231, Text_1883E9 - msgbox Text_18841D, 6 + msgbox Text_18841D, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1ABA2F:: @ 81ABA2F @@ -2044,12 +2044,12 @@ Route21_South_EventScript_1ABA2F:: @ 81ABA2F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABA56 - msgbox Text_1886C5, 6 + msgbox Text_1886C5, MSGBOX_AUTOCLOSE end EventScript_1ABA56:: @ 81ABA56 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_NOLAN, 0, Text_1C3356, Text_1886AE - msgbox Text_1886C5, 6 + msgbox Text_1886C5, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1ABA6D:: @ 81ABA6D @@ -2057,12 +2057,12 @@ Route21_North_EventScript_1ABA6D:: @ 81ABA6D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABA94 - msgbox Text_188465, 6 + msgbox Text_188465, MSGBOX_AUTOCLOSE end EventScript_1ABA94:: @ 81ABA94 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_1C3264, Text_18845F - msgbox Text_188465, 6 + msgbox Text_188465, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1ABAAB:: @ 81ABAAB @@ -2070,12 +2070,12 @@ Route21_South_EventScript_1ABAAB:: @ 81ABAAB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABAD2 - msgbox Text_1884FF, 6 + msgbox Text_1884FF, MSGBOX_AUTOCLOSE end EventScript_1ABAD2:: @ 81ABAD2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_JACK, 0, Text_1C3298, Text_1884F0 - msgbox Text_1884FF, 6 + msgbox Text_1884FF, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1ABAE9:: @ 81ABAE9 @@ -2083,12 +2083,12 @@ Route21_South_EventScript_1ABAE9:: @ 81ABAE9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABB10 - msgbox Text_188555, 6 + msgbox Text_188555, MSGBOX_AUTOCLOSE end EventScript_1ABB10:: @ 81ABB10 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_JEROME, 0, Text_1C32D3, Text_188543 - msgbox Text_188555, 6 + msgbox Text_188555, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1ABB27:: @ 81ABB27 @@ -2096,12 +2096,12 @@ Route21_South_EventScript_1ABB27:: @ 81ABB27 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABB4E - msgbox Text_1885BF, 6 + msgbox Text_1885BF, MSGBOX_AUTOCLOSE end EventScript_1ABB4E:: @ 81ABB4E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_1C32FD, Text_1885B2 - msgbox Text_1885BF, 6 + msgbox Text_1885BF, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1ABB65:: @ 81ABB65 @@ -2109,12 +2109,12 @@ Route21_North_EventScript_1ABB65:: @ 81ABB65 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABB90 - msgbox Text_188734, 6 + msgbox Text_188734, MSGBOX_AUTOCLOSE end EventScript_1ABB90:: @ 81ABB90 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C3378, Text_188712, Text_18875E - msgbox Text_188734, 6 + msgbox Text_188734, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1ABBAB:: @ 81ABBAB @@ -2122,12 +2122,12 @@ Route21_North_EventScript_1ABBAB:: @ 81ABBAB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABBD6 - msgbox Text_188812, 6 + msgbox Text_188812, MSGBOX_AUTOCLOSE end EventScript_1ABBD6:: @ 81ABBD6 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C33AE, Text_1887F1, Text_188850 - msgbox Text_188812, 6 + msgbox Text_188812, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABBF1:: @ 81ABBF1 @@ -2135,12 +2135,12 @@ OneIsland_KindleRoad_EventScript_1ABBF1:: @ 81ABBF1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABC18 - msgbox Text_189657, 6 + msgbox Text_189657, MSGBOX_AUTOCLOSE end EventScript_1ABC18:: @ 81ABC18 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_1C37B5, Text_18964D - msgbox Text_189657, 6 + msgbox Text_189657, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABC2F:: @ 81ABC2F @@ -2148,12 +2148,12 @@ OneIsland_KindleRoad_EventScript_1ABC2F:: @ 81ABC2F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABC56 - msgbox Text_1896C1, 6 + msgbox Text_1896C1, MSGBOX_AUTOCLOSE end EventScript_1ABC56:: @ 81ABC56 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_1C37E7, Text_1896AC - msgbox Text_1896C1, 6 + msgbox Text_1896C1, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABC6D:: @ 81ABC6D @@ -2161,12 +2161,12 @@ OneIsland_KindleRoad_EventScript_1ABC6D:: @ 81ABC6D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABC94 - msgbox Text_189740, 6 + msgbox Text_189740, MSGBOX_AUTOCLOSE end EventScript_1ABC94:: @ 81ABC94 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_FINN, 0, Text_1C3807, Text_189728 - msgbox Text_189740, 6 + msgbox Text_189740, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABCAB:: @ 81ABCAB @@ -2174,12 +2174,12 @@ OneIsland_KindleRoad_EventScript_1ABCAB:: @ 81ABCAB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABCD2 - msgbox Text_1897C5, 6 + msgbox Text_1897C5, MSGBOX_AUTOCLOSE end EventScript_1ABCD2:: @ 81ABCD2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_1C3835, Text_1897A4 - msgbox Text_1897C5, 6 + msgbox Text_1897C5, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABCE9:: @ 81ABCE9 @@ -2187,12 +2187,12 @@ OneIsland_KindleRoad_EventScript_1ABCE9:: @ 81ABCE9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABD10 - msgbox Text_18984B, 6 + msgbox Text_18984B, MSGBOX_AUTOCLOSE end EventScript_1ABD10:: @ 81ABD10 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_TOMMY, 0, Text_1C386A, Text_189833 - msgbox Text_18984B, 6 + msgbox Text_18984B, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABD27:: @ 81ABD27 @@ -2200,12 +2200,12 @@ OneIsland_KindleRoad_EventScript_1ABD27:: @ 81ABD27 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABD4E - msgbox Text_1898C4, 6 + msgbox Text_1898C4, MSGBOX_AUTOCLOSE end EventScript_1ABD4E:: @ 81ABD4E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_SHARON, 0, Text_1C389F, Text_1898AB - msgbox Text_1898C4, 6 + msgbox Text_1898C4, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABD65:: @ 81ABD65 @@ -2213,12 +2213,12 @@ OneIsland_KindleRoad_EventScript_1ABD65:: @ 81ABD65 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABD8C - msgbox Text_18992C, 6 + msgbox Text_18992C, MSGBOX_AUTOCLOSE end EventScript_1ABD8C:: @ 81ABD8C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1C38CA, Text_18991B - msgbox Text_18992C, 6 + msgbox Text_18992C, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABDA3:: @ 81ABDA3 @@ -2226,12 +2226,12 @@ OneIsland_KindleRoad_EventScript_1ABDA3:: @ 81ABDA3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABDCA - msgbox Text_189998, 6 + msgbox Text_189998, MSGBOX_AUTOCLOSE end EventScript_1ABDCA:: @ 81ABDCA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BLACK_BELT_SHEA, 0, Text_1C38FA, Text_18998C - msgbox Text_189998, 6 + msgbox Text_189998, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABDE1:: @ 81ABDE1 @@ -2239,12 +2239,12 @@ OneIsland_KindleRoad_EventScript_1ABDE1:: @ 81ABDE1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABE08 - msgbox Text_189A13, 6 + msgbox Text_189A13, MSGBOX_AUTOCLOSE end EventScript_1ABE08:: @ 81ABE08 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BLACK_BELT_HUGH, 0, Text_1C3943, Text_189A0A - msgbox Text_189A13, 6 + msgbox Text_189A13, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABE1F:: @ 81ABE1F @@ -2252,12 +2252,12 @@ OneIsland_KindleRoad_EventScript_1ABE1F:: @ 81ABE1F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABE46 - msgbox Text_189A9F, 6 + msgbox Text_189A9F, MSGBOX_AUTOCLOSE end EventScript_1ABE46:: @ 81ABE46 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_BRYCE, 0, Text_1C3987, Text_189A92 - msgbox Text_189A9F, 6 + msgbox Text_189A9F, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABE5D:: @ 81ABE5D @@ -2265,12 +2265,12 @@ OneIsland_KindleRoad_EventScript_1ABE5D:: @ 81ABE5D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABE84 - msgbox Text_189B24, 6 + msgbox Text_189B24, MSGBOX_AUTOCLOSE end EventScript_1ABE84:: @ 81ABE84 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CLAIRE, 0, Text_1C39C6, Text_189B0B - msgbox Text_189B24, 6 + msgbox Text_189B24, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABE9B:: @ 81ABE9B @@ -2278,12 +2278,12 @@ OneIsland_KindleRoad_EventScript_1ABE9B:: @ 81ABE9B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABEC6 - msgbox Text_189BA3, 6 + msgbox Text_189BA3, MSGBOX_AUTOCLOSE end EventScript_1ABEC6:: @ 81ABEC6 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A05, Text_189B84, Text_189BDE - msgbox Text_189BA3, 6 + msgbox Text_189BA3, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABEE1:: @ 81ABEE1 @@ -2291,12 +2291,12 @@ OneIsland_KindleRoad_EventScript_1ABEE1:: @ 81ABEE1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABF0C - msgbox Text_189C7E, 6 + msgbox Text_189C7E, MSGBOX_AUTOCLOSE end EventScript_1ABF0C:: @ 81ABF0C trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A55, Text_189C62, Text_189CAB - msgbox Text_189C7E, 6 + msgbox Text_189C7E, MSGBOX_AUTOCLOSE end OneIsland_TreasureBeach_EventScript_1ABF27:: @ 81ABF27 @@ -2304,12 +2304,12 @@ OneIsland_TreasureBeach_EventScript_1ABF27:: @ 81ABF27 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABF4E - msgbox Text_189DA3, 6 + msgbox Text_189DA3, MSGBOX_AUTOCLOSE end EventScript_1ABF4E:: @ 81ABF4E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_1C3773, Text_189D8B - msgbox Text_189DA3, 6 + msgbox Text_189DA3, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1ABF65:: @ 81ABF65 @@ -2317,12 +2317,12 @@ ThreeIsland_BondBridge_EventScript_1ABF65:: @ 81ABF65 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABF8C - msgbox Text_189E9E, 6 + msgbox Text_189E9E, MSGBOX_AUTOCLOSE end EventScript_1ABF8C:: @ 81ABF8C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_NIKKI, 0, Text_1C3AA7, Text_189E72 - msgbox Text_189E9E, 6 + msgbox Text_189E9E, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1ABFA3:: @ 81ABFA3 @@ -2330,12 +2330,12 @@ ThreeIsland_BondBridge_EventScript_1ABFA3:: @ 81ABFA3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ABFCA - msgbox Text_189F21, 6 + msgbox Text_189F21, MSGBOX_AUTOCLOSE end EventScript_1ABFCA:: @ 81ABFCA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_VIOLET, 0, Text_1C3ABF, Text_189EFA - msgbox Text_189F21, 6 + msgbox Text_189F21, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1ABFE1:: @ 81ABFE1 @@ -2343,12 +2343,12 @@ ThreeIsland_BondBridge_EventScript_1ABFE1:: @ 81ABFE1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC008 - msgbox Text_189FA8, 6 + msgbox Text_189FA8, MSGBOX_AUTOCLOSE end EventScript_1AC008:: @ 81AC008 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TUBER_AMIRA, 0, Text_1C3AF2, Text_189F9A - msgbox Text_189FA8, 6 + msgbox Text_189FA8, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1AC01F:: @ 81AC01F @@ -2356,12 +2356,12 @@ ThreeIsland_BondBridge_EventScript_1AC01F:: @ 81AC01F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC046 - msgbox Text_18A000, 6 + msgbox Text_18A000, MSGBOX_AUTOCLOSE end EventScript_1AC046:: @ 81AC046 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TUBER_ALEXIS, 0, Text_1C3B1D, Text_189FEE - msgbox Text_18A000, 6 + msgbox Text_18A000, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1AC05D:: @ 81AC05D @@ -2369,12 +2369,12 @@ ThreeIsland_BondBridge_EventScript_1AC05D:: @ 81AC05D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC084 - msgbox Text_18A082, 6 + msgbox Text_18A082, MSGBOX_AUTOCLOSE end EventScript_1AC084:: @ 81AC084 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_1C3B30, Text_18A053 - msgbox Text_18A082, 6 + msgbox Text_18A082, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1AC09B:: @ 81AC09B @@ -2382,12 +2382,12 @@ ThreeIsland_BondBridge_EventScript_1AC09B:: @ 81AC09B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC0C6 - msgbox Text_18A106, 6 + msgbox Text_18A106, MSGBOX_AUTOCLOSE end EventScript_1AC0C6:: @ 81AC0C6 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B6E, Text_18A0F7, Text_18A138 - msgbox Text_18A106, 6 + msgbox Text_18A106, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1AC0E1:: @ 81AC0E1 @@ -2395,12 +2395,12 @@ ThreeIsland_BondBridge_EventScript_1AC0E1:: @ 81AC0E1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC10C - msgbox Text_18A1B2, 6 + msgbox Text_18A1B2, MSGBOX_AUTOCLOSE end EventScript_1AC10C:: @ 81AC10C trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B99, Text_18A1A3, Text_18A1CD - msgbox Text_18A1B2, 6 + msgbox Text_18A1B2, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC127:: @ 81AC127 @@ -2408,12 +2408,12 @@ FiveIsland_ResortGorgeous_EventScript_1AC127:: @ 81AC127 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC14E - msgbox Text_18A430, 6 + msgbox Text_18A430, MSGBOX_AUTOCLOSE end EventScript_1AC14E:: @ 81AC14E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_DAISY, 0, Text_1C3BF6, Text_18A40E - msgbox Text_18A430, 6 + msgbox Text_18A430, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC165:: @ 81AC165 @@ -2421,12 +2421,12 @@ FiveIsland_ResortGorgeous_EventScript_1AC165:: @ 81AC165 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC18C - msgbox Text_18A4C6, 6 + msgbox Text_18A4C6, MSGBOX_AUTOCLOSE end EventScript_1AC18C:: @ 81AC18C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_CELINA, 0, Text_1C3C28, Text_18A49E - msgbox Text_18A4C6, 6 + msgbox Text_18A4C6, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC1A3:: @ 81AC1A3 @@ -2434,12 +2434,12 @@ FiveIsland_ResortGorgeous_EventScript_1AC1A3:: @ 81AC1A3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC1CA - msgbox Text_18A555, 6 + msgbox Text_18A555, MSGBOX_AUTOCLOSE end EventScript_1AC1CA:: @ 81AC1CA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_RAYNA, 0, Text_1C3C70, Text_18A535 - msgbox Text_18A555, 6 + msgbox Text_18A555, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC1E1:: @ 81AC1E1 @@ -2447,12 +2447,12 @@ FiveIsland_ResortGorgeous_EventScript_1AC1E1:: @ 81AC1E1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC208 - msgbox Text_18A601, 6 + msgbox Text_18A601, MSGBOX_AUTOCLOSE end EventScript_1AC208:: @ 81AC208 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LADY_JACKI, 0, Text_1C3CB0, Text_18A5EE - msgbox Text_18A601, 6 + msgbox Text_18A601, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC21F:: @ 81AC21F @@ -2460,12 +2460,12 @@ FiveIsland_ResortGorgeous_EventScript_1AC21F:: @ 81AC21F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC246 - msgbox Text_18A699, 6 + msgbox Text_18A699, MSGBOX_AUTOCLOSE end EventScript_1AC246:: @ 81AC246 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LADY_GILLIAN, 0, Text_1C3CF1, Text_18A67F - msgbox Text_18A699, 6 + msgbox Text_18A699, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC25D:: @ 81AC25D @@ -2473,12 +2473,12 @@ FiveIsland_ResortGorgeous_EventScript_1AC25D:: @ 81AC25D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC284 - msgbox Text_18A715, 6 + msgbox Text_18A715, MSGBOX_AUTOCLOSE end EventScript_1AC284:: @ 81AC284 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DESTIN, 0, Text_1C3D47, Text_18A6FE - msgbox Text_18A715, 6 + msgbox Text_18A715, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC29B:: @ 81AC29B @@ -2486,12 +2486,12 @@ FiveIsland_ResortGorgeous_EventScript_1AC29B:: @ 81AC29B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC2C2 - msgbox Text_18A7AC, 6 + msgbox Text_18A7AC, MSGBOX_AUTOCLOSE end EventScript_1AC2C2:: @ 81AC2C2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_TOBY, 0, Text_1C3D73, Text_18A786 - msgbox Text_18A7AC, 6 + msgbox Text_18A7AC, MSGBOX_AUTOCLOSE end FiveIsland_WaterLabyrinth_EventScript_1AC2D9:: @ 81AC2D9 @@ -2499,12 +2499,12 @@ FiveIsland_WaterLabyrinth_EventScript_1AC2D9:: @ 81AC2D9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC300 - msgbox Text_18AB37, 6 + msgbox Text_18AB37, MSGBOX_AUTOCLOSE end EventScript_1AC300:: @ 81AC300 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_1C3BB7, Text_18AB0B - msgbox Text_18AB37, 6 + msgbox Text_18AB37, MSGBOX_AUTOCLOSE end FiveIsland_MemorialPillar_EventScript_1AC317:: @ 81AC317 @@ -2512,12 +2512,12 @@ FiveIsland_MemorialPillar_EventScript_1AC317:: @ 81AC317 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC33E - msgbox Text_18AEB6, 6 + msgbox Text_18AEB6, MSGBOX_AUTOCLOSE end EventScript_1AC33E:: @ 81AC33E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MILO, 0, Text_1C3DA2, Text_18AEA8 - msgbox Text_18AEB6, 6 + msgbox Text_18AEB6, MSGBOX_AUTOCLOSE end FiveIsland_MemorialPillar_EventScript_1AC355:: @ 81AC355 @@ -2525,12 +2525,12 @@ FiveIsland_MemorialPillar_EventScript_1AC355:: @ 81AC355 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC37C - msgbox Text_18AF45, 6 + msgbox Text_18AF45, MSGBOX_AUTOCLOSE end EventScript_1AC37C:: @ 81AC37C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_1C3E0F, Text_18AF39 - msgbox Text_18AF45, 6 + msgbox Text_18AF45, MSGBOX_AUTOCLOSE end FiveIsland_MemorialPillar_EventScript_1AC393:: @ 81AC393 @@ -2538,12 +2538,12 @@ FiveIsland_MemorialPillar_EventScript_1AC393:: @ 81AC393 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC3BA - msgbox Text_18AFF2, 6 + msgbox Text_18AFF2, MSGBOX_AUTOCLOSE end EventScript_1AC3BA:: @ 81AC3BA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_1C3E6A, Text_18AFCC - msgbox Text_18AFF2, 6 + msgbox Text_18AFF2, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC3D1:: @ 81AC3D1 @@ -2551,12 +2551,12 @@ SixIsland_OutcastIsland_EventScript_1AC3D1:: @ 81AC3D1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC3F8 - msgbox Text_18B451, 6 + msgbox Text_18B451, MSGBOX_AUTOCLOSE end EventScript_1AC3F8:: @ 81AC3F8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_TYLOR, 0, Text_1C3ED0, Text_18B43B - msgbox Text_18B451, 6 + msgbox Text_18B451, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC40F:: @ 81AC40F @@ -2564,12 +2564,12 @@ SixIsland_OutcastIsland_EventScript_1AC40F:: @ 81AC40F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC436 - msgbox Text_18B4D1, 6 + msgbox Text_18B4D1, MSGBOX_AUTOCLOSE end EventScript_1AC436:: @ 81AC436 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_MYMO, 0, Text_1C3F11, Text_18B4C5 - msgbox Text_18B4D1, 6 + msgbox Text_18B4D1, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC44D:: @ 81AC44D @@ -2577,12 +2577,12 @@ SixIsland_OutcastIsland_EventScript_1AC44D:: @ 81AC44D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC474 - msgbox Text_18B573, 6 + msgbox Text_18B573, MSGBOX_AUTOCLOSE end EventScript_1AC474:: @ 81AC474 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_1C3F51, Text_18B539 - msgbox Text_18B573, 6 + msgbox Text_18B573, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC48B:: @ 81AC48B @@ -2590,12 +2590,12 @@ SixIsland_OutcastIsland_EventScript_1AC48B:: @ 81AC48B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC4B6 - msgbox Text_18B62E, 6 + msgbox Text_18B62E, MSGBOX_AUTOCLOSE end EventScript_1AC4B6:: @ 81AC4B6 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3F7B, Text_18B5F4, Text_18B660 - msgbox Text_18B62E, 6 + msgbox Text_18B62E, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC4D1:: @ 81AC4D1 @@ -2603,12 +2603,12 @@ SixIsland_OutcastIsland_EventScript_1AC4D1:: @ 81AC4D1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC4FC - msgbox Text_18B720, 6 + msgbox Text_18B720, MSGBOX_AUTOCLOSE end EventScript_1AC4FC:: @ 81AC4FC trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3FB3, Text_18B6EF, Text_18B762 - msgbox Text_18B720, 6 + msgbox Text_18B720, MSGBOX_AUTOCLOSE end SixIsland_GreenPath_EventScript_1AC517:: @ 81AC517 @@ -2616,12 +2616,12 @@ SixIsland_GreenPath_EventScript_1AC517:: @ 81AC517 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC53E - msgbox Text_18B7FD, 6 + msgbox Text_18B7FD, MSGBOX_AUTOCLOSE end EventScript_1AC53E:: @ 81AC53E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_JACLYN, 0, Text_1C3FE9, Text_18B7F0 - msgbox Text_18B7FD, 6 + msgbox Text_18B7FD, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC555:: @ 81AC555 @@ -2629,12 +2629,12 @@ SixIsland_WaterPath_EventScript_1AC555:: @ 81AC555 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC57C - msgbox Text_18B8F7, 6 + msgbox Text_18B8F7, MSGBOX_AUTOCLOSE end EventScript_1AC57C:: @ 81AC57C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_ROSE, 0, Text_1C4028, Text_18B8C8 - msgbox Text_18B8F7, 6 + msgbox Text_18B8F7, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC593:: @ 81AC593 @@ -2642,12 +2642,12 @@ SixIsland_WaterPath_EventScript_1AC593:: @ 81AC593 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC5BA - msgbox Text_18B9A5, 6 + msgbox Text_18B9A5, MSGBOX_AUTOCLOSE end EventScript_1AC5BA:: @ 81AC5BA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_JUGGLER_EDWARD, 0, Text_1C4057, Text_18B988 - msgbox Text_18B9A5, 6 + msgbox Text_18B9A5, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC5D1:: @ 81AC5D1 @@ -2655,12 +2655,12 @@ SixIsland_WaterPath_EventScript_1AC5D1:: @ 81AC5D1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC5F8 - msgbox Text_18BA57, 6 + msgbox Text_18BA57, MSGBOX_AUTOCLOSE end EventScript_1AC5F8:: @ 81AC5F8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_1C407F, Text_18BA47 - msgbox Text_18BA57, 6 + msgbox Text_18BA57, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC60F:: @ 81AC60F @@ -2668,12 +2668,12 @@ SixIsland_WaterPath_EventScript_1AC60F:: @ 81AC60F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC636 - msgbox Text_18BAE0, 6 + msgbox Text_18BAE0, MSGBOX_AUTOCLOSE end EventScript_1AC636:: @ 81AC636 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_1C40D9, Text_18BAC0 - msgbox Text_18BAE0, 6 + msgbox Text_18BAE0, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC64D:: @ 81AC64D @@ -2681,12 +2681,12 @@ SixIsland_WaterPath_EventScript_1AC64D:: @ 81AC64D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC678 - msgbox Text_18BBF6, 6 + msgbox Text_18BBF6, MSGBOX_AUTOCLOSE end EventScript_1AC678:: @ 81AC678 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_1C4138, Text_18BBE2, Text_18BC24 - msgbox Text_18BBF6, 6 + msgbox Text_18BBF6, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC693:: @ 81AC693 @@ -2694,12 +2694,12 @@ SixIsland_WaterPath_EventScript_1AC693:: @ 81AC693 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC6BE - msgbox Text_18BCAE, 6 + msgbox Text_18BCAE, MSGBOX_AUTOCLOSE end EventScript_1AC6BE:: @ 81AC6BE trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_1C4166, Text_18BC84, Text_18BCCF - msgbox Text_18BCAE, 6 + msgbox Text_18BCAE, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC6D9:: @ 81AC6D9 @@ -2707,12 +2707,12 @@ SixIsland_WaterPath_EventScript_1AC6D9:: @ 81AC6D9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC700 - msgbox Text_18BB8B, 6 + msgbox Text_18BB8B, MSGBOX_AUTOCLOSE end EventScript_1AC700:: @ 81AC700 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_EARL, 0, Text_1C40FA, Text_18BB62 - msgbox Text_18BB8B, 6 + msgbox Text_18BB8B, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC717:: @ 81AC717 @@ -2720,12 +2720,12 @@ SixIsland_RuinValley_EventScript_1AC717:: @ 81AC717 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC73E - msgbox Text_18BEA0, 6 + msgbox Text_18BEA0, MSGBOX_AUTOCLOSE end EventScript_1AC73E:: @ 81AC73E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_STANLY, 0, Text_1C4196, Text_18BE9B - msgbox Text_18BEA0, 6 + msgbox Text_18BEA0, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC755:: @ 81AC755 @@ -2733,12 +2733,12 @@ SixIsland_RuinValley_EventScript_1AC755:: @ 81AC755 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC77C - msgbox Text_18BF6C, 6 + msgbox Text_18BF6C, MSGBOX_AUTOCLOSE end EventScript_1AC77C:: @ 81AC77C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_1C41D4, Text_18BF33 - msgbox Text_18BF6C, 6 + msgbox Text_18BF6C, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC793:: @ 81AC793 @@ -2746,12 +2746,12 @@ SixIsland_RuinValley_EventScript_1AC793:: @ 81AC793 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC7BA - msgbox Text_18C04C, 6 + msgbox Text_18C04C, MSGBOX_AUTOCLOSE end EventScript_1AC7BA:: @ 81AC7BA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_LARRY, 0, Text_1C4210, Text_18C03B - msgbox Text_18C04C, 6 + msgbox Text_18C04C, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC7D1:: @ 81AC7D1 @@ -2759,12 +2759,12 @@ SixIsland_RuinValley_EventScript_1AC7D1:: @ 81AC7D1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC7F8 - msgbox Text_18C0EA, 6 + msgbox Text_18C0EA, MSGBOX_AUTOCLOSE end EventScript_1AC7F8:: @ 81AC7F8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_DARYL, 0, Text_1C4280, Text_18C0BB - msgbox Text_18C0EA, 6 + msgbox Text_18C0EA, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC80F:: @ 81AC80F @@ -2772,12 +2772,12 @@ SixIsland_RuinValley_EventScript_1AC80F:: @ 81AC80F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC836 - msgbox Text_18C17A, 6 + msgbox Text_18C17A, MSGBOX_AUTOCLOSE end EventScript_1AC836:: @ 81AC836 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_HECTOR, 0, Text_1C42A0, Text_18C140 - msgbox Text_18C17A, 6 + msgbox Text_18C17A, MSGBOX_AUTOCLOSE end SevenIsland_TrainerTower_EventScript_1AC84D:: @ 81AC84D @@ -2785,12 +2785,12 @@ SevenIsland_TrainerTower_EventScript_1AC84D:: @ 81AC84D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC874 - msgbox Text_18C20E, 6 + msgbox Text_18C20E, MSGBOX_AUTOCLOSE end EventScript_1AC874:: @ 81AC874 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_DARIO, 0, Text_1C42D6, Text_18C205 - msgbox Text_18C20E, 6 + msgbox Text_18C20E, MSGBOX_AUTOCLOSE end SevenIsland_TrainerTower_EventScript_1AC88B:: @ 81AC88B @@ -2798,12 +2798,12 @@ SevenIsland_TrainerTower_EventScript_1AC88B:: @ 81AC88B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC8B2 - msgbox Text_18C2D5, 6 + msgbox Text_18C2D5, MSGBOX_AUTOCLOSE end EventScript_1AC8B2:: @ 81AC8B2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_RODETTE, 0, Text_1C42EE, Text_18C2BC - msgbox Text_18C2D5, 6 + msgbox Text_18C2D5, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC8C9:: @ 81AC8C9 @@ -2811,12 +2811,12 @@ SevenIsland_SevaultCanyon_Entrance_EventScript_1AC8C9:: @ 81AC8C9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC8F0 - msgbox Text_18C3FF, 6 + msgbox Text_18C3FF, MSGBOX_AUTOCLOSE end EventScript_1AC8F0:: @ 81AC8F0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_MIAH, 0, Text_1C4327, Text_18C3E7 - msgbox Text_18C3FF, 6 + msgbox Text_18C3FF, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC907:: @ 81AC907 @@ -2824,12 +2824,12 @@ SevenIsland_SevaultCanyon_Entrance_EventScript_1AC907:: @ 81AC907 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC932 - msgbox Text_18C683, 6 + msgbox Text_18C683, MSGBOX_AUTOCLOSE end EventScript_1AC932:: @ 81AC932 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C4416, Text_18C662, Text_18C6AB - msgbox Text_18C683, 6 + msgbox Text_18C683, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC94D:: @ 81AC94D @@ -2837,12 +2837,12 @@ SevenIsland_SevaultCanyon_Entrance_EventScript_1AC94D:: @ 81AC94D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC978 - msgbox Text_18C773, 6 + msgbox Text_18C773, MSGBOX_AUTOCLOSE end EventScript_1AC978:: @ 81AC978 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C444C, Text_18C73B, Text_18C7BD - msgbox Text_18C773, 6 + msgbox Text_18C773, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC993:: @ 81AC993 @@ -2850,12 +2850,12 @@ SevenIsland_SevaultCanyon_Entrance_EventScript_1AC993:: @ 81AC993 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC9BA - msgbox Text_18C4BA, 6 + msgbox Text_18C4BA, MSGBOX_AUTOCLOSE end EventScript_1AC9BA:: @ 81AC9BA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_JUGGLER_MASON, 0, Text_1C4374, Text_18C473 - msgbox Text_18C4BA, 6 + msgbox Text_18C4BA, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC9D1:: @ 81AC9D1 @@ -2863,12 +2863,12 @@ SevenIsland_SevaultCanyon_Entrance_EventScript_1AC9D1:: @ 81AC9D1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1AC9F8 - msgbox Text_18C54B, 6 + msgbox Text_18C54B, MSGBOX_AUTOCLOSE end EventScript_1AC9F8:: @ 81AC9F8 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_1C43AD, Text_18C543 - msgbox Text_18C54B, 6 + msgbox Text_18C54B, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1ACA0F:: @ 81ACA0F @@ -2876,12 +2876,12 @@ SevenIsland_SevaultCanyon_Entrance_EventScript_1ACA0F:: @ 81ACA0F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACA36 - msgbox Text_18C5F5, 6 + msgbox Text_18C5F5, MSGBOX_AUTOCLOSE end EventScript_1ACA36:: @ 81ACA36 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_MADELINE, 0, Text_1C43EC, Text_18C5CD - msgbox Text_18C5F5, 6 + msgbox Text_18C5F5, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACA4D:: @ 81ACA4D @@ -2889,12 +2889,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACA4D:: @ 81ACA4D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACA74 - msgbox Text_18C8C2, 6 + msgbox Text_18C8C2, MSGBOX_AUTOCLOSE end EventScript_1ACA74:: @ 81ACA74 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_1C4491, Text_18C8A6 - msgbox Text_18C8C2, 6 + msgbox Text_18C8C2, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACA8B:: @ 81ACA8B @@ -2902,12 +2902,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACA8B:: @ 81ACA8B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACAB2 - msgbox Text_18C999, 6 + msgbox Text_18C999, MSGBOX_AUTOCLOSE end EventScript_1ACAB2:: @ 81ACAB2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TAMER_EVAN, 0, Text_1C44CB, Text_18C980 - msgbox Text_18C999, 6 + msgbox Text_18C999, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACAC9:: @ 81ACAC9 @@ -2915,12 +2915,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACAC9:: @ 81ACAC9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACAF0 - msgbox Text_18CA9C, 6 + msgbox Text_18CA9C, MSGBOX_AUTOCLOSE end EventScript_1ACAF0:: @ 81ACAF0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_JACKSON, 0, Text_1C454E, Text_18CA6F - msgbox Text_18CA9C, 6 + msgbox Text_18CA9C, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACB07:: @ 81ACB07 @@ -2928,12 +2928,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACB07:: @ 81ACB07 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACB2E - msgbox Text_18CB6C, 6 + msgbox Text_18CB6C, MSGBOX_AUTOCLOSE end EventScript_1ACB2E:: @ 81ACB2E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_KATELYN, 0, Text_1C458E, Text_18CB3E - msgbox Text_18CB6C, 6 + msgbox Text_18CB6C, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACB45:: @ 81ACB45 @@ -2941,12 +2941,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACB45:: @ 81ACB45 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACB6C - msgbox Text_18CC09, 6 + msgbox Text_18CC09, MSGBOX_AUTOCLOSE end EventScript_1ACB6C:: @ 81ACB6C trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_COOLTRAINER_LEROY, 0, Text_1C45C2, Text_18CBE0 - msgbox Text_18CC09, 6 + msgbox Text_18CC09, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACB83:: @ 81ACB83 @@ -2954,12 +2954,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACB83:: @ 81ACB83 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACBAA - msgbox Text_18CCEA, 6 + msgbox Text_18CCEA, MSGBOX_AUTOCLOSE end EventScript_1ACBAA:: @ 81ACBAA trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_COOLTRAINER_MICHELLE, 0, Text_1C45FB, Text_18CCAE - msgbox Text_18CCEA, 6 + msgbox Text_18CCEA, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACBC1:: @ 81ACBC1 @@ -2967,12 +2967,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACBC1:: @ 81ACBC1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACBEC - msgbox Text_18CD9C, 6 + msgbox Text_18CD9C, MSGBOX_AUTOCLOSE end EventScript_1ACBEC:: @ 81ACBEC trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4662, Text_18CD75, Text_18CDE2 - msgbox Text_18CD9C, 6 + msgbox Text_18CD9C, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACC07:: @ 81ACC07 @@ -2980,12 +2980,12 @@ SevenIsland_SevaultCanyon_EventScript_1ACC07:: @ 81ACC07 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACC32 - msgbox Text_18CE78, 6 + msgbox Text_18CE78, MSGBOX_AUTOCLOSE end EventScript_1ACC32:: @ 81ACC32 trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4699, Text_18CE5A, Text_18CEF4 - msgbox Text_18CE78, 6 + msgbox Text_18CE78, MSGBOX_AUTOCLOSE end SevenIsland_TanobyRuins_EventScript_1ACC4D:: @ 81ACC4D @@ -2993,12 +2993,12 @@ SevenIsland_TanobyRuins_EventScript_1ACC4D:: @ 81ACC4D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACC74 - msgbox Text_18D061, 6 + msgbox Text_18D061, MSGBOX_AUTOCLOSE end EventScript_1ACC74:: @ 81ACC74 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_1C46D3, Text_18D02A - msgbox Text_18D061, 6 + msgbox Text_18D061, MSGBOX_AUTOCLOSE end SevenIsland_TanobyRuins_EventScript_1ACC8B:: @ 81ACC8B @@ -3006,12 +3006,12 @@ SevenIsland_TanobyRuins_EventScript_1ACC8B:: @ 81ACC8B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACCB2 - msgbox Text_18D125, 6 + msgbox Text_18D125, MSGBOX_AUTOCLOSE end EventScript_1ACCB2:: @ 81ACCB2 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_1C470A, Text_18D108 - msgbox Text_18D125, 6 + msgbox Text_18D125, MSGBOX_AUTOCLOSE end SevenIsland_TanobyRuins_EventScript_1ACCC9:: @ 81ACCC9 @@ -3019,12 +3019,12 @@ SevenIsland_TanobyRuins_EventScript_1ACCC9:: @ 81ACCC9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACCF0 - msgbox Text_18D1E3, 6 + msgbox Text_18D1E3, MSGBOX_AUTOCLOSE end EventScript_1ACCF0:: @ 81ACCF0 trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_EDNA, 0, Text_1C4739, Text_18D1B5 - msgbox Text_18D1E3, 6 + msgbox Text_18D1E3, MSGBOX_AUTOCLOSE end SevenIsland_TanobyRuins_EventScript_1ACD07:: @ 81ACD07 @@ -3032,10 +3032,10 @@ SevenIsland_TanobyRuins_EventScript_1ACD07:: @ 81ACD07 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 goto_if eq, EventScript_1ACD2E - msgbox Text_18D284, 6 + msgbox Text_18D284, MSGBOX_AUTOCLOSE end EventScript_1ACD2E:: @ 81ACD2E trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_1C476A, Text_18D26D - msgbox Text_18D284, 6 + msgbox Text_18D284, MSGBOX_AUTOCLOSE end -- cgit v1.2.3 From c39d295386654b34982d384a332b8cb7b2e55e24 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 9 Jan 2020 00:15:41 -0500 Subject: Label used movement steps --- data/scripts/cable_club.inc | 42 +++++++++---------- data/scripts/field_moves.inc | 4 +- data/scripts/move_tutors.inc | 8 ++-- data/scripts/movement.inc | 82 ++++++++++++++++++++++++++++++++++++++ data/scripts/pkmn_center_nurse.inc | 8 ++-- 5 files changed, 113 insertions(+), 31 deletions(-) create mode 100644 data/scripts/movement.inc (limited to 'data/scripts') diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index e3b5c4806..53869703e 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -195,7 +195,7 @@ CableClub_EventScript_PlayerExitLinkRoom:: @ 81BB40A CableClub_EventScript_Tutorial:: @ 81BB415 lockall textcolor 1 - applymovement OBJ_EVENT_ID_PLAYER, Movement_1A75E9 + applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp waitmovement 0 msgbox gUnknown_81BD898 closemessage @@ -208,8 +208,8 @@ CableClub_EventScript_Tutorial:: @ 81BB415 end Movement_1BB447:: @ 81BB447 - step_11 - step_11 + walk_up + walk_up step_end EventScript_1BB44A:: @ 81BB44A @@ -556,51 +556,51 @@ EventScript_1BB881:: @ 81BB881 end Movement_1BB88B:: @ 81BB88B - step_00 + face_down step_end Movement_1BB88D:: @ 81BB88D - step_03 + face_right step_end Movement_1BB88F:: @ 81BB88F - step_02 + face_left step_end Movement_1BB891:: @ 81BB891 - step_10 - step_10 + walk_down + walk_down step_end Movement_1BB894:: @ 81BB894 - step_13 - step_11 - step_11 + walk_right + walk_up + walk_up step_end Movement_1BB898:: @ 81BB898 - step_12 - step_11 - step_11 + walk_left + walk_up + walk_up step_end Movement_1BB89C:: @ 81BB89C - step_11 + walk_up step_end Movement_1BB89E:: @ 81BB89E - step_02 + face_left step_end Movement_1BB8A0:: @ 81BB8A0 - step_03 + face_right step_end Movement_1BB8A2:: @ 81BB8A2 - step_12 - step_11 - step_11 - step_11 + walk_left + walk_up + walk_up + walk_up step_end gUnknown_81BB8A7:: @ 81BB8A7 diff --git a/data/scripts/field_moves.inc b/data/scripts/field_moves.inc index d0729d900..89ef6d622 100644 --- a/data/scripts/field_moves.inc +++ b/data/scripts/field_moves.inc @@ -36,7 +36,7 @@ EventScript_1BDF76:: @ 81BDF76 end Movement_1BDF85:: @ 81BDF85 - step_69 + cut_tree step_end EventScript_1BDF87:: @ 81BDF87 @@ -107,7 +107,7 @@ EventScript_1BE08D:: @ 81BE08D end Movement_1BE08F:: @ 81BE08F - step_68 + rock_smash_break step_end EventScript_1BE091:: @ 81BE091 diff --git a/data/scripts/move_tutors.inc b/data/scripts/move_tutors.inc index b0bf1dba4..d25a694be 100644 --- a/data/scripts/move_tutors.inc +++ b/data/scripts/move_tutors.inc @@ -582,17 +582,17 @@ EventScript_1C4F37:: @ 81C4F37 return Movement_1C4F4C:: @ 81C4F4C - step_52 + jump_in_place_down step_end Movement_1C4F4E:: @ 81C4F4E - step_53 + jump_in_place_up step_end Movement_1C4F50:: @ 81C4F50 - step_54 + jump_in_place_left step_end Movement_1C4F52:: @ 81C4F52 - step_55 + jump_in_place_right step_end diff --git a/data/scripts/movement.inc b/data/scripts/movement.inc new file mode 100644 index 000000000..6a411d811 --- /dev/null +++ b/data/scripts/movement.inc @@ -0,0 +1,82 @@ +Movement_QuestionMark:: @ 81A75D9 + emote_question_mark + step_end + +Movement_ExclamationMark:: @ 81A75DB + emote_exclamation_mark + step_end + +Movement_Delay48:: @ 81A75DD + delay_16 + delay_16 + delay_16 + step_end + +Movement_FacePlayer:: @ 81A75E1 + face_player + step_end + +@ Unused +Movement_FaceAwayPlayer:: @ 81A75E3 + face_away_player + step_end + +Movement_FaceOriginalDirection:: @ 81A75E5 + face_original_direction + step_end + +Movement_WalkInPlaceFastestLeft:: @ 81A75E7 + walk_in_place_fastest_left + step_end + +Movement_WalkInPlaceFastestUp:: @ 81A75E9 + walk_in_place_fastest_up + step_end + +Movement_WalkInPlaceFastestRight:: @ 81A75EB + walk_in_place_fastest_right + step_end + +Movement_WalkInPlaceFastestDown:: @ 81A75ED + walk_in_place_fastest_down + step_end + +Movement_FaceRight:: @ 81A75EF + face_right + step_end + +Movement_FaceDown:: @ 81A75F1 + face_down + step_end + +Movement_WalkUp5:: @ 81A75F3 + walk_up + walk_up + walk_up + walk_up + walk_up + step_end + +@ Unused +Movement_WalkUp4:: @ 81A75F9 + walk_up + walk_up + walk_up + walk_up + step_end + +Movement_Delay32:: @ 81A75FE + delay_16 + delay_16 + step_end + +@ Unused +Movement_WalkUp:: @ 81A7601 + walk_up + step_end + +@ Unused +Movement_WalkUp2:: @ 81A7603 + walk_up + walk_up + step_end diff --git a/data/scripts/pkmn_center_nurse.inc b/data/scripts/pkmn_center_nurse.inc index adf709ee3..bad257087 100644 --- a/data/scripts/pkmn_center_nurse.inc +++ b/data/scripts/pkmn_center_nurse.inc @@ -21,11 +21,11 @@ EventScript_PkmnCenterNurse_HealPkmn:: @ 81A65B8 end EventScript_PkmnCenterNurse_TakeAndHealPkmn:: @ 81A65CE - applymovement VAR_LAST_TALKED, Movement_1A75E7 + applymovement VAR_LAST_TALKED, Movement_WalkInPlaceFastestLeft waitmovement 0 dofieldeffect FLDEFF_POKECENTER_HEAL waitfieldeffect FLDEFF_POKECENTER_HEAL - applymovement VAR_LAST_TALKED, Movement_1A75ED + applymovement VAR_LAST_TALKED, Movement_WalkInPlaceFastestDown waitmovement 0 special sp000_heal_pokemon return @@ -67,6 +67,6 @@ EventScript_PkmnCenterNurse_Goodbye:: @ 81A6663 return Movement_1A666C:: @ 81A666C - step_5b - step_1a + nurse_joy_bow + delay_4 step_end -- cgit v1.2.3 From a40c63fe4896ccd76f6f63bdbd940de8cc946fae Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 9 Jan 2020 13:25:10 -0500 Subject: Use dir constants --- data/scripts/cable_club.inc | 2 +- data/scripts/move_tutors.inc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index 53869703e..e702b9a13 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -38,7 +38,7 @@ CableClub_OnWarp:: @ 81BB1ED EventScript_CheckTurnAttendant:: @ 81BB227 compare VAR_0x8007, 0 goto_if eq, EventScript_CheckTurnAttendantEnd - turnobject VAR_0x8007, 3 + turnobject VAR_0x8007, DIR_WEST EventScript_CheckTurnAttendantEnd: end diff --git a/data/scripts/move_tutors.inc b/data/scripts/move_tutors.inc index d25a694be..211c2a935 100644 --- a/data/scripts/move_tutors.inc +++ b/data/scripts/move_tutors.inc @@ -478,13 +478,13 @@ TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC compare VAR_RESULT, 0 goto_if eq, EventScript_1C4F26 copyvar VAR_0x8009, VAR_0x8005 - compare VAR_FACING, 2 + compare VAR_FACING, DIR_NORTH call_if eq, EventScript_1C4EF0 - compare VAR_FACING, 1 + compare VAR_FACING, DIR_SOUTH call_if eq, EventScript_1C4EFB - compare VAR_FACING, 4 + compare VAR_FACING, DIR_EAST call_if eq, EventScript_1C4F06 - compare VAR_FACING, 3 + compare VAR_FACING, DIR_WEST call_if eq, EventScript_1C4F11 msgbox Text_1A4751, MSGBOX_YESNO compare VAR_RESULT, NO -- cgit v1.2.3 From d071f055041d551b33fafac01e6bbe28aaee746f Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 9 Jan 2020 13:25:10 -0500 Subject: Split more files from event_scripts.s --- data/scripts/obtain_item.inc | 248 +++++++++++++++++ data/scripts/pc.inc | 108 ++++++++ data/scripts/silphco_doors.inc | 585 +++++++++++++++++++++++++++++++++++++++++ data/scripts/test.inc | 27 ++ 4 files changed, 968 insertions(+) create mode 100644 data/scripts/obtain_item.inc create mode 100644 data/scripts/pc.inc create mode 100644 data/scripts/silphco_doors.inc create mode 100644 data/scripts/test.inc (limited to 'data/scripts') diff --git a/data/scripts/obtain_item.inc b/data/scripts/obtain_item.inc new file mode 100644 index 000000000..d919d5fc6 --- /dev/null +++ b/data/scripts/obtain_item.inc @@ -0,0 +1,248 @@ +EventScript_1A666F:: @ 81A666F + copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID + return + +EventScript_1A6675:: @ 81A6675 + copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS + return + +Std_ObtainItem:: @ 81A667B + copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID + textcolor 3 + additem VAR_0x8000, VAR_0x8001 + copyvar VAR_0x8007, VAR_RESULT + call EventScript_1A6697 + copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS + return + +EventScript_1A6697:: @ 81A6697 + bufferitemnameplural 1, VAR_0x8000, VAR_0x8001 + checkitemtype VAR_0x8000 + call EventScript_1A66BC + compare VAR_0x8007, 1 + call_if eq, EventScript_1A6749 + compare VAR_0x8007, 0 + call_if eq, EventScript_1A675E + return + +EventScript_1A66BC:: @ 81A66BC + switch VAR_RESULT + case POCKET_ITEMS, EventScript_1A66F9 + case POCKET_KEY_ITEMS, EventScript_1A6709 + case POCKET_POKE_BALLS, EventScript_1A6719 + case POCKET_TM_CASE, EventScript_1A6729 + case POCKET_BERRY_POUCH, EventScript_1A6739 + end + +EventScript_1A66F9:: @ 81A66F9 + getstdstring 2, 24 + compare VAR_0x8007, 1 + call_if eq, EventScript_1A6764 + return + +EventScript_1A6709:: @ 81A6709 + getstdstring 2, 25 + compare VAR_0x8007, 1 + call_if eq, EventScript_1A6764 + return + +EventScript_1A6719:: @ 81A6719 + getstdstring 2, 26 + compare VAR_0x8007, 1 + call_if eq, EventScript_1A6764 + return + +EventScript_1A6729:: @ 81A6729 + getstdstring 2, 27 + compare VAR_0x8007, 1 + call_if eq, EventScript_1A6768 + return + +EventScript_1A6739:: @ 81A6739 + getstdstring 2, 28 + compare VAR_0x8007, 1 + call_if eq, EventScript_1A6764 + return + +EventScript_1A6749:: @ 81A6749 + message Text_ObtainedTheX + waitfanfare + waitmessage + msgbox Text_PutItemAway + setvar VAR_RESULT, 1 + return + +EventScript_1A675E:: @ 81A675E + setvar VAR_RESULT, 0 + return + +EventScript_1A6764:: @ 81A6764 + playfanfare MUS_FANFA1 + return + +EventScript_1A6768:: @ 81A6768 + playfanfare MUS_FANFA1 + return + +Std_ObtainDecoration:: @ 81A676C + adddecor VAR_0x8000 + copyvar VAR_0x8007, VAR_RESULT + call EventScript_1A677A + return + +EventScript_1A677A:: @ 81A677A + getdecorname 1, VAR_0x8000 + compare VAR_0x8007, 1 + call_if eq, EventScript_1A6795 + compare VAR_0x8007, 0 + call_if eq, EventScript_1A67AD + return + +EventScript_1A6795:: @ 81A6795 + playfanfare MUS_FANFA4 + message Text_1A52F0 + waitfanfare + waitmessage + msgbox gUnknown_81A532F + setvar VAR_RESULT, 1 + return + +EventScript_1A67AD:: @ 81A67AD + setvar VAR_RESULT, 0 + return + +Std_FindItem:: @ 81A67B3 + lock + faceplayer + waitse + copyvar VAR_0x8004, VAR_0x8000 + copyvar VAR_0x8005, VAR_0x8001 + checkitemspace VAR_0x8000, VAR_0x8001 + copyvar VAR_0x8007, VAR_RESULT + getitemname 1, VAR_0x8000 + checkitemtype VAR_0x8000 + call EventScript_1A66BC + compare VAR_0x8007, 1 + call_if eq, EventScript_1A67EE + compare VAR_0x8007, 0 + call_if eq, EventScript_1A682D + release + return + +EventScript_1A67EE:: @ 81A67EE + removeobject VAR_LAST_TALKED + additem VAR_0x8004, VAR_0x8005 + specialvar VAR_RESULT, Special_ItemIsTM_GetMoveName + copyvar VAR_0x8008, VAR_RESULT + compare VAR_0x8008, 1 + call_if eq, EventScript_1A6821 + compare VAR_0x8008, 0 + call_if eq, EventScript_1A6827 + waitfanfare + waitmessage + msgbox Text_PutItemAway + return + +EventScript_1A6821:: @ 81A6821 + message Text_1A63E8 + return + +EventScript_1A6827:: @ 81A6827 + message Text_FoundOneItem + return + +EventScript_1A682D:: @ 81A682D + msgbox Text_ObtainedTheX + msgbox Text_TooBadBagFull + setvar VAR_RESULT, 0 + return + +EventScript_PickUpHiddenItem:: @ 81A6843 + lockall + textcolor 3 + waitse + compare VAR_0x8005, 0 + goto_if eq, EventScript_PickUpHiddenCoins + call EventScript_GiveItem + compare VAR_0x8007, 1 + goto_if eq, EventScript_ItemInPocketMessage + compare VAR_0x8007, 0 + goto_if eq, EventScript_BagIsFullMessage + end + +EventScript_GiveItem:: + additem VAR_0x8005, VAR_0x8006 + copyvar VAR_0x8007, VAR_RESULT + getitemname 1, VAR_0x8005 + checkitemtype VAR_0x8005 + call EventScript_1A66BC + return + +EventScript_ItemInPocketMessage:: + compare VAR_0x8006, 1 + call_if eq, EventScript_FoundSingleItemMessage + compare VAR_0x8006, 1 + call_if ne, EventScript_FoundMultipleItemsMessage + waitfanfare + waitmessage + msgbox Text_PutItemAway + special Special_SetHiddenItemFlag + releaseall + end + +EventScript_FoundSingleItemMessage:: + message Text_FoundOneItem + return + +EventScript_FoundCoinsMessage:: + getnumberstring 0, VAR_0x8006 + message Text_FoundXCoins + return + +EventScript_FoundMultipleItemsMessage:: + getnumberstring 0, VAR_0x8006 + message Text_FoundXItems + return + +EventScript_BagIsFullMessage:: + msgbox Text_FoundOneItem + msgbox Text_TooBadBagFull + setvar VAR_RESULT, 0 + releaseall + end + +EventScript_PickUpHiddenCoins:: + checkflag FLAG_GOT_COIN_CASE + goto_if FALSE, EventScript_HiddenCoinsButNoCoinCase + checkcoins VAR_RESULT + specialvar VAR_RESULT, Special_CheckAddCoins + compare VAR_RESULT, 0 + goto_if eq, EventScript_HiddenCoinsButTheCoinCaseIsFull + givecoins VAR_0x8006 + getstdstring 1, 0x17 + call EventScript_1A6764 + call EventScript_FoundCoinsMessage + waitfanfare + waitmessage + msgbox Text_PutCoinsAwayInCoinCase + special Special_SetHiddenItemFlag + releaseall + end + +EventScript_HiddenCoinsButTheCoinCaseIsFull:: + getnumberstring 0, VAR_0x8006 + getstdstring 1, 0x17 + msgbox Text_FoundXCoins + msgbox Text_CoinCaseIsFull + setvar VAR_RESULT, 0 + releaseall + end + +EventScript_HiddenCoinsButNoCoinCase:: + getnumberstring 0, VAR_0x8006 + getstdstring 1, 0x17 + msgbox Text_FoundXCoins + msgbox Text_NothingToPutThemIn + setvar VAR_RESULT, 0 + releaseall + end diff --git a/data/scripts/pc.inc b/data/scripts/pc.inc new file mode 100644 index 000000000..9666a1fd1 --- /dev/null +++ b/data/scripts/pc.inc @@ -0,0 +1,108 @@ +EventScript_PC:: @ 81A6955 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + lockall + checkflag FLAG_SYS_PC_STORAGE_DISABLED + goto_if TRUE, EventScript_PCDisabled + setvar VAR_0x8004, 27 + special Special_SetSomeVariable + setvar VAR_0x8004, 0 + special Special_AnimatePcTurnOn + playse SE_PC_ON + msgbox Text_BootedUpPC + goto EventScript_PCMainMenu + end + +EventScript_PCDisabled:: @ 81A698E + msgbox Text_UsualPCServicesUnavailable + releaseall + end + +EventScript_PCMainMenu:: @ 81A6998 + message Text_AccessWhichPC + waitmessage + special ScrSpecial_CreatePCMenu + waitstate + goto EventScript_ChoosePCMenu + end + +EventScript_ChoosePCMenu:: @ 81A69A8 + switch VAR_RESULT + case 0, EventScript_AccessPokemonStorage + case 1, EventScript_AccessPlayersPC + case 2, EventScript_AccessProfOaksPC + case 3, EventScript_1A6A56 + case 4, EventScript_1A6A46 + case SCR_MENU_CANCEL, EventScript_1A6A46 + end + +EventScript_AccessPlayersPC:: @ 81A69F0 + playse SE_PC_LOGIN + msgbox Text_AccessedPlayersPC + special PlayerPC + waitstate + goto EventScript_PCMainMenu + end + +EventScript_AccessPokemonStorage:: @ 81A6A05 + playse SE_PC_LOGIN + checkflag FLAG_SYS_NOT_SOMEONES_PC + call_if FALSE, EventScript_1A6A34 + checkflag FLAG_SYS_NOT_SOMEONES_PC + call_if TRUE, EventScript_1A6A3D + msgbox Text_OpenedPkmnStorage + special ShowPokemonStorageSystem + waitstate + setvar VAR_0x8004, 27 + special Special_SetSomeVariable + goto EventScript_PCMainMenu + end + +EventScript_1A6A34:: @ 81A6A34 + msgbox Text_AccessedSomeonesPC + return + +EventScript_1A6A3D:: @ 81A6A3D + msgbox Text_AccessedBillsPC + return + +EventScript_1A6A46:: @ 81A6A46 + setvar VAR_0x8004, 0 + playse SE_PC_OFF + special Special_AnimatePcTurnOff + special sub_812B35C + releaseall + end + +EventScript_1A6A56:: @ 81A6A56 + checkflag FLAG_SYS_GAME_CLEAR + goto_if FALSE, EventScript_1A6A46 + playse SE_PC_LOGIN + setvar VAR_0x8004, 31 + special HelpSystem_BackupSomeVariable + special Special_SetSomeVariable + special HallOfFamePCBeginFade + waitstate + special HelpSystem_RestoreSomeVariable + goto EventScript_ChoosePCMenu + end + +EventScript_AccessProfOaksPC:: @ 81A6A7A + checkflag FLAG_SYS_POKEDEX_GET + goto_if FALSE, EventScript_1A6A46 + playse SE_PC_LOGIN + msgbox Text_AccessedProfOaksPC + msgbox Text_HavePokedexRated, MSGBOX_YESNO + compare VAR_RESULT, NO + goto_if eq, EventScript_ExitOaksPC + setflag FLAG_OAKS_RATING_IS_VIA_PC + call EventScript_1A73E0 + clearflag FLAG_OAKS_RATING_IS_VIA_PC + goto EventScript_ExitOaksPC + end + +EventScript_ExitOaksPC:: @ 81A6AB2 + msgbox Text_ClosedLinkToProfOaksPC + goto EventScript_PCMainMenu + end diff --git a/data/scripts/silphco_doors.inc b/data/scripts/silphco_doors.inc new file mode 100644 index 000000000..07e1db17d --- /dev/null +++ b/data/scripts/silphco_doors.inc @@ -0,0 +1,585 @@ +EventScript_NeedCardKey:: @ 81A8135 + msgbox Text_ItNeedsCardKey + releaseall + end + +EventScript_DoorUnlocked:: @ 81A813F + msgbox Text_TheDoorIsOpen + releaseall + end + +EventScript_Close2FDoor1:: @ 81A8149 + setmetatile 5, 8, 944, 1 + setmetatile 6, 8, 945, 1 + setmetatile 5, 9, 952, 1 + setmetatile 6, 9, 953, 1 + setmetatile 6, 10, 821, 0 + return + +EventScript_Close2FDoor2:: @ 81A8177 + setmetatile 5, 15, 944, 1 + setmetatile 6, 15, 945, 1 + setmetatile 5, 16, 952, 1 + setmetatile 6, 16, 953, 1 + setmetatile 6, 17, 821, 0 + return + +EventScript_Close3FDoor1:: @ 81A81A5 + setmetatile 9, 11, 960, 1 + setmetatile 10, 11, 961, 1 + setmetatile 9, 12, 962, 1 + setmetatile 10, 12, 963, 1 + setmetatile 9, 13, 964, 1 + setmetatile 10, 13, 965, 1 + return + +EventScript_Close3FDoor2:: @ 81A81DC + setmetatile 20, 11, 960, 1 + setmetatile 21, 11, 961, 1 + setmetatile 20, 12, 962, 1 + setmetatile 21, 12, 963, 1 + setmetatile 20, 13, 964, 1 + setmetatile 21, 13, 965, 1 + return + +EventScript_Close4FDoor1:: @ 81A8213 + setmetatile 3, 16, 944, 1 + setmetatile 4, 16, 945, 1 + setmetatile 3, 17, 952, 1 + setmetatile 4, 17, 953, 1 + setmetatile 4, 18, 821, 0 + return + +EventScript_Close4FDoor2:: @ 81A8241 + setmetatile 14, 11, 944, 1 + setmetatile 15, 11, 945, 1 + setmetatile 14, 12, 952, 1 + setmetatile 15, 12, 953, 1 + setmetatile 15, 13, 821, 0 + return + +EventScript_Close5FDoor1:: @ 81A826F + setmetatile 7, 8, 960, 1 + setmetatile 8, 8, 961, 1 + setmetatile 7, 9, 962, 1 + setmetatile 8, 9, 963, 1 + setmetatile 7, 10, 964, 1 + setmetatile 8, 10, 965, 1 + return + +EventScript_Close5FDoor2:: @ 81A82A6 + setmetatile 7, 17, 960, 1 + setmetatile 8, 17, 961, 1 + setmetatile 7, 18, 962, 1 + setmetatile 8, 18, 963, 1 + setmetatile 7, 19, 964, 1 + setmetatile 8, 19, 965, 1 + return + +EventScript_Close5FDoor3:: @ 81A82DD + setmetatile 18, 12, 960, 1 + setmetatile 19, 12, 961, 1 + setmetatile 18, 13, 962, 1 + setmetatile 19, 13, 963, 1 + setmetatile 18, 14, 964, 1 + setmetatile 19, 14, 965, 1 + return + +EventScript_Close6FDoor:: @ 81A8314 + setmetatile 5, 14, 960, 1 + setmetatile 6, 14, 961, 1 + setmetatile 5, 15, 962, 1 + setmetatile 6, 15, 963, 1 + setmetatile 5, 16, 964, 1 + setmetatile 6, 16, 965, 1 + return + +EventScript_Close7FDoor1:: @ 81A834B + setmetatile 11, 8, 944, 1 + setmetatile 12, 8, 945, 1 + setmetatile 11, 9, 952, 1 + setmetatile 12, 9, 953, 1 + setmetatile 12, 10, 821, 0 + return + +EventScript_Close7FDoor2:: @ 81A8379 + setmetatile 24, 7, 944, 1 + setmetatile 25, 7, 945, 1 + setmetatile 24, 8, 952, 1 + setmetatile 25, 8, 953, 1 + setmetatile 25, 9, 821, 0 + return + +EventScript_Close7FDoor3:: @ 81A83A7 + setmetatile 25, 13, 944, 1 + setmetatile 26, 13, 945, 1 + setmetatile 25, 14, 952, 1 + setmetatile 26, 14, 953, 1 + setmetatile 26, 15, 821, 0 + return + +EventScript_Close8FDoor:: @ 81A83D5 + setmetatile 5, 9, 960, 1 + setmetatile 6, 9, 961, 1 + setmetatile 5, 10, 962, 1 + setmetatile 6, 10, 963, 1 + setmetatile 5, 11, 964, 1 + setmetatile 6, 11, 965, 1 + return + +EventScript_Close9FDoor1:: @ 81A840C + setmetatile 2, 9, 960, 1 + setmetatile 3, 9, 961, 1 + setmetatile 2, 10, 962, 1 + setmetatile 3, 10, 963, 1 + setmetatile 2, 11, 964, 1 + setmetatile 3, 11, 965, 1 + return + +EventScript_Close9FDoor2:: @ 81A8443 + setmetatile 12, 15, 960, 1 + setmetatile 13, 15, 961, 1 + setmetatile 12, 16, 962, 1 + setmetatile 13, 16, 963, 1 + setmetatile 12, 17, 964, 1 + setmetatile 13, 17, 965, 1 + return + +EventScript_Close9FDoor3:: @ 81A847A + setmetatile 21, 6, 944, 1 + setmetatile 22, 6, 945, 1 + setmetatile 21, 7, 952, 1 + setmetatile 22, 7, 953, 1 + setmetatile 22, 8, 821, 0 + return + +EventScript_Close9FDoor4:: @ 81A84A8 + setmetatile 21, 12, 944, 1 + setmetatile 22, 12, 945, 1 + setmetatile 21, 13, 952, 1 + setmetatile 22, 13, 953, 1 + setmetatile 22, 14, 821, 0 + return + +EventScript_Close10FDoor:: @ 81A84D6 + setmetatile 12, 11, 944, 1 + setmetatile 13, 11, 945, 1 + setmetatile 12, 12, 952, 1 + setmetatile 13, 12, 953, 1 + setmetatile 13, 13, 821, 0 + return + +EventScript_Close11FDoor:: @ 81A8504 + setmetatile 5, 16, 944, 1 + setmetatile 6, 16, 945, 1 + setmetatile 5, 17, 952, 1 + setmetatile 6, 17, 953, 1 + setmetatile 6, 18, 821, 0 + return + +EventScript_Open2FDoor1:: @ 81A8532 + setmetatile 5, 8, 821, 0 + setmetatile 6, 8, 820, 0 + setmetatile 5, 9, 821, 0 + setmetatile 6, 9, 820, 0 + setmetatile 6, 10, 820, 0 + return + +EventScript_Open2FDoor2:: @ 81A8560 + setmetatile 5, 15, 821, 0 + setmetatile 6, 15, 820, 0 + setmetatile 5, 16, 821, 0 + setmetatile 6, 16, 820, 0 + setmetatile 6, 17, 820, 0 + return + +EventScript_Open3FDoor1:: @ 81A858E + setmetatile 9, 11, 839, 1 + setmetatile 10, 11, 838, 1 + setmetatile 9, 12, 821, 0 + setmetatile 10, 12, 821, 0 + setmetatile 9, 13, 825, 0 + setmetatile 10, 13, 826, 0 + return + +EventScript_Open3FDoor2:: @ 81A85C5 + setmetatile 20, 11, 839, 1 + setmetatile 21, 11, 838, 1 + setmetatile 20, 12, 821, 0 + setmetatile 21, 12, 821, 0 + setmetatile 20, 13, 825, 0 + setmetatile 21, 13, 826, 0 + return + +EventScript_Open4FDoor1:: @ 81A85FC + setmetatile 3, 16, 821, 0 + setmetatile 4, 16, 820, 0 + setmetatile 3, 17, 821, 0 + setmetatile 4, 17, 820, 0 + setmetatile 4, 18, 820, 0 + return + +EventScript_Open4FDoor2:: @ 81A862A + setmetatile 14, 11, 821, 0 + setmetatile 15, 11, 820, 0 + setmetatile 14, 12, 821, 0 + setmetatile 15, 12, 820, 0 + setmetatile 15, 13, 820, 0 + return + +EventScript_Open5FDoor1:: @ 81A8658 + setmetatile 7, 8, 839, 1 + setmetatile 8, 8, 838, 1 + setmetatile 7, 9, 821, 0 + setmetatile 8, 9, 821, 0 + setmetatile 7, 10, 825, 0 + setmetatile 8, 10, 826, 0 + return + +EventScript_Open5FDoor2:: @ 81A868F + setmetatile 7, 17, 839, 1 + setmetatile 8, 17, 838, 1 + setmetatile 7, 18, 821, 0 + setmetatile 8, 18, 821, 0 + setmetatile 7, 19, 825, 0 + setmetatile 8, 19, 826, 0 + return + +EventScript_Open5FDoor3:: @ 81A86C6 + setmetatile 18, 12, 839, 1 + setmetatile 19, 12, 838, 1 + setmetatile 18, 13, 821, 0 + setmetatile 19, 13, 821, 0 + setmetatile 18, 14, 825, 0 + setmetatile 19, 14, 826, 0 + return + +EventScript_Open6FDoor:: @ 81A86FD + setmetatile 5, 14, 839, 1 + setmetatile 6, 14, 838, 1 + setmetatile 5, 15, 821, 0 + setmetatile 6, 15, 821, 0 + setmetatile 5, 16, 825, 0 + setmetatile 6, 16, 826, 0 + return + +EventScript_Open7FDoor1:: @ 81A8734 + setmetatile 11, 8, 821, 0 + setmetatile 12, 8, 820, 0 + setmetatile 11, 9, 821, 0 + setmetatile 12, 9, 820, 0 + setmetatile 12, 10, 820, 0 + return + +EventScript_Open7FDoor2:: @ 81A8762 + setmetatile 24, 7, 821, 0 + setmetatile 25, 7, 820, 0 + setmetatile 24, 8, 821, 0 + setmetatile 25, 8, 820, 0 + setmetatile 25, 9, 820, 0 + return + +EventScript_Open7FDoor3:: @ 81A8790 + setmetatile 25, 13, 821, 0 + setmetatile 26, 13, 820, 0 + setmetatile 25, 14, 821, 0 + setmetatile 26, 14, 820, 0 + setmetatile 26, 15, 820, 0 + return + +EventScript_Open8FDoor:: @ 81A87BE + setmetatile 5, 9, 839, 1 + setmetatile 6, 9, 838, 1 + setmetatile 5, 10, 821, 0 + setmetatile 6, 10, 821, 0 + setmetatile 5, 11, 825, 0 + setmetatile 6, 11, 826, 0 + return + +EventScript_Open9FDoor1:: @ 81A87F5 + setmetatile 2, 9, 839, 1 + setmetatile 3, 9, 838, 1 + setmetatile 2, 10, 821, 0 + setmetatile 3, 10, 821, 0 + setmetatile 2, 11, 825, 0 + setmetatile 3, 11, 826, 0 + return + +EventScript_Open9FDoor2:: @ 81A882C + setmetatile 12, 15, 839, 1 + setmetatile 13, 15, 838, 1 + setmetatile 12, 16, 821, 0 + setmetatile 13, 16, 821, 0 + setmetatile 12, 17, 825, 0 + setmetatile 13, 17, 826, 0 + return + +EventScript_Open9FDoor3:: @ 81A8863 + setmetatile 21, 6, 821, 0 + setmetatile 22, 6, 820, 0 + setmetatile 21, 7, 821, 0 + setmetatile 22, 7, 820, 0 + setmetatile 22, 8, 820, 0 + return + +EventScript_Open9FDoor4:: @ 81A8891 + setmetatile 21, 12, 821, 0 + setmetatile 22, 12, 820, 0 + setmetatile 21, 13, 821, 0 + setmetatile 22, 13, 820, 0 + setmetatile 22, 14, 820, 0 + return + +EventScript_Open10FDoor:: @ 81A88BF + setmetatile 12, 11, 821, 0 + setmetatile 13, 11, 820, 0 + setmetatile 12, 12, 821, 0 + setmetatile 13, 12, 820, 0 + setmetatile 13, 13, 820, 0 + return + +EventScript_Open11FDoor:: @ 81A88ED + setmetatile 5, 16, 821, 0 + setmetatile 6, 16, 820, 0 + setmetatile 5, 17, 821, 0 + setmetatile 6, 17, 820, 0 + setmetatile 6, 18, 820, 0 + return + +SilphCo_2F_EventScript_Door1:: @ 81A891B + lockall + setvar VAR_0x4001, 1 + setvar VAR_0x8004, 634 + checkflag FLAG_SILPH_2F_DOOR_1 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_2F_EventScript_Door2:: @ 81A8935 + lockall + setvar VAR_0x4001, 2 + setvar VAR_0x8004, 635 + checkflag FLAG_SILPH_2F_DOOR_2 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_3F_EventScript_Door1:: @ 81A894F + lockall + setvar VAR_0x4001, 3 + setvar VAR_0x8004, 636 + checkflag FLAG_SILPH_3F_DOOR_1 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_3F_EventScript_Door2:: @ 81A8969 + lockall + setvar VAR_0x4001, 4 + setvar VAR_0x8004, 637 + checkflag FLAG_SILPH_3F_DOOR_2 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_4F_EventScript_Door1:: @ 81A8983 + lockall + setvar VAR_0x4001, 5 + setvar VAR_0x8004, 638 + checkflag FLAG_SILPH_4F_DOOR_1 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_4F_EventScript_Door2:: @ 81A899D + lockall + setvar VAR_0x4001, 6 + setvar VAR_0x8004, 639 + checkflag FLAG_SILPH_4F_DOOR_2 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_5F_EventScript_Door1:: @ 81A89B7 + lockall + setvar VAR_0x4001, 7 + setvar VAR_0x8004, 640 + checkflag FLAG_SILPH_5F_DOOR_1 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_5F_EventScript_Door2:: @ 81A89D1 + lockall + setvar VAR_0x4001, 8 + setvar VAR_0x8004, 641 + checkflag FLAG_SILPH_5F_DOOR_2 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_5F_EventScript_Door3:: @ 81A89EB + lockall + setvar VAR_0x4001, 9 + setvar VAR_0x8004, 642 + checkflag FLAG_SILPH_5F_DOOR_3 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_6F_EventScript_Door:: @ 81A8A05 + lockall + setvar VAR_0x4001, 10 + setvar VAR_0x8004, 643 + checkflag FLAG_SILPH_6F_DOOR + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_7F_EventScript_Door1:: @ 81A8A1F + lockall + setvar VAR_0x4001, 11 + setvar VAR_0x8004, 644 + checkflag FLAG_SILPH_7F_DOOR_1 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_7F_EventScript_Door2:: @ 81A8A39 + lockall + setvar VAR_0x4001, 12 + setvar VAR_0x8004, 645 + checkflag FLAG_SILPH_7F_DOOR_2 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_7F_EventScript_Door3:: @ 81A8A53 + lockall + setvar VAR_0x4001, 13 + setvar VAR_0x8004, 646 + checkflag FLAG_SILPH_7F_DOOR_3 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_8F_EventScript_Door:: @ 81A8A6D + lockall + setvar VAR_0x4001, 14 + setvar VAR_0x8004, 647 + checkflag FLAG_SILPH_8F_DOOR + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_9F_EventScript_Door1:: @ 81A8A87 + lockall + setvar VAR_0x4001, 15 + setvar VAR_0x8004, 648 + checkflag FLAG_SILPH_9F_DOOR_1 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_9F_EventScript_Door2:: @ 81A8AA1 + lockall + setvar VAR_0x4001, 16 + setvar VAR_0x8004, 649 + checkflag FLAG_SILPH_9F_DOOR_2 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_9F_EventScript_Door3:: @ 81A8ABB + lockall + setvar VAR_0x4001, 17 + setvar VAR_0x8004, 650 + checkflag FLAG_SILPH_9F_DOOR_3 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_9F_EventScript_Door4:: @ 81A8AD5 + lockall + setvar VAR_0x4001, 18 + setvar VAR_0x8004, 651 + checkflag FLAG_SILPH_9F_DOOR_4 + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_10F_EventScript_Door:: @ 81A8AEF + lockall + setvar VAR_0x4001, 19 + setvar VAR_0x8004, 652 + checkflag FLAG_SILPH_10F_DOOR + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +SilphCo_11F_EventScript_Door:: @ 81A8B09 + lockall + setvar VAR_0x4001, 20 + setvar VAR_0x8004, 653 + checkflag FLAG_SILPH_11F_DOOR + goto_if TRUE, EventScript_DoorUnlocked + goto EventScript_TryUnlockDoor + end + +EventScript_TryUnlockDoor:: @ 81A8B23 + checkflag FLAG_HIDE_SILPH_CO_5F_CARD_KEY + goto_if TRUE, EventScript_OpenDoor + goto EventScript_NeedCardKey + end + +EventScript_OpenDoor:: @ 81A8B32 + playfanfare MUS_FANFA1 + msgbox Text_CardKeyOpenedDoor + waitfanfare + compare VAR_0x4001, 1 + call_if eq, EventScript_Open2FDoor1 + compare VAR_0x4001, 2 + call_if eq, EventScript_Open2FDoor2 + compare VAR_0x4001, 3 + call_if eq, EventScript_Open3FDoor1 + compare VAR_0x4001, 4 + call_if eq, EventScript_Open3FDoor2 + compare VAR_0x4001, 5 + call_if eq, EventScript_Open4FDoor1 + compare VAR_0x4001, 6 + call_if eq, EventScript_Open4FDoor2 + compare VAR_0x4001, 7 + call_if eq, EventScript_Open5FDoor1 + compare VAR_0x4001, 8 + call_if eq, EventScript_Open5FDoor2 + compare VAR_0x4001, 9 + call_if eq, EventScript_Open5FDoor3 + compare VAR_0x4001, 10 + call_if eq, EventScript_Open6FDoor + compare VAR_0x4001, 11 + call_if eq, EventScript_Open7FDoor1 + compare VAR_0x4001, 12 + call_if eq, EventScript_Open7FDoor2 + compare VAR_0x4001, 13 + call_if eq, EventScript_Open7FDoor3 + compare VAR_0x4001, 14 + call_if eq, EventScript_Open8FDoor + compare VAR_0x4001, 15 + call_if eq, EventScript_Open9FDoor1 + compare VAR_0x4001, 16 + call_if eq, EventScript_Open9FDoor2 + compare VAR_0x4001, 17 + call_if eq, EventScript_Open9FDoor3 + compare VAR_0x4001, 18 + call_if eq, EventScript_Open9FDoor4 + compare VAR_0x4001, 19 + call_if eq, EventScript_Open10FDoor + compare VAR_0x4001, 20 + call_if eq, EventScript_Open11FDoor + waitse + playse SE_KI_GASYAN + special DrawWholeMapView + waitse + special Special_SetHiddenItemFlag + releaseall + end diff --git a/data/scripts/test.inc b/data/scripts/test.inc new file mode 100644 index 000000000..55578f159 --- /dev/null +++ b/data/scripts/test.inc @@ -0,0 +1,27 @@ +EventScript_1C5550:: @ 81C5552 + msgbox Text_1C556D, MSGBOX_NPC + end + +EventScript_1C555B:: @ 81C555B + msgbox Text_1C558D, MSGBOX_SIGN + end + +EventScript_1C5564:: @ 81C5564 + msgbox Text_1C55A4, MSGBOX_SIGN + end + +Text_1C556D:: @ 81C556D + .string "テストよう メッセージです!\n" + .string "ポケモンの せかいへ ようこそ!$" + +Text_1C558D:: @ 81C558D + .string "テストよう メッセージです!\n" + .string "かんばん です$" + +Text_1C55A4:: @ 81C55A4 + .string "テストよう メッセージです!\n" + .string "ざひょう チェックの イベントです$" + + .align 2 +Text_1C55C8:: @ 81C55C8 + .string "$" -- cgit v1.2.3 From 0f5e3174d0d4b910beb273de772772d257692c94 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 9 Jan 2020 14:30:22 -0500 Subject: Split more file from event_scripts.s --- data/scripts/pokedex_rating.inc | 89 ++++++++ data/scripts/route23.inc | 229 ++++++++++++++++++++ data/scripts/seagallop.inc | 207 ++++++++++++++++++ data/scripts/static_pokemon.inc | 23 ++ data/scripts/std_msgbox.inc | 63 ++++++ data/scripts/trainer_tower.inc | 450 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 1061 insertions(+) create mode 100644 data/scripts/pokedex_rating.inc create mode 100644 data/scripts/route23.inc create mode 100644 data/scripts/seagallop.inc create mode 100644 data/scripts/static_pokemon.inc create mode 100644 data/scripts/std_msgbox.inc create mode 100644 data/scripts/trainer_tower.inc (limited to 'data/scripts') diff --git a/data/scripts/pokedex_rating.inc b/data/scripts/pokedex_rating.inc new file mode 100644 index 000000000..efa2f0b98 --- /dev/null +++ b/data/scripts/pokedex_rating.inc @@ -0,0 +1,89 @@ +EventScript_1A737B:: @ 81A737B + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + special sub_8112364 + checkflag FLAG_OAK_SAW_DEX_COMPLETION + call_if TRUE, EventScript_1A73A4 + checkflag FLAG_OAK_SAW_DEX_COMPLETION + call_if FALSE, EventScript_1A73AD + call EventScript_1A73E0 + return + +EventScript_1A73A4:: @ 81A73A4 + msgbox Text_1A72F2 + return + +EventScript_1A73AD:: @ 81A73AD + msgbox gUnknown_81A6C51 + return + +EventScript_1A73B6:: @ 81A73B6 + copyvar VAR_0x8004, VAR_0x8009 + special Special_GetProfOaksRatingMessage + waitmessage + compare VAR_RESULT, 0 + call_if eq, EventScript_1A73D8 + compare VAR_RESULT, 1 + call_if eq, EventScript_1A73DC + waitfanfare + waitbuttonpress + return + +EventScript_1A73D8:: @ 81A73D8 + playfanfare MUS_FAN2 + return + +EventScript_1A73DC:: @ 81A73DC + playfanfare MUS_FANFA5 + return + +EventScript_1A73E0:: @ 81A73E0 + setvar VAR_0x8004, 31 + special HelpSystem_BackupSomeVariable + special Special_SetSomeVariable + setvar VAR_0x8004, 0 + specialvar VAR_RESULT, Special_GetPokedexCount + copyvar VAR_0x8008, VAR_0x8005 + copyvar VAR_0x8009, VAR_0x8006 + copyvar VAR_0x800A, VAR_RESULT + getnumberstring 0, VAR_0x8008 + getnumberstring 1, VAR_0x8009 + msgbox Text_1A6CA3 + checkflag FLAG_OAKS_RATING_IS_VIA_PC + call_if FALSE, EventScript_1A746D + call EventScript_1A73B6 + compare VAR_0x800A, 0 + goto_if eq, EventScript_1A748F + setvar VAR_0x8004, 1 + specialvar VAR_RESULT, Special_GetPokedexCount + copyvar VAR_0x8008, VAR_0x8005 + copyvar VAR_0x8009, VAR_0x8006 + getnumberstring 0, VAR_0x8008 + getnumberstring 1, VAR_0x8009 + msgbox Text_1A71AA + specialvar VAR_RESULT, HasAllMons + compare VAR_RESULT, 0 + goto_if eq, EventScript_1A7470 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A747E + end + +EventScript_1A746D:: @ 81A746D + textcolor 0 + return + +EventScript_1A7470:: @ 81A7470 + msgbox Text_1A71EE + goto EventScript_1A748F + end + +EventScript_1A747E:: @ 81A747E + setflag FLAG_OAK_SAW_DEX_COMPLETION + msgbox Text_1A722F + goto EventScript_1A748F + end + +EventScript_1A748F:: @ 81A748F + special HelpSystem_RestoreSomeVariable + return diff --git a/data/scripts/route23.inc b/data/scripts/route23.inc new file mode 100644 index 000000000..fe2baa17a --- /dev/null +++ b/data/scripts/route23.inc @@ -0,0 +1,229 @@ +EventScript_1A77C9:: @ 81A77C9 + msgbox Text_OnlySkilledTrainersAllowedThrough + playse SE_BOO + msgbox Text_CantLetYouPass + release + end + +EventScript_1A77DE:: @ 81A77DE + message Text_OnlyPassWithBadgeDontHaveYet + waitmessage + playse SE_BOO + waitbuttonpress + closemessage + waitse + release + end + +EventScript_1A77EC:: @ 81A77EC + message Text_OhThatsBadgeGoRightAhead + waitmessage + playfanfare MUS_FANFA1 + waitfanfare + waitbuttonpress + release + end + +EventScript_1A77F9:: @ 81A77F9 + msgbox Text_OnlyPassWithBadgeOhGoAhead + release + end + +EventScript_1A7803:: @ 81A7803 + compare VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + goto_if ge, EventScript_1A77EC + switch VAR_0x4001 + case 1, EventScript_1A78D5 + case 2, EventScript_1A78E4 + case 3, EventScript_1A78F3 + case 4, EventScript_1A7902 + case 5, EventScript_1A7911 + case 6, EventScript_1A7920 + case 7, EventScript_1A792F + case 8, EventScript_1A793E + end + +EventScript_1A786C:: @ 81A786C + compare VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + goto_if ge, EventScript_1A77F9 + switch VAR_0x4001 + case 1, EventScript_1A78D5 + case 2, EventScript_1A78E4 + case 3, EventScript_1A78F3 + case 4, EventScript_1A7902 + case 5, EventScript_1A7911 + case 6, EventScript_1A7920 + case 7, EventScript_1A792F + case 8, EventScript_1A793E + end + +EventScript_1A78D5:: @ 81A78D5 + checkflag FLAG_BADGE01_GET + goto_if TRUE, EventScript_1A794D + goto EventScript_1A77C9 + end + +EventScript_1A78E4:: @ 81A78E4 + checkflag FLAG_BADGE02_GET + goto_if TRUE, EventScript_1A795F + goto EventScript_1A77DE + end + +EventScript_1A78F3:: @ 81A78F3 + checkflag FLAG_BADGE03_GET + goto_if TRUE, EventScript_1A795F + goto EventScript_1A77DE + end + +EventScript_1A7902:: @ 81A7902 + checkflag FLAG_BADGE04_GET + goto_if TRUE, EventScript_1A795F + goto EventScript_1A77DE + end + +EventScript_1A7911:: @ 81A7911 + checkflag FLAG_BADGE05_GET + goto_if TRUE, EventScript_1A795F + goto EventScript_1A77DE + end + +EventScript_1A7920:: @ 81A7920 + checkflag FLAG_BADGE06_GET + goto_if TRUE, EventScript_1A795F + goto EventScript_1A77DE + end + +EventScript_1A792F:: @ 81A792F + checkflag FLAG_BADGE07_GET + goto_if TRUE, EventScript_1A795F + goto EventScript_1A77DE + end + +EventScript_1A793E:: @ 81A793E + checkflag FLAG_BADGE08_GET + goto_if TRUE, EventScript_1A795F + goto EventScript_1A77DE + end + +EventScript_1A794D:: @ 81A794D + message Text_OhThatsBadgeGoRightAhead + waitmessage + playfanfare MUS_FANFA1 + waitfanfare + waitbuttonpress + copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + release + end + +EventScript_1A795F:: @ 81A795F + msgbox Text_OnlyPassWithBadgeOhGoAhead + copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + release + end + +EventScript_1A796E:: @ 81A796E + textcolor 0 + applymovement VAR_0x8009, Movement_WalkInPlaceFastestLeft + waitmovement 0 + switch VAR_0x4001 + case 1, EventScript_1A79D8 + case 2, EventScript_1A79E7 + case 3, EventScript_1A79F6 + case 4, EventScript_1A7A05 + case 5, EventScript_1A7A14 + case 6, EventScript_1A7A23 + case 7, EventScript_1A7A32 + case 8, EventScript_1A7A41 + end + +EventScript_1A79D8:: @ 81A79D8 + checkflag FLAG_BADGE01_GET + goto_if TRUE, EventScript_1A7A96 + goto EventScript_1A7A50 + end + +EventScript_1A79E7:: @ 81A79E7 + checkflag FLAG_BADGE02_GET + goto_if TRUE, EventScript_1A7AA8 + goto EventScript_1A7A77 + end + +EventScript_1A79F6:: @ 81A79F6 + checkflag FLAG_BADGE03_GET + goto_if TRUE, EventScript_1A7AA8 + goto EventScript_1A7A77 + end + +EventScript_1A7A05:: @ 81A7A05 + checkflag FLAG_BADGE04_GET + goto_if TRUE, EventScript_1A7AA8 + goto EventScript_1A7A77 + end + +EventScript_1A7A14:: @ 81A7A14 + checkflag FLAG_BADGE05_GET + goto_if TRUE, EventScript_1A7AA8 + goto EventScript_1A7A77 + end + +EventScript_1A7A23:: @ 81A7A23 + checkflag FLAG_BADGE06_GET + goto_if TRUE, EventScript_1A7AA8 + goto EventScript_1A7A77 + end + +EventScript_1A7A32:: @ 81A7A32 + checkflag FLAG_BADGE07_GET + goto_if TRUE, EventScript_1A7AA8 + goto EventScript_1A7A77 + end + +EventScript_1A7A41:: @ 81A7A41 + checkflag FLAG_BADGE08_GET + goto_if TRUE, EventScript_1A7AA8 + goto EventScript_1A7A77 + end + +EventScript_1A7A50:: @ 81A7A50 + msgbox Text_OnlySkilledTrainersAllowedThrough + playse SE_BOO + msgbox Text_CantLetYouPass + closemessage + applymovement OBJ_EVENT_ID_PLAYER, Movement_1A7AB7 + applymovement VAR_0x8009, Movement_WalkInPlaceFastestDown + waitmovement 0 + releaseall + end + +EventScript_1A7A77:: @ 81A7A77 + message Text_OnlyPassWithBadgeDontHaveYet + waitmessage + playse SE_BOO + waitbuttonpress + closemessage + waitse + applymovement OBJ_EVENT_ID_PLAYER, Movement_1A7AB7 + applymovement VAR_0x8009, Movement_WalkInPlaceFastestDown + waitmovement 0 + releaseall + end + +EventScript_1A7A96:: @ 81A7A96 + message Text_OhThatsBadgeGoRightAhead + waitmessage + playfanfare MUS_FANFA1 + waitfanfare + waitbuttonpress + copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + releaseall + end + +EventScript_1A7AA8:: @ 81A7AA8 + msgbox Text_OnlyPassWithBadgeOhGoAhead + copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + releaseall + end + +Movement_1A7AB7:: @ 81A7AB7 + walk_down + step_end diff --git a/data/scripts/seagallop.inc b/data/scripts/seagallop.inc new file mode 100644 index 000000000..0fbfe3f93 --- /dev/null +++ b/data/scripts/seagallop.inc @@ -0,0 +1,207 @@ +EventScript_1A8EC5:: @ 81A8EC5 + compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5 + goto_if ge, EventScript_1A911E + compare VAR_MAP_SCENE_CINNABAR_ISLAND, 4 + goto_if ge, EventScript_1A8F12 + multichoice 19, 6, MULTICHOICE_ISLAND_23, FALSE + switch VAR_RESULT + case 0, EventScript_1A8FF9 + case 1, EventScript_1A9004 + case 2, EventScript_1A90F6 + case SCR_MENU_CANCEL, EventScript_1A90F6 + end + +EventScript_1A8F12:: @ 81A8F12 + multichoice 19, 5, MULTICHOICE_SEAGALLOP_V23, FALSE + switch VAR_RESULT + case 0, EventScript_1A8FE3 + case 1, EventScript_1A8FF9 + case 2, EventScript_1A9004 + case 3, EventScript_1A90F6 + case SCR_MENU_CANCEL, EventScript_1A90F6 + end + +EventScript_1A8F54:: @ 81A8F54 + compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5 + goto_if ge, EventScript_1A911E + compare VAR_MAP_SCENE_CINNABAR_ISLAND, 4 + goto_if ge, EventScript_1A8FA1 + multichoice 19, 6, MULTICHOICE_ISLAND_13, FALSE + switch VAR_RESULT + case 0, EventScript_1A8FEE + case 1, EventScript_1A9004 + case 2, EventScript_1A90F6 + case SCR_MENU_CANCEL, EventScript_1A90F6 + end + +EventScript_1A8FA1:: @ 81A8FA1 + multichoice 19, 5, MULTICHOICE_SEAGALLOP_V13, FALSE + switch VAR_RESULT + case 0, EventScript_1A8FE3 + case 1, EventScript_1A8FEE + case 2, EventScript_1A9004 + case 3, EventScript_1A90F6 + case SCR_MENU_CANCEL, EventScript_1A90F6 + end + +EventScript_1A8FE3:: @ 81A8FE3 + setvar VAR_0x8006, SEAGALLOP_VERMILION_CITY + goto EventScript_1A909E + end + +EventScript_1A8FEE:: @ 81A8FEE + setvar VAR_0x8006, SEAGALLOP_ONE_ISLAND + goto EventScript_1A909E + end + +EventScript_1A8FF9:: @ 81A8FF9 + setvar VAR_0x8006, SEAGALLOP_TWO_ISLAND + goto EventScript_1A909E + end + +EventScript_1A9004:: @ 81A9004 + setvar VAR_0x8006, SEAGALLOP_THREE_ISLAND + goto EventScript_1A909E + end + +EventScript_1A900F:: @ 81A900F + compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5 + goto_if ge, EventScript_1A911E + compare VAR_MAP_SCENE_CINNABAR_ISLAND, 4 + goto_if ge, EventScript_1A905C + multichoice 19, 6, MULTICHOICE_ISLAND_12, FALSE + switch VAR_RESULT + case 0, EventScript_1A8FEE + case 1, EventScript_1A8FF9 + case 2, EventScript_1A90F6 + case SCR_MENU_CANCEL, EventScript_1A90F6 + end + +EventScript_1A905C:: @ 81A905C + multichoice 19, 5, MULTICHOICE_SEAGALLOP_V12, FALSE + switch VAR_RESULT + case 0, EventScript_1A8FE3 + case 1, EventScript_1A8FEE + case 2, EventScript_1A8FF9 + case 3, EventScript_1A90F6 + case SCR_MENU_CANCEL, EventScript_1A90F6 + end + +EventScript_1A909E:: @ 81A909E + specialvar VAR_RESULT, sub_8147500 + getnumberstring 0, VAR_RESULT + compare VAR_0x8004, SEAGALLOP_VERMILION_CITY + goto_if eq, EventScript_1A90BE + compare VAR_0x8004, SEAGALLOP_VERMILION_CITY + goto_if ne, EventScript_1A90CC + end + +EventScript_1A90BE:: @ 81A90BE + msgbox Text_17FB67 + goto EventScript_1A90DA + end + +EventScript_1A90CC:: @ 81A90CC + msgbox Text_1A641B + goto EventScript_1A90DA + end + +EventScript_1A90DA:: @ 81A90DA + closemessage + delay 20 + special sub_8110AB4 + compare VAR_RESULT, 2 + goto_if eq, EventScript_1A7AE0 + special sub_8112364 + fadescreen 1 + special ScrSpecial_SeagallopFerry + waitstate + end + +EventScript_1A90F6:: @ 81A90F6 + specialvar VAR_RESULT, sub_8147594 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1A9108 + release + end + +EventScript_1A9108:: @ 81A9108 + closemessage + applymovement 6, Movement_FaceOriginalDirection + applymovement OBJ_EVENT_ID_PLAYER, Movement_1A911C + waitmovement 0 + releaseall + end + +Movement_1A911C:: @ 81A911C + walk_up + step_end + +EventScript_1A911E:: @ 81A911E + setvar VAR_0x8005, 0 + special Special_DrawSeagallopDestinationMenu + waitstate + specialvar VAR_0x8006, Special_GetSelectedSeagallopDestination + switch VAR_0x8006 + case SEAGALLOP_VERMILION_CITY, EventScript_1A91D5 + case SEAGALLOP_ONE_ISLAND, EventScript_1A91E0 + case SEAGALLOP_TWO_ISLAND, EventScript_1A91EB + case SEAGALLOP_THREE_ISLAND, EventScript_1A91F6 + case SEAGALLOP_FOUR_ISLAND, EventScript_1A9201 + case SEAGALLOP_MORE, EventScript_1A917F + case SCR_MENU_CANCEL, EventScript_1A90F6 + end + +EventScript_1A917F:: @ 81A917F + setvar VAR_0x8005, 1 + special Special_DrawSeagallopDestinationMenu + waitstate + specialvar VAR_0x8006, Special_GetSelectedSeagallopDestination + switch VAR_0x8006 + case SEAGALLOP_FOUR_ISLAND, EventScript_1A9201 + case SEAGALLOP_FIVE_ISLAND, EventScript_1A920C + case SEAGALLOP_SIX_ISLAND, EventScript_1A9217 + case SEAGALLOP_SEVEN_ISLAND, EventScript_1A9222 + case SEAGALLOP_MORE, EventScript_1A911E + case SCR_MENU_CANCEL, EventScript_1A90F6 + end + +EventScript_1A91D5:: @ 81A91D5 + setvar VAR_0x8006, SEAGALLOP_VERMILION_CITY + goto EventScript_1A909E + end + +EventScript_1A91E0:: @ 81A91E0 + setvar VAR_0x8006, SEAGALLOP_ONE_ISLAND + goto EventScript_1A909E + end + +EventScript_1A91EB:: @ 81A91EB + setvar VAR_0x8006, SEAGALLOP_TWO_ISLAND + goto EventScript_1A909E + end + +EventScript_1A91F6:: @ 81A91F6 + setvar VAR_0x8006, SEAGALLOP_THREE_ISLAND + goto EventScript_1A909E + end + +EventScript_1A9201:: @ 81A9201 + setvar VAR_0x8006, SEAGALLOP_FOUR_ISLAND + goto EventScript_1A909E + end + +EventScript_1A920C:: @ 81A920C + setvar VAR_0x8006, SEAGALLOP_FIVE_ISLAND + goto EventScript_1A909E + end + +EventScript_1A9217:: @ 81A9217 + setvar VAR_0x8006, SEAGALLOP_SIX_ISLAND + goto EventScript_1A909E + end + +EventScript_1A9222:: @ 81A9222 + setvar VAR_0x8006, SEAGALLOP_SEVEN_ISLAND + goto EventScript_1A909E + end diff --git a/data/scripts/static_pokemon.inc b/data/scripts/static_pokemon.inc new file mode 100644 index 000000000..ef57cf36d --- /dev/null +++ b/data/scripts/static_pokemon.inc @@ -0,0 +1,23 @@ +EventScript_1A922D:: @ 81A922D + fadescreen 1 + removeobject VAR_LAST_TALKED + fadescreen 0 + release + end + +EventScript_1A9236:: @ 81A9236 + fadescreen 1 + removeobject VAR_LAST_TALKED + fadescreen 0 + getspeciesname 0, VAR_0x8004 + msgbox Text_1A63C4 + release + end + +EventScript_1A924B:: @ 81A924B + message Text_1853E8 + waitmessage + playfanfare MUS_POKEFUE + waitfanfare + msgbox Text_185354 + return diff --git a/data/scripts/std_msgbox.inc b/data/scripts/std_msgbox.inc new file mode 100644 index 000000000..7f7bacd3a --- /dev/null +++ b/data/scripts/std_msgbox.inc @@ -0,0 +1,63 @@ +Std_MsgboxNPC:: @ 81A4E3F + lock + faceplayer + message 0x0 + waitmessage + waitbuttonpress + release + return + +Std_MsgboxSign:: @ 81A4E4A + lockall + message 0x0 + waitmessage + waitbuttonpress + releaseall + return + +Std_MsgboxDefault:: @ 81A4E54 + message 0x0 + waitmessage + waitbuttonpress + return + +Std_MsgboxYesNo:: @ 81A4E5C + message 0x0 + waitmessage + yesnobox 20, 8 + return + +gStdScript_ItemMessageAndFanfare:: @ 81A4E66 + textcolor 3 + compare VAR_0x8002, MUS_FANFA1 + call_if eq, EventScript_1A4EA2 + compare VAR_0x8002, MUS_FAN5 + call_if eq, EventScript_1A4EA6 + message 0x0 + waitmessage + waitfanfare + compare VAR_0x8002, MUS_FANFA1 + call_if eq, EventScript_1A4EAA + putitemaway VAR_0x8000, VAR_0x8001 + call EventScript_1A6675 + return + +EventScript_1A4EA2:: @ 81A4EA2 + playfanfare MUS_FANFA1 + return + +EventScript_1A4EA6:: @ 81A4EA6 + playfanfare MUS_FAN5 + return + +EventScript_1A4EAA:: @ 81A4EAA + delay 50 + return + +EventScript_UnusedReturn:: @ 81A4EAE + return + +EventScript_1A4EAF:: @ 81A4EAF + special Field_AskSaveTheGame + waitstate + return diff --git a/data/scripts/trainer_tower.inc b/data/scripts/trainer_tower.inc new file mode 100644 index 000000000..c3b3cdc2e --- /dev/null +++ b/data/scripts/trainer_tower.inc @@ -0,0 +1,450 @@ +SevenIsland_TrainerTower_1F_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_2F_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_3F_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_4F_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_5F_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_6F_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_7F_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_8F_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_Elevator_MapScript1_1C4F54:: @ 81C4F54 +SevenIsland_TrainerTower_Roof_MapScript1_1C4F54:: @ 81C4F54 + setvar VAR_0x4002, 0 + setvar VAR_0x8004, 10 + special sub_815D9E8 + end + +SevenIsland_TrainerTower_1F_MapScript2_1C4F62:: @ 81C4F62 +SevenIsland_TrainerTower_2F_MapScript2_1C4F62:: @ 81C4F62 +SevenIsland_TrainerTower_3F_MapScript2_1C4F62:: @ 81C4F62 +SevenIsland_TrainerTower_4F_MapScript2_1C4F62:: @ 81C4F62 +SevenIsland_TrainerTower_5F_MapScript2_1C4F62:: @ 81C4F62 +SevenIsland_TrainerTower_6F_MapScript2_1C4F62:: @ 81C4F62 +SevenIsland_TrainerTower_7F_MapScript2_1C4F62:: @ 81C4F62 +SevenIsland_TrainerTower_8F_MapScript2_1C4F62:: @ 81C4F62 + setvar VAR_0x8004, 0 + special sub_815D9E8 + switch VAR_RESULT + case 0, EventScript_1C4FA7 + case 1, EventScript_1C4FC5 + case 2, EventScript_1C5019 + setflag FLAG_TEMP_2 + setflag FLAG_TEMP_3 + setflag FLAG_TEMP_4 + setflag FLAG_TEMP_5 + setvar VAR_0x400E, 1 + setvar VAR_0x400F, 1 + end + +EventScript_1C4FA7:: @ 81C4FA7 + setflag FLAG_TEMP_2 + setflag FLAG_TEMP_4 + setflag FLAG_TEMP_5 + setvar VAR_0x400F, 1 + setobjectxyperm 3, 15, 13 + setobjectmovementtype 3, 9 + goto EventScript_1C5042 + +EventScript_1C4FC5:: @ 81C4FC5 + setflag FLAG_TEMP_3 + setflag FLAG_TEMP_4 + setvar VAR_0x400E, 1 + setvar VAR_0x8004, 5 + special sub_815D9E8 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1C4FFE + setobjectxyperm 2, 10, 12 + setobjectmovementtype 2, 9 + setobjectxyperm 5, 10, 13 + setobjectmovementtype 5, 9 + goto EventScript_1C5042 + +EventScript_1C4FFE:: @ 81C4FFE + setobjectxyperm 2, 10, 12 + setobjectmovementtype 2, 8 + setobjectxyperm 5, 11, 12 + setobjectmovementtype 5, 8 + goto EventScript_1C5042 + +EventScript_1C5019:: @ 81C5019 + setflag FLAG_TEMP_5 + setvar VAR_0x400F, 1 + setobjectxyperm 2, 10, 10 + setobjectmovementtype 2, 8 + setobjectxyperm 3, 14, 13 + setobjectmovementtype 3, 9 + setobjectxyperm 4, 10, 16 + setobjectmovementtype 4, 7 +EventScript_1C5042: + setflag FLAG_TEMP_6 + end + +SevenIsland_TrainerTower_1F_MapScript3_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_2F_MapScript3_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_3F_MapScript3_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_4F_MapScript3_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_5F_MapScript3_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_6F_MapScript3_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_7F_MapScript3_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_8F_MapScript3_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_Elevator_MapScript2_1C5046:: @ 81C5046 +SevenIsland_TrainerTower_Roof_MapScript2_1C5046:: @ 81C5046 + map_script_2 VAR_0x4002, 0, EventScript_1C5050 + .2byte 0 + +EventScript_1C5050:: @ 81C5050 + setvar VAR_0x4002, 1 + setvar VAR_0x8004, 5 + special sub_815D9E8 + compare VAR_RESULT, 0 + goto_if eq, EventScript_1C5072 + setvar VAR_0x400E, 1 + setvar VAR_0x400F, 1 +EventScript_1C5072: + setvar VAR_0x8004, 18 + special sub_815D9E8 + compare VAR_RESULT, 1 + goto_if eq, EventScript_1C5086 + end + +EventScript_1C5086:: @ 81C5086 + warp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 9, 7 + waitstate +EventScript_1C508F:: + setvar VAR_0x8004, 3 + setvar VAR_0x8005, 0 + special sub_815D9E8 + switch VAR_RESULT + case 0, EventScript_1C50C2 + case 1, EventScript_1C510D + case 2, EventScript_1C515C +EventScript_1C50C2: + setvar VAR_0x8004, 19 + special sub_815D9E8 + applymovement 3, Movement_ExclamationMark + waitmovement 0 + applymovement 3, Movement_Delay48 + waitmovement 0 + setvar VAR_0x400E, 1 + applymovement 3, Movement_1C5541 + waitmovement 0 + setvar VAR_0x8004, 1 + setvar VAR_0x8005, 2 + setvar VAR_0x8006, 0 + special sub_815D9E8 + msgbox gStringVar4 + closemessage + goto EventScript_1C5219 + +EventScript_1C510D:: @ 81C510D + setvar VAR_0x8004, 1 + setvar VAR_0x8005, 2 + copyvar VAR_0x8006, VAR_0x4003 + special sub_815D9E8 + msgbox gStringVar4 + setvar VAR_0x8004, 1 + setvar VAR_0x8005, 2 + addvar VAR_0x4003, 1 + compare VAR_0x4003, 1 + goto_if eq, EventScript_1C5146 + setvar VAR_0x4003, 0 +EventScript_1C5146: + copyvar VAR_0x8006, VAR_0x4003 + special sub_815D9E8 + msgbox gStringVar4 + closemessage + goto EventScript_1C5219 + +EventScript_1C515C:: @ 81C515C + switch VAR_0x4001 + case 0, EventScript_1C5182 + case 1, EventScript_1C51AD + case 2, EventScript_1C51D8 +EventScript_1C5182: + setvar VAR_0x8004, 19 + special sub_815D9E8 + applymovement 4, Movement_ExclamationMark + waitmovement 0 + applymovement 4, Movement_Delay48 + waitmovement 0 + applymovement 4, Movement_1C5546 + waitmovement 0 + goto EventScript_1C51FE + +EventScript_1C51AD:: @ 81C51AD + setvar VAR_0x8004, 19 + special sub_815D9E8 + applymovement 2, Movement_ExclamationMark + waitmovement 0 + applymovement 2, Movement_Delay48 + waitmovement 0 + applymovement 2, Movement_1C5549 + waitmovement 0 + goto EventScript_1C51FE + +EventScript_1C51D8:: @ 81C51D8 + setvar VAR_0x8004, 19 + special sub_815D9E8 + applymovement 3, Movement_ExclamationMark + waitmovement 0 + applymovement 3, Movement_Delay48 + waitmovement 0 + applymovement 3, Movement_1C5542 + waitmovement 0 +EventScript_1C51FE: + setvar VAR_0x8004, 1 + setvar VAR_0x8005, 2 + copyvar VAR_0x8006, VAR_0x4001 + special sub_815D9E8 + msgbox gStringVar4 + closemessage +EventScript_1C5219: + setvar VAR_0x8004, 2 + setvar VAR_0x8005, 0 + special sub_815D9E8 + waitstate + switch VAR_RESULT + case 1, EventScript_1C524D + case 2, EventScript_1C52E0 + case 3, EventScript_1C52E0 +EventScript_1C524D: + setvar VAR_0x8004, 3 + setvar VAR_0x8005, 0 + special sub_815D9E8 + switch VAR_RESULT + case 0, EventScript_1C52D7 + case 1, EventScript_1C52BA + case 2, EventScript_1C5280 +EventScript_1C5280: + switch VAR_0x4001 + case 0, EventScript_1C52A6 + case 1, EventScript_1C52B0 + case 2, EventScript_1C52D0 +EventScript_1C52A6: + addvar VAR_0x4001, 1 + goto EventScript_1C515C + +EventScript_1C52B0:: @ 81C52B0 + addvar VAR_0x4001, 1 + goto EventScript_1C515C + +EventScript_1C52BA:: @ 81C52BA + applymovement 5, Movement_1C554C + waitmovement 0 + applymovement 2, Movement_1C5550 + goto EventScript_1C52D7 + +EventScript_1C52D0:: @ 81C52D0 + applymovement 3, Movement_1C554D +EventScript_1C52D7: + setvar VAR_0x8004, 4 + special sub_815D9E8 + end + +EventScript_1C52E0:: @ 81C52E0 + special sp000_heal_pokemon + setvar VAR_0x8004, 11 + special sub_815D9E8 + warp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 9, 7 + waitstate + +EventScript_1C52F4:: @ 81C52F4 + setvar VAR_0x8004, 3 + setvar VAR_0x8005, 0 + special sub_815D9E8 + switch VAR_RESULT + case 0, EventScript_1C5327 + case 1, EventScript_1C5327 + case 2, EventScript_1C5331 +EventScript_1C5327: + setvar VAR_0x8006, 0 + goto EventScript_1C5391 + +EventScript_1C5331:: @ 81C5331 + setvar VAR_0x8006, 1 + goto EventScript_1C5391 + +EventScript_1C533B:: @ 81C533B + setvar VAR_0x8004, 3 + setvar VAR_0x8005, 0 + special sub_815D9E8 + switch VAR_RESULT + case 0, EventScript_1C536E + case 1, EventScript_1C536E + case 2, EventScript_1C5378 +EventScript_1C536E: + setvar VAR_0x8006, 0 + goto EventScript_1C5391 + +EventScript_1C5378:: @ 81C5378 + setvar VAR_0x8006, 2 + goto EventScript_1C5391 + +EventScript_1C5382:: @ 81C5382 + setvar VAR_0x8006, 0 + goto EventScript_1C5391 + +EventScript_1C538C:: @ 81C538C + setvar VAR_0x8006, 1 +EventScript_1C5391: + setvar VAR_0x8004, 1 + setvar VAR_0x8005, 5 + special sub_815D9E8 + lock + faceplayer + msgbox gStringVar4 + release + return + +EventScript_1C53AA:: @ 81C53AA + lock + faceplayer + setvar VAR_0x8004, 7 + special sub_815D9E8 + switch VAR_RESULT + case 0, EventScript_1C53DA + case 1, EventScript_1C53E2 + case 2, EventScript_1C5492 +EventScript_1C53DA: + msgbox Text_17CA5A +EventScript_1C53E2: + setvar VAR_0x8004, 8 + special sub_815D9E8 + switch VAR_RESULT + case 0, EventScript_1C5410 + case 1, EventScript_1C543A + case 2, EventScript_1C544F +EventScript_1C5410: + msgbox Text_17CB09 + textcolor 3 + playfanfare MUS_FANFA1 + message Text_ObtainedTheX + waitfanfare + waitmessage + getstdstring 2, 24 + msgbox Text_PutItemAway + call EventScript_1A6675 + goto EventScript_1C544F + +EventScript_1C543A:: @ 81C543A + msgbox Text_17CB09 + msgbox Text_BagIsFull + goto EventScript_1C544F + +EventScript_1C544F:: @ 81C544F + setvar VAR_0x8004, 9 + special sub_815D9E8 + switch VAR_RESULT + case 0, EventScript_1C547D + case 1, EventScript_1C548A + case 2, EventScript_1C5492 +EventScript_1C547D: + msgbox Text_17CB1A + goto EventScript_1C5492 + +EventScript_1C548A:: @ 81C548A + msgbox Text_17CBC0 +EventScript_1C5492: + msgbox Text_17CBF5 + release + return + +EventScript_1C549C:: @ 81C549C + lockall + setvar VAR_0x8004, 13 + special sub_815D9E8 + msgbox Text_17CC56 + releaseall + end + +SevenIsland_TrainerTower_2F_EventScript_1C54AF:: @ 81C54AF +SevenIsland_TrainerTower_4F_EventScript_1C54AF:: @ 81C54AF +SevenIsland_TrainerTower_6F_EventScript_1C54AF:: @ 81C54AF +SevenIsland_TrainerTower_8F_EventScript_1C54AF:: @ 81C54AF +SevenIsland_TrainerTower_5F_EventScript_1C54AF:: @ 81C54AF +SevenIsland_TrainerTower_7F_EventScript_1C54AF:: @ 81C54AF +SevenIsland_TrainerTower_3F_EventScript_1C54AF:: @ 81C54AF +SevenIsland_TrainerTower_1F_EventScript_1C54AF:: @ 81C54AF + goto EventScript_1C508F + +SevenIsland_TrainerTower_2F_EventScript_1C54B4:: @ 81C54B4 +SevenIsland_TrainerTower_4F_EventScript_1C54B4:: @ 81C54B4 +SevenIsland_TrainerTower_6F_EventScript_1C54B4:: @ 81C54B4 +SevenIsland_TrainerTower_8F_EventScript_1C54B4:: @ 81C54B4 +SevenIsland_TrainerTower_5F_EventScript_1C54B4:: @ 81C54B4 +SevenIsland_TrainerTower_7F_EventScript_1C54B4:: @ 81C54B4 +SevenIsland_TrainerTower_3F_EventScript_1C54B4:: @ 81C54B4 +SevenIsland_TrainerTower_1F_EventScript_1C54B4:: @ 81C54B4 + setvar VAR_0x4003, 0 + setvar VAR_0x8004, 16 + special sub_815D9E8 + compare VAR_RESULT, 0 + goto_if ne, EventScript_1C5528 + setvar VAR_0x8004, 19 + special sub_815D9E8 + applymovement 2, Movement_ExclamationMark + waitmovement 0 + applymovement 2, Movement_Delay48 + goto EventScript_1C551B + +SevenIsland_TrainerTower_2F_EventScript_1C54EA:: @ 81C54EA +SevenIsland_TrainerTower_4F_EventScript_1C54EA:: @ 81C54EA +SevenIsland_TrainerTower_6F_EventScript_1C54EA:: @ 81C54EA +SevenIsland_TrainerTower_8F_EventScript_1C54EA:: @ 81C54EA +SevenIsland_TrainerTower_5F_EventScript_1C54EA:: @ 81C54EA +SevenIsland_TrainerTower_7F_EventScript_1C54EA:: @ 81C54EA +SevenIsland_TrainerTower_3F_EventScript_1C54EA:: @ 81C54EA +SevenIsland_TrainerTower_1F_EventScript_1C54EA:: @ 81C54EA + setvar VAR_0x4003, 1 + setvar VAR_0x8004, 16 + special sub_815D9E8 + compare VAR_RESULT, 0 + goto_if ne, EventScript_1C5528 + setvar VAR_0x8004, 19 + special sub_815D9E8 + applymovement 5, Movement_ExclamationMark + waitmovement 0 + applymovement 5, Movement_Delay48 +EventScript_1C551B: + waitmovement 0 + setvar VAR_0x400F, 1 + goto EventScript_1C508F + +EventScript_1C5528:: @ 81C5528 + lockall + playse SE_PINPON + msgbox Text_17CC73 + closemessage + applymovement OBJ_EVENT_ID_PLAYER, Movement_1C5544 + waitmovement 0 + releaseall + end + +Movement_1C5541: + walk_left +Movement_1C5542:: @ 81C5542 + walk_left + walk_left +Movement_1C5544: + walk_left + step_end + +Movement_1C5546:: @ 81C5546 + walk_up + walk_up + step_end + +Movement_1C5549:: @ 81C5549 + walk_down + walk_down + step_end + +Movement_1C554C:: @ 81C554C + walk_right +Movement_1C554D: + walk_up + face_down + step_end + +Movement_1C5550:: @ 81C5550 + face_down + step_end -- cgit v1.2.3 From 94fbc3ac489e529176533a1fad7deac7e1014b9d Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 9 Jan 2020 14:46:14 -0500 Subject: Sync temp vars --- data/scripts/mystery_event_club.inc | 6 +-- data/scripts/route23.inc | 18 ++++----- data/scripts/silphco_doors.inc | 80 ++++++++++++++++++------------------- data/scripts/trainer_tower.inc | 48 +++++++++++----------- 4 files changed, 76 insertions(+), 76 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/mystery_event_club.inc b/data/scripts/mystery_event_club.inc index 6db5e89ff..f20768d88 100644 --- a/data/scripts/mystery_event_club.inc +++ b/data/scripts/mystery_event_club.inc @@ -1,7 +1,7 @@ PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16 lock faceplayer - compare VAR_0x4001, 1 + compare VAR_TEMP_1, 1 goto_if eq, EventScript_1BEE3A checkflag FLAG_SYS_SET_TRAINER_CARD_PROFILE goto_if TRUE, EventScript_1BEECD @@ -42,7 +42,7 @@ EventScript_1BEE9E:: @ 81BEE9E end EventScript_1BEEA8:: @ 81BEEA8 - setvar VAR_0x4001, 1 + setvar VAR_TEMP_1, 1 setvar VAR_0x8004, 0 special Special_BufferEasyChatMessage waitmessage @@ -89,7 +89,7 @@ EventScript_1BEF35:: @ 81BEF35 end EventScript_1BEF3F:: @ 81BEF3F - setvar VAR_0x4001, 1 + setvar VAR_TEMP_1, 1 setvar VAR_0x8004, 0 special Special_BufferEasyChatMessage waitmessage diff --git a/data/scripts/route23.inc b/data/scripts/route23.inc index fe2baa17a..77409e539 100644 --- a/data/scripts/route23.inc +++ b/data/scripts/route23.inc @@ -30,9 +30,9 @@ EventScript_1A77F9:: @ 81A77F9 end EventScript_1A7803:: @ 81A7803 - compare VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + compare VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1 goto_if ge, EventScript_1A77EC - switch VAR_0x4001 + switch VAR_TEMP_1 case 1, EventScript_1A78D5 case 2, EventScript_1A78E4 case 3, EventScript_1A78F3 @@ -44,9 +44,9 @@ EventScript_1A7803:: @ 81A7803 end EventScript_1A786C:: @ 81A786C - compare VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + compare VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1 goto_if ge, EventScript_1A77F9 - switch VAR_0x4001 + switch VAR_TEMP_1 case 1, EventScript_1A78D5 case 2, EventScript_1A78E4 case 3, EventScript_1A78F3 @@ -111,13 +111,13 @@ EventScript_1A794D:: @ 81A794D playfanfare MUS_FANFA1 waitfanfare waitbuttonpress - copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + copyvar VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1 release end EventScript_1A795F:: @ 81A795F msgbox Text_OnlyPassWithBadgeOhGoAhead - copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + copyvar VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1 release end @@ -125,7 +125,7 @@ EventScript_1A796E:: @ 81A796E textcolor 0 applymovement VAR_0x8009, Movement_WalkInPlaceFastestLeft waitmovement 0 - switch VAR_0x4001 + switch VAR_TEMP_1 case 1, EventScript_1A79D8 case 2, EventScript_1A79E7 case 3, EventScript_1A79F6 @@ -214,13 +214,13 @@ EventScript_1A7A96:: @ 81A7A96 playfanfare MUS_FANFA1 waitfanfare waitbuttonpress - copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + copyvar VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1 releaseall end EventScript_1A7AA8:: @ 81A7AA8 msgbox Text_OnlyPassWithBadgeOhGoAhead - copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001 + copyvar VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1 releaseall end diff --git a/data/scripts/silphco_doors.inc b/data/scripts/silphco_doors.inc index 07e1db17d..13c59caa7 100644 --- a/data/scripts/silphco_doors.inc +++ b/data/scripts/silphco_doors.inc @@ -348,7 +348,7 @@ EventScript_Open11FDoor:: @ 81A88ED SilphCo_2F_EventScript_Door1:: @ 81A891B lockall - setvar VAR_0x4001, 1 + setvar VAR_TEMP_1, 1 setvar VAR_0x8004, 634 checkflag FLAG_SILPH_2F_DOOR_1 goto_if TRUE, EventScript_DoorUnlocked @@ -357,7 +357,7 @@ SilphCo_2F_EventScript_Door1:: @ 81A891B SilphCo_2F_EventScript_Door2:: @ 81A8935 lockall - setvar VAR_0x4001, 2 + setvar VAR_TEMP_1, 2 setvar VAR_0x8004, 635 checkflag FLAG_SILPH_2F_DOOR_2 goto_if TRUE, EventScript_DoorUnlocked @@ -366,7 +366,7 @@ SilphCo_2F_EventScript_Door2:: @ 81A8935 SilphCo_3F_EventScript_Door1:: @ 81A894F lockall - setvar VAR_0x4001, 3 + setvar VAR_TEMP_1, 3 setvar VAR_0x8004, 636 checkflag FLAG_SILPH_3F_DOOR_1 goto_if TRUE, EventScript_DoorUnlocked @@ -375,7 +375,7 @@ SilphCo_3F_EventScript_Door1:: @ 81A894F SilphCo_3F_EventScript_Door2:: @ 81A8969 lockall - setvar VAR_0x4001, 4 + setvar VAR_TEMP_1, 4 setvar VAR_0x8004, 637 checkflag FLAG_SILPH_3F_DOOR_2 goto_if TRUE, EventScript_DoorUnlocked @@ -384,7 +384,7 @@ SilphCo_3F_EventScript_Door2:: @ 81A8969 SilphCo_4F_EventScript_Door1:: @ 81A8983 lockall - setvar VAR_0x4001, 5 + setvar VAR_TEMP_1, 5 setvar VAR_0x8004, 638 checkflag FLAG_SILPH_4F_DOOR_1 goto_if TRUE, EventScript_DoorUnlocked @@ -393,7 +393,7 @@ SilphCo_4F_EventScript_Door1:: @ 81A8983 SilphCo_4F_EventScript_Door2:: @ 81A899D lockall - setvar VAR_0x4001, 6 + setvar VAR_TEMP_1, 6 setvar VAR_0x8004, 639 checkflag FLAG_SILPH_4F_DOOR_2 goto_if TRUE, EventScript_DoorUnlocked @@ -402,7 +402,7 @@ SilphCo_4F_EventScript_Door2:: @ 81A899D SilphCo_5F_EventScript_Door1:: @ 81A89B7 lockall - setvar VAR_0x4001, 7 + setvar VAR_TEMP_1, 7 setvar VAR_0x8004, 640 checkflag FLAG_SILPH_5F_DOOR_1 goto_if TRUE, EventScript_DoorUnlocked @@ -411,7 +411,7 @@ SilphCo_5F_EventScript_Door1:: @ 81A89B7 SilphCo_5F_EventScript_Door2:: @ 81A89D1 lockall - setvar VAR_0x4001, 8 + setvar VAR_TEMP_1, 8 setvar VAR_0x8004, 641 checkflag FLAG_SILPH_5F_DOOR_2 goto_if TRUE, EventScript_DoorUnlocked @@ -420,7 +420,7 @@ SilphCo_5F_EventScript_Door2:: @ 81A89D1 SilphCo_5F_EventScript_Door3:: @ 81A89EB lockall - setvar VAR_0x4001, 9 + setvar VAR_TEMP_1, 9 setvar VAR_0x8004, 642 checkflag FLAG_SILPH_5F_DOOR_3 goto_if TRUE, EventScript_DoorUnlocked @@ -429,7 +429,7 @@ SilphCo_5F_EventScript_Door3:: @ 81A89EB SilphCo_6F_EventScript_Door:: @ 81A8A05 lockall - setvar VAR_0x4001, 10 + setvar VAR_TEMP_1, 10 setvar VAR_0x8004, 643 checkflag FLAG_SILPH_6F_DOOR goto_if TRUE, EventScript_DoorUnlocked @@ -438,7 +438,7 @@ SilphCo_6F_EventScript_Door:: @ 81A8A05 SilphCo_7F_EventScript_Door1:: @ 81A8A1F lockall - setvar VAR_0x4001, 11 + setvar VAR_TEMP_1, 11 setvar VAR_0x8004, 644 checkflag FLAG_SILPH_7F_DOOR_1 goto_if TRUE, EventScript_DoorUnlocked @@ -447,7 +447,7 @@ SilphCo_7F_EventScript_Door1:: @ 81A8A1F SilphCo_7F_EventScript_Door2:: @ 81A8A39 lockall - setvar VAR_0x4001, 12 + setvar VAR_TEMP_1, 12 setvar VAR_0x8004, 645 checkflag FLAG_SILPH_7F_DOOR_2 goto_if TRUE, EventScript_DoorUnlocked @@ -456,7 +456,7 @@ SilphCo_7F_EventScript_Door2:: @ 81A8A39 SilphCo_7F_EventScript_Door3:: @ 81A8A53 lockall - setvar VAR_0x4001, 13 + setvar VAR_TEMP_1, 13 setvar VAR_0x8004, 646 checkflag FLAG_SILPH_7F_DOOR_3 goto_if TRUE, EventScript_DoorUnlocked @@ -465,7 +465,7 @@ SilphCo_7F_EventScript_Door3:: @ 81A8A53 SilphCo_8F_EventScript_Door:: @ 81A8A6D lockall - setvar VAR_0x4001, 14 + setvar VAR_TEMP_1, 14 setvar VAR_0x8004, 647 checkflag FLAG_SILPH_8F_DOOR goto_if TRUE, EventScript_DoorUnlocked @@ -474,7 +474,7 @@ SilphCo_8F_EventScript_Door:: @ 81A8A6D SilphCo_9F_EventScript_Door1:: @ 81A8A87 lockall - setvar VAR_0x4001, 15 + setvar VAR_TEMP_1, 15 setvar VAR_0x8004, 648 checkflag FLAG_SILPH_9F_DOOR_1 goto_if TRUE, EventScript_DoorUnlocked @@ -483,7 +483,7 @@ SilphCo_9F_EventScript_Door1:: @ 81A8A87 SilphCo_9F_EventScript_Door2:: @ 81A8AA1 lockall - setvar VAR_0x4001, 16 + setvar VAR_TEMP_1, 16 setvar VAR_0x8004, 649 checkflag FLAG_SILPH_9F_DOOR_2 goto_if TRUE, EventScript_DoorUnlocked @@ -492,7 +492,7 @@ SilphCo_9F_EventScript_Door2:: @ 81A8AA1 SilphCo_9F_EventScript_Door3:: @ 81A8ABB lockall - setvar VAR_0x4001, 17 + setvar VAR_TEMP_1, 17 setvar VAR_0x8004, 650 checkflag FLAG_SILPH_9F_DOOR_3 goto_if TRUE, EventScript_DoorUnlocked @@ -501,7 +501,7 @@ SilphCo_9F_EventScript_Door3:: @ 81A8ABB SilphCo_9F_EventScript_Door4:: @ 81A8AD5 lockall - setvar VAR_0x4001, 18 + setvar VAR_TEMP_1, 18 setvar VAR_0x8004, 651 checkflag FLAG_SILPH_9F_DOOR_4 goto_if TRUE, EventScript_DoorUnlocked @@ -510,7 +510,7 @@ SilphCo_9F_EventScript_Door4:: @ 81A8AD5 SilphCo_10F_EventScript_Door:: @ 81A8AEF lockall - setvar VAR_0x4001, 19 + setvar VAR_TEMP_1, 19 setvar VAR_0x8004, 652 checkflag FLAG_SILPH_10F_DOOR goto_if TRUE, EventScript_DoorUnlocked @@ -519,7 +519,7 @@ SilphCo_10F_EventScript_Door:: @ 81A8AEF SilphCo_11F_EventScript_Door:: @ 81A8B09 lockall - setvar VAR_0x4001, 20 + setvar VAR_TEMP_1, 20 setvar VAR_0x8004, 653 checkflag FLAG_SILPH_11F_DOOR goto_if TRUE, EventScript_DoorUnlocked @@ -536,45 +536,45 @@ EventScript_OpenDoor:: @ 81A8B32 playfanfare MUS_FANFA1 msgbox Text_CardKeyOpenedDoor waitfanfare - compare VAR_0x4001, 1 + compare VAR_TEMP_1, 1 call_if eq, EventScript_Open2FDoor1 - compare VAR_0x4001, 2 + compare VAR_TEMP_1, 2 call_if eq, EventScript_Open2FDoor2 - compare VAR_0x4001, 3 + compare VAR_TEMP_1, 3 call_if eq, EventScript_Open3FDoor1 - compare VAR_0x4001, 4 + compare VAR_TEMP_1, 4 call_if eq, EventScript_Open3FDoor2 - compare VAR_0x4001, 5 + compare VAR_TEMP_1, 5 call_if eq, EventScript_Open4FDoor1 - compare VAR_0x4001, 6 + compare VAR_TEMP_1, 6 call_if eq, EventScript_Open4FDoor2 - compare VAR_0x4001, 7 + compare VAR_TEMP_1, 7 call_if eq, EventScript_Open5FDoor1 - compare VAR_0x4001, 8 + compare VAR_TEMP_1, 8 call_if eq, EventScript_Open5FDoor2 - compare VAR_0x4001, 9 + compare VAR_TEMP_1, 9 call_if eq, EventScript_Open5FDoor3 - compare VAR_0x4001, 10 + compare VAR_TEMP_1, 10 call_if eq, EventScript_Open6FDoor - compare VAR_0x4001, 11 + compare VAR_TEMP_1, 11 call_if eq, EventScript_Open7FDoor1 - compare VAR_0x4001, 12 + compare VAR_TEMP_1, 12 call_if eq, EventScript_Open7FDoor2 - compare VAR_0x4001, 13 + compare VAR_TEMP_1, 13 call_if eq, EventScript_Open7FDoor3 - compare VAR_0x4001, 14 + compare VAR_TEMP_1, 14 call_if eq, EventScript_Open8FDoor - compare VAR_0x4001, 15 + compare VAR_TEMP_1, 15 call_if eq, EventScript_Open9FDoor1 - compare VAR_0x4001, 16 + compare VAR_TEMP_1, 16 call_if eq, EventScript_Open9FDoor2 - compare VAR_0x4001, 17 + compare VAR_TEMP_1, 17 call_if eq, EventScript_Open9FDoor3 - compare VAR_0x4001, 18 + compare VAR_TEMP_1, 18 call_if eq, EventScript_Open9FDoor4 - compare VAR_0x4001, 19 + compare VAR_TEMP_1, 19 call_if eq, EventScript_Open10FDoor - compare VAR_0x4001, 20 + compare VAR_TEMP_1, 20 call_if eq, EventScript_Open11FDoor waitse playse SE_KI_GASYAN diff --git a/data/scripts/trainer_tower.inc b/data/scripts/trainer_tower.inc index c3b3cdc2e..ffec7d4c8 100644 --- a/data/scripts/trainer_tower.inc +++ b/data/scripts/trainer_tower.inc @@ -8,7 +8,7 @@ SevenIsland_TrainerTower_7F_MapScript1_1C4F54:: @ 81C4F54 SevenIsland_TrainerTower_8F_MapScript1_1C4F54:: @ 81C4F54 SevenIsland_TrainerTower_Elevator_MapScript1_1C4F54:: @ 81C4F54 SevenIsland_TrainerTower_Roof_MapScript1_1C4F54:: @ 81C4F54 - setvar VAR_0x4002, 0 + setvar VAR_TEMP_2, 0 setvar VAR_0x8004, 10 special sub_815D9E8 end @@ -31,15 +31,15 @@ SevenIsland_TrainerTower_8F_MapScript2_1C4F62:: @ 81C4F62 setflag FLAG_TEMP_3 setflag FLAG_TEMP_4 setflag FLAG_TEMP_5 - setvar VAR_0x400E, 1 - setvar VAR_0x400F, 1 + setvar VAR_TEMP_E, 1 + setvar VAR_TEMP_F, 1 end EventScript_1C4FA7:: @ 81C4FA7 setflag FLAG_TEMP_2 setflag FLAG_TEMP_4 setflag FLAG_TEMP_5 - setvar VAR_0x400F, 1 + setvar VAR_TEMP_F, 1 setobjectxyperm 3, 15, 13 setobjectmovementtype 3, 9 goto EventScript_1C5042 @@ -47,7 +47,7 @@ EventScript_1C4FA7:: @ 81C4FA7 EventScript_1C4FC5:: @ 81C4FC5 setflag FLAG_TEMP_3 setflag FLAG_TEMP_4 - setvar VAR_0x400E, 1 + setvar VAR_TEMP_E, 1 setvar VAR_0x8004, 5 special sub_815D9E8 compare VAR_RESULT, 1 @@ -67,7 +67,7 @@ EventScript_1C4FFE:: @ 81C4FFE EventScript_1C5019:: @ 81C5019 setflag FLAG_TEMP_5 - setvar VAR_0x400F, 1 + setvar VAR_TEMP_F, 1 setobjectxyperm 2, 10, 10 setobjectmovementtype 2, 8 setobjectxyperm 3, 14, 13 @@ -88,17 +88,17 @@ SevenIsland_TrainerTower_7F_MapScript3_1C5046:: @ 81C5046 SevenIsland_TrainerTower_8F_MapScript3_1C5046:: @ 81C5046 SevenIsland_TrainerTower_Elevator_MapScript2_1C5046:: @ 81C5046 SevenIsland_TrainerTower_Roof_MapScript2_1C5046:: @ 81C5046 - map_script_2 VAR_0x4002, 0, EventScript_1C5050 + map_script_2 VAR_TEMP_2, 0, EventScript_1C5050 .2byte 0 EventScript_1C5050:: @ 81C5050 - setvar VAR_0x4002, 1 + setvar VAR_TEMP_2, 1 setvar VAR_0x8004, 5 special sub_815D9E8 compare VAR_RESULT, 0 goto_if eq, EventScript_1C5072 - setvar VAR_0x400E, 1 - setvar VAR_0x400F, 1 + setvar VAR_TEMP_E, 1 + setvar VAR_TEMP_F, 1 EventScript_1C5072: setvar VAR_0x8004, 18 special sub_815D9E8 @@ -124,7 +124,7 @@ EventScript_1C50C2: waitmovement 0 applymovement 3, Movement_Delay48 waitmovement 0 - setvar VAR_0x400E, 1 + setvar VAR_TEMP_E, 1 applymovement 3, Movement_1C5541 waitmovement 0 setvar VAR_0x8004, 1 @@ -138,24 +138,24 @@ EventScript_1C50C2: EventScript_1C510D:: @ 81C510D setvar VAR_0x8004, 1 setvar VAR_0x8005, 2 - copyvar VAR_0x8006, VAR_0x4003 + copyvar VAR_0x8006, VAR_TEMP_3 special sub_815D9E8 msgbox gStringVar4 setvar VAR_0x8004, 1 setvar VAR_0x8005, 2 - addvar VAR_0x4003, 1 - compare VAR_0x4003, 1 + addvar VAR_TEMP_3, 1 + compare VAR_TEMP_3, 1 goto_if eq, EventScript_1C5146 - setvar VAR_0x4003, 0 + setvar VAR_TEMP_3, 0 EventScript_1C5146: - copyvar VAR_0x8006, VAR_0x4003 + copyvar VAR_0x8006, VAR_TEMP_3 special sub_815D9E8 msgbox gStringVar4 closemessage goto EventScript_1C5219 EventScript_1C515C:: @ 81C515C - switch VAR_0x4001 + switch VAR_TEMP_1 case 0, EventScript_1C5182 case 1, EventScript_1C51AD case 2, EventScript_1C51D8 @@ -193,7 +193,7 @@ EventScript_1C51D8:: @ 81C51D8 EventScript_1C51FE: setvar VAR_0x8004, 1 setvar VAR_0x8005, 2 - copyvar VAR_0x8006, VAR_0x4001 + copyvar VAR_0x8006, VAR_TEMP_1 special sub_815D9E8 msgbox gStringVar4 closemessage @@ -215,16 +215,16 @@ EventScript_1C524D: case 1, EventScript_1C52BA case 2, EventScript_1C5280 EventScript_1C5280: - switch VAR_0x4001 + switch VAR_TEMP_1 case 0, EventScript_1C52A6 case 1, EventScript_1C52B0 case 2, EventScript_1C52D0 EventScript_1C52A6: - addvar VAR_0x4001, 1 + addvar VAR_TEMP_1, 1 goto EventScript_1C515C EventScript_1C52B0:: @ 81C52B0 - addvar VAR_0x4001, 1 + addvar VAR_TEMP_1, 1 goto EventScript_1C515C EventScript_1C52BA:: @ 81C52BA @@ -374,7 +374,7 @@ SevenIsland_TrainerTower_5F_EventScript_1C54B4:: @ 81C54B4 SevenIsland_TrainerTower_7F_EventScript_1C54B4:: @ 81C54B4 SevenIsland_TrainerTower_3F_EventScript_1C54B4:: @ 81C54B4 SevenIsland_TrainerTower_1F_EventScript_1C54B4:: @ 81C54B4 - setvar VAR_0x4003, 0 + setvar VAR_TEMP_3, 0 setvar VAR_0x8004, 16 special sub_815D9E8 compare VAR_RESULT, 0 @@ -394,7 +394,7 @@ SevenIsland_TrainerTower_5F_EventScript_1C54EA:: @ 81C54EA SevenIsland_TrainerTower_7F_EventScript_1C54EA:: @ 81C54EA SevenIsland_TrainerTower_3F_EventScript_1C54EA:: @ 81C54EA SevenIsland_TrainerTower_1F_EventScript_1C54EA:: @ 81C54EA - setvar VAR_0x4003, 1 + setvar VAR_TEMP_3, 1 setvar VAR_0x8004, 16 special sub_815D9E8 compare VAR_RESULT, 0 @@ -406,7 +406,7 @@ SevenIsland_TrainerTower_1F_EventScript_1C54EA:: @ 81C54EA applymovement 5, Movement_Delay48 EventScript_1C551B: waitmovement 0 - setvar VAR_0x400F, 1 + setvar VAR_TEMP_F, 1 goto EventScript_1C508F EventScript_1C5528:: @ 81C5528 -- cgit v1.2.3 From 4a6f15ba24c159ad6cc1be1d7c8c636e416e80d6 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 10 Jan 2020 00:44:57 -0500 Subject: Sync event macros --- data/scripts/cable_club.inc | 209 +++--- data/scripts/day_care.inc | 24 +- data/scripts/field_moves.inc | 46 +- data/scripts/move_tutors.inc | 165 ++-- data/scripts/mystery_event_club.inc | 11 +- data/scripts/obtain_item.inc | 41 +- data/scripts/pc.inc | 19 +- data/scripts/pkmn_center_nurse.inc | 11 +- data/scripts/pokedex_rating.inc | 21 +- data/scripts/route23.inc | 52 +- data/scripts/seagallop.inc | 20 +- data/scripts/silphco_doors.inc | 103 +-- data/scripts/std_msgbox.inc | 8 +- data/scripts/surf.inc | 6 +- data/scripts/trainer_battle.inc | 30 +- data/scripts/trainer_tower.inc | 12 +- data/scripts/trainers.inc | 1404 +++++++++++++++++------------------ 17 files changed, 1054 insertions(+), 1128 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index e702b9a13..ea1bbfdcf 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -5,7 +5,7 @@ CableClub_OnTransition:: @ 81BB1B4 CableClub_EventScript_HideOrShowMysteryGiftMan:: @ 81BB1BA specialvar VAR_RESULT, ValidateReceivedWonderCard compare VAR_RESULT, FALSE - goto_if eq, EventScript_HideMysteryGiftMan + goto_if_eq EventScript_HideMysteryGiftMan clearflag FLAG_HIDE_MG_DELIVERYMEN return @@ -16,7 +16,7 @@ EventScript_HideMysteryGiftMan:: @ 81BB1CE CableClub_EventScript_MysteryGiftMan:: @ 81BB1D2 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 special sub_8112364 execram @@ -37,26 +37,26 @@ CableClub_OnWarp:: @ 81BB1ED EventScript_CheckTurnAttendant:: @ 81BB227 compare VAR_0x8007, 0 - goto_if eq, EventScript_CheckTurnAttendantEnd + goto_if_eq EventScript_CheckTurnAttendantEnd turnobject VAR_0x8007, DIR_WEST EventScript_CheckTurnAttendantEnd: end CableClub_OnLoad:: @ 81BB237 compare VAR_CABLE_CLUB_STATE, USING_SINGLE_BATTLE - goto_if eq, EventScript_OnLoadFromColosseum + goto_if_eq EventScript_OnLoadFromColosseum compare VAR_CABLE_CLUB_STATE, USING_DOUBLE_BATTLE - goto_if eq, EventScript_OnLoadFromColosseum + goto_if_eq EventScript_OnLoadFromColosseum compare VAR_CABLE_CLUB_STATE, USING_MULTI_BATTLE - goto_if eq, EventScript_OnLoadFromColosseum + goto_if_eq EventScript_OnLoadFromColosseum compare VAR_CABLE_CLUB_STATE, USING_TRADE_CENTER - goto_if eq, EventScript_OnLoadFromTradeCenter + goto_if_eq EventScript_OnLoadFromTradeCenter compare VAR_CABLE_CLUB_STATE, USING_UNION_ROOM - goto_if eq, EventScript_OnLoadFromUnionRoom + goto_if_eq EventScript_OnLoadFromUnionRoom compare VAR_CABLE_CLUB_STATE, USING_BERRY_CRUSH - goto_if eq, EventScript_OnLoadFromBerryCrush + goto_if_eq EventScript_OnLoadFromBerryCrush compare VAR_CABLE_CLUB_STATE, USING_MINIGAME - goto_if eq, EventScript_OnLoadFromGameCorner + goto_if_eq EventScript_OnLoadFromGameCorner end EventScript_OnLoadFromColosseum:: @ 81BB285 @@ -117,7 +117,7 @@ CableClub_EventScript_CloseLinkAndExitLinkRoom:: @ 81BB315 setvar VAR_CABLE_CLUB_STATE, 0 textcolor 1 compare VAR_0x8007, 0 - goto_if eq, CableClub_EventScript_PlayerExitLinkRoom + goto_if_eq CableClub_EventScript_PlayerExitLinkRoom applymovement VAR_0x8007, Movement_1BB88F waitmovement 0 applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB891 @@ -143,7 +143,7 @@ EventScript_1BB367:: @ 81BB367 setvar VAR_CABLE_CLUB_STATE, 0 textcolor 1 compare VAR_0x8007, 0 - goto_if eq, CableClub_EventScript_PlayerExitLinkRoom + goto_if_eq CableClub_EventScript_PlayerExitLinkRoom applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB8A0 waitmovement 0 applymovement VAR_0x8007, Movement_1BB88F @@ -167,7 +167,7 @@ EventScript_1BB3B4:: @ 81BB3B4 setvar VAR_CABLE_CLUB_STATE, 0 textcolor 1 compare VAR_0x8007, 0 - goto_if eq, CableClub_EventScript_PlayerExitLinkRoom + goto_if_eq CableClub_EventScript_PlayerExitLinkRoom applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB8A0 waitmovement 0 applymovement VAR_0x8007, Movement_1BB88F @@ -267,7 +267,7 @@ EventScript_1BB50F:: @ 81BB50F EventScript_1BB51A:: @ 81BB51A special CheckForAlivePartyMons compare VAR_RESULT, 0 - goto_if ne, EventScript_1BB533 + goto_if_ne EventScript_1BB533 setvar VAR_0x8004, 2 goto EventScript_1BB54C end @@ -285,7 +285,7 @@ EventScript_1BB541:: @ 81BB541 EventScript_1BB54C:: @ 81BB54C call EventScript_1A4EAF compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F message gUnknown_81BC4AC waitmessage special HelpSystem_Disable @@ -294,17 +294,17 @@ EventScript_1BB54C:: @ 81BB54C waitstate call EventScript_1A6675 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BB5B3 + goto_if_eq EventScript_1BB5B3 compare VAR_RESULT, 2 - goto_if eq, EventScript_1BB80F + goto_if_eq EventScript_1BB80F compare VAR_RESULT, 3 - goto_if eq, EventScript_1BB81F + goto_if_eq EventScript_1BB81F compare VAR_RESULT, 4 - goto_if eq, EventScript_1BB63C + goto_if_eq EventScript_1BB63C compare VAR_RESULT, 5 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F compare VAR_RESULT, 6 - goto_if eq, EventScript_1BB7FF + goto_if_eq EventScript_1BB7FF end EventScript_1BB5B3:: @ 81BB5B3 @@ -332,7 +332,7 @@ EventScript_1BB5B3:: @ 81BB5B3 waitdooranim release compare VAR_0x8004, 5 - goto_if eq, EventScript_1BB62C + goto_if_eq EventScript_1BB62C special SetCableClubWarp warp MAP_UNKNOWN_MAP_00_00, 255, 6, 8 special DoCableClubWarp @@ -396,10 +396,10 @@ EventScript_1BB6AB:: @ 81BB6AB copyvar VAR_0x8007, VAR_LAST_TALKED call EventScript_1BB79C compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F call EventScript_1A4EAF compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F message gUnknown_81BC4AC waitmessage special HelpSystem_Disable @@ -408,21 +408,21 @@ EventScript_1BB6AB:: @ 81BB6AB waitstate call EventScript_1A6675 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BB73D + goto_if_eq EventScript_1BB73D compare VAR_RESULT, 2 - goto_if eq, EventScript_1BB80F + goto_if_eq EventScript_1BB80F compare VAR_RESULT, 3 - goto_if eq, EventScript_1BB81F + goto_if_eq EventScript_1BB81F compare VAR_RESULT, 4 - goto_if eq, EventScript_1BB857 + goto_if_eq EventScript_1BB857 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F compare VAR_RESULT, 6 - goto_if eq, EventScript_1BB7FF + goto_if_eq EventScript_1BB7FF compare VAR_RESULT, 7 - goto_if eq, EventScript_1BB7DF + goto_if_eq EventScript_1BB7DF compare VAR_RESULT, 9 - goto_if eq, EventScript_1BB7EF + goto_if_eq EventScript_1BB7EF end EventScript_1BB73D:: @ 81BB73D @@ -456,10 +456,10 @@ EventScript_1BB73D:: @ 81BB73D EventScript_1BB79C:: @ 81BB79C specialvar VAR_RESULT, CalculatePlayerPartyCount compare VAR_RESULT, 2 - goto_if lt, EventScript_1BB7C2 + goto_if_lt EventScript_1BB7C2 specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty compare VAR_RESULT, 1 - goto_if eq, EventScript_1BB7D0 + goto_if_eq EventScript_1BB7D0 setvar VAR_RESULT, 1 return @@ -606,7 +606,7 @@ Movement_1BB8A2:: @ 81BB8A2 gUnknown_81BB8A7:: @ 81BB8A7 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall fadescreen 1 setvar VAR_0x8004, 0 @@ -637,7 +637,7 @@ UnknownMap_00_03_EventScript_1BB8DB:: @ 81BB8DB special sub_80A0334 waitstate compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB94F + goto_if_eq EventScript_1BB94F setvar VAR_0x8005, 0 textcolor 3 special sub_80819C8 @@ -650,7 +650,7 @@ UnknownMap_00_03_EventScript_1BB8F8:: @ 81BB8F8 special sub_80A0334 waitstate compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB94F + goto_if_eq EventScript_1BB94F setvar VAR_0x8005, 1 textcolor 3 special sub_80819C8 @@ -663,7 +663,7 @@ UnknownMap_00_03_EventScript_1BB915:: @ 81BB915 special sub_80A0334 waitstate compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB94F + goto_if_eq EventScript_1BB94F setvar VAR_0x8005, 2 textcolor 3 special sub_80819C8 @@ -676,7 +676,7 @@ UnknownMap_00_03_EventScript_1BB932:: @ 81BB932 special sub_80A0334 waitstate compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB94F + goto_if_eq EventScript_1BB94F setvar VAR_0x8005, 3 textcolor 3 special sub_80819C8 @@ -765,7 +765,7 @@ gUnknown_81BB9D4:: @ 81BB9D4 textcolor 3 msgbox Text_TerminateLinkIfYouLeaveRoom, MSGBOX_YESNO compare VAR_RESULT, YES - goto_if eq, EventScript_1BB9F0 + goto_if_eq EventScript_1BB9F0 erasebox 0, 0, 29, 19 releaseall end @@ -786,19 +786,18 @@ gUnknown_81BB9FC:: @ 81BB9FC EventScript_1BBA04:: @ 81BBA04 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer - checkflag FLAG_SYS_POKEDEX_GET - goto_if FALSE, EventScript_1BB877 + goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB877 specialvar VAR_RESULT, Special_BadEggInParty compare VAR_RESULT, 1 - goto_if eq, EventScript_1BB867 + goto_if_eq EventScript_1BB867 copyvar VAR_0x8007, VAR_LAST_TALKED specialvar VAR_RESULT, IsWirelessAdapterConnected compare VAR_RESULT, 0 - goto_if eq, EventScript_1BBB60 + goto_if_eq EventScript_1BBB60 message Text_1BD65B waitmessage goto EventScript_1BBA51 @@ -826,10 +825,10 @@ EventScript_1BBA93:: @ 81BBA93 EventScript_1BBA94:: @ 81BBA94 call EventScript_1BBB1E compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F call EventScript_1A4EAF compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F msgbox gUnknown_81BD86A closemessage special sp000_heal_pokemon @@ -862,10 +861,10 @@ EventScript_1BBA94:: @ 81BBA94 EventScript_1BBB1E:: @ 81BBB1E specialvar VAR_RESULT, CountPartyNonEggMons compare VAR_RESULT, 2 - goto_if lt, EventScript_1BBB44 + goto_if_lt EventScript_1BBB44 specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty compare VAR_RESULT, 1 - goto_if eq, EventScript_1BBB52 + goto_if_eq EventScript_1BBB52 setvar VAR_RESULT, 1 return @@ -891,11 +890,10 @@ EventScript_1BBB60:: @ 81BBB60 EventScript_1BBB6A:: @ 81BBB6A lock faceplayer - checkflag FLAG_SYS_POKEDEX_GET - goto_if FALSE, EventScript_1BB877 + goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB877 msgbox gUnknown_81BDB85, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1BBB92 + goto_if_eq EventScript_1BBB92 msgbox gUnknown_81BDBF8 release return @@ -908,18 +906,17 @@ EventScript_1BBB92:: @ 81BBB92 EventScript_1BBB9C:: @ 81BBB9C special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer - checkflag FLAG_SYS_POKEDEX_GET - goto_if FALSE, EventScript_1BB877 + goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB877 specialvar VAR_RESULT, Special_BadEggInParty compare VAR_RESULT, 1 - goto_if eq, EventScript_1BB867 + goto_if_eq EventScript_1BB867 specialvar VAR_RESULT, IsWirelessAdapterConnected compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB44A + goto_if_eq EventScript_1BB44A message Text_1BD28D waitmessage delay 15 @@ -929,8 +926,7 @@ EventScript_1BBBE6:: @ 81BBBE6 end EventScript_1BBBE7:: @ 81BBBE7 - checkflag FLAG_GOT_POWDER_JAR - goto_if FALSE, EventScript_1BBC32 + goto_if_unset FLAG_GOT_POWDER_JAR, EventScript_1BBC32 multichoice 0, 0, MULTICHOICE_TRADE_COLOSSEUM_CRUSH, FALSE switch VAR_RESULT case 0, EventScript_1BBC69 @@ -952,10 +948,10 @@ EventScript_1BBC32:: @ 81BBC32 EventScript_1BBC69:: @ 81BBC69 msgbox gUnknown_81BD317, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F call EventScript_1BB79C compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F setvar VAR_0x8004, 3 goto EventScript_1BBD6F @@ -985,7 +981,7 @@ EventScript_1BBCF4:: @ 81BBCF4 EventScript_1BBCF5:: @ 81BBCF5 special CheckForAlivePartyMons compare VAR_RESULT, 0 - goto_if ne, EventScript_1BBD0E + goto_if_ne EventScript_1BBD0E setvar VAR_0x8004, 1 goto EventScript_1BBD6F @@ -1016,10 +1012,10 @@ EventScript_1BBD34:: @ 81BBD34 EventScript_1BBD35:: @ 81BBD35 msgbox gUnknown_81BD362, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F special CheckHasAtLeastOneBerry compare VAR_RESULT, 0 - goto_if eq, EventScript_1BBD61 + goto_if_eq EventScript_1BBD61 setvar VAR_0x8004, 5 goto EventScript_1BBD6F @@ -1036,7 +1032,7 @@ EventScript_1BBD6E:: @ 81BBD6E EventScript_1BBD6F:: @ 81BBD6F call EventScript_1A4EAF compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB82F + goto_if_eq EventScript_1BB82F switch VAR_0x8004 case 3, EventScript_1BBDBC case 0, EventScript_1BBDBC @@ -1061,22 +1057,22 @@ EventScript_1BBDBC:: @ 81BBDBC EventScript_1BBE00:: @ 81BBE00 call EventScript_1BBF78 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BBF88 + goto_if_eq EventScript_1BBF88 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BBDBC + goto_if_eq EventScript_1BBDBC compare VAR_RESULT, 8 - goto_if eq, EventScript_1BBE00 + goto_if_eq EventScript_1BBE00 release return EventScript_1BBE28:: @ 81BBE28 call EventScript_1BBF80 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BBF88 + goto_if_eq EventScript_1BBF88 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BBDBC + goto_if_eq EventScript_1BBDBC compare VAR_RESULT, 8 - goto_if eq, EventScript_1BBE28 + goto_if_eq EventScript_1BBE28 release return @@ -1096,22 +1092,22 @@ EventScript_1BBE50:: @ 81BBE50 EventScript_1BBE94:: @ 81BBE94 call EventScript_1BBF78 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BBF88 + goto_if_eq EventScript_1BBF88 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BBE50 + goto_if_eq EventScript_1BBE50 compare VAR_RESULT, 8 - goto_if eq, EventScript_1BBE94 + goto_if_eq EventScript_1BBE94 release return EventScript_1BBEBC:: @ 81BBEBC call EventScript_1BBF80 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BBF88 + goto_if_eq EventScript_1BBF88 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BBE50 + goto_if_eq EventScript_1BBE50 compare VAR_RESULT, 8 - goto_if eq, EventScript_1BBEBC + goto_if_eq EventScript_1BBEBC release return @@ -1131,22 +1127,22 @@ EventScript_1BBEE4:: @ 81BBEE4 EventScript_1BBF28:: @ 81BBF28 call EventScript_1BBF78 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BBF88 + goto_if_eq EventScript_1BBF88 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BBEE4 + goto_if_eq EventScript_1BBEE4 compare VAR_RESULT, 8 - goto_if eq, EventScript_1BBF28 + goto_if_eq EventScript_1BBF28 release return EventScript_1BBF50:: @ 81BBF50 call EventScript_1BBF80 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BBF88 + goto_if_eq EventScript_1BBF88 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BBEE4 + goto_if_eq EventScript_1BBEE4 compare VAR_RESULT, 8 - goto_if eq, EventScript_1BBF50 + goto_if_eq EventScript_1BBF50 release return @@ -1191,13 +1187,12 @@ EventScript_1BBF88:: @ 81BBF88 gUnknown_81BBFD8:: @ 81BBFD8 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall - checkflag FLAG_SYS_POKEDEX_GET - goto_if FALSE, EventScript_1BB881 + goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB881 specialvar VAR_RESULT, IsWirelessAdapterConnected compare VAR_RESULT, 0 - goto_if eq, EventScript_1BC016 + goto_if_eq EventScript_1BC016 special HelpSystem_Disable fadescreen 1 special sub_814F1D4 @@ -1261,7 +1256,7 @@ ViridianCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C EventScript_1BC060:: @ 81BC060 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer @@ -1293,7 +1288,7 @@ EventScript_1BC0C4:: @ 81BC0C4 EventScript_1BC0CE:: @ 81BC0CE special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer @@ -1301,7 +1296,7 @@ EventScript_1BC0CE:: @ 81BC0CE waitmessage specialvar VAR_RESULT, IsWirelessAdapterConnected compare VAR_RESULT, 0 - goto_if eq, EventScript_1BC29C + goto_if_eq EventScript_1BC29C delay 60 special HelpSystem_Disable message Text_1BD02D @@ -1318,16 +1313,16 @@ EventScript_1BC13A:: @ 81BC13A setvar VAR_0x8005, 0 special sub_8149A18 compare VAR_RESULT, 0 - goto_if eq, EventScript_NoEligiblePkmn + goto_if_eq EventScript_NoEligiblePkmn msgbox gUnknown_81BD059 setvar VAR_0x8005, 0 special ChooseMonForWirelessMinigame waitstate compare VAR_0x8004, 6 - goto_if ge, EventScript_1BB83F + goto_if_ge EventScript_1BB83F call EventScript_1A4EAF compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB83F + goto_if_eq EventScript_1BB83F setvar VAR_0x8004, 4 goto EventScript_1BC1CE @@ -1338,16 +1333,16 @@ EventScript_1BC184:: @ 81BC184 setvar VAR_0x8005, 1 special sub_81537C0 compare VAR_RESULT, 0 - goto_if eq, EventScript_NoEligiblePkmn + goto_if_eq EventScript_NoEligiblePkmn msgbox gUnknown_81BD059 setvar VAR_0x8005, 1 special ChooseMonForWirelessMinigame waitstate compare VAR_0x8004, 6 - goto_if ge, EventScript_1BB83F + goto_if_ge EventScript_1BB83F call EventScript_1A4EAF compare VAR_RESULT, 0 - goto_if eq, EventScript_1BB83F + goto_if_eq EventScript_1BB83F setvar VAR_0x8004, 6 goto EventScript_1BC1CE @@ -1370,22 +1365,22 @@ EventScript_1BC1CE:: @ 81BC1CE EventScript_1BC212:: @ 81BC212 call EventScript_1BBF78 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BC262 + goto_if_eq EventScript_1BC262 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BC1CE + goto_if_eq EventScript_1BC1CE compare VAR_RESULT, 8 - goto_if eq, EventScript_1BC212 + goto_if_eq EventScript_1BC212 release return EventScript_1BC23A:: @ 81BC23A call EventScript_1BBF80 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BC262 + goto_if_eq EventScript_1BC262 compare VAR_RESULT, 5 - goto_if eq, EventScript_1BC1CE + goto_if_eq EventScript_1BC1CE compare VAR_RESULT, 8 - goto_if eq, EventScript_1BC23A + goto_if_eq EventScript_1BC23A release return @@ -1417,11 +1412,11 @@ EventScript_1BC29C:: @ 81BC29C EventScript_NoEligiblePkmn:: @ 81BC2A6 msgbox gUnknown_81BD0CF, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1BB83F + goto_if_eq EventScript_1BB83F compare VAR_0x8005, 0 - call_if eq, EventScript_1BC2D5 + call_if_eq EventScript_1BC2D5 compare VAR_0x8005, 1 - call_if eq, EventScript_1BC2DE + call_if_eq EventScript_1BC2DE goto EventScript_1BB83F EventScript_1BC2D4:: @ 81BC2D4 @@ -1438,7 +1433,7 @@ EventScript_1BC2DE:: @ 81BC2DE TwoIsland_JoyfulGameCorner_EventScript_1BC2E7:: @ 81BC2E7 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall special sub_814B504 waitstate @@ -1448,7 +1443,7 @@ TwoIsland_JoyfulGameCorner_EventScript_1BC2E7:: @ 81BC2E7 TwoIsland_JoyfulGameCorner_EventScript_1BC2FC:: @ 81BC2FC special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall special sub_8153810 waitstate diff --git a/data/scripts/day_care.inc b/data/scripts/day_care.inc index 3576b40e8..bac14d221 100644 --- a/data/scripts/day_care.inc +++ b/data/scripts/day_care.inc @@ -1,16 +1,16 @@ Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lock faceplayer showmoneybox 0, 0, 0 specialvar VAR_RESULT, IsThereMonInRoute5Daycare compare VAR_RESULT, 1 - goto_if eq, EventScript_1BF46E + goto_if_eq EventScript_1BF46E msgbox Text_19DD66, 5 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BF3DD + goto_if_eq EventScript_1BF3DD msgbox Text_19DDB2 goto EventScript_1BF541 end @@ -18,7 +18,7 @@ Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398 EventScript_1BF3DD:: @ 81BF3DD specialvar VAR_RESULT, CountPartyNonEggMons compare VAR_RESULT, 1 - goto_if eq, EventScript_1BF452 + goto_if_eq EventScript_1BF452 msgbox Text_19DDBE fadescreen 1 hidemoneybox 0, 0 @@ -26,10 +26,10 @@ EventScript_1BF3DD:: @ 81BF3DD waitstate showmoneybox 0, 0, 0 compare VAR_0x8004, 6 - goto_if ge, EventScript_1BF444 + goto_if_ge EventScript_1BF444 specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot compare VAR_RESULT, 0 - goto_if eq, EventScript_1BF460 + goto_if_eq EventScript_1BF460 specialvar VAR_0x8005, GetSelectedMonNickAndSpecies msgbox Text_19DDF9 waitse @@ -60,13 +60,13 @@ EventScript_1BF46E:: @ 81BF46E setvar VAR_0x8004, 0 specialvar VAR_RESULT, GetNumLevelsGainedForRoute5DaycareMon compare VAR_RESULT, 0 - call_if ne, EventScript_1BF4AA + call_if_ne EventScript_1BF4AA compare VAR_RESULT, 0 - call_if eq, EventScript_1BF4B3 + call_if_eq EventScript_1BF4B3 special GetCostToWithdrawRoute5DaycareMon msgbox Text_19DE80, 5 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BF4BC + goto_if_eq EventScript_1BF4BC goto EventScript_1BF444 end @@ -81,10 +81,10 @@ EventScript_1BF4B3:: @ 81BF4B3 EventScript_1BF4BC:: @ 81BF4BC specialvar VAR_RESULT, CalculatePlayerPartyCount compare VAR_RESULT, PARTY_SIZE - goto_if eq, EventScript_1BF533 + goto_if_eq EventScript_1BF533 specialvar VAR_RESULT, IsEnoughForCostInVar0x8005 compare VAR_RESULT, 1 - goto_if eq, EventScript_1BF4EA + goto_if_eq EventScript_1BF4EA msgbox Text_19E001 goto EventScript_1BF541 end @@ -95,7 +95,7 @@ EventScript_1BF4EA:: @ 81BF4EA special SubtractMoneyFromVar0x8005 updatemoneybox 0, 0, 0 copyvar VAR_0x8008, VAR_RESULT - countpokemon + getpartysize subvar VAR_RESULT, 1 getpartymonname 0, VAR_RESULT copyvar VAR_RESULT, VAR_0x8008 diff --git a/data/scripts/field_moves.inc b/data/scripts/field_moves.inc index 89ef6d622..3d808fa86 100644 --- a/data/scripts/field_moves.inc +++ b/data/scripts/field_moves.inc @@ -1,19 +1,18 @@ EventScript_InteractWithCutTreeObject:: @ 81BDF13 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall - checkflag FLAG_BADGE02_GET - goto_if FALSE, EventScript_1BDF87 + goto_if_unset FLAG_BADGE02_GET, EventScript_1BDF87 checkpartymove MOVE_CUT compare VAR_RESULT, PARTY_SIZE - goto_if eq, EventScript_1BDF87 + goto_if_eq EventScript_1BDF87 setfieldeffectarg 0, VAR_RESULT getpartymonname 0, VAR_RESULT getmovename 1, MOVE_CUT msgbox gUnknown_81BDF94, 5 compare VAR_RESULT, 0 - goto_if eq, EventScript_1BDF91 + goto_if_eq EventScript_1BDF91 msgbox gUnknown_81BDFD7 closemessage dofieldeffect FLDEFF_USE_CUT_ON_TREE @@ -64,19 +63,18 @@ gUnknown_81BDFE3:: @ 81BDFE3 EventScript_InteractWithRockSmashRockObject:: @ 81BE00C special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall - checkflag FLAG_BADGE06_GET - goto_if FALSE, EventScript_1BE091 + goto_if_unset FLAG_BADGE06_GET, EventScript_1BE091 checkpartymove MOVE_ROCK_SMASH compare VAR_RESULT, PARTY_SIZE - goto_if eq, EventScript_1BE091 + goto_if_eq EventScript_1BE091 setfieldeffectarg 0, VAR_RESULT getpartymonname 0, VAR_RESULT getmovename 1, MOVE_ROCK_SMASH msgbox Text_1BE09D, 5 compare VAR_RESULT, 0 - goto_if eq, EventScript_1BE09A + goto_if_eq EventScript_1BE09A msgbox gUnknown_81BDFD7 closemessage dofieldeffect FLDEFF_USE_ROCK_SMASH @@ -97,7 +95,7 @@ EventScript_1BE06F:: @ 81BE06F removeobject VAR_LAST_TALKED special ScrSpecial_RockSmashWildEncounter compare VAR_RESULT, 0 - goto_if eq, EventScript_1BE08D + goto_if_eq EventScript_1BE08D waitstate releaseall end @@ -130,19 +128,17 @@ gUnknown_81BE0E2:: @ 81BE0E2 EventScript_InteractWithStrengthBoulderObject:: @ 81BE11D special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall - checkflag FLAG_BADGE04_GET - goto_if FALSE, EventScript_1BE185 - checkflag FLAG_SYS_STRENGTH_ACTIVE - goto_if TRUE, EventScript_1BE18E + goto_if_unset FLAG_BADGE04_GET, EventScript_1BE185 + goto_if_set FLAG_SYS_STRENGTH_ACTIVE, EventScript_1BE18E checkpartymove MOVE_STRENGTH compare VAR_RESULT, PARTY_SIZE - goto_if eq, EventScript_1BE185 + goto_if_eq EventScript_1BE185 setfieldeffectarg 0, VAR_RESULT msgbox gUnknown_81BE19A, 5 compare VAR_RESULT, 0 - goto_if eq, EventScript_1BE197 + goto_if_eq EventScript_1BE197 closemessage dofieldeffect FLDEFF_USE_STRENGTH waitstate @@ -195,16 +191,16 @@ gUnknown_81BE284:: @ 81BE284 gUnknown_81BE2B7:: @ 81BE2B7 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall checkpartymove MOVE_WATERFALL compare VAR_RESULT, PARTY_SIZE - goto_if eq, EventScript_1BE300 + goto_if_eq EventScript_1BE300 getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT msgbox gUnknown_81BE33F, 5 compare VAR_RESULT, 0 - goto_if eq, EventScript_1BE308 + goto_if_eq EventScript_1BE308 msgbox gUnknown_81BE378 dofieldeffect FLDEFF_USE_WATERFALL goto EventScript_1BE308 @@ -233,13 +229,13 @@ EventScript_1BE38B:: @ 81BE38B lockall checkpartymove MOVE_DIVE compare VAR_RESULT, PARTY_SIZE - goto_if eq, EventScript_1BE3CA + goto_if_eq EventScript_1BE3CA getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT setfieldeffectarg 1, 1 msgbox gUnknown_81BE469, 5 compare VAR_RESULT, 0 - goto_if eq, EventScript_1BE3D2 + goto_if_eq EventScript_1BE3D2 msgbox gUnknown_81BE49B dofieldeffect FLDEFF_USE_DIVE goto EventScript_1BE3D2 @@ -256,13 +252,13 @@ EventScript_1BE3D4:: @ 81BE3D4 lockall checkpartymove MOVE_DIVE compare VAR_RESULT, PARTY_SIZE - goto_if eq, EventScript_1BE412 + goto_if_eq EventScript_1BE412 getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT setfieldeffectarg 1, 1 msgbox gUnknown_81BE4EF, 5 compare VAR_RESULT, 0 - goto_if eq, EventScript_1BE429 + goto_if_eq EventScript_1BE429 msgbox gUnknown_81BE49B dofieldeffect FLDEFF_USE_DIVE goto EventScript_1BE429 diff --git a/data/scripts/move_tutors.inc b/data/scripts/move_tutors.inc index 211c2a935..0552b6bb3 100644 --- a/data/scripts/move_tutors.inc +++ b/data/scripts/move_tutors.inc @@ -1,19 +1,18 @@ VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE lock faceplayer - checkflag FLAG_TUTOR_DOUBLE_EDGE - goto_if TRUE, EventScript_1C480C + goto_if_set FLAG_TUTOR_DOUBLE_EDGE, EventScript_1C480C msgbox Text_1749F9, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4802 + goto_if_eq EventScript_1C4802 call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4802 + goto_if_eq EventScript_1C4802 msgbox Text_174AE2 setvar VAR_0x8005, MOVETUTOR_DOUBLE_EDGE call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4802 + goto_if_eq EventScript_1C4802 setflag FLAG_TUTOR_DOUBLE_EDGE goto EventScript_1C480C end @@ -31,19 +30,18 @@ EventScript_1C480C:: @ 81C480C EventScript_1C4816:: @ 81C4816 lock faceplayer - checkflag FLAG_TUTOR_THUNDER_WAVE - goto_if TRUE, EventScript_1C4874 + goto_if_set FLAG_TUTOR_THUNDER_WAVE, EventScript_1C4874 msgbox Text_175711, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C486A + goto_if_eq EventScript_1C486A call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C486A + goto_if_eq EventScript_1C486A msgbox Text_1757C1 setvar VAR_0x8005, MOVETUTOR_THUNDER_WAVE call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C486A + goto_if_eq EventScript_1C486A setflag FLAG_TUTOR_THUNDER_WAVE goto EventScript_1C4874 end @@ -61,19 +59,18 @@ EventScript_1C4874:: @ 81C4874 RockTunnel_B1F_EventScript_1C487E:: @ 81C487E lock faceplayer - checkflag FLAG_TUTOR_ROCK_SLIDE - goto_if TRUE, EventScript_1C48DC + goto_if_set FLAG_TUTOR_ROCK_SLIDE, EventScript_1C48DC msgbox Text_1799E0, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C48D2 + goto_if_eq EventScript_1C48D2 call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C48D2 + goto_if_eq EventScript_1C48D2 msgbox Text_179AE1 setvar VAR_0x8005, MOVETUTOR_ROCK_SLIDE call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C48D2 + goto_if_eq EventScript_1C48D2 setflag FLAG_TUTOR_ROCK_SLIDE goto EventScript_1C48DC end @@ -91,19 +88,18 @@ EventScript_1C48DC:: @ 81C48DC MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6 lock faceplayer - checkflag FLAG_TUTOR_EXPLOSION - goto_if TRUE, EventScript_1C4944 + goto_if_set FLAG_TUTOR_EXPLOSION, EventScript_1C4944 msgbox Text_17A642, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C493A + goto_if_eq EventScript_1C493A call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C493A + goto_if_eq EventScript_1C493A msgbox Text_17A717 setvar VAR_0x8005, MOVETUTOR_EXPLOSION call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C493A + goto_if_eq EventScript_1C493A setflag FLAG_TUTOR_EXPLOSION goto EventScript_1C4944 end @@ -121,19 +117,18 @@ EventScript_1C4944:: @ 81C4944 Route4_EventScript_1C494E:: @ 81C494E lock faceplayer - checkflag FLAG_TUTOR_META_PUNCH - goto_if TRUE, EventScript_1C49AC + goto_if_set FLAG_TUTOR_META_PUNCH, EventScript_1C49AC msgbox Text_1839D5, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C49A2 + goto_if_eq EventScript_1C49A2 call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C49A2 + goto_if_eq EventScript_1C49A2 msgbox Text_183ABF setvar VAR_0x8005, MOVETUTOR_MEGA_PUNCH call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C49A2 + goto_if_eq EventScript_1C49A2 setflag FLAG_TUTOR_META_PUNCH goto EventScript_1C49AC end @@ -151,19 +146,18 @@ EventScript_1C49AC:: @ 81C49AC Route4_EventScript_1C49B6:: @ 81C49B6 lock faceplayer - checkflag FLAG_TUTOR_MEGA_KICK - goto_if TRUE, EventScript_1C4A14 + goto_if_set FLAG_TUTOR_MEGA_KICK, EventScript_1C4A14 msgbox Text_183B74, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4A0A + goto_if_eq EventScript_1C4A0A call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4A0A + goto_if_eq EventScript_1C4A0A msgbox Text_183C68 setvar VAR_0x8005, MOVETUTOR_MEGA_KICK call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4A0A + goto_if_eq EventScript_1C4A0A setflag FLAG_TUTOR_MEGA_KICK goto EventScript_1C4A14 end @@ -181,19 +175,18 @@ EventScript_1C4A14:: @ 81C4A14 EventScript_1C4A1E:: @ 81C4A1E lock faceplayer - checkflag FLAG_TUTOR_DREAM_EATER - goto_if TRUE, EventScript_1C4A7C + goto_if_set FLAG_TUTOR_DREAM_EATER, EventScript_1C4A7C msgbox Text_17E316, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4A72 + goto_if_eq EventScript_1C4A72 call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4A72 + goto_if_eq EventScript_1C4A72 msgbox Text_17E3F1 setvar VAR_0x8005, MOVETUTOR_DREAM_EATER call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4A72 + goto_if_eq EventScript_1C4A72 setflag FLAG_TUTOR_DREAM_EATER goto EventScript_1C4A7C end @@ -211,19 +204,18 @@ EventScript_1C4A7C:: @ 81C4A7C EventScript_1C4A86:: @ 81C4A86 lock faceplayer - checkflag FLAG_TUTOR_SOFT_BOILED - goto_if TRUE, EventScript_1C4AE4 + goto_if_set FLAG_TUTOR_SOFT_BOILED, EventScript_1C4AE4 msgbox Text_180388, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4ADA + goto_if_eq EventScript_1C4ADA call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4ADA + goto_if_eq EventScript_1C4ADA msgbox Text_180484 setvar VAR_0x8005, MOVETUTOR_SOFT_BOILED call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4ADA + goto_if_eq EventScript_1C4ADA setflag FLAG_TUTOR_SOFT_BOILED goto EventScript_1C4AE4 end @@ -241,19 +233,18 @@ EventScript_1C4AE4:: @ 81C4AE4 FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE lock faceplayer - checkflag FLAG_TUTOR_SUBSTITUTE - goto_if TRUE, EventScript_1C4B4C + goto_if_set FLAG_TUTOR_SUBSTITUTE, EventScript_1C4B4C msgbox Text_180948, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4B42 + goto_if_eq EventScript_1C4B42 call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4B42 + goto_if_eq EventScript_1C4B42 msgbox Text_180A57 setvar VAR_0x8005, MOVETUTOR_SUBSTITUTE call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4B42 + goto_if_eq EventScript_1C4B42 setflag FLAG_TUTOR_SUBSTITUTE goto EventScript_1C4B4C end @@ -271,19 +262,18 @@ EventScript_1C4B4C:: @ 81C4B4C SevenIsland_EventScript_1C4B56:: @ 81C4B56 lock faceplayer - checkflag FLAG_TUTOR_SWORDS_DANCE - goto_if TRUE, EventScript_1C4BB4 + goto_if_set FLAG_TUTOR_SWORDS_DANCE, EventScript_1C4BB4 msgbox Text_182F01, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4BAA + goto_if_eq EventScript_1C4BAA call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4BAA + goto_if_eq EventScript_1C4BAA msgbox Text_182FD9 setvar VAR_0x8005, MOVETUTOR_SWORDS_DANCE call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4BAA + goto_if_eq EventScript_1C4BAA setflag FLAG_TUTOR_SWORDS_DANCE goto EventScript_1C4BB4 end @@ -301,19 +291,18 @@ EventScript_1C4BB4:: @ 81C4BB4 PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE lock faceplayer - checkflag FLAG_TUTOR_SEISMIC_TOSS - goto_if TRUE, EventScript_1C4C1C + goto_if_set FLAG_TUTOR_SEISMIC_TOSS, EventScript_1C4C1C msgbox Text_1909A3, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4C12 + goto_if_eq EventScript_1C4C12 call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4C12 + goto_if_eq EventScript_1C4C12 msgbox Text_190AD5 setvar VAR_0x8005, MOVETUTOR_SEISMIC_TOSS call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4C12 + goto_if_eq EventScript_1C4C12 setflag FLAG_TUTOR_SEISMIC_TOSS goto EventScript_1C4C1C end @@ -331,19 +320,18 @@ EventScript_1C4C1C:: @ 81C4C1C EventScript_1C4C26:: @ 81C4C26 lock faceplayer - checkflag FLAG_TUTOR_COUNTER - goto_if TRUE, EventScript_1C4C84 + goto_if_set FLAG_TUTOR_COUNTER, EventScript_1C4C84 msgbox Text_195928, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4C7A + goto_if_eq EventScript_1C4C7A call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4C7A + goto_if_eq EventScript_1C4C7A msgbox Text_195A08 setvar VAR_0x8005, MOVETUTOR_COUNTER call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4C7A + goto_if_eq EventScript_1C4C7A setflag FLAG_TUTOR_COUNTER goto EventScript_1C4C84 end @@ -361,19 +349,18 @@ EventScript_1C4C84:: @ 81C4C84 EventScript_1C4C8E:: @ 81C4C8E lock faceplayer - checkflag FLAG_TUTOR_METRONOME - goto_if TRUE, EventScript_1C4CEC + goto_if_set FLAG_TUTOR_METRONOME, EventScript_1C4CEC msgbox Text_19A137, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4CE2 + goto_if_eq EventScript_1C4CE2 call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4CE2 + goto_if_eq EventScript_1C4CE2 msgbox Text_19A1EA setvar VAR_0x8005, MOVETUTOR_METRONOME call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4CE2 + goto_if_eq EventScript_1C4CE2 setflag FLAG_TUTOR_METRONOME goto EventScript_1C4CEC end @@ -389,21 +376,20 @@ EventScript_1C4CEC:: @ 81C4CEC end EventScript_1C4CF6:: @ 81C4CF6 - checkflag FLAG_TUTOR_MIMIC - goto_if TRUE, EventScript_1C4D59 + goto_if_set FLAG_TUTOR_MIMIC, EventScript_1C4D59 msgbox Text_19AD85, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4D4F + goto_if_eq EventScript_1C4D4F call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4D4F + goto_if_eq EventScript_1C4D4F msgbox Text_19ADEE setvar VAR_0x8005, MOVETUTOR_MIMIC call EventScript_1C4F30 lock faceplayer compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4D4F + goto_if_eq EventScript_1C4D4F removeitem ITEM_POKE_DOLL, 1 setflag FLAG_TUTOR_MIMIC goto EventScript_1C4D59 @@ -417,9 +403,9 @@ EventScript_1C4D4F:: @ 81C4D4F EventScript_1C4D59:: @ 81C4D59 checkplayergender compare VAR_RESULT, 0 - call_if eq, EventScript_1C4D72 + call_if_eq EventScript_1C4D72 compare VAR_RESULT, 1 - call_if eq, EventScript_1C4D7B + call_if_eq EventScript_1C4D7B release end @@ -434,19 +420,18 @@ EventScript_1C4D7B:: @ 81C4D7B FourIsland_House1_EventScript_1C4D84:: @ 81C4D84 lock faceplayer - checkflag FLAG_TUTOR_BODY_SLAM - goto_if TRUE, EventScript_1C4DE2 + goto_if_set FLAG_TUTOR_BODY_SLAM, EventScript_1C4DE2 msgbox Text_1A3505, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4DD8 + goto_if_eq EventScript_1C4DD8 call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4DD8 + goto_if_eq EventScript_1C4DD8 msgbox Text_1A35DA setvar VAR_0x8005, MOVETUTOR_BODY_SLAM call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4DD8 + goto_if_eq EventScript_1C4DD8 setflag FLAG_TUTOR_BODY_SLAM goto EventScript_1C4DE2 end @@ -464,34 +449,32 @@ EventScript_1C4DE2:: @ 81C4DE2 TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer - checkflag FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK - goto_if TRUE, EventScript_1C4EA1 - checkflag FLAG_TEMP_2 - goto_if TRUE, EventScript_1C4E97 + goto_if_set FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK, EventScript_1C4EA1 + goto_if_set FLAG_TEMP_2, EventScript_1C4E97 getfirstpartymonname 0 msgbox Text_1A46C6 specialvar VAR_RESULT, Special_CapeBrinkGetMoveToTeachLeadPokemon compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4F26 + goto_if_eq EventScript_1C4F26 copyvar VAR_0x8009, VAR_0x8005 compare VAR_FACING, DIR_NORTH - call_if eq, EventScript_1C4EF0 + call_if_eq EventScript_1C4EF0 compare VAR_FACING, DIR_SOUTH - call_if eq, EventScript_1C4EFB + call_if_eq EventScript_1C4EFB compare VAR_FACING, DIR_EAST - call_if eq, EventScript_1C4F06 + call_if_eq EventScript_1C4F06 compare VAR_FACING, DIR_WEST - call_if eq, EventScript_1C4F11 + call_if_eq EventScript_1C4F11 msgbox Text_1A4751, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_1C4F1C + goto_if_eq EventScript_1C4F1C call EventScript_1C4F37 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4F1C + goto_if_eq EventScript_1C4F1C msgbox Text_1A4814 closemessage fadescreen 1 @@ -516,7 +499,7 @@ EventScript_1C4EAB:: @ 81C4EAB copyvar VAR_0x8005, VAR_0x8009 specialvar VAR_RESULT, Special_HasLearnedAllMovesFromCapeBrinkTutor compare VAR_RESULT, 1 - goto_if eq, EventScript_1C4ECD + goto_if_eq EventScript_1C4ECD msgbox Text_1A4865 setflag FLAG_TEMP_2 release @@ -531,7 +514,7 @@ EventScript_1C4ECD:: @ 81C4ECD EventScript_1C4EDA:: @ 81C4EDA call EventScript_1C4F30 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C4F1C + goto_if_eq EventScript_1C4F1C goto EventScript_1C4EAB end diff --git a/data/scripts/mystery_event_club.inc b/data/scripts/mystery_event_club.inc index f20768d88..6a7ed3d2d 100644 --- a/data/scripts/mystery_event_club.inc +++ b/data/scripts/mystery_event_club.inc @@ -2,9 +2,8 @@ PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16 lock faceplayer compare VAR_TEMP_1, 1 - goto_if eq, EventScript_1BEE3A - checkflag FLAG_SYS_SET_TRAINER_CARD_PROFILE - goto_if TRUE, EventScript_1BEECD + goto_if_eq EventScript_1BEE3A + goto_if_set FLAG_SYS_SET_TRAINER_CARD_PROFILE, EventScript_1BEECD msgbox Text_1BEF88 goto EventScript_1BEE44 end @@ -104,11 +103,11 @@ EventScript_1BEF5A:: @ 81BEF5A lock faceplayer compare VAR_0x8004, 0 - goto_if eq, EventScript_1BEF3F + goto_if_eq EventScript_1BEF3F compare VAR_RESULT, 0 - goto_if eq, EventScript_1BEE9E + goto_if_eq EventScript_1BEE9E compare VAR_RESULT, 1 - goto_if eq, EventScript_1BEEA8 + goto_if_eq EventScript_1BEEA8 end Text_1BEF88:: @ 81BEF88 diff --git a/data/scripts/obtain_item.inc b/data/scripts/obtain_item.inc index d919d5fc6..d3ca91f19 100644 --- a/data/scripts/obtain_item.inc +++ b/data/scripts/obtain_item.inc @@ -20,9 +20,9 @@ EventScript_1A6697:: @ 81A6697 checkitemtype VAR_0x8000 call EventScript_1A66BC compare VAR_0x8007, 1 - call_if eq, EventScript_1A6749 + call_if_eq EventScript_1A6749 compare VAR_0x8007, 0 - call_if eq, EventScript_1A675E + call_if_eq EventScript_1A675E return EventScript_1A66BC:: @ 81A66BC @@ -37,31 +37,31 @@ EventScript_1A66BC:: @ 81A66BC EventScript_1A66F9:: @ 81A66F9 getstdstring 2, 24 compare VAR_0x8007, 1 - call_if eq, EventScript_1A6764 + call_if_eq EventScript_1A6764 return EventScript_1A6709:: @ 81A6709 getstdstring 2, 25 compare VAR_0x8007, 1 - call_if eq, EventScript_1A6764 + call_if_eq EventScript_1A6764 return EventScript_1A6719:: @ 81A6719 getstdstring 2, 26 compare VAR_0x8007, 1 - call_if eq, EventScript_1A6764 + call_if_eq EventScript_1A6764 return EventScript_1A6729:: @ 81A6729 getstdstring 2, 27 compare VAR_0x8007, 1 - call_if eq, EventScript_1A6768 + call_if_eq EventScript_1A6768 return EventScript_1A6739:: @ 81A6739 getstdstring 2, 28 compare VAR_0x8007, 1 - call_if eq, EventScript_1A6764 + call_if_eq EventScript_1A6764 return EventScript_1A6749:: @ 81A6749 @@ -93,9 +93,9 @@ Std_ObtainDecoration:: @ 81A676C EventScript_1A677A:: @ 81A677A getdecorname 1, VAR_0x8000 compare VAR_0x8007, 1 - call_if eq, EventScript_1A6795 + call_if_eq EventScript_1A6795 compare VAR_0x8007, 0 - call_if eq, EventScript_1A67AD + call_if_eq EventScript_1A67AD return EventScript_1A6795:: @ 81A6795 @@ -123,9 +123,9 @@ Std_FindItem:: @ 81A67B3 checkitemtype VAR_0x8000 call EventScript_1A66BC compare VAR_0x8007, 1 - call_if eq, EventScript_1A67EE + call_if_eq EventScript_1A67EE compare VAR_0x8007, 0 - call_if eq, EventScript_1A682D + call_if_eq EventScript_1A682D release return @@ -135,9 +135,9 @@ EventScript_1A67EE:: @ 81A67EE specialvar VAR_RESULT, Special_ItemIsTM_GetMoveName copyvar VAR_0x8008, VAR_RESULT compare VAR_0x8008, 1 - call_if eq, EventScript_1A6821 + call_if_eq EventScript_1A6821 compare VAR_0x8008, 0 - call_if eq, EventScript_1A6827 + call_if_eq EventScript_1A6827 waitfanfare waitmessage msgbox Text_PutItemAway @@ -162,12 +162,12 @@ EventScript_PickUpHiddenItem:: @ 81A6843 textcolor 3 waitse compare VAR_0x8005, 0 - goto_if eq, EventScript_PickUpHiddenCoins + goto_if_eq EventScript_PickUpHiddenCoins call EventScript_GiveItem compare VAR_0x8007, 1 - goto_if eq, EventScript_ItemInPocketMessage + goto_if_eq EventScript_ItemInPocketMessage compare VAR_0x8007, 0 - goto_if eq, EventScript_BagIsFullMessage + goto_if_eq EventScript_BagIsFullMessage end EventScript_GiveItem:: @@ -180,9 +180,9 @@ EventScript_GiveItem:: EventScript_ItemInPocketMessage:: compare VAR_0x8006, 1 - call_if eq, EventScript_FoundSingleItemMessage + call_if_eq EventScript_FoundSingleItemMessage compare VAR_0x8006, 1 - call_if ne, EventScript_FoundMultipleItemsMessage + call_if_ne EventScript_FoundMultipleItemsMessage waitfanfare waitmessage msgbox Text_PutItemAway @@ -212,12 +212,11 @@ EventScript_BagIsFullMessage:: end EventScript_PickUpHiddenCoins:: - checkflag FLAG_GOT_COIN_CASE - goto_if FALSE, EventScript_HiddenCoinsButNoCoinCase + goto_if_unset FLAG_GOT_COIN_CASE, EventScript_HiddenCoinsButNoCoinCase checkcoins VAR_RESULT specialvar VAR_RESULT, Special_CheckAddCoins compare VAR_RESULT, 0 - goto_if eq, EventScript_HiddenCoinsButTheCoinCaseIsFull + goto_if_eq EventScript_HiddenCoinsButTheCoinCaseIsFull givecoins VAR_0x8006 getstdstring 1, 0x17 call EventScript_1A6764 diff --git a/data/scripts/pc.inc b/data/scripts/pc.inc index 9666a1fd1..cd5790cd0 100644 --- a/data/scripts/pc.inc +++ b/data/scripts/pc.inc @@ -1,10 +1,9 @@ EventScript_PC:: @ 81A6955 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 lockall - checkflag FLAG_SYS_PC_STORAGE_DISABLED - goto_if TRUE, EventScript_PCDisabled + goto_if_set FLAG_SYS_PC_STORAGE_DISABLED, EventScript_PCDisabled setvar VAR_0x8004, 27 special Special_SetSomeVariable setvar VAR_0x8004, 0 @@ -47,10 +46,8 @@ EventScript_AccessPlayersPC:: @ 81A69F0 EventScript_AccessPokemonStorage:: @ 81A6A05 playse SE_PC_LOGIN - checkflag FLAG_SYS_NOT_SOMEONES_PC - call_if FALSE, EventScript_1A6A34 - checkflag FLAG_SYS_NOT_SOMEONES_PC - call_if TRUE, EventScript_1A6A3D + call_if_unset FLAG_SYS_NOT_SOMEONES_PC, EventScript_1A6A34 + call_if_set FLAG_SYS_NOT_SOMEONES_PC, EventScript_1A6A3D msgbox Text_OpenedPkmnStorage special ShowPokemonStorageSystem waitstate @@ -76,8 +73,7 @@ EventScript_1A6A46:: @ 81A6A46 end EventScript_1A6A56:: @ 81A6A56 - checkflag FLAG_SYS_GAME_CLEAR - goto_if FALSE, EventScript_1A6A46 + goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_1A6A46 playse SE_PC_LOGIN setvar VAR_0x8004, 31 special HelpSystem_BackupSomeVariable @@ -89,13 +85,12 @@ EventScript_1A6A56:: @ 81A6A56 end EventScript_AccessProfOaksPC:: @ 81A6A7A - checkflag FLAG_SYS_POKEDEX_GET - goto_if FALSE, EventScript_1A6A46 + goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1A6A46 playse SE_PC_LOGIN msgbox Text_AccessedProfOaksPC msgbox Text_HavePokedexRated, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if eq, EventScript_ExitOaksPC + goto_if_eq EventScript_ExitOaksPC setflag FLAG_OAKS_RATING_IS_VIA_PC call EventScript_1A73E0 clearflag FLAG_OAKS_RATING_IS_VIA_PC diff --git a/data/scripts/pkmn_center_nurse.inc b/data/scripts/pkmn_center_nurse.inc index bad257087..7fa2b0d46 100644 --- a/data/scripts/pkmn_center_nurse.inc +++ b/data/scripts/pkmn_center_nurse.inc @@ -1,7 +1,7 @@ EventScript_PkmnCenterNurse:: @ 81A6578 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 message Text_WelcomeWantToHealPkmn waitmessage multichoice 19, 8, MULTICHOICE_YES_NO, FALSE | (TRUE << 1) @@ -33,13 +33,13 @@ EventScript_PkmnCenterNurse_TakeAndHealPkmn:: @ 81A65CE EventScript_PkmnCenterNurse_CheckTrainerTowerAndUnionRoom:: @ 81A65EC specialvar VAR_RESULT, Special_PlayerIsNotInTrainerTowerLobby compare VAR_RESULT, FALSE - goto_if eq, EventScript_PkmnCenterNurse_ReturnPkmn + goto_if_eq EventScript_PkmnCenterNurse_ReturnPkmn specialvar VAR_RESULT, BufferUnionRoomPlayerName copyvar VAR_0x8008, VAR_RESULT compare VAR_0x8008, 0 - goto_if eq, EventScript_PkmnCenterNurse_ReturnPkmn + goto_if_eq EventScript_PkmnCenterNurse_ReturnPkmn compare VAR_0x8008, 1 - goto_if eq, EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom + goto_if_eq EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom end EventScript_PkmnCenterNurse_ReturnPkmn:: @ 81A661D @@ -51,8 +51,7 @@ EventScript_PkmnCenterNurse_ReturnPkmn:: @ 81A661D return EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom:: @ 81A6636 - checkflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER - goto_if TRUE, EventScript_PkmnCenterNurse_ReturnPkmn + goto_if_set FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER, EventScript_PkmnCenterNurse_ReturnPkmn msgbox Text_RestoredPkmnToFullHealth setflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER message Text_PlayerIsPlayingRightNowGoForIt diff --git a/data/scripts/pokedex_rating.inc b/data/scripts/pokedex_rating.inc index efa2f0b98..3eb741441 100644 --- a/data/scripts/pokedex_rating.inc +++ b/data/scripts/pokedex_rating.inc @@ -1,12 +1,10 @@ EventScript_1A737B:: @ 81A737B special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 special sub_8112364 - checkflag FLAG_OAK_SAW_DEX_COMPLETION - call_if TRUE, EventScript_1A73A4 - checkflag FLAG_OAK_SAW_DEX_COMPLETION - call_if FALSE, EventScript_1A73AD + call_if_set FLAG_OAK_SAW_DEX_COMPLETION, EventScript_1A73A4 + call_if_unset FLAG_OAK_SAW_DEX_COMPLETION, EventScript_1A73AD call EventScript_1A73E0 return @@ -23,9 +21,9 @@ EventScript_1A73B6:: @ 81A73B6 special Special_GetProfOaksRatingMessage waitmessage compare VAR_RESULT, 0 - call_if eq, EventScript_1A73D8 + call_if_eq EventScript_1A73D8 compare VAR_RESULT, 1 - call_if eq, EventScript_1A73DC + call_if_eq EventScript_1A73DC waitfanfare waitbuttonpress return @@ -50,11 +48,10 @@ EventScript_1A73E0:: @ 81A73E0 getnumberstring 0, VAR_0x8008 getnumberstring 1, VAR_0x8009 msgbox Text_1A6CA3 - checkflag FLAG_OAKS_RATING_IS_VIA_PC - call_if FALSE, EventScript_1A746D + call_if_unset FLAG_OAKS_RATING_IS_VIA_PC, EventScript_1A746D call EventScript_1A73B6 compare VAR_0x800A, 0 - goto_if eq, EventScript_1A748F + goto_if_eq EventScript_1A748F setvar VAR_0x8004, 1 specialvar VAR_RESULT, Special_GetPokedexCount copyvar VAR_0x8008, VAR_0x8005 @@ -64,9 +61,9 @@ EventScript_1A73E0:: @ 81A73E0 msgbox Text_1A71AA specialvar VAR_RESULT, HasAllMons compare VAR_RESULT, 0 - goto_if eq, EventScript_1A7470 + goto_if_eq EventScript_1A7470 compare VAR_RESULT, 1 - goto_if eq, EventScript_1A747E + goto_if_eq EventScript_1A747E end EventScript_1A746D:: @ 81A746D diff --git a/data/scripts/route23.inc b/data/scripts/route23.inc index 77409e539..682fa7b1d 100644 --- a/data/scripts/route23.inc +++ b/data/scripts/route23.inc @@ -31,7 +31,7 @@ EventScript_1A77F9:: @ 81A77F9 EventScript_1A7803:: @ 81A7803 compare VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1 - goto_if ge, EventScript_1A77EC + goto_if_ge EventScript_1A77EC switch VAR_TEMP_1 case 1, EventScript_1A78D5 case 2, EventScript_1A78E4 @@ -45,7 +45,7 @@ EventScript_1A7803:: @ 81A7803 EventScript_1A786C:: @ 81A786C compare VAR_MAP_SCENE_ROUTE23, VAR_TEMP_1 - goto_if ge, EventScript_1A77F9 + goto_if_ge EventScript_1A77F9 switch VAR_TEMP_1 case 1, EventScript_1A78D5 case 2, EventScript_1A78E4 @@ -58,50 +58,42 @@ EventScript_1A786C:: @ 81A786C end EventScript_1A78D5:: @ 81A78D5 - checkflag FLAG_BADGE01_GET - goto_if TRUE, EventScript_1A794D + goto_if_set FLAG_BADGE01_GET, EventScript_1A794D goto EventScript_1A77C9 end EventScript_1A78E4:: @ 81A78E4 - checkflag FLAG_BADGE02_GET - goto_if TRUE, EventScript_1A795F + goto_if_set FLAG_BADGE02_GET, EventScript_1A795F goto EventScript_1A77DE end EventScript_1A78F3:: @ 81A78F3 - checkflag FLAG_BADGE03_GET - goto_if TRUE, EventScript_1A795F + goto_if_set FLAG_BADGE03_GET, EventScript_1A795F goto EventScript_1A77DE end EventScript_1A7902:: @ 81A7902 - checkflag FLAG_BADGE04_GET - goto_if TRUE, EventScript_1A795F + goto_if_set FLAG_BADGE04_GET, EventScript_1A795F goto EventScript_1A77DE end EventScript_1A7911:: @ 81A7911 - checkflag FLAG_BADGE05_GET - goto_if TRUE, EventScript_1A795F + goto_if_set FLAG_BADGE05_GET, EventScript_1A795F goto EventScript_1A77DE end EventScript_1A7920:: @ 81A7920 - checkflag FLAG_BADGE06_GET - goto_if TRUE, EventScript_1A795F + goto_if_set FLAG_BADGE06_GET, EventScript_1A795F goto EventScript_1A77DE end EventScript_1A792F:: @ 81A792F - checkflag FLAG_BADGE07_GET - goto_if TRUE, EventScript_1A795F + goto_if_set FLAG_BADGE07_GET, EventScript_1A795F goto EventScript_1A77DE end EventScript_1A793E:: @ 81A793E - checkflag FLAG_BADGE08_GET - goto_if TRUE, EventScript_1A795F + goto_if_set FLAG_BADGE08_GET, EventScript_1A795F goto EventScript_1A77DE end @@ -137,50 +129,42 @@ EventScript_1A796E:: @ 81A796E end EventScript_1A79D8:: @ 81A79D8 - checkflag FLAG_BADGE01_GET - goto_if TRUE, EventScript_1A7A96 + goto_if_set FLAG_BADGE01_GET, EventScript_1A7A96 goto EventScript_1A7A50 end EventScript_1A79E7:: @ 81A79E7 - checkflag FLAG_BADGE02_GET - goto_if TRUE, EventScript_1A7AA8 + goto_if_set FLAG_BADGE02_GET, EventScript_1A7AA8 goto EventScript_1A7A77 end EventScript_1A79F6:: @ 81A79F6 - checkflag FLAG_BADGE03_GET - goto_if TRUE, EventScript_1A7AA8 + goto_if_set FLAG_BADGE03_GET, EventScript_1A7AA8 goto EventScript_1A7A77 end EventScript_1A7A05:: @ 81A7A05 - checkflag FLAG_BADGE04_GET - goto_if TRUE, EventScript_1A7AA8 + goto_if_set FLAG_BADGE04_GET, EventScript_1A7AA8 goto EventScript_1A7A77 end EventScript_1A7A14:: @ 81A7A14 - checkflag FLAG_BADGE05_GET - goto_if TRUE, EventScript_1A7AA8 + goto_if_set FLAG_BADGE05_GET, EventScript_1A7AA8 goto EventScript_1A7A77 end EventScript_1A7A23:: @ 81A7A23 - checkflag FLAG_BADGE06_GET - goto_if TRUE, EventScript_1A7AA8 + goto_if_set FLAG_BADGE06_GET, EventScript_1A7AA8 goto EventScript_1A7A77 end EventScript_1A7A32:: @ 81A7A32 - checkflag FLAG_BADGE07_GET - goto_if TRUE, EventScript_1A7AA8 + goto_if_set FLAG_BADGE07_GET, EventScript_1A7AA8 goto EventScript_1A7A77 end EventScript_1A7A41:: @ 81A7A41 - checkflag FLAG_BADGE08_GET - goto_if TRUE, EventScript_1A7AA8 + goto_if_set FLAG_BADGE08_GET, EventScript_1A7AA8 goto EventScript_1A7A77 end diff --git a/data/scripts/seagallop.inc b/data/scripts/seagallop.inc index 0fbfe3f93..8aac0bcb4 100644 --- a/data/scripts/seagallop.inc +++ b/data/scripts/seagallop.inc @@ -1,8 +1,8 @@ EventScript_1A8EC5:: @ 81A8EC5 compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5 - goto_if ge, EventScript_1A911E + goto_if_ge EventScript_1A911E compare VAR_MAP_SCENE_CINNABAR_ISLAND, 4 - goto_if ge, EventScript_1A8F12 + goto_if_ge EventScript_1A8F12 multichoice 19, 6, MULTICHOICE_ISLAND_23, FALSE switch VAR_RESULT case 0, EventScript_1A8FF9 @@ -23,9 +23,9 @@ EventScript_1A8F12:: @ 81A8F12 EventScript_1A8F54:: @ 81A8F54 compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5 - goto_if ge, EventScript_1A911E + goto_if_ge EventScript_1A911E compare VAR_MAP_SCENE_CINNABAR_ISLAND, 4 - goto_if ge, EventScript_1A8FA1 + goto_if_ge EventScript_1A8FA1 multichoice 19, 6, MULTICHOICE_ISLAND_13, FALSE switch VAR_RESULT case 0, EventScript_1A8FEE @@ -66,9 +66,9 @@ EventScript_1A9004:: @ 81A9004 EventScript_1A900F:: @ 81A900F compare VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5 - goto_if ge, EventScript_1A911E + goto_if_ge EventScript_1A911E compare VAR_MAP_SCENE_CINNABAR_ISLAND, 4 - goto_if ge, EventScript_1A905C + goto_if_ge EventScript_1A905C multichoice 19, 6, MULTICHOICE_ISLAND_12, FALSE switch VAR_RESULT case 0, EventScript_1A8FEE @@ -91,9 +91,9 @@ EventScript_1A909E:: @ 81A909E specialvar VAR_RESULT, sub_8147500 getnumberstring 0, VAR_RESULT compare VAR_0x8004, SEAGALLOP_VERMILION_CITY - goto_if eq, EventScript_1A90BE + goto_if_eq EventScript_1A90BE compare VAR_0x8004, SEAGALLOP_VERMILION_CITY - goto_if ne, EventScript_1A90CC + goto_if_ne EventScript_1A90CC end EventScript_1A90BE:: @ 81A90BE @@ -111,7 +111,7 @@ EventScript_1A90DA:: @ 81A90DA delay 20 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A7AE0 + goto_if_eq EventScript_1A7AE0 special sub_8112364 fadescreen 1 special ScrSpecial_SeagallopFerry @@ -121,7 +121,7 @@ EventScript_1A90DA:: @ 81A90DA EventScript_1A90F6:: @ 81A90F6 specialvar VAR_RESULT, sub_8147594 compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9108 + goto_if_eq EventScript_1A9108 release end diff --git a/data/scripts/silphco_doors.inc b/data/scripts/silphco_doors.inc index 13c59caa7..5abeb2316 100644 --- a/data/scripts/silphco_doors.inc +++ b/data/scripts/silphco_doors.inc @@ -350,8 +350,7 @@ SilphCo_2F_EventScript_Door1:: @ 81A891B lockall setvar VAR_TEMP_1, 1 setvar VAR_0x8004, 634 - checkflag FLAG_SILPH_2F_DOOR_1 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_2F_DOOR_1, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -359,8 +358,7 @@ SilphCo_2F_EventScript_Door2:: @ 81A8935 lockall setvar VAR_TEMP_1, 2 setvar VAR_0x8004, 635 - checkflag FLAG_SILPH_2F_DOOR_2 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_2F_DOOR_2, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -368,8 +366,7 @@ SilphCo_3F_EventScript_Door1:: @ 81A894F lockall setvar VAR_TEMP_1, 3 setvar VAR_0x8004, 636 - checkflag FLAG_SILPH_3F_DOOR_1 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_3F_DOOR_1, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -377,8 +374,7 @@ SilphCo_3F_EventScript_Door2:: @ 81A8969 lockall setvar VAR_TEMP_1, 4 setvar VAR_0x8004, 637 - checkflag FLAG_SILPH_3F_DOOR_2 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_3F_DOOR_2, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -386,8 +382,7 @@ SilphCo_4F_EventScript_Door1:: @ 81A8983 lockall setvar VAR_TEMP_1, 5 setvar VAR_0x8004, 638 - checkflag FLAG_SILPH_4F_DOOR_1 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_4F_DOOR_1, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -395,8 +390,7 @@ SilphCo_4F_EventScript_Door2:: @ 81A899D lockall setvar VAR_TEMP_1, 6 setvar VAR_0x8004, 639 - checkflag FLAG_SILPH_4F_DOOR_2 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_4F_DOOR_2, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -404,8 +398,7 @@ SilphCo_5F_EventScript_Door1:: @ 81A89B7 lockall setvar VAR_TEMP_1, 7 setvar VAR_0x8004, 640 - checkflag FLAG_SILPH_5F_DOOR_1 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_5F_DOOR_1, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -413,8 +406,7 @@ SilphCo_5F_EventScript_Door2:: @ 81A89D1 lockall setvar VAR_TEMP_1, 8 setvar VAR_0x8004, 641 - checkflag FLAG_SILPH_5F_DOOR_2 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_5F_DOOR_2, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -422,8 +414,7 @@ SilphCo_5F_EventScript_Door3:: @ 81A89EB lockall setvar VAR_TEMP_1, 9 setvar VAR_0x8004, 642 - checkflag FLAG_SILPH_5F_DOOR_3 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_5F_DOOR_3, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -431,8 +422,7 @@ SilphCo_6F_EventScript_Door:: @ 81A8A05 lockall setvar VAR_TEMP_1, 10 setvar VAR_0x8004, 643 - checkflag FLAG_SILPH_6F_DOOR - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_6F_DOOR, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -440,8 +430,7 @@ SilphCo_7F_EventScript_Door1:: @ 81A8A1F lockall setvar VAR_TEMP_1, 11 setvar VAR_0x8004, 644 - checkflag FLAG_SILPH_7F_DOOR_1 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_7F_DOOR_1, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -449,8 +438,7 @@ SilphCo_7F_EventScript_Door2:: @ 81A8A39 lockall setvar VAR_TEMP_1, 12 setvar VAR_0x8004, 645 - checkflag FLAG_SILPH_7F_DOOR_2 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_7F_DOOR_2, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -458,8 +446,7 @@ SilphCo_7F_EventScript_Door3:: @ 81A8A53 lockall setvar VAR_TEMP_1, 13 setvar VAR_0x8004, 646 - checkflag FLAG_SILPH_7F_DOOR_3 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_7F_DOOR_3, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -467,8 +454,7 @@ SilphCo_8F_EventScript_Door:: @ 81A8A6D lockall setvar VAR_TEMP_1, 14 setvar VAR_0x8004, 647 - checkflag FLAG_SILPH_8F_DOOR - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_8F_DOOR, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -476,8 +462,7 @@ SilphCo_9F_EventScript_Door1:: @ 81A8A87 lockall setvar VAR_TEMP_1, 15 setvar VAR_0x8004, 648 - checkflag FLAG_SILPH_9F_DOOR_1 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_9F_DOOR_1, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -485,8 +470,7 @@ SilphCo_9F_EventScript_Door2:: @ 81A8AA1 lockall setvar VAR_TEMP_1, 16 setvar VAR_0x8004, 649 - checkflag FLAG_SILPH_9F_DOOR_2 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_9F_DOOR_2, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -494,8 +478,7 @@ SilphCo_9F_EventScript_Door3:: @ 81A8ABB lockall setvar VAR_TEMP_1, 17 setvar VAR_0x8004, 650 - checkflag FLAG_SILPH_9F_DOOR_3 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_9F_DOOR_3, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -503,8 +486,7 @@ SilphCo_9F_EventScript_Door4:: @ 81A8AD5 lockall setvar VAR_TEMP_1, 18 setvar VAR_0x8004, 651 - checkflag FLAG_SILPH_9F_DOOR_4 - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_9F_DOOR_4, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -512,8 +494,7 @@ SilphCo_10F_EventScript_Door:: @ 81A8AEF lockall setvar VAR_TEMP_1, 19 setvar VAR_0x8004, 652 - checkflag FLAG_SILPH_10F_DOOR - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_10F_DOOR, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end @@ -521,14 +502,12 @@ SilphCo_11F_EventScript_Door:: @ 81A8B09 lockall setvar VAR_TEMP_1, 20 setvar VAR_0x8004, 653 - checkflag FLAG_SILPH_11F_DOOR - goto_if TRUE, EventScript_DoorUnlocked + goto_if_set FLAG_SILPH_11F_DOOR, EventScript_DoorUnlocked goto EventScript_TryUnlockDoor end EventScript_TryUnlockDoor:: @ 81A8B23 - checkflag FLAG_HIDE_SILPH_CO_5F_CARD_KEY - goto_if TRUE, EventScript_OpenDoor + goto_if_set FLAG_HIDE_SILPH_CO_5F_CARD_KEY, EventScript_OpenDoor goto EventScript_NeedCardKey end @@ -537,45 +516,45 @@ EventScript_OpenDoor:: @ 81A8B32 msgbox Text_CardKeyOpenedDoor waitfanfare compare VAR_TEMP_1, 1 - call_if eq, EventScript_Open2FDoor1 + call_if_eq EventScript_Open2FDoor1 compare VAR_TEMP_1, 2 - call_if eq, EventScript_Open2FDoor2 + call_if_eq EventScript_Open2FDoor2 compare VAR_TEMP_1, 3 - call_if eq, EventScript_Open3FDoor1 + call_if_eq EventScript_Open3FDoor1 compare VAR_TEMP_1, 4 - call_if eq, EventScript_Open3FDoor2 + call_if_eq EventScript_Open3FDoor2 compare VAR_TEMP_1, 5 - call_if eq, EventScript_Open4FDoor1 + call_if_eq EventScript_Open4FDoor1 compare VAR_TEMP_1, 6 - call_if eq, EventScript_Open4FDoor2 + call_if_eq EventScript_Open4FDoor2 compare VAR_TEMP_1, 7 - call_if eq, EventScript_Open5FDoor1 + call_if_eq EventScript_Open5FDoor1 compare VAR_TEMP_1, 8 - call_if eq, EventScript_Open5FDoor2 + call_if_eq EventScript_Open5FDoor2 compare VAR_TEMP_1, 9 - call_if eq, EventScript_Open5FDoor3 + call_if_eq EventScript_Open5FDoor3 compare VAR_TEMP_1, 10 - call_if eq, EventScript_Open6FDoor + call_if_eq EventScript_Open6FDoor compare VAR_TEMP_1, 11 - call_if eq, EventScript_Open7FDoor1 + call_if_eq EventScript_Open7FDoor1 compare VAR_TEMP_1, 12 - call_if eq, EventScript_Open7FDoor2 + call_if_eq EventScript_Open7FDoor2 compare VAR_TEMP_1, 13 - call_if eq, EventScript_Open7FDoor3 + call_if_eq EventScript_Open7FDoor3 compare VAR_TEMP_1, 14 - call_if eq, EventScript_Open8FDoor + call_if_eq EventScript_Open8FDoor compare VAR_TEMP_1, 15 - call_if eq, EventScript_Open9FDoor1 + call_if_eq EventScript_Open9FDoor1 compare VAR_TEMP_1, 16 - call_if eq, EventScript_Open9FDoor2 + call_if_eq EventScript_Open9FDoor2 compare VAR_TEMP_1, 17 - call_if eq, EventScript_Open9FDoor3 + call_if_eq EventScript_Open9FDoor3 compare VAR_TEMP_1, 18 - call_if eq, EventScript_Open9FDoor4 + call_if_eq EventScript_Open9FDoor4 compare VAR_TEMP_1, 19 - call_if eq, EventScript_Open10FDoor + call_if_eq EventScript_Open10FDoor compare VAR_TEMP_1, 20 - call_if eq, EventScript_Open11FDoor + call_if_eq EventScript_Open11FDoor waitse playse SE_KI_GASYAN special DrawWholeMapView diff --git a/data/scripts/std_msgbox.inc b/data/scripts/std_msgbox.inc index 7f7bacd3a..4c79f638b 100644 --- a/data/scripts/std_msgbox.inc +++ b/data/scripts/std_msgbox.inc @@ -27,17 +27,17 @@ Std_MsgboxYesNo:: @ 81A4E5C yesnobox 20, 8 return -gStdScript_ItemMessageAndFanfare:: @ 81A4E66 +Std_ReceivedItem:: @ 81A4E66 textcolor 3 compare VAR_0x8002, MUS_FANFA1 - call_if eq, EventScript_1A4EA2 + call_if_eq EventScript_1A4EA2 compare VAR_0x8002, MUS_FAN5 - call_if eq, EventScript_1A4EA6 + call_if_eq EventScript_1A4EA6 message 0x0 waitmessage waitfanfare compare VAR_0x8002, MUS_FANFA1 - call_if eq, EventScript_1A4EAA + call_if_eq EventScript_1A4EAA putitemaway VAR_0x8000, VAR_0x8001 call EventScript_1A6675 return diff --git a/data/scripts/surf.inc b/data/scripts/surf.inc index e5955d9cb..782c71a92 100644 --- a/data/scripts/surf.inc +++ b/data/scripts/surf.inc @@ -1,16 +1,16 @@ EventScript_UseSurf:: @ 81A6AC8 special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_UseSurfEnd + goto_if_eq EventScript_UseSurfEnd checkpartymove MOVE_SURF compare VAR_RESULT, PARTY_SIZE - goto_if eq, EventScript_UseSurfEnd + goto_if_eq EventScript_UseSurfEnd getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT lockall msgbox Text_1A556E, 5 compare VAR_RESULT, 0 - goto_if eq, EventScript_UseSurfRelease + goto_if_eq EventScript_UseSurfRelease msgbox Text_1A55A5 dofieldeffect FLDEFF_USE_SURF EventScript_UseSurfRelease:@ 81A6B0B diff --git a/data/scripts/trainer_battle.inc b/data/scripts/trainer_battle.inc index 874bce358..320776ae7 100644 --- a/data/scripts/trainer_battle.inc +++ b/data/scripts/trainer_battle.inc @@ -12,7 +12,7 @@ EventScript_TryDoNormalTrainerBattle:: @ 81A4EC1 waitmovement 0 specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought compare VAR_RESULT, 0 - goto_if ne, EventScript_1A4EE8 + goto_if_ne EventScript_1A4EE8 special PlayTrainerEncounterMusic special SetUpTrainerMovement goto EventScript_1A4FC7 @@ -26,10 +26,10 @@ EventScript_TryDoDoubleTrainerBattle:: @ 81A4EE9 call EventScript_1A4FBA specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought compare VAR_RESULT, 0 - goto_if ne, EventScript_1A4F20 + goto_if_ne EventScript_1A4F20 special CheckForAlivePartyMons compare VAR_RESULT, 0 - goto_if ne, EventScript_1A4F19 + goto_if_ne EventScript_1A4F19 special PlayTrainerEncounterMusic special SetUpTrainerMovement goto EventScript_1A4FC7 @@ -50,7 +50,7 @@ EventScript_DoTrainerBattle:: @ 81A4F21 special PlayTrainerEncounterMusic special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A501A + goto_if_eq EventScript_1A501A battlebegin ontrainerbattleend @@ -58,7 +58,7 @@ EventScript_TryDoRematchBattle:: @ 81A4F3E call EventScript_1A4FBA specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag compare VAR_RESULT, 0 - goto_if eq, EventScript_1A4F72 + goto_if_eq EventScript_1A4F72 special PlayTrainerEncounterMusic special SetUpTrainerMovement special ScrSpecial_ShowTrainerIntroSpeech @@ -66,7 +66,7 @@ EventScript_TryDoRematchBattle:: @ 81A4F3E waitbuttonpress special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A4FB8 + goto_if_eq EventScript_1A4FB8 special ScrSpecial_StartTrainerEyeRematch waitstate releaseall @@ -78,10 +78,10 @@ EventScript_1A4F72:: @ 81A4F72 EventScript_TryDoDoubleRematchBattle:: @ 81A4F73 specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag compare VAR_RESULT, 0 - goto_if eq, EventScript_1A4FB0 + goto_if_eq EventScript_1A4FB0 special CheckForAlivePartyMons compare VAR_RESULT, 0 - goto_if ne, EventScript_1A4FB1 + goto_if_ne EventScript_1A4FB1 special PlayTrainerEncounterMusic special SetUpTrainerMovement special ScrSpecial_ShowTrainerIntroSpeech @@ -89,7 +89,7 @@ EventScript_TryDoDoubleRematchBattle:: @ 81A4F73 waitbuttonpress special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A4FB8 + goto_if_eq EventScript_1A4FB8 special ScrSpecial_StartTrainerEyeRematch waitstate releaseall @@ -124,19 +124,19 @@ EventScript_1A4FC7:: @ 81A4FC7 waitbuttonpress special sub_8110AB4 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A501A + goto_if_eq EventScript_1A501A battlebegin specialvar VAR_RESULT, ScrSpecial_GetTrainerBattleMode compare VAR_RESULT, 0 - goto_if eq, EventScript_1A5017 + goto_if_eq EventScript_1A5017 compare VAR_RESULT, 2 - goto_if eq, EventScript_1A5019 + goto_if_eq EventScript_1A5019 compare VAR_RESULT, 1 - goto_if eq, EventScript_1A5019 + goto_if_eq EventScript_1A5019 compare VAR_RESULT, 6 - goto_if eq, EventScript_1A5019 + goto_if_eq EventScript_1A5019 compare VAR_RESULT, 8 - goto_if eq, EventScript_1A5019 + goto_if_eq EventScript_1A5019 EventScript_1A5017:: @ 81A5017 releaseall diff --git a/data/scripts/trainer_tower.inc b/data/scripts/trainer_tower.inc index ffec7d4c8..7f7f985a2 100644 --- a/data/scripts/trainer_tower.inc +++ b/data/scripts/trainer_tower.inc @@ -51,7 +51,7 @@ EventScript_1C4FC5:: @ 81C4FC5 setvar VAR_0x8004, 5 special sub_815D9E8 compare VAR_RESULT, 1 - goto_if eq, EventScript_1C4FFE + goto_if_eq EventScript_1C4FFE setobjectxyperm 2, 10, 12 setobjectmovementtype 2, 9 setobjectxyperm 5, 10, 13 @@ -96,14 +96,14 @@ EventScript_1C5050:: @ 81C5050 setvar VAR_0x8004, 5 special sub_815D9E8 compare VAR_RESULT, 0 - goto_if eq, EventScript_1C5072 + goto_if_eq EventScript_1C5072 setvar VAR_TEMP_E, 1 setvar VAR_TEMP_F, 1 EventScript_1C5072: setvar VAR_0x8004, 18 special sub_815D9E8 compare VAR_RESULT, 1 - goto_if eq, EventScript_1C5086 + goto_if_eq EventScript_1C5086 end EventScript_1C5086:: @ 81C5086 @@ -145,7 +145,7 @@ EventScript_1C510D:: @ 81C510D setvar VAR_0x8005, 2 addvar VAR_TEMP_3, 1 compare VAR_TEMP_3, 1 - goto_if eq, EventScript_1C5146 + goto_if_eq EventScript_1C5146 setvar VAR_TEMP_3, 0 EventScript_1C5146: copyvar VAR_0x8006, VAR_TEMP_3 @@ -378,7 +378,7 @@ SevenIsland_TrainerTower_1F_EventScript_1C54B4:: @ 81C54B4 setvar VAR_0x8004, 16 special sub_815D9E8 compare VAR_RESULT, 0 - goto_if ne, EventScript_1C5528 + goto_if_ne EventScript_1C5528 setvar VAR_0x8004, 19 special sub_815D9E8 applymovement 2, Movement_ExclamationMark @@ -398,7 +398,7 @@ SevenIsland_TrainerTower_1F_EventScript_1C54EA:: @ 81C54EA setvar VAR_0x8004, 16 special sub_815D9E8 compare VAR_RESULT, 0 - goto_if ne, EventScript_1C5528 + goto_if_ne EventScript_1C5528 setvar VAR_0x8004, 19 special sub_815D9E8 applymovement 5, Movement_ExclamationMark diff --git a/data/scripts/trainers.inc b/data/scripts/trainers.inc index 64bb44c50..d08364a6a 100644 --- a/data/scripts/trainers.inc +++ b/data/scripts/trainers.inc @@ -1,3041 +1,3041 @@ Route3_EventScript_1A93C9:: @ 81A93C9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_BEN, 0, Text_183560, Text_1835A0 + trainerbattle_single TRAINER_YOUNGSTER_BEN, Text_183560, Text_1835A0 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A93F0 + goto_if_eq EventScript_1A93F0 msgbox Text_1835B4, MSGBOX_AUTOCLOSE end EventScript_1A93F0:: @ 81A93F0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_BEN, 0, Text_1C149D, Text_1835A0 + trainerbattle_rematch TRAINER_YOUNGSTER_BEN, Text_1C149D, Text_1835A0 msgbox Text_1835B4, MSGBOX_AUTOCLOSE end Route3_EventScript_1A9407:: @ 81A9407 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_CALVIN, 0, Text_183786, Text_1837BD + trainerbattle_single TRAINER_YOUNGSTER_CALVIN, Text_183786, Text_1837BD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A942E + goto_if_eq EventScript_1A942E msgbox Text_1837CF, MSGBOX_AUTOCLOSE end EventScript_1A942E:: @ 81A942E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_CALVIN, 0, Text_1C1588, Text_1837BD + trainerbattle_rematch TRAINER_YOUNGSTER_CALVIN, Text_1C1588, Text_1837BD msgbox Text_1837CF, MSGBOX_AUTOCLOSE end Route3_EventScript_1A9445:: @ 81A9445 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_COLTON, 0, Text_1834E6, Text_183509 + trainerbattle_single TRAINER_BUG_CATCHER_COLTON, Text_1834E6, Text_183509 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A946C + goto_if_eq EventScript_1A946C msgbox Text_18351C, MSGBOX_AUTOCLOSE end EventScript_1A946C:: @ 81A946C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_COLTON, 0, Text_1C147A, Text_183509 + trainerbattle_rematch TRAINER_BUG_CATCHER_COLTON, Text_1C147A, Text_183509 msgbox Text_18351C, MSGBOX_AUTOCLOSE end Route3_EventScript_1A9483:: @ 81A9483 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_GREG, 0, Text_183682, Text_1836B3 + trainerbattle_single TRAINER_BUG_CATCHER_GREG, Text_183682, Text_1836B3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A94AA + goto_if_eq EventScript_1A94AA msgbox Text_1836D9, MSGBOX_AUTOCLOSE end EventScript_1A94AA:: @ 81A94AA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_GREG, 0, Text_1C1521, Text_1836B3 + trainerbattle_rematch TRAINER_BUG_CATCHER_GREG, Text_1C1521, Text_1836B3 msgbox Text_1836D9, MSGBOX_AUTOCLOSE end Route3_EventScript_1A94C1:: @ 81A94C1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_JAMES, 0, Text_183807, Text_183837 + trainerbattle_single TRAINER_BUG_CATCHER_JAMES, Text_183807, Text_183837 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A94E8 + goto_if_eq EventScript_1A94E8 msgbox Text_183849, MSGBOX_AUTOCLOSE end EventScript_1A94E8:: @ 81A94E8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_JAMES, 0, Text_1C15C5, Text_183837 + trainerbattle_rematch TRAINER_BUG_CATCHER_JAMES, Text_1C15C5, Text_183837 msgbox Text_183849, MSGBOX_AUTOCLOSE end Route3_EventScript_1A94FF:: @ 81A94FF - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_JANICE, 0, Text_183616, Text_18363F + trainerbattle_single TRAINER_LASS_JANICE, Text_183616, Text_18363F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9526 + goto_if_eq EventScript_1A9526 msgbox Text_18364C, MSGBOX_AUTOCLOSE end EventScript_1A9526:: @ 81A9526 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_JANICE, 0, Text_1C14F3, Text_18363F + trainerbattle_rematch TRAINER_LASS_JANICE, Text_1C14F3, Text_18363F msgbox Text_18364C, MSGBOX_AUTOCLOSE end Route3_EventScript_1A953D:: @ 81A953D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_SALLY, 0, Text_18371B, Text_183746 + trainerbattle_single TRAINER_LASS_SALLY, Text_18371B, Text_183746 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9564 + goto_if_eq EventScript_1A9564 msgbox Text_18374F, MSGBOX_AUTOCLOSE end EventScript_1A9564:: @ 81A9564 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_SALLY, 0, Text_1C155D, Text_183746 + trainerbattle_rematch TRAINER_LASS_SALLY, Text_1C155D, Text_183746 msgbox Text_18374F, MSGBOX_AUTOCLOSE end Route3_EventScript_1A957B:: @ 81A957B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ROBIN, 0, Text_18387A, Text_183891 + trainerbattle_single TRAINER_LASS_ROBIN, Text_18387A, Text_183891 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A95A2 + goto_if_eq EventScript_1A95A2 msgbox Text_18389C, MSGBOX_AUTOCLOSE end EventScript_1A95A2:: @ 81A95A2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ROBIN, 0, Text_1C15F9, Text_183891 + trainerbattle_rematch TRAINER_LASS_ROBIN, Text_1C15F9, Text_183891 msgbox Text_18389C, MSGBOX_AUTOCLOSE end Route4_EventScript_1A95B9:: @ 81A95B9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_CRISSY, 0, Text_183906, Text_183938 + trainerbattle_single TRAINER_LASS_CRISSY, Text_183906, Text_183938 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A95E0 + goto_if_eq EventScript_1A95E0 msgbox Text_183957, MSGBOX_AUTOCLOSE end EventScript_1A95E0:: @ 81A95E0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_CRISSY, 0, Text_1C160F, Text_183938 + trainerbattle_rematch TRAINER_LASS_CRISSY, Text_1C160F, Text_183938 msgbox Text_183957, MSGBOX_AUTOCLOSE end Route24_EventScript_1A95F7:: @ 81A95F7 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_TIMMY, 0, Text_188F76, Text_188F95 + trainerbattle_single TRAINER_YOUNGSTER_TIMMY, Text_188F76, Text_188F95 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A961E + goto_if_eq EventScript_1A961E msgbox Text_188FA7, MSGBOX_AUTOCLOSE end EventScript_1A961E:: @ 81A961E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_TIMMY, 0, Text_1C3657, Text_188F95 + trainerbattle_rematch TRAINER_YOUNGSTER_TIMMY, Text_1C3657, Text_188F95 msgbox Text_188FA7, MSGBOX_AUTOCLOSE end Route24_EventScript_1A9635:: @ 81A9635 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_CALE, 0, Text_18901B, Text_18908C + trainerbattle_single TRAINER_BUG_CATCHER_CALE, Text_18901B, Text_18908C specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A965C + goto_if_eq EventScript_1A965C msgbox Text_18909E, MSGBOX_AUTOCLOSE end EventScript_1A965C:: @ 81A965C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_CALE, 0, Text_1C36DA, Text_18908C + trainerbattle_rematch TRAINER_BUG_CATCHER_CALE, Text_1C36DA, Text_18908C msgbox Text_18909E, MSGBOX_AUTOCLOSE end Route24_EventScript_1A9673:: @ 81A9673 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_RELI, 0, Text_188F2C, Text_188F46 + trainerbattle_single TRAINER_LASS_RELI, Text_188F2C, Text_188F46 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A969A + goto_if_eq EventScript_1A969A msgbox Text_188F53, MSGBOX_AUTOCLOSE end EventScript_1A969A:: @ 81A969A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_RELI, 0, Text_1C3624, Text_188F46 + trainerbattle_rematch TRAINER_LASS_RELI, Text_1C3624, Text_188F46 msgbox Text_188F53, MSGBOX_AUTOCLOSE end Route24_EventScript_1A96B1:: @ 81A96B1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ALI, 0, Text_188FC9, Text_188FE7 + trainerbattle_single TRAINER_LASS_ALI, Text_188FC9, Text_188FE7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A96D8 + goto_if_eq EventScript_1A96D8 msgbox Text_188FF9, MSGBOX_AUTOCLOSE end EventScript_1A96D8:: @ 81A96D8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ALI, 0, Text_1C3685, Text_188FE7 + trainerbattle_rematch TRAINER_LASS_ALI, Text_1C3685, Text_188FE7 msgbox Text_188FF9, MSGBOX_AUTOCLOSE end Route24_EventScript_1A96EF:: @ 81A96EF - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_SHANE, 0, Text_188E74, Text_188E94 + trainerbattle_single TRAINER_CAMPER_SHANE, Text_188E74, Text_188E94 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9716 + goto_if_eq EventScript_1A9716 msgbox Text_188EA3, MSGBOX_AUTOCLOSE end EventScript_1A9716:: @ 81A9716 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_SHANE, 0, Text_1C35EE, Text_188E94 + trainerbattle_rematch TRAINER_CAMPER_SHANE, Text_1C35EE, Text_188E94 msgbox Text_188EA3, MSGBOX_AUTOCLOSE end Route24_EventScript_1A972D:: @ 81A972D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_ETHAN, 0, Text_188ED9, Text_188EFA + trainerbattle_single TRAINER_CAMPER_ETHAN, Text_188ED9, Text_188EFA specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9754 + goto_if_eq EventScript_1A9754 msgbox Text_188F0A, MSGBOX_AUTOCLOSE end EventScript_1A9754:: @ 81A9754 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_ETHAN, 0, Text_1C360E, Text_188EFA + trainerbattle_rematch TRAINER_CAMPER_ETHAN, Text_1C360E, Text_188EFA msgbox Text_188F0A, MSGBOX_AUTOCLOSE end Route25_EventScript_1A976B:: @ 81A976B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_JOEY, 0, Text_1890C0, Text_1890E6 + trainerbattle_single TRAINER_YOUNGSTER_JOEY, Text_1890C0, Text_1890E6 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9792 + goto_if_eq EventScript_1A9792 msgbox Text_1890F5, MSGBOX_AUTOCLOSE end EventScript_1A9792:: @ 81A9792 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_JOEY, 0, Text_1C33E7, Text_1890E6 + trainerbattle_rematch TRAINER_YOUNGSTER_JOEY, Text_1C33E7, Text_1890E6 msgbox Text_1890F5, MSGBOX_AUTOCLOSE end Route25_EventScript_1A97A9:: @ 81A97A9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DAN, 0, Text_189165, Text_1891A6 + trainerbattle_single TRAINER_YOUNGSTER_DAN, Text_189165, Text_1891A6 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A97D0 + goto_if_eq EventScript_1A97D0 msgbox Text_1891B3, MSGBOX_AUTOCLOSE end EventScript_1A97D0:: @ 81A97D0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DAN, 0, Text_1C3404, Text_1891A6 + trainerbattle_rematch TRAINER_YOUNGSTER_DAN, Text_1C3404, Text_1891A6 msgbox Text_1891B3, MSGBOX_AUTOCLOSE end Route25_EventScript_1A97E7:: @ 81A97E7 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_CHAD, 0, Text_1892A9, Text_1892D9 + trainerbattle_single TRAINER_YOUNGSTER_CHAD, Text_1892A9, Text_1892D9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A980E + goto_if_eq EventScript_1A980E msgbox Text_1892EF, MSGBOX_AUTOCLOSE end EventScript_1A980E:: @ 81A980E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_CHAD, 0, Text_1C34D4, Text_1892D9 + trainerbattle_rematch TRAINER_YOUNGSTER_CHAD, Text_1C34D4, Text_1892D9 msgbox Text_1892EF, MSGBOX_AUTOCLOSE end Route25_EventScript_1A9825:: @ 81A9825 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_KELSEY, 0, Text_189247, Text_189261 + trainerbattle_single TRAINER_PICNICKER_KELSEY, Text_189247, Text_189261 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A984C + goto_if_eq EventScript_1A984C msgbox Text_189281, MSGBOX_AUTOCLOSE end EventScript_1A984C:: @ 81A984C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_KELSEY, 0, Text_1C349C, Text_189261 + trainerbattle_rematch TRAINER_PICNICKER_KELSEY, Text_1C349C, Text_189261 msgbox Text_189281, MSGBOX_AUTOCLOSE end Route25_EventScript_1A9863:: @ 81A9863 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_HALEY, 0, Text_189333, Text_189364 + trainerbattle_single TRAINER_LASS_HALEY, Text_189333, Text_189364 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A988A + goto_if_eq EventScript_1A988A msgbox Text_189378, MSGBOX_AUTOCLOSE end EventScript_1A988A:: @ 81A988A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_HALEY, 0, Text_1C350A, Text_189364 + trainerbattle_rematch TRAINER_LASS_HALEY, Text_1C350A, Text_189364 msgbox Text_189378, MSGBOX_AUTOCLOSE end Route25_EventScript_1A98A1:: @ 81A98A1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_FRANKLIN, 0, Text_1893A7, Text_1893EA + trainerbattle_single TRAINER_HIKER_FRANKLIN, Text_1893A7, Text_1893EA specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A98C8 + goto_if_eq EventScript_1A98C8 msgbox Text_1893FB, MSGBOX_AUTOCLOSE end EventScript_1A98C8:: @ 81A98C8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_FRANKLIN, 0, Text_1C353B, Text_1893EA + trainerbattle_rematch TRAINER_HIKER_FRANKLIN, Text_1C353B, Text_1893EA msgbox Text_1893FB, MSGBOX_AUTOCLOSE end Route25_EventScript_1A98DF:: @ 81A98DF - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_NOB, 0, Text_189423, Text_189459 + trainerbattle_single TRAINER_HIKER_NOB, Text_189423, Text_189459 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9906 + goto_if_eq EventScript_1A9906 msgbox Text_18947E, MSGBOX_AUTOCLOSE end EventScript_1A9906:: @ 81A9906 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_NOB, 0, Text_1C357E, Text_189459 + trainerbattle_rematch TRAINER_HIKER_NOB, Text_1C357E, Text_189459 msgbox Text_18947E, MSGBOX_AUTOCLOSE end Route25_EventScript_1A991D:: @ 81A991D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_WAYNE, 0, Text_1894DE, Text_18950A + trainerbattle_single TRAINER_HIKER_WAYNE, Text_1894DE, Text_18950A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9944 + goto_if_eq EventScript_1A9944 msgbox Text_18951C, MSGBOX_AUTOCLOSE end EventScript_1A9944:: @ 81A9944 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_WAYNE, 0, Text_1C35BC, Text_18950A + trainerbattle_rematch TRAINER_HIKER_WAYNE, Text_1C35BC, Text_18950A msgbox Text_18951C, MSGBOX_AUTOCLOSE end Route25_EventScript_1A995B:: @ 81A995B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_FLINT, 0, Text_1891EB, Text_189212 + trainerbattle_single TRAINER_CAMPER_FLINT, Text_1891EB, Text_189212 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9982 + goto_if_eq EventScript_1A9982 msgbox Text_18921D, MSGBOX_AUTOCLOSE end EventScript_1A9982:: @ 81A9982 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_FLINT, 0, Text_1C3445, Text_189212 + trainerbattle_rematch TRAINER_CAMPER_FLINT, Text_1C3445, Text_189212 msgbox Text_18921D, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9999:: @ 81A9999 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_KEIGO, 0, Text_183E9F, Text_183EC0 + trainerbattle_single TRAINER_BUG_CATCHER_KEIGO, Text_183E9F, Text_183EC0 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A99C0 + goto_if_eq EventScript_1A99C0 msgbox Text_183ED4, MSGBOX_AUTOCLOSE end EventScript_1A99C0:: @ 81A99C0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_KEIGO, 0, Text_1C16E2, Text_183EC0 + trainerbattle_rematch TRAINER_BUG_CATCHER_KEIGO, Text_1C16E2, Text_183EC0 msgbox Text_183ED4, MSGBOX_AUTOCLOSE end Route6_EventScript_1A99D7:: @ 81A99D7 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_183FF0, Text_18401A + trainerbattle_single TRAINER_BUG_CATCHER_ELIJAH, Text_183FF0, Text_18401A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A99FE + goto_if_eq EventScript_1A99FE msgbox Text_18402B, MSGBOX_AUTOCLOSE end EventScript_1A99FE:: @ 81A99FE - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_1C176B, Text_18401A + trainerbattle_rematch TRAINER_BUG_CATCHER_ELIJAH, Text_1C176B, Text_18401A msgbox Text_18402B, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9A15:: @ 81A9A15 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_RICKY, 0, Text_183E04, Text_183E2A + trainerbattle_single TRAINER_CAMPER_RICKY, Text_183E04, Text_183E2A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9A3C + goto_if_eq EventScript_1A9A3C msgbox Text_183E3C, MSGBOX_AUTOCLOSE end EventScript_1A9A3C:: @ 81A9A3C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_RICKY, 0, Text_1C163C, Text_183E2A + trainerbattle_rematch TRAINER_CAMPER_RICKY, Text_1C163C, Text_183E2A msgbox Text_183E3C, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9A53:: @ 81A9A53 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_JEFF, 0, Text_183F07, Text_183F24 + trainerbattle_single TRAINER_CAMPER_JEFF, Text_183F07, Text_183F24 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9A7A + goto_if_eq EventScript_1A9A7A msgbox Text_183F51, MSGBOX_AUTOCLOSE end EventScript_1A9A7A:: @ 81A9A7A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_JEFF, 0, Text_1C1723, Text_183F24 + trainerbattle_rematch TRAINER_CAMPER_JEFF, Text_1C1723, Text_183F24 msgbox Text_183F51, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9A91:: @ 81A9A91 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_NANCY, 0, Text_183E4E, Text_183E79 + trainerbattle_single TRAINER_PICNICKER_NANCY, Text_183E4E, Text_183E79 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9AB8 + goto_if_eq EventScript_1A9AB8 msgbox Text_183E8D, MSGBOX_AUTOCLOSE end EventScript_1A9AB8:: @ 81A9AB8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_NANCY, 0, Text_1C166D, Text_183E79 + trainerbattle_rematch TRAINER_PICNICKER_NANCY, Text_1C166D, Text_183E79 msgbox Text_183E8D, MSGBOX_AUTOCLOSE end Route6_EventScript_1A9ACF:: @ 81A9ACF - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ISABELLE, 0, Text_183F90, Text_183FAB + trainerbattle_single TRAINER_PICNICKER_ISABELLE, Text_183F90, Text_183FAB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9AF6 + goto_if_eq EventScript_1A9AF6 msgbox Text_183FC4, MSGBOX_AUTOCLOSE end EventScript_1A9AF6:: @ 81A9AF6 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ISABELLE, 0, Text_1C1746, Text_183FAB + trainerbattle_rematch TRAINER_PICNICKER_ISABELLE, Text_1C1746, Text_183FAB msgbox Text_183FC4, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9B0D:: @ 81A9B0D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_EDDIE, 0, Text_184FBD, Text_184FD8 + trainerbattle_single TRAINER_YOUNGSTER_EDDIE, Text_184FBD, Text_184FD8 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9B34 + goto_if_eq EventScript_1A9B34 msgbox Text_184FEF, MSGBOX_AUTOCLOSE end EventScript_1A9B34:: @ 81A9B34 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_EDDIE, 0, Text_1C1DB5, Text_184FD8 + trainerbattle_rematch TRAINER_YOUNGSTER_EDDIE, Text_1C1DB5, Text_184FD8 msgbox Text_184FEF, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9B4B:: @ 81A9B4B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DILLON, 0, Text_18506A, Text_18509B + trainerbattle_single TRAINER_YOUNGSTER_DILLON, Text_18506A, Text_18509B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9B72 + goto_if_eq EventScript_1A9B72 msgbox Text_1850CF, MSGBOX_AUTOCLOSE end EventScript_1A9B72:: @ 81A9B72 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DILLON, 0, Text_1C1E1F, Text_18509B + trainerbattle_rematch TRAINER_YOUNGSTER_DILLON, Text_1C1E1F, Text_18509B msgbox Text_1850CF, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9B89:: @ 81A9B89 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_YASU, 0, Text_18517B, Text_1851AC + trainerbattle_single TRAINER_YOUNGSTER_YASU, Text_18517B, Text_1851AC specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9BB0 + goto_if_eq EventScript_1A9BB0 msgbox Text_1851D2, MSGBOX_AUTOCLOSE end EventScript_1A9BB0:: @ 81A9BB0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_YASU, 0, Text_1C1EE2, Text_1851AC + trainerbattle_rematch TRAINER_YOUNGSTER_YASU, Text_1C1EE2, Text_1851AC msgbox Text_1851D2, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9BC7:: @ 81A9BC7 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DAVE, 0, Text_185285, Text_1852C1 + trainerbattle_single TRAINER_YOUNGSTER_DAVE, Text_185285, Text_1852C1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9BEE + goto_if_eq EventScript_1A9BEE msgbox Text_1852E3, MSGBOX_AUTOCLOSE end EventScript_1A9BEE:: @ 81A9BEE - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DAVE, 0, Text_1C1F40, Text_1852C1 + trainerbattle_rematch TRAINER_YOUNGSTER_DAVE, Text_1C1F40, Text_1852C1 msgbox Text_1852E3, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9C05:: @ 81A9C05 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ENGINEER_BRAXTON, 0, Text_185011, Text_185037 + trainerbattle_single TRAINER_ENGINEER_BRAXTON, Text_185011, Text_185037 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9C2C + goto_if_eq EventScript_1A9C2C msgbox Text_18504A, MSGBOX_AUTOCLOSE end EventScript_1A9C2C:: @ 81A9C2C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ENGINEER_BRAXTON, 0, Text_1C1DE1, Text_185037 + trainerbattle_rematch TRAINER_ENGINEER_BRAXTON, Text_1C1DE1, Text_185037 msgbox Text_18504A, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9C43:: @ 81A9C43 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ENGINEER_BERNIE, 0, Text_185236, Text_185250 + trainerbattle_single TRAINER_ENGINEER_BERNIE, Text_185236, Text_185250 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9C6A + goto_if_eq EventScript_1A9C6A msgbox Text_185266, MSGBOX_AUTOCLOSE end EventScript_1A9C6A:: @ 81A9C6A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ENGINEER_BERNIE, 0, Text_1C1F1D, Text_185250 + trainerbattle_rematch TRAINER_ENGINEER_BERNIE, Text_1C1F1D, Text_185250 msgbox Text_185266, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9C81:: @ 81A9C81 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_HUGO, 0, Text_184F01, Text_184F15 + trainerbattle_single TRAINER_GAMER_HUGO, Text_184F01, Text_184F15 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9CA8 + goto_if_eq EventScript_1A9CA8 msgbox Text_184F2E, MSGBOX_AUTOCLOSE end EventScript_1A9CA8:: @ 81A9CA8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_HUGO, 0, Text_1C1D50, Text_184F15 + trainerbattle_rematch TRAINER_GAMER_HUGO, Text_1C1D50, Text_184F15 msgbox Text_184F2E, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9CBF:: @ 81A9CBF - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_JASPER, 0, Text_184F5D, Text_184F7E + trainerbattle_single TRAINER_GAMER_JASPER, Text_184F5D, Text_184F7E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9CE6 + goto_if_eq EventScript_1A9CE6 msgbox Text_184F8E, MSGBOX_AUTOCLOSE end EventScript_1A9CE6:: @ 81A9CE6 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_JASPER, 0, Text_1C1D79, Text_184F7E + trainerbattle_rematch TRAINER_GAMER_JASPER, Text_1C1D79, Text_184F7E msgbox Text_184F8E, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9CFD:: @ 81A9CFD - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_DIRK, 0, Text_1850E9, Text_185105 + trainerbattle_single TRAINER_GAMER_DIRK, Text_1850E9, Text_185105 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9D24 + goto_if_eq EventScript_1A9D24 msgbox Text_185114, MSGBOX_AUTOCLOSE end EventScript_1A9D24:: @ 81A9D24 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_DIRK, 0, Text_1C1E57, Text_185105 + trainerbattle_rematch TRAINER_GAMER_DIRK, Text_1C1E57, Text_185105 msgbox Text_185114, MSGBOX_AUTOCLOSE end Route11_EventScript_1A9D3B:: @ 81A9D3B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_DARIAN, 0, Text_185135, Text_18514E + trainerbattle_single TRAINER_GAMER_DARIAN, Text_185135, Text_18514E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9D62 + goto_if_eq EventScript_1A9D62 msgbox Text_185161, MSGBOX_AUTOCLOSE end EventScript_1A9D62:: @ 81A9D62 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_DARIAN, 0, Text_1C1E9F, Text_18514E + trainerbattle_rematch TRAINER_GAMER_DARIAN, Text_1C1E9F, Text_18514E msgbox Text_185161, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9D79:: @ 81A9D79 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_BRENT, 0, Text_184A2F, Text_184A6A + trainerbattle_single TRAINER_BUG_CATCHER_BRENT, Text_184A2F, Text_184A6A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9DA0 + goto_if_eq EventScript_1A9DA0 msgbox Text_184A8C, MSGBOX_AUTOCLOSE end EventScript_1A9DA0:: @ 81A9DA0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_BRENT, 0, Text_1C1B83, Text_184A6A + trainerbattle_rematch TRAINER_BUG_CATCHER_BRENT, Text_1C1B83, Text_184A6A msgbox Text_184A8C, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9DB7:: @ 81A9DB7 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_CONNER, 0, Text_184B18, Text_184B32 + trainerbattle_single TRAINER_BUG_CATCHER_CONNER, Text_184B18, Text_184B32 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9DDE + goto_if_eq EventScript_1A9DDE msgbox Text_184B3B, MSGBOX_AUTOCLOSE end EventScript_1A9DDE:: @ 81A9DDE - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_CONNER, 0, Text_1C1BDC, Text_184B32 + trainerbattle_rematch TRAINER_BUG_CATCHER_CONNER, Text_1C1BDC, Text_184B32 msgbox Text_184B3B, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9DF5:: @ 81A9DF5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_CHRIS, 0, Text_184844, Text_18487E + trainerbattle_single TRAINER_CAMPER_CHRIS, Text_184844, Text_18487E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9E1C + goto_if_eq EventScript_1A9E1C msgbox Text_184890, MSGBOX_AUTOCLOSE end EventScript_1A9E1C:: @ 81A9E1C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_CHRIS, 0, Text_1C1A5D, Text_18487E + trainerbattle_rematch TRAINER_CAMPER_CHRIS, Text_1C1A5D, Text_18487E msgbox Text_184890, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9E33:: @ 81A9E33 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_DREW, 0, Text_18489E, Text_1848CC + trainerbattle_single TRAINER_CAMPER_DREW, Text_18489E, Text_1848CC specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9E5A + goto_if_eq EventScript_1A9E5A msgbox Text_1848DE, MSGBOX_AUTOCLOSE end EventScript_1A9E5A:: @ 81A9E5A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_DREW, 0, Text_1C1A9B, Text_1848CC + trainerbattle_rematch TRAINER_CAMPER_DREW, Text_1C1A9B, Text_1848CC msgbox Text_1848DE, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9E71:: @ 81A9E71 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ALICIA, 0, Text_1847B7, Text_1847DF + trainerbattle_single TRAINER_PICNICKER_ALICIA, Text_1847B7, Text_1847DF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9E98 + goto_if_eq EventScript_1A9E98 msgbox Text_1847F0, MSGBOX_AUTOCLOSE end EventScript_1A9E98:: @ 81A9E98 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ALICIA, 0, Text_1C1A2E, Text_1847DF + trainerbattle_rematch TRAINER_PICNICKER_ALICIA, Text_1C1A2E, Text_1847DF msgbox Text_1847F0, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9EAF:: @ 81A9EAF - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CAITLIN, 0, Text_1848FF, Text_18491C + trainerbattle_single TRAINER_PICNICKER_CAITLIN, Text_1848FF, Text_18491C specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9ED6 + goto_if_eq EventScript_1A9ED6 msgbox Text_184931, MSGBOX_AUTOCLOSE end EventScript_1A9ED6:: @ 81A9ED6 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CAITLIN, 0, Text_1C1AFB, Text_18491C + trainerbattle_rematch TRAINER_PICNICKER_CAITLIN, Text_1C1AFB, Text_18491C msgbox Text_184931, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9EED:: @ 81A9EED - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_ALAN, 0, Text_184ABE, Text_184AD5 + trainerbattle_single TRAINER_HIKER_ALAN, Text_184ABE, Text_184AD5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9F14 + goto_if_eq EventScript_1A9F14 msgbox Text_184AF1, MSGBOX_AUTOCLOSE end EventScript_1A9F14:: @ 81A9F14 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_ALAN, 0, Text_1C1BBE, Text_184AD5 + trainerbattle_rematch TRAINER_HIKER_ALAN, Text_1C1BBE, Text_184AD5 msgbox Text_184AF1, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9F2B:: @ 81A9F2B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_BRICE, 0, Text_1849DF, Text_184A04 + trainerbattle_single TRAINER_HIKER_BRICE, Text_1849DF, Text_184A04 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9F52 + goto_if_eq EventScript_1A9F52 msgbox Text_184A11, MSGBOX_AUTOCLOSE end EventScript_1A9F52:: @ 81A9F52 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_BRICE, 0, Text_1C1B5E, Text_184A04 + trainerbattle_rematch TRAINER_HIKER_BRICE, Text_1C1B5E, Text_184A04 msgbox Text_184A11, MSGBOX_AUTOCLOSE end Route9_EventScript_1A9F69:: @ 81A9F69 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_JEREMY, 0, Text_18495E, Text_18497F + trainerbattle_single TRAINER_HIKER_JEREMY, Text_18495E, Text_18497F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9F90 + goto_if_eq EventScript_1A9F90 msgbox Text_1849B0, MSGBOX_AUTOCLOSE end EventScript_1A9F90:: @ 81A9F90 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_JEREMY, 0, Text_1C1B37, Text_18497F + trainerbattle_rematch TRAINER_HIKER_JEREMY, Text_1C1B37, Text_18497F msgbox Text_1849B0, MSGBOX_AUTOCLOSE end Route10_EventScript_1A9FA7:: @ 81A9FA7 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_HEIDI, 0, Text_184CF1, Text_184D31 + trainerbattle_single TRAINER_PICNICKER_HEIDI, Text_184CF1, Text_184D31 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1A9FCE + goto_if_eq EventScript_1A9FCE msgbox Text_184D4D, MSGBOX_AUTOCLOSE end EventScript_1A9FCE:: @ 81A9FCE - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_HEIDI, 0, Text_1C1C9A, Text_184D31 + trainerbattle_rematch TRAINER_PICNICKER_HEIDI, Text_1C1C9A, Text_184D31 msgbox Text_184D4D, MSGBOX_AUTOCLOSE end Route10_EventScript_1A9FE5:: @ 81A9FE5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CAROL, 0, Text_184E04, Text_184E3B + trainerbattle_single TRAINER_PICNICKER_CAROL, Text_184E04, Text_184E3B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA00C + goto_if_eq EventScript_1AA00C msgbox Text_184E5E, MSGBOX_AUTOCLOSE end EventScript_1AA00C:: @ 81AA00C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CAROL, 0, Text_1C1D14, Text_184E3B + trainerbattle_rematch TRAINER_PICNICKER_CAROL, Text_1C1D14, Text_184E3B msgbox Text_184E5E, MSGBOX_AUTOCLOSE end Route10_EventScript_1AA023:: @ 81AA023 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_MARK, 0, Text_184B8A, Text_184BE5 + trainerbattle_single TRAINER_POKEMANIAC_MARK, Text_184B8A, Text_184BE5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA04A + goto_if_eq EventScript_1AA04A msgbox Text_184BFB, MSGBOX_AUTOCLOSE end EventScript_1AA04A:: @ 81AA04A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_MARK, 0, Text_1C1BFA, Text_184BE5 + trainerbattle_rematch TRAINER_POKEMANIAC_MARK, Text_1C1BFA, Text_184BE5 msgbox Text_184BFB, MSGBOX_AUTOCLOSE end Route10_EventScript_1AA061:: @ 81AA061 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_HERMAN, 0, Text_184C86, Text_184CA7 + trainerbattle_single TRAINER_POKEMANIAC_HERMAN, Text_184C86, Text_184CA7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA088 + goto_if_eq EventScript_1AA088 msgbox Text_184CBB, MSGBOX_AUTOCLOSE end EventScript_1AA088:: @ 81AA088 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_HERMAN, 0, Text_1C1C76, Text_184CA7 + trainerbattle_rematch TRAINER_POKEMANIAC_HERMAN, Text_1C1C76, Text_184CA7 msgbox Text_184CBB, MSGBOX_AUTOCLOSE end Route10_EventScript_1AA09F:: @ 81AA09F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_CLARK, 0, Text_184C1D, Text_184C2D + trainerbattle_single TRAINER_HIKER_CLARK, Text_184C1D, Text_184C2D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA0C6 + goto_if_eq EventScript_1AA0C6 msgbox Text_184C60, MSGBOX_AUTOCLOSE end EventScript_1AA0C6:: @ 81AA0C6 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_CLARK, 0, Text_1C1C4F, Text_184C2D + trainerbattle_rematch TRAINER_HIKER_CLARK, Text_1C1C4F, Text_184C2D msgbox Text_184C60, MSGBOX_AUTOCLOSE end Route10_EventScript_1AA0DD:: @ 81AA0DD - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_TRENT, 0, Text_184DAA, Text_184DCE + trainerbattle_single TRAINER_HIKER_TRENT, Text_184DAA, Text_184DCE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA104 + goto_if_eq EventScript_1AA104 msgbox Text_184DE4, MSGBOX_AUTOCLOSE end EventScript_1AA104:: @ 81AA104 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_TRENT, 0, Text_1C1CD3, Text_184DCE + trainerbattle_rematch TRAINER_HIKER_TRENT, Text_1C1CD3, Text_184DCE msgbox Text_184DE4, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA11B:: @ 81AA11B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_PAIGE, 0, Text_1841ED, Text_184210 + trainerbattle_single TRAINER_LASS_PAIGE, Text_1841ED, Text_184210 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA142 + goto_if_eq EventScript_1AA142 msgbox Text_18421B, MSGBOX_AUTOCLOSE end EventScript_1AA142:: @ 81AA142 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_PAIGE, 0, Text_1C1834, Text_184210 + trainerbattle_rematch TRAINER_LASS_PAIGE, Text_1C1834, Text_184210 msgbox Text_18421B, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA159:: @ 81AA159 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ANDREA, 0, Text_184321, Text_184346 + trainerbattle_single TRAINER_LASS_ANDREA, Text_184321, Text_184346 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA180 + goto_if_eq EventScript_1AA180 msgbox Text_184350, MSGBOX_AUTOCLOSE end EventScript_1AA180:: @ 81AA180 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ANDREA, 0, Text_1C18AA, Text_184346 + trainerbattle_rematch TRAINER_LASS_ANDREA, Text_1C18AA, Text_184346 msgbox Text_184350, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA197:: @ 81AA197 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_MEGAN, 0, Text_18437A, Text_1843A6 + trainerbattle_single TRAINER_LASS_MEGAN, Text_18437A, Text_1843A6 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA1BE + goto_if_eq EventScript_1AA1BE msgbox Text_1843D2, MSGBOX_AUTOCLOSE end EventScript_1AA1BE:: @ 81AA1BE - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_MEGAN, 0, Text_1C18DC, Text_1843A6 + trainerbattle_rematch TRAINER_LASS_MEGAN, Text_1C18DC, Text_1843A6 msgbox Text_1843D2, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA1D5:: @ 81AA1D5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_JULIA, 0, Text_1844AC, Text_1844D6 + trainerbattle_single TRAINER_LASS_JULIA, Text_1844AC, Text_1844D6 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA1FC + goto_if_eq EventScript_1AA1FC msgbox Text_1844FD, MSGBOX_AUTOCLOSE end EventScript_1AA1FC:: @ 81AA1FC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_JULIA, 0, Text_1C1955, Text_1844D6 + trainerbattle_rematch TRAINER_LASS_JULIA, Text_1C1955, Text_1844D6 msgbox Text_1844FD, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA213:: @ 81AA213 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_AIDAN, 0, Text_1840C5, Text_184100 + trainerbattle_single TRAINER_SUPER_NERD_AIDAN, Text_1840C5, Text_184100 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA23A + goto_if_eq EventScript_1AA23A msgbox Text_18410E, MSGBOX_AUTOCLOSE end EventScript_1AA23A:: @ 81AA23A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_AIDAN, 0, Text_1C1793, Text_184100 + trainerbattle_rematch TRAINER_SUPER_NERD_AIDAN, Text_1C1793, Text_184100 msgbox Text_18410E, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA251:: @ 81AA251 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_GLENN, 0, Text_18417C, Text_1841B6 + trainerbattle_single TRAINER_SUPER_NERD_GLENN, Text_18417C, Text_1841B6 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA278 + goto_if_eq EventScript_1AA278 msgbox Text_1841C8, MSGBOX_AUTOCLOSE end EventScript_1AA278:: @ 81AA278 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_GLENN, 0, Text_1C17F1, Text_1841B6 + trainerbattle_rematch TRAINER_SUPER_NERD_GLENN, Text_1C17F1, Text_1841B6 msgbox Text_1841C8, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA28F:: @ 81AA28F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_LESLIE, 0, Text_184257, Text_18427A + trainerbattle_single TRAINER_SUPER_NERD_LESLIE, Text_184257, Text_18427A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA2B6 + goto_if_eq EventScript_1AA2B6 msgbox Text_1842B3, MSGBOX_AUTOCLOSE end EventScript_1AA2B6:: @ 81AA2B6 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_LESLIE, 0, Text_1C1873, Text_18427A + trainerbattle_rematch TRAINER_SUPER_NERD_LESLIE, Text_1C1873, Text_18427A msgbox Text_1842B3, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA2CD:: @ 81AA2CD - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_STAN, 0, Text_18412F, Text_18414D + trainerbattle_single TRAINER_GAMER_STAN, Text_18412F, Text_18414D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA2F4 + goto_if_eq EventScript_1AA2F4 msgbox Text_184162, MSGBOX_AUTOCLOSE end EventScript_1AA2F4:: @ 81AA2F4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_STAN, 0, Text_1C17CD, Text_18414D + trainerbattle_rematch TRAINER_GAMER_STAN, Text_1C17CD, Text_18414D msgbox Text_184162, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA30B:: @ 81AA30B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_RICH, 0, Text_184432, Text_18444F + trainerbattle_single TRAINER_GAMER_RICH, Text_184432, Text_18444F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA332 + goto_if_eq EventScript_1AA332 msgbox Text_184466, MSGBOX_AUTOCLOSE end EventScript_1AA332:: @ 81AA332 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_RICH, 0, Text_1C191F, Text_18444F + trainerbattle_rematch TRAINER_GAMER_RICH, Text_1C191F, Text_18444F msgbox Text_184466, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA349:: @ 81AA349 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1845A4, Text_1845D0, Text_184616 + trainerbattle_double TRAINER_TWINS_ELI_ANNE, Text_1845A4, Text_1845D0, Text_184616 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA374 + goto_if_eq EventScript_1AA374 msgbox Text_1845F2, MSGBOX_AUTOCLOSE end EventScript_1AA374:: @ 81AA374 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1C19E5, Text_1845D0, Text_184616 + trainerbattle_rematch_double TRAINER_TWINS_ELI_ANNE, Text_1C19E5, Text_1845D0, Text_184616 msgbox Text_1845F2, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA38F:: @ 81AA38F - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_18464A, Text_184675, Text_1846AF + trainerbattle_double TRAINER_TWINS_ELI_ANNE, Text_18464A, Text_184675, Text_1846AF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA3BA + goto_if_eq EventScript_1AA3BA msgbox Text_18468B, MSGBOX_AUTOCLOSE end EventScript_1AA3BA:: @ 81AA3BA - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1C1A0D, Text_184675, Text_1846AF + trainerbattle_rematch_double TRAINER_TWINS_ELI_ANNE, Text_1C1A0D, Text_184675, Text_1846AF msgbox Text_18468B, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA3D5:: @ 81AA3D5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_RICARDO, 0, Text_1846E2, Text_1846FC + trainerbattle_single TRAINER_BIKER_RICARDO, Text_1846E2, Text_1846FC specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA3FC + goto_if_eq EventScript_1AA3FC msgbox Text_184719, MSGBOX_AUTOCLOSE end EventScript_1AA3FC:: @ 81AA3FC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_RICARDO, 0, Text_1C199C, Text_1846FC + trainerbattle_rematch TRAINER_BIKER_RICARDO, Text_1C199C, Text_1846FC msgbox Text_184719, MSGBOX_AUTOCLOSE end Route8_EventScript_1AA413:: @ 81AA413 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JAREN, 0, Text_184742, Text_184767 + trainerbattle_single TRAINER_BIKER_JAREN, Text_184742, Text_184767 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA43A + goto_if_eq EventScript_1AA43A msgbox Text_18477A, MSGBOX_AUTOCLOSE end EventScript_1AA43A:: @ 81AA43A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JAREN, 0, Text_1C19BC, Text_184767 + trainerbattle_rematch TRAINER_BIKER_JAREN, Text_1C19BC, Text_184767 msgbox Text_18477A, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA451:: @ 81AA451 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_NED, 0, Text_185402, Text_18541B + trainerbattle_single TRAINER_FISHERMAN_NED, Text_185402, Text_18541B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA478 + goto_if_eq EventScript_1AA478 msgbox Text_185432, MSGBOX_AUTOCLOSE end EventScript_1AA478:: @ 81AA478 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_NED, 0, Text_1C1F9D, Text_18541B + trainerbattle_rematch TRAINER_FISHERMAN_NED, Text_1C1F9D, Text_18541B msgbox Text_185432, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA48F:: @ 81AA48F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_CHIP, 0, Text_18544E, Text_185475 + trainerbattle_single TRAINER_FISHERMAN_CHIP, Text_18544E, Text_185475 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA4B6 + goto_if_eq EventScript_1AA4B6 msgbox Text_185488, MSGBOX_AUTOCLOSE end EventScript_1AA4B6:: @ 81AA4B6 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_CHIP, 0, Text_1C1FD8, Text_185475 + trainerbattle_rematch TRAINER_FISHERMAN_CHIP, Text_1C1FD8, Text_185475 msgbox Text_185488, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA4CD:: @ 81AA4CD - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_HANK, 0, Text_1855E1, Text_185606 + trainerbattle_single TRAINER_FISHERMAN_HANK, Text_1855E1, Text_185606 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA4F4 + goto_if_eq EventScript_1AA4F4 msgbox Text_185616, MSGBOX_AUTOCLOSE end EventScript_1AA4F4:: @ 81AA4F4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_HANK, 0, Text_1C209C, Text_185606 + trainerbattle_rematch TRAINER_FISHERMAN_HANK, Text_1C209C, Text_185606 msgbox Text_185616, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA50B:: @ 81AA50B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_ELLIOT, 0, Text_185682, Text_1856D0 + trainerbattle_single TRAINER_FISHERMAN_ELLIOT, Text_185682, Text_1856D0 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA532 + goto_if_eq EventScript_1AA532 msgbox Text_1856DF, MSGBOX_AUTOCLOSE end EventScript_1AA532:: @ 81AA532 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_ELLIOT, 0, Text_1C20D4, Text_1856D0 + trainerbattle_rematch TRAINER_FISHERMAN_ELLIOT, Text_1C20D4, Text_1856D0 msgbox Text_1856DF, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA549:: @ 81AA549 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_ANDREW, 0, Text_18570E, Text_185744 + trainerbattle_single TRAINER_FISHERMAN_ANDREW, Text_18570E, Text_185744 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA570 + goto_if_eq EventScript_1AA570 msgbox Text_18574D, MSGBOX_AUTOCLOSE end EventScript_1AA570:: @ 81AA570 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_ANDREW, 0, Text_1C2134, Text_185744 + trainerbattle_rematch TRAINER_FISHERMAN_ANDREW, Text_1C2134, Text_185744 msgbox Text_18574D, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA587:: @ 81AA587 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ROCKER_LUCA, 0, Text_185547, Text_18559B + trainerbattle_single TRAINER_ROCKER_LUCA, Text_185547, Text_18559B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA5AE + goto_if_eq EventScript_1AA5AE msgbox Text_1855A6, MSGBOX_AUTOCLOSE end EventScript_1AA5AE:: @ 81AA5AE - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ROCKER_LUCA, 0, Text_1C203B, Text_18559B + trainerbattle_rematch TRAINER_ROCKER_LUCA, Text_1C203B, Text_18559B msgbox Text_1855A6, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA5C5:: @ 81AA5C5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_JUSTIN, 0, Text_1854B9, Text_1854ED + trainerbattle_single TRAINER_CAMPER_JUSTIN, Text_1854B9, Text_1854ED specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA5EC + goto_if_eq EventScript_1AA5EC msgbox Text_1854F2, MSGBOX_AUTOCLOSE end EventScript_1AA5EC:: @ 81AA5EC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_JUSTIN, 0, Text_1C2008, Text_1854ED + trainerbattle_rematch TRAINER_CAMPER_JUSTIN, Text_1C2008, Text_1854ED msgbox Text_1854F2, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA603:: @ 81AA603 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1857C5, Text_1857F1, Text_185842 + trainerbattle_double TRAINER_YOUNG_COUPLE_GIA_JES, Text_1857C5, Text_1857F1, Text_185842 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA62E + goto_if_eq EventScript_1AA62E msgbox Text_18581F, MSGBOX_AUTOCLOSE end EventScript_1AA62E:: @ 81AA62E - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C216B, Text_1857F1, Text_185842 + trainerbattle_rematch_double TRAINER_YOUNG_COUPLE_GIA_JES, Text_1C216B, Text_1857F1, Text_185842 msgbox Text_18581F, MSGBOX_AUTOCLOSE end Route12_EventScript_1AA649:: @ 81AA649 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1858A6, Text_1858D0, Text_185908 + trainerbattle_double TRAINER_YOUNG_COUPLE_GIA_JES, Text_1858A6, Text_1858D0, Text_185908 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA674 + goto_if_eq EventScript_1AA674 msgbox Text_1858E2, MSGBOX_AUTOCLOSE end EventScript_1AA674:: @ 81AA674 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C219B, Text_1858D0, Text_185908 + trainerbattle_rematch_double TRAINER_YOUNG_COUPLE_GIA_JES, Text_1C219B, Text_1858D0, Text_185908 msgbox Text_1858E2, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA68F:: @ 81AA68F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JARED, 0, Text_185D05, Text_185D1D + trainerbattle_single TRAINER_BIKER_JARED, Text_185D05, Text_185D1D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA6B6 + goto_if_eq EventScript_1AA6B6 msgbox Text_185D33, MSGBOX_AUTOCLOSE end EventScript_1AA6B6:: @ 81AA6B6 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JARED, 0, Text_1C236B, Text_185D1D + trainerbattle_rematch TRAINER_BIKER_JARED, Text_1C236B, Text_185D1D msgbox Text_185D33, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA6CD:: @ 81AA6CD - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_LOLA, 0, Text_185BFC, Text_185C1F + trainerbattle_single TRAINER_BEAUTY_LOLA, Text_185BFC, Text_185C1F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA6F4 + goto_if_eq EventScript_1AA6F4 msgbox Text_185C35, MSGBOX_AUTOCLOSE end EventScript_1AA6F4:: @ 81AA6F4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_LOLA, 0, Text_1C2306, Text_185C1F + trainerbattle_rematch TRAINER_BEAUTY_LOLA, Text_1C2306, Text_185C1F msgbox Text_185C35, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA70B:: @ 81AA70B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_SHEILA, 0, Text_185C69, Text_185C95 + trainerbattle_single TRAINER_BEAUTY_SHEILA, Text_185C69, Text_185C95 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA732 + goto_if_eq EventScript_1AA732 msgbox Text_185CA8, MSGBOX_AUTOCLOSE end EventScript_1AA732:: @ 81AA732 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_SHEILA, 0, Text_1C2340, Text_185C95 + trainerbattle_rematch TRAINER_BEAUTY_SHEILA, Text_1C2340, Text_185C95 msgbox Text_185CA8, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA749:: @ 81AA749 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_185955, Text_18597E + trainerbattle_single TRAINER_BIRD_KEEPER_SEBASTIAN, Text_185955, Text_18597E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA770 + goto_if_eq EventScript_1AA770 msgbox Text_1859A2, MSGBOX_AUTOCLOSE end EventScript_1AA770:: @ 81AA770 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_1C21EE, Text_18597E + trainerbattle_rematch TRAINER_BIRD_KEEPER_SEBASTIAN, Text_1C21EE, Text_18597E msgbox Text_1859A2, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA787:: @ 81AA787 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_PERRY, 0, Text_185B8F, Text_185BCA + trainerbattle_single TRAINER_BIRD_KEEPER_PERRY, Text_185B8F, Text_185BCA specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA7AE + goto_if_eq EventScript_1AA7AE msgbox Text_185BDB, MSGBOX_AUTOCLOSE end EventScript_1AA7AE:: @ 81AA7AE - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_PERRY, 0, Text_1C22CA, Text_185BCA + trainerbattle_rematch TRAINER_BIRD_KEEPER_PERRY, Text_1C22CA, Text_185BCA msgbox Text_185BDB, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA7C5:: @ 81AA7C5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_185D3D, Text_185D7B + trainerbattle_single TRAINER_BIRD_KEEPER_ROBERT, Text_185D3D, Text_185D7B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA7EC + goto_if_eq EventScript_1AA7EC msgbox Text_185D89, MSGBOX_AUTOCLOSE end EventScript_1AA7EC:: @ 81AA7EC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_1C2383, Text_185D7B + trainerbattle_rematch TRAINER_BIRD_KEEPER_ROBERT, Text_1C2383, Text_185D7B msgbox Text_185D89, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA803:: @ 81AA803 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ALMA, 0, Text_185B12, Text_185B48 + trainerbattle_single TRAINER_PICNICKER_ALMA, Text_185B12, Text_185B48 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA82A + goto_if_eq EventScript_1AA82A msgbox Text_185B67, MSGBOX_AUTOCLOSE end EventScript_1AA82A:: @ 81AA82A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ALMA, 0, Text_1C2299, Text_185B48 + trainerbattle_rematch TRAINER_PICNICKER_ALMA, Text_1C2299, Text_185B48 msgbox Text_185B67, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA841:: @ 81AA841 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_SUSIE, 0, Text_1859CF, Text_1859EC + trainerbattle_single TRAINER_PICNICKER_SUSIE, Text_1859CF, Text_1859EC specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA868 + goto_if_eq EventScript_1AA868 msgbox Text_1859F9, MSGBOX_AUTOCLOSE end EventScript_1AA868:: @ 81AA868 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_SUSIE, 0, Text_1C220C, Text_1859EC + trainerbattle_rematch TRAINER_PICNICKER_SUSIE, Text_1C220C, Text_1859EC msgbox Text_1859F9, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA87F:: @ 81AA87F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_VALERIE, 0, Text_185A37, Text_185A56 + trainerbattle_single TRAINER_PICNICKER_VALERIE, Text_185A37, Text_185A56 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA8A6 + goto_if_eq EventScript_1AA8A6 msgbox Text_185A62, MSGBOX_AUTOCLOSE end EventScript_1AA8A6:: @ 81AA8A6 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_VALERIE, 0, Text_1C223C, Text_185A56 + trainerbattle_rematch TRAINER_PICNICKER_VALERIE, Text_1C223C, Text_185A56 msgbox Text_185A62, MSGBOX_AUTOCLOSE end Route13_EventScript_1AA8BD:: @ 81AA8BD - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_GWEN, 0, Text_185A91, Text_185AC1 + trainerbattle_single TRAINER_PICNICKER_GWEN, Text_185A91, Text_185AC1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA8E4 + goto_if_eq EventScript_1AA8E4 msgbox Text_185ADE, MSGBOX_AUTOCLOSE end EventScript_1AA8E4:: @ 81AA8E4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_GWEN, 0, Text_1C225B, Text_185AC1 + trainerbattle_rematch TRAINER_PICNICKER_GWEN, Text_1C225B, Text_185AC1 msgbox Text_185ADE, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA8FB:: @ 81AA8FB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_MALIK, 0, Text_186344, Text_186362 + trainerbattle_single TRAINER_BIKER_MALIK, Text_186344, Text_186362 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA922 + goto_if_eq EventScript_1AA922 msgbox Text_18636E, MSGBOX_AUTOCLOSE end EventScript_1AA922:: @ 81AA922 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_MALIK, 0, Text_1C25D6, Text_186362 + trainerbattle_rematch TRAINER_BIKER_MALIK, Text_1C25D6, Text_186362 msgbox Text_18636E, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA939:: @ 81AA939 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_LUKAS, 0, Text_1861F7, Text_186223 + trainerbattle_single TRAINER_BIKER_LUKAS, Text_1861F7, Text_186223 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA960 + goto_if_eq EventScript_1AA960 msgbox Text_186239, MSGBOX_AUTOCLOSE end EventScript_1AA960:: @ 81AA960 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_LUKAS, 0, Text_1C2531, Text_186223 + trainerbattle_rematch TRAINER_BIKER_LUKAS, Text_1C2531, Text_186223 msgbox Text_186239, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA977:: @ 81AA977 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ISAAC, 0, Text_186263, Text_186291 + trainerbattle_single TRAINER_BIKER_ISAAC, Text_186263, Text_186291 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA99E + goto_if_eq EventScript_1AA99E msgbox Text_18629D, MSGBOX_AUTOCLOSE end EventScript_1AA99E:: @ 81AA99E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ISAAC, 0, Text_1C2572, Text_186291 + trainerbattle_rematch TRAINER_BIKER_ISAAC, Text_1C2572, Text_186291 msgbox Text_18629D, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA9B5:: @ 81AA9B5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_GERALD, 0, Text_1862BD, Text_1862EF + trainerbattle_single TRAINER_BIKER_GERALD, Text_1862BD, Text_1862EF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AA9DC + goto_if_eq EventScript_1AA9DC msgbox Text_1862F8, MSGBOX_AUTOCLOSE end EventScript_1AA9DC:: @ 81AA9DC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_GERALD, 0, Text_1C259E, Text_1862EF + trainerbattle_rematch TRAINER_BIKER_GERALD, Text_1C259E, Text_1862EF msgbox Text_1862F8, MSGBOX_AUTOCLOSE end Route14_EventScript_1AA9F3:: @ 81AA9F3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1860D9, Text_18610A + trainerbattle_single TRAINER_BIRD_KEEPER_DONALD, Text_1860D9, Text_18610A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAA1A + goto_if_eq EventScript_1AAA1A msgbox Text_18611D, MSGBOX_AUTOCLOSE end EventScript_1AAA1A:: @ 81AAA1A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1C24CB, Text_18610A + trainerbattle_rematch TRAINER_BIRD_KEEPER_DONALD, Text_1C24CB, Text_18610A msgbox Text_18611D, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAA31:: @ 81AAA31 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_BENNY, 0, Text_18618E, Text_1861B3 + trainerbattle_single TRAINER_BIRD_KEEPER_BENNY, Text_18618E, Text_1861B3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAA58 + goto_if_eq EventScript_1AAA58 msgbox Text_1861BE, MSGBOX_AUTOCLOSE end EventScript_1AAA58:: @ 81AAA58 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_BENNY, 0, Text_1C2505, Text_1861B3 + trainerbattle_rematch TRAINER_BIRD_KEEPER_BENNY, Text_1C2505, Text_1861B3 msgbox Text_1861BE, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAA6F:: @ 81AAA6F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CARTER, 0, Text_185E4D, Text_185E81 + trainerbattle_single TRAINER_BIRD_KEEPER_CARTER, Text_185E4D, Text_185E81 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAA96 + goto_if_eq EventScript_1AAA96 msgbox Text_185E9C, MSGBOX_AUTOCLOSE end EventScript_1AAA96:: @ 81AAA96 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CARTER, 0, Text_1C23C1, Text_185E81 + trainerbattle_rematch TRAINER_BIRD_KEEPER_CARTER, Text_1C23C1, Text_185E81 msgbox Text_185E9C, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAAAD:: @ 81AAAAD - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MITCH, 0, Text_185EDF, Text_185F0B + trainerbattle_single TRAINER_BIRD_KEEPER_MITCH, Text_185EDF, Text_185F0B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAAD4 + goto_if_eq EventScript_1AAAD4 msgbox Text_185F1A, MSGBOX_AUTOCLOSE end EventScript_1AAAD4:: @ 81AAAD4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MITCH, 0, Text_1C23EF, Text_185F0B + trainerbattle_rematch TRAINER_BIRD_KEEPER_MITCH, Text_1C23EF, Text_185F0B msgbox Text_185F1A, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAAEB:: @ 81AAAEB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_BECK, 0, Text_185F46, Text_185FAE + trainerbattle_single TRAINER_BIRD_KEEPER_BECK, Text_185F46, Text_185FAE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAB12 + goto_if_eq EventScript_1AAB12 msgbox Text_185FBB, MSGBOX_AUTOCLOSE end EventScript_1AAB12:: @ 81AAB12 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_BECK, 0, Text_1C2425, Text_185FAE + trainerbattle_rematch TRAINER_BIRD_KEEPER_BECK, Text_1C2425, Text_185FAE msgbox Text_185FBB, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAB29:: @ 81AAB29 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MARLON, 0, Text_186021, Text_18607C + trainerbattle_single TRAINER_BIRD_KEEPER_MARLON, Text_186021, Text_18607C specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAB50 + goto_if_eq EventScript_1AAB50 msgbox Text_186091, MSGBOX_AUTOCLOSE end EventScript_1AAB50:: @ 81AAB50 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MARLON, 0, Text_1C2461, Text_18607C + trainerbattle_rematch TRAINER_BIRD_KEEPER_MARLON, Text_1C2461, Text_18607C msgbox Text_186091, MSGBOX_AUTOCLOSE end Route14_EventScript_1AAB67:: @ 81AAB67 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1863B7, Text_1863EA, Text_18642E + trainerbattle_double TRAINER_TWINS_KIRI_JAN, Text_1863B7, Text_1863EA, Text_18642E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAB92 + goto_if_eq EventScript_1AAB92 msgbox Text_18640D, MSGBOX_AUTOCLOSE end EventScript_1AAB92:: @ 81AAB92 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1C25FB, Text_1863EA, Text_18642E + trainerbattle_rematch_double TRAINER_TWINS_KIRI_JAN, Text_1C25FB, Text_1863EA, Text_18642E msgbox Text_18640D, MSGBOX_AUTOCLOSE end Route14_EventScript_1AABAD:: @ 81AABAD - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_18645B, Text_186487, Text_1864D3 + trainerbattle_double TRAINER_TWINS_KIRI_JAN, Text_18645B, Text_186487, Text_1864D3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AABD8 + goto_if_eq EventScript_1AABD8 msgbox Text_18649C, MSGBOX_AUTOCLOSE end EventScript_1AABD8:: @ 81AABD8 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1C261B, Text_186487, Text_1864D3 + trainerbattle_rematch_double TRAINER_TWINS_KIRI_JAN, Text_1C261B, Text_186487, Text_1864D3 msgbox Text_18649C, MSGBOX_AUTOCLOSE end Route15_EventScript_1AABF3:: @ 81AABF3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ERNEST, 0, Text_1868B6, Text_1868E8 + trainerbattle_single TRAINER_BIKER_ERNEST, Text_1868B6, Text_1868E8 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAC1A + goto_if_eq EventScript_1AAC1A msgbox Text_1868F1, MSGBOX_AUTOCLOSE end EventScript_1AAC1A:: @ 81AAC1A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ERNEST, 0, Text_1C27E7, Text_1868E8 + trainerbattle_rematch TRAINER_BIKER_ERNEST, Text_1C27E7, Text_1868E8 msgbox Text_1868F1, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAC31:: @ 81AAC31 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ALEX, 0, Text_186936, Text_186968 + trainerbattle_single TRAINER_BIKER_ALEX, Text_186936, Text_186968 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAC58 + goto_if_eq EventScript_1AAC58 msgbox Text_18697C, MSGBOX_AUTOCLOSE end EventScript_1AAC58:: @ 81AAC58 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ALEX, 0, Text_1C2814, Text_186968 + trainerbattle_rematch TRAINER_BIKER_ALEX, Text_1C2814, Text_186968 msgbox Text_18697C, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAC6F:: @ 81AAC6F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_GRACE, 0, Text_18678B, Text_1867C1 + trainerbattle_single TRAINER_BEAUTY_GRACE, Text_18678B, Text_1867C1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAC96 + goto_if_eq EventScript_1AAC96 msgbox Text_1867DA, MSGBOX_AUTOCLOSE end EventScript_1AAC96:: @ 81AAC96 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_GRACE, 0, Text_1C2753, Text_1867C1 + trainerbattle_rematch TRAINER_BEAUTY_GRACE, Text_1C2753, Text_1867C1 msgbox Text_1867DA, MSGBOX_AUTOCLOSE end Route15_EventScript_1AACAD:: @ 81AACAD - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_OLIVIA, 0, Text_18680C, Text_186841 + trainerbattle_single TRAINER_BEAUTY_OLIVIA, Text_18680C, Text_186841 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AACD4 + goto_if_eq EventScript_1AACD4 msgbox Text_18686F, MSGBOX_AUTOCLOSE end EventScript_1AACD4:: @ 81AACD4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_OLIVIA, 0, Text_1C279D, Text_186841 + trainerbattle_rematch TRAINER_BEAUTY_OLIVIA, Text_1C279D, Text_186841 msgbox Text_18686F, MSGBOX_AUTOCLOSE end Route15_EventScript_1AACEB:: @ 81AACEB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_18664F, Text_18667A + trainerbattle_single TRAINER_BIRD_KEEPER_EDWIN, Text_18664F, Text_18667A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAD12 + goto_if_eq EventScript_1AAD12 msgbox Text_18668D, MSGBOX_AUTOCLOSE end EventScript_1AAD12:: @ 81AAD12 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_1C26D3, Text_18667A + trainerbattle_rematch TRAINER_BIRD_KEEPER_EDWIN, Text_1C26D3, Text_18667A msgbox Text_18668D, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAD29:: @ 81AAD29 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1866D1, Text_186707 + trainerbattle_single TRAINER_BIRD_KEEPER_CHESTER, Text_1866D1, Text_186707 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAD50 + goto_if_eq EventScript_1AAD50 msgbox Text_18671A, MSGBOX_AUTOCLOSE end EventScript_1AAD50:: @ 81AAD50 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1C2717, Text_186707 + trainerbattle_rematch TRAINER_BIRD_KEEPER_CHESTER, Text_1C2717, Text_186707 msgbox Text_18671A, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAD67:: @ 81AAD67 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_YAZMIN, 0, Text_186A22, Text_186A40 + trainerbattle_single TRAINER_PICNICKER_YAZMIN, Text_186A22, Text_186A40 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAD8E + goto_if_eq EventScript_1AAD8E msgbox Text_186A55, MSGBOX_AUTOCLOSE end EventScript_1AAD8E:: @ 81AAD8E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_YAZMIN, 0, Text_1C287D, Text_186A40 + trainerbattle_rematch TRAINER_PICNICKER_YAZMIN, Text_1C287D, Text_186A40 msgbox Text_186A55, MSGBOX_AUTOCLOSE end Route15_EventScript_1AADA5:: @ 81AADA5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_KINDRA, 0, Text_18650B, Text_186549 + trainerbattle_single TRAINER_PICNICKER_KINDRA, Text_18650B, Text_186549 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AADCC + goto_if_eq EventScript_1AADCC msgbox Text_18655A, MSGBOX_AUTOCLOSE end EventScript_1AADCC:: @ 81AADCC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_KINDRA, 0, Text_1C2650, Text_186549 + trainerbattle_rematch TRAINER_PICNICKER_KINDRA, Text_1C2650, Text_186549 msgbox Text_18655A, MSGBOX_AUTOCLOSE end Route15_EventScript_1AADE3:: @ 81AADE3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_BECKY, 0, Text_1865D3, Text_186612 + trainerbattle_single TRAINER_PICNICKER_BECKY, Text_1865D3, Text_186612 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAE0A + goto_if_eq EventScript_1AAE0A msgbox Text_18661D, MSGBOX_AUTOCLOSE end EventScript_1AAE0A:: @ 81AAE0A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_BECKY, 0, Text_1C268D, Text_186612 + trainerbattle_rematch TRAINER_PICNICKER_BECKY, Text_1C268D, Text_186612 msgbox Text_18661D, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAE21:: @ 81AAE21 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CELIA, 0, Text_1869BA, Text_1869E6 + trainerbattle_single TRAINER_PICNICKER_CELIA, Text_1869BA, Text_1869E6 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAE48 + goto_if_eq EventScript_1AAE48 msgbox Text_1869F4, MSGBOX_AUTOCLOSE end EventScript_1AAE48:: @ 81AAE48 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CELIA, 0, Text_1C2846, Text_1869E6 + trainerbattle_rematch TRAINER_PICNICKER_CELIA, Text_1C2846, Text_1869E6 msgbox Text_1869F4, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAE5F:: @ 81AAE5F - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_186A95, Text_186ACB, Text_186B46 + trainerbattle_double TRAINER_CRUSH_KIN_RON_MYA, Text_186A95, Text_186ACB, Text_186B46 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAE8A + goto_if_eq EventScript_1AAE8A msgbox Text_186B0A, MSGBOX_AUTOCLOSE end EventScript_1AAE8A:: @ 81AAE8A - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28A1, Text_186ACB, Text_186B46 + trainerbattle_rematch_double TRAINER_CRUSH_KIN_RON_MYA, Text_1C28A1, Text_186ACB, Text_186B46 msgbox Text_186B0A, MSGBOX_AUTOCLOSE end Route15_EventScript_1AAEA5:: @ 81AAEA5 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_186B89, Text_186BB1, Text_186BFE + trainerbattle_double TRAINER_CRUSH_KIN_RON_MYA, Text_186B89, Text_186BB1, Text_186BFE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAED0 + goto_if_eq EventScript_1AAED0 msgbox Text_186BD2, MSGBOX_AUTOCLOSE end EventScript_1AAED0:: @ 81AAED0 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28EC, Text_186BB1, Text_186BFE + trainerbattle_rematch_double TRAINER_CRUSH_KIN_RON_MYA, Text_1C28EC, Text_186BB1, Text_186BFE msgbox Text_186BD2, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAEEB:: @ 81AAEEB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_LAO, 0, Text_186C4D, Text_186C5F + trainerbattle_single TRAINER_BIKER_LAO, Text_186C4D, Text_186C5F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAF12 + goto_if_eq EventScript_1AAF12 msgbox Text_186C75, MSGBOX_AUTOCLOSE end EventScript_1AAF12:: @ 81AAF12 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_LAO, 0, Text_1C2913, Text_186C5F + trainerbattle_rematch TRAINER_BIKER_LAO, Text_1C2913, Text_186C5F msgbox Text_186C75, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAF29:: @ 81AAF29 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_HIDEO, 0, Text_186D39, Text_186D52 + trainerbattle_single TRAINER_BIKER_HIDEO, Text_186D39, Text_186D52 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAF50 + goto_if_eq EventScript_1AAF50 msgbox Text_186D5A, MSGBOX_AUTOCLOSE end EventScript_1AAF50:: @ 81AAF50 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_HIDEO, 0, Text_1C297B, Text_186D52 + trainerbattle_rematch TRAINER_BIKER_HIDEO, Text_1C297B, Text_186D52 msgbox Text_186D5A, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAF67:: @ 81AAF67 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_RUBEN, 0, Text_186E86, Text_186EB4 + trainerbattle_single TRAINER_BIKER_RUBEN, Text_186E86, Text_186EB4 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAF8E + goto_if_eq EventScript_1AAF8E msgbox Text_186EC7, MSGBOX_AUTOCLOSE end EventScript_1AAF8E:: @ 81AAF8E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_RUBEN, 0, Text_1C29EB, Text_186EB4 + trainerbattle_rematch TRAINER_BIKER_RUBEN, Text_1C29EB, Text_186EB4 msgbox Text_186EC7, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAFA5:: @ 81AAFA5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_KOJI, 0, Text_186CA2, Text_186CBB + trainerbattle_single TRAINER_CUE_BALL_KOJI, Text_186CA2, Text_186CBB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AAFCC + goto_if_eq EventScript_1AAFCC msgbox Text_186CC5, MSGBOX_AUTOCLOSE end EventScript_1AAFCC:: @ 81AAFCC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_KOJI, 0, Text_1C2925, Text_186CBB + trainerbattle_rematch TRAINER_CUE_BALL_KOJI, Text_1C2925, Text_186CBB msgbox Text_186CC5, MSGBOX_AUTOCLOSE end Route16_EventScript_1AAFE3:: @ 81AAFE3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_LUKE, 0, Text_186CE5, Text_186D06 + trainerbattle_single TRAINER_CUE_BALL_LUKE, Text_186CE5, Text_186D06 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB00A + goto_if_eq EventScript_1AB00A msgbox Text_186D16, MSGBOX_AUTOCLOSE end EventScript_1AB00A:: @ 81AB00A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_LUKE, 0, Text_1C2944, Text_186D06 + trainerbattle_rematch TRAINER_CUE_BALL_LUKE, Text_1C2944, Text_186D06 msgbox Text_186D16, MSGBOX_AUTOCLOSE end Route16_EventScript_1AB021:: @ 81AB021 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_CAMRON, 0, Text_186DD9, Text_186E0D + trainerbattle_single TRAINER_CUE_BALL_CAMRON, Text_186DD9, Text_186E0D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB048 + goto_if_eq EventScript_1AB048 msgbox Text_186E1C, MSGBOX_AUTOCLOSE end EventScript_1AB048:: @ 81AB048 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_CAMRON, 0, Text_1C29B0, Text_186E0D + trainerbattle_rematch TRAINER_CUE_BALL_CAMRON, Text_1C29B0, Text_186E0D msgbox Text_186E1C, MSGBOX_AUTOCLOSE end Route16_EventScript_1AB05F:: @ 81AB05F - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_186FBD, Text_186FFA, Text_187057 + trainerbattle_double TRAINER_YOUNG_COUPLE_LEA_JED, Text_186FBD, Text_186FFA, Text_187057 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB08A + goto_if_eq EventScript_1AB08A msgbox Text_187027, MSGBOX_AUTOCLOSE end EventScript_1AB08A:: @ 81AB08A - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A19, Text_186FFA, Text_187057 + trainerbattle_rematch_double TRAINER_YOUNG_COUPLE_LEA_JED, Text_1C2A19, Text_186FFA, Text_187057 msgbox Text_187027, MSGBOX_AUTOCLOSE end Route16_EventScript_1AB0A5:: @ 81AB0A5 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_187097, Text_1870CC, Text_187120 + trainerbattle_double TRAINER_YOUNG_COUPLE_LEA_JED, Text_187097, Text_1870CC, Text_187120 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB0D0 + goto_if_eq EventScript_1AB0D0 msgbox Text_1870F9, MSGBOX_AUTOCLOSE end EventScript_1AB0D0:: @ 81AB0D0 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A53, Text_1870CC, Text_187120 + trainerbattle_rematch_double TRAINER_YOUNG_COUPLE_LEA_JED, Text_1C2A53, Text_1870CC, Text_187120 msgbox Text_1870F9, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB0EB:: @ 81AB0EB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_BILLY, 0, Text_1872BD, Text_1872E3 + trainerbattle_single TRAINER_BIKER_BILLY, Text_1872BD, Text_1872E3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB112 + goto_if_eq EventScript_1AB112 msgbox Text_1872EB, MSGBOX_AUTOCLOSE end EventScript_1AB112:: @ 81AB112 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_BILLY, 0, Text_1C2B06, Text_1872E3 + trainerbattle_rematch TRAINER_BIKER_BILLY, Text_1C2B06, Text_1872E3 msgbox Text_1872EB, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB129:: @ 81AB129 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_NIKOLAS, 0, Text_18730A, Text_187325 + trainerbattle_single TRAINER_BIKER_NIKOLAS, Text_18730A, Text_187325 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB150 + goto_if_eq EventScript_1AB150 msgbox Text_187333, MSGBOX_AUTOCLOSE end EventScript_1AB150:: @ 81AB150 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_NIKOLAS, 0, Text_1C2B2C, Text_187325 + trainerbattle_rematch TRAINER_BIKER_NIKOLAS, Text_1C2B2C, Text_187325 msgbox Text_187333, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB167:: @ 81AB167 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JAXON, 0, Text_187456, Text_187472 + trainerbattle_single TRAINER_BIKER_JAXON, Text_187456, Text_187472 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB18E + goto_if_eq EventScript_1AB18E msgbox Text_187479, MSGBOX_AUTOCLOSE end EventScript_1AB18E:: @ 81AB18E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JAXON, 0, Text_1C2BE6, Text_187472 + trainerbattle_rematch TRAINER_BIKER_JAXON, Text_1C2BE6, Text_187472 msgbox Text_187479, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB1A5:: @ 81AB1A5 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_WILLIAM, 0, Text_18749B, Text_1874B6 + trainerbattle_single TRAINER_BIKER_WILLIAM, Text_18749B, Text_1874B6 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB1CC + goto_if_eq EventScript_1AB1CC msgbox Text_1874C9, MSGBOX_AUTOCLOSE end EventScript_1AB1CC:: @ 81AB1CC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_WILLIAM, 0, Text_1C2C10, Text_1874B6 + trainerbattle_rematch TRAINER_BIKER_WILLIAM, Text_1C2C10, Text_1874B6 msgbox Text_1874C9, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB1E3:: @ 81AB1E3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_RAUL, 0, Text_18717E, Text_1871AE + trainerbattle_single TRAINER_CUE_BALL_RAUL, Text_18717E, Text_1871AE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB20A + goto_if_eq EventScript_1AB20A msgbox Text_1871BA, MSGBOX_AUTOCLOSE end EventScript_1AB20A:: @ 81AB20A - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_RAUL, 0, Text_1C2A88, Text_1871AE + trainerbattle_rematch TRAINER_CUE_BALL_RAUL, Text_1C2A88, Text_1871AE msgbox Text_1871BA, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB221:: @ 81AB221 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_ISAIAH, 0, Text_187228, Text_187254 + trainerbattle_single TRAINER_CUE_BALL_ISAIAH, Text_187228, Text_187254 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB248 + goto_if_eq EventScript_1AB248 msgbox Text_18725A, MSGBOX_AUTOCLOSE end EventScript_1AB248:: @ 81AB248 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_ISAIAH, 0, Text_1C2AC4, Text_187254 + trainerbattle_rematch TRAINER_CUE_BALL_ISAIAH, Text_1C2AC4, Text_187254 msgbox Text_18725A, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB25F:: @ 81AB25F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_ZEEK, 0, Text_187362, Text_187395 + trainerbattle_single TRAINER_CUE_BALL_ZEEK, Text_187362, Text_187395 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB286 + goto_if_eq EventScript_1AB286 msgbox Text_18739F, MSGBOX_AUTOCLOSE end EventScript_1AB286:: @ 81AB286 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_ZEEK, 0, Text_1C2B5E, Text_187395 + trainerbattle_rematch TRAINER_CUE_BALL_ZEEK, Text_1C2B5E, Text_187395 msgbox Text_18739F, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB29D:: @ 81AB29D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_JAMAL, 0, Text_1873D1, Text_1873EB + trainerbattle_single TRAINER_CUE_BALL_JAMAL, Text_1873D1, Text_1873EB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB2C4 + goto_if_eq EventScript_1AB2C4 msgbox Text_1873FF, MSGBOX_AUTOCLOSE end EventScript_1AB2C4:: @ 81AB2C4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_JAMAL, 0, Text_1C2B9C, Text_1873EB + trainerbattle_rematch TRAINER_CUE_BALL_JAMAL, Text_1C2B9C, Text_1873EB msgbox Text_1873FF, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB2DB:: @ 81AB2DB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_COREY, 0, Text_18741D, Text_187429 + trainerbattle_single TRAINER_CUE_BALL_COREY, Text_18741D, Text_187429 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB302 + goto_if_eq EventScript_1AB302 msgbox Text_187432, MSGBOX_AUTOCLOSE end EventScript_1AB302:: @ 81AB302 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_COREY, 0, Text_1C2BDA, Text_187429 + trainerbattle_rematch TRAINER_CUE_BALL_COREY, Text_1C2BDA, Text_187429 msgbox Text_187432, MSGBOX_AUTOCLOSE end Route17_EventScript_1AB319:: @ 81AB319 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_VIRGIL, 0, Text_18727D, Text_187295 + trainerbattle_single TRAINER_BIKER_VIRGIL, Text_18727D, Text_187295 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB340 + goto_if_eq EventScript_1AB340 msgbox Text_1872A5, MSGBOX_AUTOCLOSE end EventScript_1AB340:: @ 81AB340 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_VIRGIL, 0, Text_1C2AF0, Text_187295 + trainerbattle_rematch TRAINER_BIKER_VIRGIL, Text_1C2AF0, Text_187295 msgbox Text_1872A5, MSGBOX_AUTOCLOSE end Route18_EventScript_1AB357:: @ 81AB357 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_WILTON, 0, Text_187640, Text_187672 + trainerbattle_single TRAINER_BIRD_KEEPER_WILTON, Text_187640, Text_187672 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB37E + goto_if_eq EventScript_1AB37E msgbox Text_187677, MSGBOX_AUTOCLOSE end EventScript_1AB37E:: @ 81AB37E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_WILTON, 0, Text_1C2C2B, Text_187672 + trainerbattle_rematch TRAINER_BIRD_KEEPER_WILTON, Text_1C2C2B, Text_187672 msgbox Text_187677, MSGBOX_AUTOCLOSE end Route18_EventScript_1AB395:: @ 81AB395 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_18768C, Text_1876B3 + trainerbattle_single TRAINER_BIRD_KEEPER_RAMIRO, Text_18768C, Text_1876B3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB3BC + goto_if_eq EventScript_1AB3BC msgbox Text_1876C5, MSGBOX_AUTOCLOSE end EventScript_1AB3BC:: @ 81AB3BC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_1C2C7B, Text_1876B3 + trainerbattle_rematch TRAINER_BIRD_KEEPER_RAMIRO, Text_1C2C7B, Text_1876B3 msgbox Text_1876C5, MSGBOX_AUTOCLOSE end Route18_EventScript_1AB3D3:: @ 81AB3D3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_JACOB, 0, Text_187704, Text_187726 + trainerbattle_single TRAINER_BIRD_KEEPER_JACOB, Text_187704, Text_187726 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB3FA + goto_if_eq EventScript_1AB3FA msgbox Text_18772C, MSGBOX_AUTOCLOSE end EventScript_1AB3FA:: @ 81AB3FA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_JACOB, 0, Text_1C2CA8, Text_187726 + trainerbattle_rematch TRAINER_BIRD_KEEPER_JACOB, Text_1C2CA8, Text_187726 msgbox Text_18772C, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB411:: @ 81AB411 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1877A3, Text_1877DF + trainerbattle_single TRAINER_SWIMMER_MALE_RICHARD, Text_1877A3, Text_1877DF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB438 + goto_if_eq EventScript_1AB438 msgbox Text_1877EE, MSGBOX_AUTOCLOSE end EventScript_1AB438:: @ 81AB438 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1C2CEE, Text_1877DF + trainerbattle_rematch TRAINER_SWIMMER_MALE_RICHARD, Text_1C2CEE, Text_1877DF msgbox Text_1877EE, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB44F:: @ 81AB44F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_REECE, 0, Text_187811, Text_18783E + trainerbattle_single TRAINER_SWIMMER_MALE_REECE, Text_187811, Text_18783E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB476 + goto_if_eq EventScript_1AB476 msgbox Text_187852, MSGBOX_AUTOCLOSE end EventScript_1AB476:: @ 81AB476 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_REECE, 0, Text_1C2D19, Text_18783E + trainerbattle_rematch TRAINER_SWIMMER_MALE_REECE, Text_1C2D19, Text_18783E msgbox Text_187852, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB48D:: @ 81AB48D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_187884, Text_1878A5 + trainerbattle_single TRAINER_SWIMMER_MALE_MATTHEW, Text_187884, Text_1878A5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB4B4 + goto_if_eq EventScript_1AB4B4 msgbox Text_1878B1, MSGBOX_AUTOCLOSE end EventScript_1AB4B4:: @ 81AB4B4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_1C2D4B, Text_1878A5 + trainerbattle_rematch TRAINER_SWIMMER_MALE_MATTHEW, Text_1C2D4B, Text_1878A5 msgbox Text_1878B1, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB4CB:: @ 81AB4CB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1878DD, Text_1878F8 + trainerbattle_single TRAINER_SWIMMER_MALE_DOUGLAS, Text_1878DD, Text_1878F8 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB4F2 + goto_if_eq EventScript_1AB4F2 msgbox Text_1878FE, MSGBOX_AUTOCLOSE end EventScript_1AB4F2:: @ 81AB4F2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1C2D7D, Text_1878F8 + trainerbattle_rematch TRAINER_SWIMMER_MALE_DOUGLAS, Text_1C2D7D, Text_1878F8 msgbox Text_1878FE, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB509:: @ 81AB509 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DAVID, 0, Text_187925, Text_187955 + trainerbattle_single TRAINER_SWIMMER_MALE_DAVID, Text_187925, Text_187955 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB530 + goto_if_eq EventScript_1AB530 msgbox Text_18795B, MSGBOX_AUTOCLOSE end EventScript_1AB530:: @ 81AB530 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DAVID, 0, Text_1C2DA7, Text_187955 + trainerbattle_rematch TRAINER_SWIMMER_MALE_DAVID, Text_1C2DA7, Text_187955 msgbox Text_18795B, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB547:: @ 81AB547 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_TONY, 0, Text_187985, Text_1879C3 + trainerbattle_single TRAINER_SWIMMER_MALE_TONY, Text_187985, Text_1879C3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB56E + goto_if_eq EventScript_1AB56E msgbox Text_1879D3, MSGBOX_AUTOCLOSE end EventScript_1AB56E:: @ 81AB56E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_TONY, 0, Text_1C2DE9, Text_1879C3 + trainerbattle_rematch TRAINER_SWIMMER_MALE_TONY, Text_1C2DE9, Text_1879C3 msgbox Text_1879D3, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB585:: @ 81AB585 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_AXLE, 0, Text_187AFA, Text_187B25 + trainerbattle_single TRAINER_SWIMMER_MALE_AXLE, Text_187AFA, Text_187B25 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB5AC + goto_if_eq EventScript_1AB5AC msgbox Text_187B35, MSGBOX_AUTOCLOSE end EventScript_1AB5AC:: @ 81AB5AC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_AXLE, 0, Text_1C2EC0, Text_187B25 + trainerbattle_rematch TRAINER_SWIMMER_MALE_AXLE, Text_1C2EC0, Text_187B25 msgbox Text_187B35, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB5C3:: @ 81AB5C3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_187A11, Text_187A44 + trainerbattle_single TRAINER_SWIMMER_FEMALE_ANYA, Text_187A11, Text_187A44 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB5EA + goto_if_eq EventScript_1AB5EA msgbox Text_187A50, MSGBOX_AUTOCLOSE end EventScript_1AB5EA:: @ 81AB5EA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_1C2E4A, Text_187A44 + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_ANYA, Text_1C2E4A, Text_187A44 msgbox Text_187A50, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB601:: @ 81AB601 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_187A9E, Text_187AC1 + trainerbattle_single TRAINER_SWIMMER_FEMALE_ALICE, Text_187A9E, Text_187AC1 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB628 + goto_if_eq EventScript_1AB628 msgbox Text_187ACA, MSGBOX_AUTOCLOSE end EventScript_1AB628:: @ 81AB628 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_1C2E9D, Text_187AC1 + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_ALICE, Text_1C2E9D, Text_187AC1 msgbox Text_187ACA, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB63F:: @ 81AB63F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_187B5D, Text_187B85 + trainerbattle_single TRAINER_SWIMMER_FEMALE_CONNIE, Text_187B5D, Text_187B85 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB666 + goto_if_eq EventScript_1AB666 msgbox Text_187B94, MSGBOX_AUTOCLOSE end EventScript_1AB666:: @ 81AB666 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_1C2EFC, Text_187B85 + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_CONNIE, Text_1C2EFC, Text_187B85 msgbox Text_187B94, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB67D:: @ 81AB67D - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_187C32, Text_187C6F, Text_187CF2 + trainerbattle_double TRAINER_SIS_AND_BRO_LIA_LUC, Text_187C32, Text_187C6F, Text_187CF2 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB6A8 + goto_if_eq EventScript_1AB6A8 msgbox Text_187C9E, MSGBOX_AUTOCLOSE end EventScript_1AB6A8:: @ 81AB6A8 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2F41, Text_187C6F, Text_187CF2 + trainerbattle_rematch_double TRAINER_SIS_AND_BRO_LIA_LUC, Text_1C2F41, Text_187C6F, Text_187CF2 msgbox Text_187C9E, MSGBOX_AUTOCLOSE end Route19_EventScript_1AB6C3:: @ 81AB6C3 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_187D45, Text_187D7E, Text_187DE8 + trainerbattle_double TRAINER_SIS_AND_BRO_LIA_LUC, Text_187D45, Text_187D7E, Text_187DE8 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB6EE + goto_if_eq EventScript_1AB6EE msgbox Text_187DAD, MSGBOX_AUTOCLOSE end EventScript_1AB6EE:: @ 81AB6EE - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2FAE, Text_187D7E, Text_187DE8 + trainerbattle_rematch_double TRAINER_SIS_AND_BRO_LIA_LUC, Text_1C2FAE, Text_187D7E, Text_187DE8 msgbox Text_187DAD, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB709:: @ 81AB709 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_BARRY, 0, Text_187E40, Text_187E7B + trainerbattle_single TRAINER_SWIMMER_MALE_BARRY, Text_187E40, Text_187E7B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB730 + goto_if_eq EventScript_1AB730 msgbox Text_187E83, MSGBOX_AUTOCLOSE end EventScript_1AB730:: @ 81AB730 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_BARRY, 0, Text_1C2FF3, Text_187E7B + trainerbattle_rematch TRAINER_SWIMMER_MALE_BARRY, Text_1C2FF3, Text_187E7B msgbox Text_187E83, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB747:: @ 81AB747 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DEAN, 0, Text_187FDB, Text_187FF7 + trainerbattle_single TRAINER_SWIMMER_MALE_DEAN, Text_187FDB, Text_187FF7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB76E + goto_if_eq EventScript_1AB76E msgbox Text_187FFE, MSGBOX_AUTOCLOSE end EventScript_1AB76E:: @ 81AB76E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DEAN, 0, Text_1C30B0, Text_187FF7 + trainerbattle_rematch TRAINER_SWIMMER_MALE_DEAN, Text_1C30B0, Text_187FF7 msgbox Text_187FFE, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB785:: @ 81AB785 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_18802E, Text_18805C + trainerbattle_single TRAINER_SWIMMER_MALE_DARRIN, Text_18802E, Text_18805C specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB7AC + goto_if_eq EventScript_1AB7AC msgbox Text_18806D, MSGBOX_AUTOCLOSE end EventScript_1AB7AC:: @ 81AB7AC - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_1C30ED, Text_18805C + trainerbattle_rematch TRAINER_SWIMMER_MALE_DARRIN, Text_1C30ED, Text_18805C msgbox Text_18806D, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB7C3:: @ 81AB7C3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_187F24, Text_187F5A + trainerbattle_single TRAINER_SWIMMER_FEMALE_TIFFANY, Text_187F24, Text_187F5A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB7EA + goto_if_eq EventScript_1AB7EA msgbox Text_187F61, MSGBOX_AUTOCLOSE end EventScript_1AB7EA:: @ 81AB7EA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_1C305F, Text_187F5A + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_TIFFANY, Text_1C305F, Text_187F5A msgbox Text_187F61, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB801:: @ 81AB801 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1880F8, Text_188119 + trainerbattle_single TRAINER_SWIMMER_FEMALE_NORA, Text_1880F8, Text_188119 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB828 + goto_if_eq EventScript_1AB828 msgbox Text_188139, MSGBOX_AUTOCLOSE end EventScript_1AB828:: @ 81AB828 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1C3149, Text_188119 + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_NORA, Text_1C3149, Text_188119 msgbox Text_188139, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB83F:: @ 81AB83F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_188218, Text_18825C + trainerbattle_single TRAINER_SWIMMER_FEMALE_MELISSA, Text_188218, Text_18825C specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB866 + goto_if_eq EventScript_1AB866 msgbox Text_18827B, MSGBOX_AUTOCLOSE end EventScript_1AB866:: @ 81AB866 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_1C31C4, Text_18825C + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_MELISSA, Text_1C31C4, Text_18825C msgbox Text_18827B, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB87D:: @ 81AB87D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_187EBB, Text_187EED + trainerbattle_single TRAINER_SWIMMER_FEMALE_SHIRLEY, Text_187EBB, Text_187EED specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB8A4 + goto_if_eq EventScript_1AB8A4 msgbox Text_187EF6, MSGBOX_AUTOCLOSE end EventScript_1AB8A4:: @ 81AB8A4 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_1C302E, Text_187EED + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_SHIRLEY, Text_1C302E, Text_187EED msgbox Text_187EF6, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB8BB:: @ 81AB8BB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_ROGER, 0, Text_18808E, Text_1880AB + trainerbattle_single TRAINER_BIRD_KEEPER_ROGER, Text_18808E, Text_1880AB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB8E2 + goto_if_eq EventScript_1AB8E2 msgbox Text_1880C8, MSGBOX_AUTOCLOSE end EventScript_1AB8E2:: @ 81AB8E2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_ROGER, 0, Text_1C312C, Text_1880AB + trainerbattle_rematch TRAINER_BIRD_KEEPER_ROGER, Text_1C312C, Text_1880AB msgbox Text_1880C8, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB8F9:: @ 81AB8F9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_MISSY, 0, Text_188165, Text_1881A3 + trainerbattle_single TRAINER_PICNICKER_MISSY, Text_188165, Text_1881A3 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB920 + goto_if_eq EventScript_1AB920 msgbox Text_1881B8, MSGBOX_AUTOCLOSE end EventScript_1AB920:: @ 81AB920 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_MISSY, 0, Text_1C3185, Text_1881A3 + trainerbattle_rematch TRAINER_PICNICKER_MISSY, Text_1C3185, Text_1881A3 msgbox Text_1881B8, MSGBOX_AUTOCLOSE end Route20_EventScript_1AB937:: @ 81AB937 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_IRENE, 0, Text_187F78, Text_187F92 + trainerbattle_single TRAINER_PICNICKER_IRENE, Text_187F78, Text_187F92 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB95E + goto_if_eq EventScript_1AB95E msgbox Text_187FA3, MSGBOX_AUTOCLOSE end EventScript_1AB95E:: @ 81AB95E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_IRENE, 0, Text_1C3095, Text_187F92 + trainerbattle_rematch TRAINER_PICNICKER_IRENE, Text_1C3095, Text_187F92 msgbox Text_187FA3, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1AB975:: @ 81AB975 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_RONALD, 0, Text_18835A, Text_188383 + trainerbattle_single TRAINER_FISHERMAN_RONALD, Text_18835A, Text_188383 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB99C + goto_if_eq EventScript_1AB99C msgbox Text_188389, MSGBOX_AUTOCLOSE end EventScript_1AB99C:: @ 81AB99C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_RONALD, 0, Text_1C3208, Text_188383 + trainerbattle_rematch TRAINER_FISHERMAN_RONALD, Text_1C3208, Text_188383 msgbox Text_188389, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1AB9B3:: @ 81AB9B3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_CLAUDE, 0, Text_1885D8, Text_1885F8 + trainerbattle_single TRAINER_FISHERMAN_CLAUDE, Text_1885D8, Text_1885F8 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AB9DA + goto_if_eq EventScript_1AB9DA msgbox Text_188632, MSGBOX_AUTOCLOSE end EventScript_1AB9DA:: @ 81AB9DA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_CLAUDE, 0, Text_1C331D, Text_1885F8 + trainerbattle_rematch TRAINER_FISHERMAN_CLAUDE, Text_1C331D, Text_1885F8 msgbox Text_188632, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1AB9F1:: @ 81AB9F1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_WADE, 0, Text_1883C6, Text_1883E9 + trainerbattle_single TRAINER_FISHERMAN_WADE, Text_1883C6, Text_1883E9 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABA18 + goto_if_eq EventScript_1ABA18 msgbox Text_18841D, MSGBOX_AUTOCLOSE end EventScript_1ABA18:: @ 81ABA18 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_WADE, 0, Text_1C3231, Text_1883E9 + trainerbattle_rematch TRAINER_FISHERMAN_WADE, Text_1C3231, Text_1883E9 msgbox Text_18841D, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1ABA2F:: @ 81ABA2F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_NOLAN, 0, Text_18868C, Text_1886AE + trainerbattle_single TRAINER_FISHERMAN_NOLAN, Text_18868C, Text_1886AE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABA56 + goto_if_eq EventScript_1ABA56 msgbox Text_1886C5, MSGBOX_AUTOCLOSE end EventScript_1ABA56:: @ 81ABA56 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_NOLAN, 0, Text_1C3356, Text_1886AE + trainerbattle_rematch TRAINER_FISHERMAN_NOLAN, Text_1C3356, Text_1886AE msgbox Text_1886C5, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1ABA6D:: @ 81ABA6D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_18843C, Text_18845F + trainerbattle_single TRAINER_SWIMMER_MALE_SPENCER, Text_18843C, Text_18845F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABA94 + goto_if_eq EventScript_1ABA94 msgbox Text_188465, MSGBOX_AUTOCLOSE end EventScript_1ABA94:: @ 81ABA94 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_1C3264, Text_18845F + trainerbattle_rematch TRAINER_SWIMMER_MALE_SPENCER, Text_1C3264, Text_18845F msgbox Text_188465, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1ABAAB:: @ 81ABAAB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_JACK, 0, Text_1884D4, Text_1884F0 + trainerbattle_single TRAINER_SWIMMER_MALE_JACK, Text_1884D4, Text_1884F0 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABAD2 + goto_if_eq EventScript_1ABAD2 msgbox Text_1884FF, MSGBOX_AUTOCLOSE end EventScript_1ABAD2:: @ 81ABAD2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_JACK, 0, Text_1C3298, Text_1884F0 + trainerbattle_rematch TRAINER_SWIMMER_MALE_JACK, Text_1C3298, Text_1884F0 msgbox Text_1884FF, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1ABAE9:: @ 81ABAE9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_JEROME, 0, Text_18851F, Text_188543 + trainerbattle_single TRAINER_SWIMMER_MALE_JEROME, Text_18851F, Text_188543 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABB10 + goto_if_eq EventScript_1ABB10 msgbox Text_188555, MSGBOX_AUTOCLOSE end EventScript_1ABB10:: @ 81ABB10 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_JEROME, 0, Text_1C32D3, Text_188543 + trainerbattle_rematch TRAINER_SWIMMER_MALE_JEROME, Text_1C32D3, Text_188543 msgbox Text_188555, MSGBOX_AUTOCLOSE end Route21_South_EventScript_1ABB27:: @ 81ABB27 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_188592, Text_1885B2 + trainerbattle_single TRAINER_SWIMMER_MALE_ROLAND, Text_188592, Text_1885B2 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABB4E + goto_if_eq EventScript_1ABB4E msgbox Text_1885BF, MSGBOX_AUTOCLOSE end EventScript_1ABB4E:: @ 81ABB4E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_1C32FD, Text_1885B2 + trainerbattle_rematch TRAINER_SWIMMER_MALE_ROLAND, Text_1C32FD, Text_1885B2 msgbox Text_1885BF, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1ABB65:: @ 81ABB65 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1886E2, Text_188712, Text_18875E + trainerbattle_double TRAINER_SIS_AND_BRO_LIL_IAN, Text_1886E2, Text_188712, Text_18875E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABB90 + goto_if_eq EventScript_1ABB90 msgbox Text_188734, MSGBOX_AUTOCLOSE end EventScript_1ABB90:: @ 81ABB90 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C3378, Text_188712, Text_18875E + trainerbattle_rematch_double TRAINER_SIS_AND_BRO_LIL_IAN, Text_1C3378, Text_188712, Text_18875E msgbox Text_188734, MSGBOX_AUTOCLOSE end Route21_North_EventScript_1ABBAB:: @ 81ABBAB - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1887B4, Text_1887F1, Text_188850 + trainerbattle_double TRAINER_SIS_AND_BRO_LIL_IAN, Text_1887B4, Text_1887F1, Text_188850 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABBD6 + goto_if_eq EventScript_1ABBD6 msgbox Text_188812, MSGBOX_AUTOCLOSE end EventScript_1ABBD6:: @ 81ABBD6 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C33AE, Text_1887F1, Text_188850 + trainerbattle_rematch_double TRAINER_SIS_AND_BRO_LIL_IAN, Text_1C33AE, Text_1887F1, Text_188850 msgbox Text_188812, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABBF1:: @ 81ABBF1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_18961F, Text_18964D + trainerbattle_single TRAINER_SWIMMER_FEMALE_MARIA, Text_18961F, Text_18964D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABC18 + goto_if_eq EventScript_1ABC18 msgbox Text_189657, MSGBOX_AUTOCLOSE end EventScript_1ABC18:: @ 81ABC18 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_1C37B5, Text_18964D + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_MARIA, Text_1C37B5, Text_18964D msgbox Text_189657, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABC2F:: @ 81ABC2F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_18968C, Text_1896AC + trainerbattle_single TRAINER_SWIMMER_FEMALE_ABIGAIL, Text_18968C, Text_1896AC specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABC56 + goto_if_eq EventScript_1ABC56 msgbox Text_1896C1, MSGBOX_AUTOCLOSE end EventScript_1ABC56:: @ 81ABC56 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_1C37E7, Text_1896AC + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_ABIGAIL, Text_1C37E7, Text_1896AC msgbox Text_1896C1, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABC6D:: @ 81ABC6D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_FINN, 0, Text_1896F9, Text_189728 + trainerbattle_single TRAINER_SWIMMER_MALE_FINN, Text_1896F9, Text_189728 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABC94 + goto_if_eq EventScript_1ABC94 msgbox Text_189740, MSGBOX_AUTOCLOSE end EventScript_1ABC94:: @ 81ABC94 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_FINN, 0, Text_1C3807, Text_189728 + trainerbattle_rematch TRAINER_SWIMMER_MALE_FINN, Text_1C3807, Text_189728 msgbox Text_189740, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABCAB:: @ 81ABCAB - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_189767, Text_1897A4 + trainerbattle_single TRAINER_SWIMMER_MALE_GARRETT, Text_189767, Text_1897A4 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABCD2 + goto_if_eq EventScript_1ABCD2 msgbox Text_1897C5, MSGBOX_AUTOCLOSE end EventScript_1ABCD2:: @ 81ABCD2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_1C3835, Text_1897A4 + trainerbattle_rematch TRAINER_SWIMMER_MALE_GARRETT, Text_1C3835, Text_1897A4 msgbox Text_1897C5, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABCE9:: @ 81ABCE9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_TOMMY, 0, Text_1897FF, Text_189833 + trainerbattle_single TRAINER_FISHERMAN_TOMMY, Text_1897FF, Text_189833 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABD10 + goto_if_eq EventScript_1ABD10 msgbox Text_18984B, MSGBOX_AUTOCLOSE end EventScript_1ABD10:: @ 81ABD10 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_TOMMY, 0, Text_1C386A, Text_189833 + trainerbattle_rematch TRAINER_FISHERMAN_TOMMY, Text_1C386A, Text_189833 msgbox Text_18984B, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABD27:: @ 81ABD27 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_SHARON, 0, Text_189883, Text_1898AB + trainerbattle_single TRAINER_CRUSH_GIRL_SHARON, Text_189883, Text_1898AB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABD4E + goto_if_eq EventScript_1ABD4E msgbox Text_1898C4, MSGBOX_AUTOCLOSE end EventScript_1ABD4E:: @ 81ABD4E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_SHARON, 0, Text_1C389F, Text_1898AB + trainerbattle_rematch TRAINER_CRUSH_GIRL_SHARON, Text_1C389F, Text_1898AB msgbox Text_1898C4, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABD65:: @ 81ABD65 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1898F0, Text_18991B + trainerbattle_single TRAINER_CRUSH_GIRL_TANYA, Text_1898F0, Text_18991B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABD8C + goto_if_eq EventScript_1ABD8C msgbox Text_18992C, MSGBOX_AUTOCLOSE end EventScript_1ABD8C:: @ 81ABD8C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1C38CA, Text_18991B + trainerbattle_rematch TRAINER_CRUSH_GIRL_TANYA, Text_1C38CA, Text_18991B msgbox Text_18992C, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABDA3:: @ 81ABDA3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BLACK_BELT_SHEA, 0, Text_189950, Text_18998C + trainerbattle_single TRAINER_BLACK_BELT_SHEA, Text_189950, Text_18998C specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABDCA + goto_if_eq EventScript_1ABDCA msgbox Text_189998, MSGBOX_AUTOCLOSE end EventScript_1ABDCA:: @ 81ABDCA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BLACK_BELT_SHEA, 0, Text_1C38FA, Text_18998C + trainerbattle_rematch TRAINER_BLACK_BELT_SHEA, Text_1C38FA, Text_18998C msgbox Text_189998, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABDE1:: @ 81ABDE1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BLACK_BELT_HUGH, 0, Text_1899CE, Text_189A0A + trainerbattle_single TRAINER_BLACK_BELT_HUGH, Text_1899CE, Text_189A0A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABE08 + goto_if_eq EventScript_1ABE08 msgbox Text_189A13, MSGBOX_AUTOCLOSE end EventScript_1ABE08:: @ 81ABE08 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BLACK_BELT_HUGH, 0, Text_1C3943, Text_189A0A + trainerbattle_rematch TRAINER_BLACK_BELT_HUGH, Text_1C3943, Text_189A0A msgbox Text_189A13, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABE1F:: @ 81ABE1F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_BRYCE, 0, Text_189A53, Text_189A92 + trainerbattle_single TRAINER_CAMPER_BRYCE, Text_189A53, Text_189A92 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABE46 + goto_if_eq EventScript_1ABE46 msgbox Text_189A9F, MSGBOX_AUTOCLOSE end EventScript_1ABE46:: @ 81ABE46 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_BRYCE, 0, Text_1C3987, Text_189A92 + trainerbattle_rematch TRAINER_CAMPER_BRYCE, Text_1C3987, Text_189A92 msgbox Text_189A9F, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABE5D:: @ 81ABE5D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CLAIRE, 0, Text_189ACB, Text_189B0B + trainerbattle_single TRAINER_PICNICKER_CLAIRE, Text_189ACB, Text_189B0B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABE84 + goto_if_eq EventScript_1ABE84 msgbox Text_189B24, MSGBOX_AUTOCLOSE end EventScript_1ABE84:: @ 81ABE84 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CLAIRE, 0, Text_1C39C6, Text_189B0B + trainerbattle_rematch TRAINER_PICNICKER_CLAIRE, Text_1C39C6, Text_189B0B msgbox Text_189B24, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABE9B:: @ 81ABE9B - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_189B4D, Text_189B84, Text_189BDE + trainerbattle_double TRAINER_CRUSH_KIN_MIK_KIA, Text_189B4D, Text_189B84, Text_189BDE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABEC6 + goto_if_eq EventScript_1ABEC6 msgbox Text_189BA3, MSGBOX_AUTOCLOSE end EventScript_1ABEC6:: @ 81ABEC6 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A05, Text_189B84, Text_189BDE + trainerbattle_rematch_double TRAINER_CRUSH_KIN_MIK_KIA, Text_1C3A05, Text_189B84, Text_189BDE msgbox Text_189BA3, MSGBOX_AUTOCLOSE end OneIsland_KindleRoad_EventScript_1ABEE1:: @ 81ABEE1 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_189C33, Text_189C62, Text_189CAB + trainerbattle_double TRAINER_CRUSH_KIN_MIK_KIA, Text_189C33, Text_189C62, Text_189CAB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABF0C + goto_if_eq EventScript_1ABF0C msgbox Text_189C7E, MSGBOX_AUTOCLOSE end EventScript_1ABF0C:: @ 81ABF0C - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A55, Text_189C62, Text_189CAB + trainerbattle_rematch_double TRAINER_CRUSH_KIN_MIK_KIA, Text_1C3A55, Text_189C62, Text_189CAB msgbox Text_189C7E, MSGBOX_AUTOCLOSE end OneIsland_TreasureBeach_EventScript_1ABF27:: @ 81ABF27 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_189D5A, Text_189D8B + trainerbattle_single TRAINER_SWIMMER_FEMALE_AMARA, Text_189D5A, Text_189D8B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABF4E + goto_if_eq EventScript_1ABF4E msgbox Text_189DA3, MSGBOX_AUTOCLOSE end EventScript_1ABF4E:: @ 81ABF4E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_1C3773, Text_189D8B + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_AMARA, Text_1C3773, Text_189D8B msgbox Text_189DA3, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1ABF65:: @ 81ABF65 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_NIKKI, 0, Text_189E42, Text_189E72 + trainerbattle_single TRAINER_AROMA_LADY_NIKKI, Text_189E42, Text_189E72 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABF8C + goto_if_eq EventScript_1ABF8C msgbox Text_189E9E, MSGBOX_AUTOCLOSE end EventScript_1ABF8C:: @ 81ABF8C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_NIKKI, 0, Text_1C3AA7, Text_189E72 + trainerbattle_rematch TRAINER_AROMA_LADY_NIKKI, Text_1C3AA7, Text_189E72 msgbox Text_189E9E, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1ABFA3:: @ 81ABFA3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_VIOLET, 0, Text_189ED4, Text_189EFA + trainerbattle_single TRAINER_AROMA_LADY_VIOLET, Text_189ED4, Text_189EFA specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ABFCA + goto_if_eq EventScript_1ABFCA msgbox Text_189F21, MSGBOX_AUTOCLOSE end EventScript_1ABFCA:: @ 81ABFCA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_VIOLET, 0, Text_1C3ABF, Text_189EFA + trainerbattle_rematch TRAINER_AROMA_LADY_VIOLET, Text_1C3ABF, Text_189EFA msgbox Text_189F21, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1ABFE1:: @ 81ABFE1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TUBER_AMIRA, 0, Text_189F63, Text_189F9A + trainerbattle_single TRAINER_TUBER_AMIRA, Text_189F63, Text_189F9A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC008 + goto_if_eq EventScript_1AC008 msgbox Text_189FA8, MSGBOX_AUTOCLOSE end EventScript_1AC008:: @ 81AC008 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TUBER_AMIRA, 0, Text_1C3AF2, Text_189F9A + trainerbattle_rematch TRAINER_TUBER_AMIRA, Text_1C3AF2, Text_189F9A msgbox Text_189FA8, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1AC01F:: @ 81AC01F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TUBER_ALEXIS, 0, Text_189FDB, Text_189FEE + trainerbattle_single TRAINER_TUBER_ALEXIS, Text_189FDB, Text_189FEE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC046 + goto_if_eq EventScript_1AC046 msgbox Text_18A000, MSGBOX_AUTOCLOSE end EventScript_1AC046:: @ 81AC046 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TUBER_ALEXIS, 0, Text_1C3B1D, Text_189FEE + trainerbattle_rematch TRAINER_TUBER_ALEXIS, Text_1C3B1D, Text_189FEE msgbox Text_18A000, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1AC05D:: @ 81AC05D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_18A01F, Text_18A053 + trainerbattle_single TRAINER_SWIMMER_FEMALE_TISHA, Text_18A01F, Text_18A053 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC084 + goto_if_eq EventScript_1AC084 msgbox Text_18A082, MSGBOX_AUTOCLOSE end EventScript_1AC084:: @ 81AC084 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_1C3B30, Text_18A053 + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_TISHA, Text_1C3B30, Text_18A053 msgbox Text_18A082, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1AC09B:: @ 81AC09B - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_18A0C4, Text_18A0F7, Text_18A138 + trainerbattle_double TRAINER_TWINS_JOY_MEG, Text_18A0C4, Text_18A0F7, Text_18A138 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC0C6 + goto_if_eq EventScript_1AC0C6 msgbox Text_18A106, MSGBOX_AUTOCLOSE end EventScript_1AC0C6:: @ 81AC0C6 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B6E, Text_18A0F7, Text_18A138 + trainerbattle_rematch_double TRAINER_TWINS_JOY_MEG, Text_1C3B6E, Text_18A0F7, Text_18A138 msgbox Text_18A106, MSGBOX_AUTOCLOSE end ThreeIsland_BondBridge_EventScript_1AC0E1:: @ 81AC0E1 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_18A179, Text_18A1A3, Text_18A1CD + trainerbattle_double TRAINER_TWINS_JOY_MEG, Text_18A179, Text_18A1A3, Text_18A1CD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC10C + goto_if_eq EventScript_1AC10C msgbox Text_18A1B2, MSGBOX_AUTOCLOSE end EventScript_1AC10C:: @ 81AC10C - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B99, Text_18A1A3, Text_18A1CD + trainerbattle_rematch_double TRAINER_TWINS_JOY_MEG, Text_1C3B99, Text_18A1A3, Text_18A1CD msgbox Text_18A1B2, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC127:: @ 81AC127 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_DAISY, 0, Text_18A3E2, Text_18A40E + trainerbattle_single TRAINER_PAINTER_DAISY, Text_18A3E2, Text_18A40E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC14E + goto_if_eq EventScript_1AC14E msgbox Text_18A430, MSGBOX_AUTOCLOSE end EventScript_1AC14E:: @ 81AC14E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_DAISY, 0, Text_1C3BF6, Text_18A40E + trainerbattle_rematch TRAINER_PAINTER_DAISY, Text_1C3BF6, Text_18A40E msgbox Text_18A430, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC165:: @ 81AC165 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_CELINA, 0, Text_18A461, Text_18A49E + trainerbattle_single TRAINER_PAINTER_CELINA, Text_18A461, Text_18A49E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC18C + goto_if_eq EventScript_1AC18C msgbox Text_18A4C6, MSGBOX_AUTOCLOSE end EventScript_1AC18C:: @ 81AC18C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_CELINA, 0, Text_1C3C28, Text_18A49E + trainerbattle_rematch TRAINER_PAINTER_CELINA, Text_1C3C28, Text_18A49E msgbox Text_18A4C6, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC1A3:: @ 81AC1A3 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_RAYNA, 0, Text_18A50E, Text_18A535 + trainerbattle_single TRAINER_PAINTER_RAYNA, Text_18A50E, Text_18A535 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC1CA + goto_if_eq EventScript_1AC1CA msgbox Text_18A555, MSGBOX_AUTOCLOSE end EventScript_1AC1CA:: @ 81AC1CA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_RAYNA, 0, Text_1C3C70, Text_18A535 + trainerbattle_rematch TRAINER_PAINTER_RAYNA, Text_1C3C70, Text_18A535 msgbox Text_18A555, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC1E1:: @ 81AC1E1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LADY_JACKI, 0, Text_18A5B9, Text_18A5EE + trainerbattle_single TRAINER_LADY_JACKI, Text_18A5B9, Text_18A5EE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC208 + goto_if_eq EventScript_1AC208 msgbox Text_18A601, MSGBOX_AUTOCLOSE end EventScript_1AC208:: @ 81AC208 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LADY_JACKI, 0, Text_1C3CB0, Text_18A5EE + trainerbattle_rematch TRAINER_LADY_JACKI, Text_1C3CB0, Text_18A5EE msgbox Text_18A601, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC21F:: @ 81AC21F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LADY_GILLIAN, 0, Text_18A645, Text_18A67F + trainerbattle_single TRAINER_LADY_GILLIAN, Text_18A645, Text_18A67F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC246 + goto_if_eq EventScript_1AC246 msgbox Text_18A699, MSGBOX_AUTOCLOSE end EventScript_1AC246:: @ 81AC246 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LADY_GILLIAN, 0, Text_1C3CF1, Text_18A67F + trainerbattle_rematch TRAINER_LADY_GILLIAN, Text_1C3CF1, Text_18A67F msgbox Text_18A699, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC25D:: @ 81AC25D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DESTIN, 0, Text_18A6DA, Text_18A6FE + trainerbattle_single TRAINER_YOUNGSTER_DESTIN, Text_18A6DA, Text_18A6FE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC284 + goto_if_eq EventScript_1AC284 msgbox Text_18A715, MSGBOX_AUTOCLOSE end EventScript_1AC284:: @ 81AC284 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DESTIN, 0, Text_1C3D47, Text_18A6FE + trainerbattle_rematch TRAINER_YOUNGSTER_DESTIN, Text_1C3D47, Text_18A6FE msgbox Text_18A715, MSGBOX_AUTOCLOSE end FiveIsland_ResortGorgeous_EventScript_1AC29B:: @ 81AC29B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_TOBY, 0, Text_18A74A, Text_18A786 + trainerbattle_single TRAINER_SWIMMER_MALE_TOBY, Text_18A74A, Text_18A786 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC2C2 + goto_if_eq EventScript_1AC2C2 msgbox Text_18A7AC, MSGBOX_AUTOCLOSE end EventScript_1AC2C2:: @ 81AC2C2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_TOBY, 0, Text_1C3D73, Text_18A786 + trainerbattle_rematch TRAINER_SWIMMER_MALE_TOBY, Text_1C3D73, Text_18A786 msgbox Text_18A7AC, MSGBOX_AUTOCLOSE end FiveIsland_WaterLabyrinth_EventScript_1AC2D9:: @ 81AC2D9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_18AAD5, Text_18AB0B + trainerbattle_single TRAINER_PKMN_BREEDER_ALIZE, Text_18AAD5, Text_18AB0B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC300 + goto_if_eq EventScript_1AC300 msgbox Text_18AB37, MSGBOX_AUTOCLOSE end EventScript_1AC300:: @ 81AC300 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_1C3BB7, Text_18AB0B + trainerbattle_rematch TRAINER_PKMN_BREEDER_ALIZE, Text_1C3BB7, Text_18AB0B msgbox Text_18AB37, MSGBOX_AUTOCLOSE end FiveIsland_MemorialPillar_EventScript_1AC317:: @ 81AC317 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MILO, 0, Text_18AE50, Text_18AEA8 + trainerbattle_single TRAINER_BIRD_KEEPER_MILO, Text_18AE50, Text_18AEA8 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC33E + goto_if_eq EventScript_1AC33E msgbox Text_18AEB6, MSGBOX_AUTOCLOSE end EventScript_1AC33E:: @ 81AC33E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MILO, 0, Text_1C3DA2, Text_18AEA8 + trainerbattle_rematch TRAINER_BIRD_KEEPER_MILO, Text_1C3DA2, Text_18AEA8 msgbox Text_18AEB6, MSGBOX_AUTOCLOSE end FiveIsland_MemorialPillar_EventScript_1AC355:: @ 81AC355 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_18AEDC, Text_18AF39 + trainerbattle_single TRAINER_BIRD_KEEPER_CHAZ, Text_18AEDC, Text_18AF39 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC37C + goto_if_eq EventScript_1AC37C msgbox Text_18AF45, MSGBOX_AUTOCLOSE end EventScript_1AC37C:: @ 81AC37C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_1C3E0F, Text_18AF39 + trainerbattle_rematch TRAINER_BIRD_KEEPER_CHAZ, Text_1C3E0F, Text_18AF39 msgbox Text_18AF45, MSGBOX_AUTOCLOSE end FiveIsland_MemorialPillar_EventScript_1AC393:: @ 81AC393 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_18AF72, Text_18AFCC + trainerbattle_single TRAINER_BIRD_KEEPER_HAROLD, Text_18AF72, Text_18AFCC specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC3BA + goto_if_eq EventScript_1AC3BA msgbox Text_18AFF2, MSGBOX_AUTOCLOSE end EventScript_1AC3BA:: @ 81AC3BA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_1C3E6A, Text_18AFCC + trainerbattle_rematch TRAINER_BIRD_KEEPER_HAROLD, Text_1C3E6A, Text_18AFCC msgbox Text_18AFF2, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC3D1:: @ 81AC3D1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_TYLOR, 0, Text_18B400, Text_18B43B + trainerbattle_single TRAINER_FISHERMAN_TYLOR, Text_18B400, Text_18B43B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC3F8 + goto_if_eq EventScript_1AC3F8 msgbox Text_18B451, MSGBOX_AUTOCLOSE end EventScript_1AC3F8:: @ 81AC3F8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_TYLOR, 0, Text_1C3ED0, Text_18B43B + trainerbattle_rematch TRAINER_FISHERMAN_TYLOR, Text_1C3ED0, Text_18B43B msgbox Text_18B451, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC40F:: @ 81AC40F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_MYMO, 0, Text_18B48F, Text_18B4C5 + trainerbattle_single TRAINER_SWIMMER_MALE_MYMO, Text_18B48F, Text_18B4C5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC436 + goto_if_eq EventScript_1AC436 msgbox Text_18B4D1, MSGBOX_AUTOCLOSE end EventScript_1AC436:: @ 81AC436 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_MYMO, 0, Text_1C3F11, Text_18B4C5 + trainerbattle_rematch TRAINER_SWIMMER_MALE_MYMO, Text_1C3F11, Text_18B4C5 msgbox Text_18B4D1, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC44D:: @ 81AC44D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_18B4FA, Text_18B539 + trainerbattle_single TRAINER_SWIMMER_FEMALE_NICOLE, Text_18B4FA, Text_18B539 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC474 + goto_if_eq EventScript_1AC474 msgbox Text_18B573, MSGBOX_AUTOCLOSE end EventScript_1AC474:: @ 81AC474 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_1C3F51, Text_18B539 + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_NICOLE, Text_1C3F51, Text_18B539 msgbox Text_18B573, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC48B:: @ 81AC48B - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_18B5C8, Text_18B5F4, Text_18B660 + trainerbattle_double TRAINER_SIS_AND_BRO_AVA_GEB, Text_18B5C8, Text_18B5F4, Text_18B660 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC4B6 + goto_if_eq EventScript_1AC4B6 msgbox Text_18B62E, MSGBOX_AUTOCLOSE end EventScript_1AC4B6:: @ 81AC4B6 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3F7B, Text_18B5F4, Text_18B660 + trainerbattle_rematch_double TRAINER_SIS_AND_BRO_AVA_GEB, Text_1C3F7B, Text_18B5F4, Text_18B660 msgbox Text_18B62E, MSGBOX_AUTOCLOSE end SixIsland_OutcastIsland_EventScript_1AC4D1:: @ 81AC4D1 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_18B6C1, Text_18B6EF, Text_18B762 + trainerbattle_double TRAINER_SIS_AND_BRO_AVA_GEB, Text_18B6C1, Text_18B6EF, Text_18B762 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC4FC + goto_if_eq EventScript_1AC4FC msgbox Text_18B720, MSGBOX_AUTOCLOSE end EventScript_1AC4FC:: @ 81AC4FC - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3FB3, Text_18B6EF, Text_18B762 + trainerbattle_rematch_double TRAINER_SIS_AND_BRO_AVA_GEB, Text_1C3FB3, Text_18B6EF, Text_18B762 msgbox Text_18B720, MSGBOX_AUTOCLOSE end SixIsland_GreenPath_EventScript_1AC517:: @ 81AC517 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_JACLYN, 0, Text_18B7B0, Text_18B7F0 + trainerbattle_single TRAINER_PSYCHIC_JACLYN, Text_18B7B0, Text_18B7F0 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC53E + goto_if_eq EventScript_1AC53E msgbox Text_18B7FD, MSGBOX_AUTOCLOSE end EventScript_1AC53E:: @ 81AC53E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_JACLYN, 0, Text_1C3FE9, Text_18B7F0 + trainerbattle_rematch TRAINER_PSYCHIC_JACLYN, Text_1C3FE9, Text_18B7F0 msgbox Text_18B7FD, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC555:: @ 81AC555 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_ROSE, 0, Text_18B896, Text_18B8C8 + trainerbattle_single TRAINER_AROMA_LADY_ROSE, Text_18B896, Text_18B8C8 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC57C + goto_if_eq EventScript_1AC57C msgbox Text_18B8F7, MSGBOX_AUTOCLOSE end EventScript_1AC57C:: @ 81AC57C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_ROSE, 0, Text_1C4028, Text_18B8C8 + trainerbattle_rematch TRAINER_AROMA_LADY_ROSE, Text_1C4028, Text_18B8C8 msgbox Text_18B8F7, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC593:: @ 81AC593 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_JUGGLER_EDWARD, 0, Text_18B959, Text_18B988 + trainerbattle_single TRAINER_JUGGLER_EDWARD, Text_18B959, Text_18B988 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC5BA + goto_if_eq EventScript_1AC5BA msgbox Text_18B9A5, MSGBOX_AUTOCLOSE end EventScript_1AC5BA:: @ 81AC5BA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_JUGGLER_EDWARD, 0, Text_1C4057, Text_18B988 + trainerbattle_rematch TRAINER_JUGGLER_EDWARD, Text_1C4057, Text_18B988 msgbox Text_18B9A5, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC5D1:: @ 81AC5D1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_18B9EC, Text_18BA47 + trainerbattle_single TRAINER_SWIMMER_MALE_SAMIR, Text_18B9EC, Text_18BA47 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC5F8 + goto_if_eq EventScript_1AC5F8 msgbox Text_18BA57, MSGBOX_AUTOCLOSE end EventScript_1AC5F8:: @ 81AC5F8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_1C407F, Text_18BA47 + trainerbattle_rematch TRAINER_SWIMMER_MALE_SAMIR, Text_1C407F, Text_18BA47 msgbox Text_18BA57, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC60F:: @ 81AC60F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_18BA86, Text_18BAC0 + trainerbattle_single TRAINER_SWIMMER_FEMALE_DENISE, Text_18BA86, Text_18BAC0 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC636 + goto_if_eq EventScript_1AC636 msgbox Text_18BAE0, MSGBOX_AUTOCLOSE end EventScript_1AC636:: @ 81AC636 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_1C40D9, Text_18BAC0 + trainerbattle_rematch TRAINER_SWIMMER_FEMALE_DENISE, Text_1C40D9, Text_18BAC0 msgbox Text_18BAE0, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC64D:: @ 81AC64D - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_18BBBA, Text_18BBE2, Text_18BC24 + trainerbattle_double TRAINER_TWINS_MIU_MIA, Text_18BBBA, Text_18BBE2, Text_18BC24 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC678 + goto_if_eq EventScript_1AC678 msgbox Text_18BBF6, MSGBOX_AUTOCLOSE end EventScript_1AC678:: @ 81AC678 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_1C4138, Text_18BBE2, Text_18BC24 + trainerbattle_rematch_double TRAINER_TWINS_MIU_MIA, Text_1C4138, Text_18BBE2, Text_18BC24 msgbox Text_18BBF6, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC693:: @ 81AC693 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_18BC5A, Text_18BC84, Text_18BCCF + trainerbattle_double TRAINER_TWINS_MIU_MIA, Text_18BC5A, Text_18BC84, Text_18BCCF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC6BE + goto_if_eq EventScript_1AC6BE msgbox Text_18BCAE, MSGBOX_AUTOCLOSE end EventScript_1AC6BE:: @ 81AC6BE - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_1C4166, Text_18BC84, Text_18BCCF + trainerbattle_rematch_double TRAINER_TWINS_MIU_MIA, Text_1C4166, Text_18BC84, Text_18BCCF msgbox Text_18BCAE, MSGBOX_AUTOCLOSE end SixIsland_WaterPath_EventScript_1AC6D9:: @ 81AC6D9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_EARL, 0, Text_18BB2D, Text_18BB62 + trainerbattle_single TRAINER_HIKER_EARL, Text_18BB2D, Text_18BB62 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC700 + goto_if_eq EventScript_1AC700 msgbox Text_18BB8B, MSGBOX_AUTOCLOSE end EventScript_1AC700:: @ 81AC700 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_EARL, 0, Text_1C40FA, Text_18BB62 + trainerbattle_rematch TRAINER_HIKER_EARL, Text_1C40FA, Text_18BB62 msgbox Text_18BB8B, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC717:: @ 81AC717 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_STANLY, 0, Text_18BE5D, Text_18BE9B + trainerbattle_single TRAINER_RUIN_MANIAC_STANLY, Text_18BE5D, Text_18BE9B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC73E + goto_if_eq EventScript_1AC73E msgbox Text_18BEA0, MSGBOX_AUTOCLOSE end EventScript_1AC73E:: @ 81AC73E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_STANLY, 0, Text_1C4196, Text_18BE9B + trainerbattle_rematch TRAINER_RUIN_MANIAC_STANLY, Text_1C4196, Text_18BE9B msgbox Text_18BEA0, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC755:: @ 81AC755 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_18BF05, Text_18BF33 + trainerbattle_single TRAINER_RUIN_MANIAC_FOSTER, Text_18BF05, Text_18BF33 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC77C + goto_if_eq EventScript_1AC77C msgbox Text_18BF6C, MSGBOX_AUTOCLOSE end EventScript_1AC77C:: @ 81AC77C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_1C41D4, Text_18BF33 + trainerbattle_rematch TRAINER_RUIN_MANIAC_FOSTER, Text_1C41D4, Text_18BF33 msgbox Text_18BF6C, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC793:: @ 81AC793 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_LARRY, 0, Text_18BFC5, Text_18C03B + trainerbattle_single TRAINER_RUIN_MANIAC_LARRY, Text_18BFC5, Text_18C03B specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC7BA + goto_if_eq EventScript_1AC7BA msgbox Text_18C04C, MSGBOX_AUTOCLOSE end EventScript_1AC7BA:: @ 81AC7BA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_LARRY, 0, Text_1C4210, Text_18C03B + trainerbattle_rematch TRAINER_RUIN_MANIAC_LARRY, Text_1C4210, Text_18C03B msgbox Text_18C04C, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC7D1:: @ 81AC7D1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_DARYL, 0, Text_18C09C, Text_18C0BB + trainerbattle_single TRAINER_HIKER_DARYL, Text_18C09C, Text_18C0BB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC7F8 + goto_if_eq EventScript_1AC7F8 msgbox Text_18C0EA, MSGBOX_AUTOCLOSE end EventScript_1AC7F8:: @ 81AC7F8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_DARYL, 0, Text_1C4280, Text_18C0BB + trainerbattle_rematch TRAINER_HIKER_DARYL, Text_1C4280, Text_18C0BB msgbox Text_18C0EA, MSGBOX_AUTOCLOSE end SixIsland_RuinValley_EventScript_1AC80F:: @ 81AC80F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_HECTOR, 0, Text_18C10A, Text_18C140 + trainerbattle_single TRAINER_POKEMANIAC_HECTOR, Text_18C10A, Text_18C140 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC836 + goto_if_eq EventScript_1AC836 msgbox Text_18C17A, MSGBOX_AUTOCLOSE end EventScript_1AC836:: @ 81AC836 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_HECTOR, 0, Text_1C42A0, Text_18C140 + trainerbattle_rematch TRAINER_POKEMANIAC_HECTOR, Text_1C42A0, Text_18C140 msgbox Text_18C17A, MSGBOX_AUTOCLOSE end SevenIsland_TrainerTower_EventScript_1AC84D:: @ 81AC84D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_DARIO, 0, Text_18C1ED, Text_18C205 + trainerbattle_single TRAINER_PSYCHIC_DARIO, Text_18C1ED, Text_18C205 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC874 + goto_if_eq EventScript_1AC874 msgbox Text_18C20E, MSGBOX_AUTOCLOSE end EventScript_1AC874:: @ 81AC874 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_DARIO, 0, Text_1C42D6, Text_18C205 + trainerbattle_rematch TRAINER_PSYCHIC_DARIO, Text_1C42D6, Text_18C205 msgbox Text_18C20E, MSGBOX_AUTOCLOSE end SevenIsland_TrainerTower_EventScript_1AC88B:: @ 81AC88B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_RODETTE, 0, Text_18C283, Text_18C2BC + trainerbattle_single TRAINER_PSYCHIC_RODETTE, Text_18C283, Text_18C2BC specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC8B2 + goto_if_eq EventScript_1AC8B2 msgbox Text_18C2D5, MSGBOX_AUTOCLOSE end EventScript_1AC8B2:: @ 81AC8B2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_RODETTE, 0, Text_1C42EE, Text_18C2BC + trainerbattle_rematch TRAINER_PSYCHIC_RODETTE, Text_1C42EE, Text_18C2BC msgbox Text_18C2D5, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC8C9:: @ 81AC8C9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_MIAH, 0, Text_18C3BC, Text_18C3E7 + trainerbattle_single TRAINER_AROMA_LADY_MIAH, Text_18C3BC, Text_18C3E7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC8F0 + goto_if_eq EventScript_1AC8F0 msgbox Text_18C3FF, MSGBOX_AUTOCLOSE end EventScript_1AC8F0:: @ 81AC8F0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_MIAH, 0, Text_1C4327, Text_18C3E7 + trainerbattle_rematch TRAINER_AROMA_LADY_MIAH, Text_1C4327, Text_18C3E7 msgbox Text_18C3FF, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC907:: @ 81AC907 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_18C632, Text_18C662, Text_18C6AB + trainerbattle_double TRAINER_YOUNG_COUPLE_EVE_JON, Text_18C632, Text_18C662, Text_18C6AB specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC932 + goto_if_eq EventScript_1AC932 msgbox Text_18C683, MSGBOX_AUTOCLOSE end EventScript_1AC932:: @ 81AC932 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C4416, Text_18C662, Text_18C6AB + trainerbattle_rematch_double TRAINER_YOUNG_COUPLE_EVE_JON, Text_1C4416, Text_18C662, Text_18C6AB msgbox Text_18C683, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC94D:: @ 81AC94D - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_18C700, Text_18C73B, Text_18C7BD + trainerbattle_double TRAINER_YOUNG_COUPLE_EVE_JON, Text_18C700, Text_18C73B, Text_18C7BD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC978 + goto_if_eq EventScript_1AC978 msgbox Text_18C773, MSGBOX_AUTOCLOSE end EventScript_1AC978:: @ 81AC978 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C444C, Text_18C73B, Text_18C7BD + trainerbattle_rematch_double TRAINER_YOUNG_COUPLE_EVE_JON, Text_1C444C, Text_18C73B, Text_18C7BD msgbox Text_18C773, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC993:: @ 81AC993 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_JUGGLER_MASON, 0, Text_18C44B, Text_18C473 + trainerbattle_single TRAINER_JUGGLER_MASON, Text_18C44B, Text_18C473 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC9BA + goto_if_eq EventScript_1AC9BA msgbox Text_18C4BA, MSGBOX_AUTOCLOSE end EventScript_1AC9BA:: @ 81AC9BA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_JUGGLER_MASON, 0, Text_1C4374, Text_18C473 + trainerbattle_rematch TRAINER_JUGGLER_MASON, Text_1C4374, Text_18C473 msgbox Text_18C4BA, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1AC9D1:: @ 81AC9D1 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_18C500, Text_18C543 + trainerbattle_single TRAINER_PKMN_RANGER_NICOLAS, Text_18C500, Text_18C543 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1AC9F8 + goto_if_eq EventScript_1AC9F8 msgbox Text_18C54B, MSGBOX_AUTOCLOSE end EventScript_1AC9F8:: @ 81AC9F8 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_1C43AD, Text_18C543 + trainerbattle_rematch TRAINER_PKMN_RANGER_NICOLAS, Text_1C43AD, Text_18C543 msgbox Text_18C54B, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_Entrance_EventScript_1ACA0F:: @ 81ACA0F - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_MADELINE, 0, Text_18C5AA, Text_18C5CD + trainerbattle_single TRAINER_PKMN_RANGER_MADELINE, Text_18C5AA, Text_18C5CD specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACA36 + goto_if_eq EventScript_1ACA36 msgbox Text_18C5F5, MSGBOX_AUTOCLOSE end EventScript_1ACA36:: @ 81ACA36 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_MADELINE, 0, Text_1C43EC, Text_18C5CD + trainerbattle_rematch TRAINER_PKMN_RANGER_MADELINE, Text_1C43EC, Text_18C5CD msgbox Text_18C5F5, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACA4D:: @ 81ACA4D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_18C887, Text_18C8A6 + trainerbattle_single TRAINER_CRUSH_GIRL_CYNDY, Text_18C887, Text_18C8A6 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACA74 + goto_if_eq EventScript_1ACA74 msgbox Text_18C8C2, MSGBOX_AUTOCLOSE end EventScript_1ACA74:: @ 81ACA74 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_1C4491, Text_18C8A6 + trainerbattle_rematch TRAINER_CRUSH_GIRL_CYNDY, Text_1C4491, Text_18C8A6 msgbox Text_18C8C2, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACA8B:: @ 81ACA8B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TAMER_EVAN, 0, Text_18C8FD, Text_18C980 + trainerbattle_single TRAINER_TAMER_EVAN, Text_18C8FD, Text_18C980 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACAB2 + goto_if_eq EventScript_1ACAB2 msgbox Text_18C999, MSGBOX_AUTOCLOSE end EventScript_1ACAB2:: @ 81ACAB2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TAMER_EVAN, 0, Text_1C44CB, Text_18C980 + trainerbattle_rematch TRAINER_TAMER_EVAN, Text_1C44CB, Text_18C980 msgbox Text_18C999, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACAC9:: @ 81ACAC9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_JACKSON, 0, Text_18CA2F, Text_18CA6F + trainerbattle_single TRAINER_PKMN_RANGER_JACKSON, Text_18CA2F, Text_18CA6F specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACAF0 + goto_if_eq EventScript_1ACAF0 msgbox Text_18CA9C, MSGBOX_AUTOCLOSE end EventScript_1ACAF0:: @ 81ACAF0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_JACKSON, 0, Text_1C454E, Text_18CA6F + trainerbattle_rematch TRAINER_PKMN_RANGER_JACKSON, Text_1C454E, Text_18CA6F msgbox Text_18CA9C, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACB07:: @ 81ACB07 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_KATELYN, 0, Text_18CB16, Text_18CB3E + trainerbattle_single TRAINER_PKMN_RANGER_KATELYN, Text_18CB16, Text_18CB3E specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACB2E + goto_if_eq EventScript_1ACB2E msgbox Text_18CB6C, MSGBOX_AUTOCLOSE end EventScript_1ACB2E:: @ 81ACB2E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_KATELYN, 0, Text_1C458E, Text_18CB3E + trainerbattle_rematch TRAINER_PKMN_RANGER_KATELYN, Text_1C458E, Text_18CB3E msgbox Text_18CB6C, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACB45:: @ 81ACB45 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_COOLTRAINER_LEROY, 0, Text_18CBB4, Text_18CBE0 + trainerbattle_single TRAINER_COOLTRAINER_LEROY, Text_18CBB4, Text_18CBE0 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACB6C + goto_if_eq EventScript_1ACB6C msgbox Text_18CC09, MSGBOX_AUTOCLOSE end EventScript_1ACB6C:: @ 81ACB6C - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_COOLTRAINER_LEROY, 0, Text_1C45C2, Text_18CBE0 + trainerbattle_rematch TRAINER_COOLTRAINER_LEROY, Text_1C45C2, Text_18CBE0 msgbox Text_18CC09, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACB83:: @ 81ACB83 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_COOLTRAINER_MICHELLE, 0, Text_18CC4F, Text_18CCAE + trainerbattle_single TRAINER_COOLTRAINER_MICHELLE, Text_18CC4F, Text_18CCAE specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACBAA + goto_if_eq EventScript_1ACBAA msgbox Text_18CCEA, MSGBOX_AUTOCLOSE end EventScript_1ACBAA:: @ 81ACBAA - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_COOLTRAINER_MICHELLE, 0, Text_1C45FB, Text_18CCAE + trainerbattle_rematch TRAINER_COOLTRAINER_MICHELLE, Text_1C45FB, Text_18CCAE msgbox Text_18CCEA, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACBC1:: @ 81ACBC1 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_18CD49, Text_18CD75, Text_18CDE2 + trainerbattle_double TRAINER_COOL_COUPLE_LEX_NYA, Text_18CD49, Text_18CD75, Text_18CDE2 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACBEC + goto_if_eq EventScript_1ACBEC msgbox Text_18CD9C, MSGBOX_AUTOCLOSE end EventScript_1ACBEC:: @ 81ACBEC - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4662, Text_18CD75, Text_18CDE2 + trainerbattle_rematch_double TRAINER_COOL_COUPLE_LEX_NYA, Text_1C4662, Text_18CD75, Text_18CDE2 msgbox Text_18CD9C, MSGBOX_AUTOCLOSE end SevenIsland_SevaultCanyon_EventScript_1ACC07:: @ 81ACC07 - trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_18CE20, Text_18CE5A, Text_18CEF4 + trainerbattle_double TRAINER_COOL_COUPLE_LEX_NYA, Text_18CE20, Text_18CE5A, Text_18CEF4 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACC32 + goto_if_eq EventScript_1ACC32 msgbox Text_18CE78, MSGBOX_AUTOCLOSE end EventScript_1ACC32:: @ 81ACC32 - trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4699, Text_18CE5A, Text_18CEF4 + trainerbattle_rematch_double TRAINER_COOL_COUPLE_LEX_NYA, Text_1C4699, Text_18CE5A, Text_18CEF4 msgbox Text_18CE78, MSGBOX_AUTOCLOSE end SevenIsland_TanobyRuins_EventScript_1ACC4D:: @ 81ACC4D - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_18CFFB, Text_18D02A + trainerbattle_single TRAINER_RUIN_MANIAC_BRANDON, Text_18CFFB, Text_18D02A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACC74 + goto_if_eq EventScript_1ACC74 msgbox Text_18D061, MSGBOX_AUTOCLOSE end EventScript_1ACC74:: @ 81ACC74 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_1C46D3, Text_18D02A + trainerbattle_rematch TRAINER_RUIN_MANIAC_BRANDON, Text_1C46D3, Text_18D02A msgbox Text_18D061, MSGBOX_AUTOCLOSE end SevenIsland_TanobyRuins_EventScript_1ACC8B:: @ 81ACC8B - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_18D0D9, Text_18D108 + trainerbattle_single TRAINER_RUIN_MANIAC_BENJAMIN, Text_18D0D9, Text_18D108 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACCB2 + goto_if_eq EventScript_1ACCB2 msgbox Text_18D125, MSGBOX_AUTOCLOSE end EventScript_1ACCB2:: @ 81ACCB2 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_1C470A, Text_18D108 + trainerbattle_rematch TRAINER_RUIN_MANIAC_BENJAMIN, Text_1C470A, Text_18D108 msgbox Text_18D125, MSGBOX_AUTOCLOSE end SevenIsland_TanobyRuins_EventScript_1ACCC9:: @ 81ACCC9 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_EDNA, 0, Text_18D18F, Text_18D1B5 + trainerbattle_single TRAINER_PAINTER_EDNA, Text_18D18F, Text_18D1B5 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACCF0 + goto_if_eq EventScript_1ACCF0 msgbox Text_18D1E3, MSGBOX_AUTOCLOSE end EventScript_1ACCF0:: @ 81ACCF0 - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_EDNA, 0, Text_1C4739, Text_18D1B5 + trainerbattle_rematch TRAINER_PAINTER_EDNA, Text_1C4739, Text_18D1B5 msgbox Text_18D1E3, MSGBOX_AUTOCLOSE end SevenIsland_TanobyRuins_EventScript_1ACD07:: @ 81ACD07 - trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_18D22F, Text_18D26D + trainerbattle_single TRAINER_GENTLEMAN_CLIFFORD, Text_18D22F, Text_18D26D specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_if eq, EventScript_1ACD2E + goto_if_eq EventScript_1ACD2E msgbox Text_18D284, MSGBOX_AUTOCLOSE end EventScript_1ACD2E:: @ 81ACD2E - trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_1C476A, Text_18D26D + trainerbattle_rematch TRAINER_GENTLEMAN_CLIFFORD, Text_1C476A, Text_18D26D msgbox Text_18D284, MSGBOX_AUTOCLOSE end -- cgit v1.2.3 From 29e4446a03b83a822f5dd8b11b60728cadbcb0f6 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 10 Jan 2020 01:45:31 -0500 Subject: Use MSGBOX constants --- data/scripts/day_care.inc | 8 ++++---- data/scripts/field_moves.inc | 36 ++++++++++++++++++------------------ data/scripts/surf.inc | 4 ++-- 3 files changed, 24 insertions(+), 24 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/day_care.inc b/data/scripts/day_care.inc index bac14d221..c089472cb 100644 --- a/data/scripts/day_care.inc +++ b/data/scripts/day_care.inc @@ -8,8 +8,8 @@ Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398 specialvar VAR_RESULT, IsThereMonInRoute5Daycare compare VAR_RESULT, 1 goto_if_eq EventScript_1BF46E - msgbox Text_19DD66, 5 - compare VAR_RESULT, 1 + msgbox Text_19DD66, MSGBOX_YESNO + compare VAR_RESULT, YES goto_if_eq EventScript_1BF3DD msgbox Text_19DDB2 goto EventScript_1BF541 @@ -64,8 +64,8 @@ EventScript_1BF46E:: @ 81BF46E compare VAR_RESULT, 0 call_if_eq EventScript_1BF4B3 special GetCostToWithdrawRoute5DaycareMon - msgbox Text_19DE80, 5 - compare VAR_RESULT, 1 + msgbox Text_19DE80, MSGBOX_YESNO + compare VAR_RESULT, YES goto_if_eq EventScript_1BF4BC goto EventScript_1BF444 end diff --git a/data/scripts/field_moves.inc b/data/scripts/field_moves.inc index 3d808fa86..e1e0beebb 100644 --- a/data/scripts/field_moves.inc +++ b/data/scripts/field_moves.inc @@ -10,8 +10,8 @@ EventScript_InteractWithCutTreeObject:: @ 81BDF13 setfieldeffectarg 0, VAR_RESULT getpartymonname 0, VAR_RESULT getmovename 1, MOVE_CUT - msgbox gUnknown_81BDF94, 5 - compare VAR_RESULT, 0 + msgbox gUnknown_81BDF94, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if_eq EventScript_1BDF91 msgbox gUnknown_81BDFD7 closemessage @@ -39,7 +39,7 @@ Movement_1BDF85:: @ 81BDF85 step_end EventScript_1BDF87:: @ 81BDF87 - msgbox gUnknown_81BDFE3, 3 + msgbox gUnknown_81BDFE3, MSGBOX_SIGN releaseall end @@ -72,8 +72,8 @@ EventScript_InteractWithRockSmashRockObject:: @ 81BE00C setfieldeffectarg 0, VAR_RESULT getpartymonname 0, VAR_RESULT getmovename 1, MOVE_ROCK_SMASH - msgbox Text_1BE09D, 5 - compare VAR_RESULT, 0 + msgbox Text_1BE09D, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if_eq EventScript_1BE09A msgbox gUnknown_81BDFD7 closemessage @@ -109,7 +109,7 @@ Movement_1BE08F:: @ 81BE08F step_end EventScript_1BE091:: @ 81BE091 - msgbox gUnknown_81BE0E2, 3 + msgbox gUnknown_81BE0E2, MSGBOX_SIGN end EventScript_1BE09A:: @ 81BE09A @@ -136,8 +136,8 @@ EventScript_InteractWithStrengthBoulderObject:: @ 81BE11D compare VAR_RESULT, PARTY_SIZE goto_if_eq EventScript_1BE185 setfieldeffectarg 0, VAR_RESULT - msgbox gUnknown_81BE19A, 5 - compare VAR_RESULT, 0 + msgbox gUnknown_81BE19A, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if_eq EventScript_1BE197 closemessage dofieldeffect FLDEFF_USE_STRENGTH @@ -154,15 +154,15 @@ EventScript_FldEffStrength:: @ 81BE16E EventScript_1BE179:: @ 81BE179 setflag FLAG_SYS_STRENGTH_ACTIVE - msgbox gUnknown_81BE1FA, 3 + msgbox gUnknown_81BE1FA, MSGBOX_SIGN end EventScript_1BE185:: @ 81BE185 - msgbox gUnknown_81BE244, 3 + msgbox gUnknown_81BE244, MSGBOX_SIGN end EventScript_1BE18E:: @ 81BE18E - msgbox gUnknown_81BE284, 3 + msgbox gUnknown_81BE284, MSGBOX_SIGN end EventScript_1BE197:: @ 81BE197 @@ -198,8 +198,8 @@ gUnknown_81BE2B7:: @ 81BE2B7 goto_if_eq EventScript_1BE300 getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT - msgbox gUnknown_81BE33F, 5 - compare VAR_RESULT, 0 + msgbox gUnknown_81BE33F, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if_eq EventScript_1BE308 msgbox gUnknown_81BE378 dofieldeffect FLDEFF_USE_WATERFALL @@ -233,8 +233,8 @@ EventScript_1BE38B:: @ 81BE38B getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT setfieldeffectarg 1, 1 - msgbox gUnknown_81BE469, 5 - compare VAR_RESULT, 0 + msgbox gUnknown_81BE469, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if_eq EventScript_1BE3D2 msgbox gUnknown_81BE49B dofieldeffect FLDEFF_USE_DIVE @@ -256,8 +256,8 @@ EventScript_1BE3D4:: @ 81BE3D4 getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT setfieldeffectarg 1, 1 - msgbox gUnknown_81BE4EF, 5 - compare VAR_RESULT, 0 + msgbox gUnknown_81BE4EF, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if_eq EventScript_1BE429 msgbox gUnknown_81BE49B dofieldeffect FLDEFF_USE_DIVE @@ -299,7 +299,7 @@ gUnknown_81BE52F:: @ 81BE52F .string "DIVE can't be used here.$" EventScript_FailSweetScent:: @ 81BE564 - msgbox Text_1BE56D, 3 + msgbox Text_1BE56D, MSGBOX_SIGN end Text_1BE56D:: @ 81BE56D diff --git a/data/scripts/surf.inc b/data/scripts/surf.inc index 782c71a92..edc11e317 100644 --- a/data/scripts/surf.inc +++ b/data/scripts/surf.inc @@ -8,8 +8,8 @@ EventScript_UseSurf:: @ 81A6AC8 getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT lockall - msgbox Text_1A556E, 5 - compare VAR_RESULT, 0 + msgbox Text_1A556E, MSGBOX_YESNO + compare VAR_RESULT, NO goto_if_eq EventScript_UseSurfRelease msgbox Text_1A55A5 dofieldeffect FLDEFF_USE_SURF -- cgit v1.2.3 From 9fafa122851dc4eecdefde2b36b88be6572656f0 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 10 Jan 2020 03:19:11 -0500 Subject: More basic script constants --- data/scripts/cable_club.inc | 24 ++++++++++++------------ data/scripts/day_care.inc | 2 +- data/scripts/move_tutors.inc | 8 ++++---- data/scripts/seagallop.inc | 2 +- data/scripts/static_pokemon.inc | 8 ++++---- 5 files changed, 22 insertions(+), 22 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index ea1bbfdcf..db0982a29 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -608,7 +608,7 @@ gUnknown_81BB8A7:: @ 81BB8A7 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 lockall - fadescreen 1 + fadescreen FADE_TO_BLACK setvar VAR_0x8004, 0 special Special_BattleRecords waitstate @@ -633,7 +633,7 @@ UnknownMap_00_00_EventScript_1BB8CF:: @ 81BB8CF gUnknown_81BB8DB:: @ 81BB8DB UnknownMap_00_03_EventScript_1BB8DB:: @ 81BB8DB - fadescreen 1 + fadescreen FADE_TO_BLACK special sub_80A0334 waitstate compare VAR_RESULT, 0 @@ -646,7 +646,7 @@ UnknownMap_00_03_EventScript_1BB8DB:: @ 81BB8DB gUnknown_81BB8F8:: @ 81BB8F8 UnknownMap_00_03_EventScript_1BB8F8:: @ 81BB8F8 - fadescreen 1 + fadescreen FADE_TO_BLACK special sub_80A0334 waitstate compare VAR_RESULT, 0 @@ -659,7 +659,7 @@ UnknownMap_00_03_EventScript_1BB8F8:: @ 81BB8F8 gUnknown_81BB915:: @ 81BB915 UnknownMap_00_03_EventScript_1BB915:: @ 81BB915 - fadescreen 1 + fadescreen FADE_TO_BLACK special sub_80A0334 waitstate compare VAR_RESULT, 0 @@ -672,7 +672,7 @@ UnknownMap_00_03_EventScript_1BB915:: @ 81BB915 gUnknown_81BB932:: @ 81BB932 UnknownMap_00_03_EventScript_1BB932:: @ 81BB932 - fadescreen 1 + fadescreen FADE_TO_BLACK special sub_80A0334 waitstate compare VAR_RESULT, 0 @@ -723,7 +723,7 @@ UnknownMap_00_02_EventScript_1BB980:: @ 81BB980 gUnknown_81BB981:: @ 81BB981 textcolor 3 msgbox Text_LookedAtPlayersTrainerCard - fadescreen 1 + fadescreen FADE_TO_BLACK special sp02A_crash_sound waitstate end @@ -731,7 +731,7 @@ gUnknown_81BB981:: @ 81BB981 gUnknown_81BB992:: @ 81BB992 textcolor 3 msgbox Text_LookedAtPlayersTrainerCardColored - fadescreen 1 + fadescreen FADE_TO_BLACK special sp02A_crash_sound waitstate end @@ -796,7 +796,7 @@ EventScript_1BBA04:: @ 81BBA04 goto_if_eq EventScript_1BB867 copyvar VAR_0x8007, VAR_LAST_TALKED specialvar VAR_RESULT, IsWirelessAdapterConnected - compare VAR_RESULT, 0 + compare VAR_RESULT, FALSE goto_if_eq EventScript_1BBB60 message Text_1BD65B waitmessage @@ -915,7 +915,7 @@ EventScript_1BBB9C:: @ 81BBB9C compare VAR_RESULT, 1 goto_if_eq EventScript_1BB867 specialvar VAR_RESULT, IsWirelessAdapterConnected - compare VAR_RESULT, 0 + compare VAR_RESULT, FALSE goto_if_eq EventScript_1BB44A message Text_1BD28D waitmessage @@ -1191,10 +1191,10 @@ gUnknown_81BBFD8:: @ 81BBFD8 lockall goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB881 specialvar VAR_RESULT, IsWirelessAdapterConnected - compare VAR_RESULT, 0 + compare VAR_RESULT, FALSE goto_if_eq EventScript_1BC016 special HelpSystem_Disable - fadescreen 1 + fadescreen FADE_TO_BLACK special sub_814F1D4 waitstate msgbox gUnknown_81BCA43 @@ -1295,7 +1295,7 @@ EventScript_1BC0CE:: @ 81BC0CE message Text_1BCF69 waitmessage specialvar VAR_RESULT, IsWirelessAdapterConnected - compare VAR_RESULT, 0 + compare VAR_RESULT, FALSE goto_if_eq EventScript_1BC29C delay 60 special HelpSystem_Disable diff --git a/data/scripts/day_care.inc b/data/scripts/day_care.inc index c089472cb..e96f52e20 100644 --- a/data/scripts/day_care.inc +++ b/data/scripts/day_care.inc @@ -20,7 +20,7 @@ EventScript_1BF3DD:: @ 81BF3DD compare VAR_RESULT, 1 goto_if_eq EventScript_1BF452 msgbox Text_19DDBE - fadescreen 1 + fadescreen FADE_TO_BLACK hidemoneybox 0, 0 special ChooseSendDaycareMon waitstate diff --git a/data/scripts/move_tutors.inc b/data/scripts/move_tutors.inc index 0552b6bb3..9b3c86d8f 100644 --- a/data/scripts/move_tutors.inc +++ b/data/scripts/move_tutors.inc @@ -402,9 +402,9 @@ EventScript_1C4D4F:: @ 81C4D4F EventScript_1C4D59:: @ 81C4D59 checkplayergender - compare VAR_RESULT, 0 + compare VAR_RESULT, MALE call_if_eq EventScript_1C4D72 - compare VAR_RESULT, 1 + compare VAR_RESULT, FEMALE call_if_eq EventScript_1C4D7B release end @@ -477,11 +477,11 @@ TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC goto_if_eq EventScript_1C4F1C msgbox Text_1A4814 closemessage - fadescreen 1 + fadescreen FADE_TO_BLACK goto EventScript_1C4EDA EventScript_1C4E8F:: @ 81C4E8F - fadescreen 0 + fadescreen FADE_FROM_BLACK goto EventScript_1C4EAB end diff --git a/data/scripts/seagallop.inc b/data/scripts/seagallop.inc index 8aac0bcb4..75f0e4707 100644 --- a/data/scripts/seagallop.inc +++ b/data/scripts/seagallop.inc @@ -113,7 +113,7 @@ EventScript_1A90DA:: @ 81A90DA compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 special sub_8112364 - fadescreen 1 + fadescreen FADE_TO_BLACK special ScrSpecial_SeagallopFerry waitstate end diff --git a/data/scripts/static_pokemon.inc b/data/scripts/static_pokemon.inc index ef57cf36d..9b738ea19 100644 --- a/data/scripts/static_pokemon.inc +++ b/data/scripts/static_pokemon.inc @@ -1,14 +1,14 @@ EventScript_1A922D:: @ 81A922D - fadescreen 1 + fadescreen FADE_TO_BLACK removeobject VAR_LAST_TALKED - fadescreen 0 + fadescreen FADE_FROM_BLACK release end EventScript_1A9236:: @ 81A9236 - fadescreen 1 + fadescreen FADE_TO_BLACK removeobject VAR_LAST_TALKED - fadescreen 0 + fadescreen FADE_FROM_BLACK getspeciesname 0, VAR_0x8004 msgbox Text_1A63C4 release -- cgit v1.2.3 From 91bf7665c623011fb63a7045689ba600b4b1eda7 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 10 Jan 2020 05:01:48 -0500 Subject: Sync split scripts, more misc splits/doc --- data/scripts/cable_club.inc | 14 +- data/scripts/field_moves.inc | 190 ++++++------ data/scripts/flash.inc | 2 +- data/scripts/hole.inc | 19 +- data/scripts/move_tutors.inc | 597 ++++++++++++++++++------------------ data/scripts/mystery_event_club.inc | 134 ++++---- data/scripts/pc.inc | 24 +- data/scripts/pkmn_center_nurse.inc | 6 +- data/scripts/pokedex_rating.inc | 76 ++--- data/scripts/pokemon_mansion.inc | 207 +++++++++++++ data/scripts/repel.inc | 4 +- data/scripts/static_pokemon.inc | 12 +- data/scripts/std_msgbox.inc | 14 +- data/scripts/surf.inc | 6 +- 14 files changed, 760 insertions(+), 545 deletions(-) create mode 100644 data/scripts/pokemon_mansion.inc (limited to 'data/scripts') diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index db0982a29..deb4c66bf 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -22,7 +22,7 @@ CableClub_EventScript_MysteryGiftMan:: @ 81BB1D2 @ Unused EventScript_1BB1E4:: @ 81BB1E4 - msgbox Text_1A6393, MSGBOX_NPC + msgbox Text_ThankYouForAccessingMysteryGift, MSGBOX_NPC end CableClub_OnWarp:: @ 81BB1ED @@ -283,7 +283,7 @@ EventScript_1BB541:: @ 81BB541 end EventScript_1BB54C:: @ 81BB54C - call EventScript_1A4EAF + call EventScript_AskSaveGame compare VAR_RESULT, 0 goto_if_eq EventScript_1BB82F message gUnknown_81BC4AC @@ -397,7 +397,7 @@ EventScript_1BB6AB:: @ 81BB6AB call EventScript_1BB79C compare VAR_RESULT, 0 goto_if_eq EventScript_1BB82F - call EventScript_1A4EAF + call EventScript_AskSaveGame compare VAR_RESULT, 0 goto_if_eq EventScript_1BB82F message gUnknown_81BC4AC @@ -826,7 +826,7 @@ EventScript_1BBA94:: @ 81BBA94 call EventScript_1BBB1E compare VAR_RESULT, 0 goto_if_eq EventScript_1BB82F - call EventScript_1A4EAF + call EventScript_AskSaveGame compare VAR_RESULT, 0 goto_if_eq EventScript_1BB82F msgbox gUnknown_81BD86A @@ -1030,7 +1030,7 @@ EventScript_1BBD6E:: @ 81BBD6E end EventScript_1BBD6F:: @ 81BBD6F - call EventScript_1A4EAF + call EventScript_AskSaveGame compare VAR_RESULT, 0 goto_if_eq EventScript_1BB82F switch VAR_0x8004 @@ -1320,7 +1320,7 @@ EventScript_1BC13A:: @ 81BC13A waitstate compare VAR_0x8004, 6 goto_if_ge EventScript_1BB83F - call EventScript_1A4EAF + call EventScript_AskSaveGame compare VAR_RESULT, 0 goto_if_eq EventScript_1BB83F setvar VAR_0x8004, 4 @@ -1340,7 +1340,7 @@ EventScript_1BC184:: @ 81BC184 waitstate compare VAR_0x8004, 6 goto_if_ge EventScript_1BB83F - call EventScript_1A4EAF + call EventScript_AskSaveGame compare VAR_RESULT, 0 goto_if_eq EventScript_1BB83F setvar VAR_0x8004, 6 diff --git a/data/scripts/field_moves.inc b/data/scripts/field_moves.inc index e1e0beebb..b5efb263a 100644 --- a/data/scripts/field_moves.inc +++ b/data/scripts/field_moves.inc @@ -3,60 +3,60 @@ EventScript_InteractWithCutTreeObject:: @ 81BDF13 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 lockall - goto_if_unset FLAG_BADGE02_GET, EventScript_1BDF87 + goto_if_unset FLAG_BADGE02_GET, EventScript_CantCutTree checkpartymove MOVE_CUT compare VAR_RESULT, PARTY_SIZE - goto_if_eq EventScript_1BDF87 + goto_if_eq EventScript_CantCutTree setfieldeffectarg 0, VAR_RESULT getpartymonname 0, VAR_RESULT getmovename 1, MOVE_CUT - msgbox gUnknown_81BDF94, MSGBOX_YESNO + msgbox Text_CutTreeDown, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BDF91 - msgbox gUnknown_81BDFD7 + goto_if_eq EventScript_DontCutTree + msgbox Text_MonUsedMove closemessage dofieldeffect FLDEFF_USE_CUT_ON_TREE waitstate - goto EventScript_1BDF76 + goto EventScript_CutTree end -gUnknown_81BDF6B:: @ 81BDF6B +EventScript_FldEffCut:: @ 81BDF6B lockall dofieldeffect FLDEFF_USE_CUT_ON_TREE waitstate - goto EventScript_1BDF76 + goto EventScript_CutTree end -EventScript_1BDF76:: @ 81BDF76 - applymovement VAR_LAST_TALKED, Movement_1BDF85 +EventScript_CutTree:: @ 81BDF76 + applymovement VAR_LAST_TALKED, Movement_CutTree waitmovement 0 removeobject VAR_LAST_TALKED releaseall end -Movement_1BDF85:: @ 81BDF85 +Movement_CutTree:: @ 81BDF85 cut_tree step_end -EventScript_1BDF87:: @ 81BDF87 - msgbox gUnknown_81BDFE3, MSGBOX_SIGN +EventScript_CantCutTree:: @ 81BDF87 + msgbox Text_TreeCanBeCutDown, MSGBOX_SIGN releaseall end -EventScript_1BDF91:: @ 81BDF91 +EventScript_DontCutTree:: @ 81BDF91 closemessage releaseall end -gUnknown_81BDF94:: @ 81BDF94 +Text_CutTreeDown:: @ 81BDF94 .string "This tree looks like it can be CUT\n" .string "down!\p" .string "Would you like to CUT it?$" -gUnknown_81BDFD7:: @ 81BDFD7 +Text_MonUsedMove:: @ 81BDFD7 .string "{STR_VAR_1} used {STR_VAR_2}!$" -gUnknown_81BDFE3:: @ 81BDFE3 +Text_TreeCanBeCutDown:: @ 81BDFE3 .string "This tree looks like it can be CUT\n" .string "down!$" @@ -65,63 +65,63 @@ EventScript_InteractWithRockSmashRockObject:: @ 81BE00C compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 lockall - goto_if_unset FLAG_BADGE06_GET, EventScript_1BE091 + goto_if_unset FLAG_BADGE06_GET, EventScript_CantSmashRock checkpartymove MOVE_ROCK_SMASH compare VAR_RESULT, PARTY_SIZE - goto_if_eq EventScript_1BE091 + goto_if_eq EventScript_CantSmashRock setfieldeffectarg 0, VAR_RESULT getpartymonname 0, VAR_RESULT getmovename 1, MOVE_ROCK_SMASH - msgbox Text_1BE09D, MSGBOX_YESNO + msgbox Text_UseRockSmash, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BE09A - msgbox gUnknown_81BDFD7 + goto_if_eq EventScript_DontSmashRock + msgbox Text_MonUsedMove closemessage dofieldeffect FLDEFF_USE_ROCK_SMASH waitstate - goto EventScript_1BE06F + goto EventScript_UseRockSmash end EventScript_FldEffRockSmash:: @ 81BE064 lockall dofieldeffect FLDEFF_USE_ROCK_SMASH waitstate - goto EventScript_1BE06F + goto EventScript_UseRockSmash end -EventScript_1BE06F:: @ 81BE06F - applymovement VAR_LAST_TALKED, Movement_1BE08F +EventScript_UseRockSmash:: @ 81BE06F + applymovement VAR_LAST_TALKED, Movement_BreakRock waitmovement 0 removeobject VAR_LAST_TALKED special ScrSpecial_RockSmashWildEncounter - compare VAR_RESULT, 0 - goto_if_eq EventScript_1BE08D + compare VAR_RESULT, FALSE + goto_if_eq EventScript_RockSmashNoEncounter waitstate releaseall end -EventScript_1BE08D:: @ 81BE08D +EventScript_RockSmashNoEncounter:: @ 81BE08D releaseall end -Movement_1BE08F:: @ 81BE08F +Movement_BreakRock:: @ 81BE08F rock_smash_break step_end -EventScript_1BE091:: @ 81BE091 - msgbox gUnknown_81BE0E2, MSGBOX_SIGN +EventScript_CantSmashRock:: @ 81BE091 + msgbox Text_MonMaySmashRock, MSGBOX_SIGN end -EventScript_1BE09A:: @ 81BE09A +EventScript_DontSmashRock:: @ 81BE09A closemessage releaseall end -Text_1BE09D:: @ 81BE09D +Text_UseRockSmash:: @ 81BE09D .string "This rock appears to be breakable.\n" .string "Would you like to use ROCK SMASH?$" -gUnknown_81BE0E2:: @ 81BE0E2 +Text_MonMaySmashRock:: @ 81BE0E2 .string "It's a rugged rock, but a POKéMON\n" .string "may be able to smash it.$" @@ -130,177 +130,177 @@ EventScript_InteractWithStrengthBoulderObject:: @ 81BE11D compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 lockall - goto_if_unset FLAG_BADGE04_GET, EventScript_1BE185 - goto_if_set FLAG_SYS_STRENGTH_ACTIVE, EventScript_1BE18E + goto_if_unset FLAG_BADGE04_GET, EventScript_CantMoveBoulder + goto_if_set FLAG_SYS_STRENGTH_ACTIVE, EventScript_AlreadyUsedStrength checkpartymove MOVE_STRENGTH compare VAR_RESULT, PARTY_SIZE - goto_if_eq EventScript_1BE185 + goto_if_eq EventScript_CantMoveBoulder setfieldeffectarg 0, VAR_RESULT - msgbox gUnknown_81BE19A, MSGBOX_YESNO + msgbox Text_UseStrength, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BE197 + goto_if_eq EventScript_DontUseStrength closemessage dofieldeffect FLDEFF_USE_STRENGTH waitstate - goto EventScript_1BE179 + goto EventScript_UseStrength end EventScript_FldEffStrength:: @ 81BE16E lockall dofieldeffect FLDEFF_USE_STRENGTH waitstate - goto EventScript_1BE179 + goto EventScript_UseStrength end -EventScript_1BE179:: @ 81BE179 +EventScript_UseStrength:: @ 81BE179 setflag FLAG_SYS_STRENGTH_ACTIVE - msgbox gUnknown_81BE1FA, MSGBOX_SIGN + msgbox Text_MonUsedStrengthCanMoveBoulders, MSGBOX_SIGN end -EventScript_1BE185:: @ 81BE185 - msgbox gUnknown_81BE244, MSGBOX_SIGN +EventScript_CantMoveBoulder:: @ 81BE185 + msgbox Text_MonMayPushBoulder, MSGBOX_SIGN end -EventScript_1BE18E:: @ 81BE18E - msgbox gUnknown_81BE284, MSGBOX_SIGN +EventScript_AlreadyUsedStrength:: @ 81BE18E + msgbox Text_StrengthMadeMovingBouldersPossible, MSGBOX_SIGN end -EventScript_1BE197:: @ 81BE197 +EventScript_DontUseStrength:: @ 81BE197 closemessage releaseall end -gUnknown_81BE19A:: @ 81BE19A +Text_UseStrength:: @ 81BE19A .string "It's a big boulder, but a POKéMON\n" .string "may be able to push it aside.\p" .string "Would you like to use STRENGTH?$" -gUnknown_81BE1FA:: @ 81BE1FA +Text_MonUsedStrengthCanMoveBoulders:: @ 81BE1FA .string "{STR_VAR_1} used STRENGTH!\p" .string "{STR_VAR_1}'s STRENGTH made it\n" .string "possible to move boulders around!$" -gUnknown_81BE244:: @ 81BE244 +Text_MonMayPushBoulder:: @ 81BE244 .string "It's a big boulder, but a POKéMON\n" .string "may be able to push it aside.$" -gUnknown_81BE284:: @ 81BE284 +Text_StrengthMadeMovingBouldersPossible:: @ 81BE284 .string "STRENGTH made it possible to move\n" .string "boulders around.$" -gUnknown_81BE2B7:: @ 81BE2B7 +EventScript_InteractWithWaterfall:: @ 81BE2B7 special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 lockall checkpartymove MOVE_WATERFALL compare VAR_RESULT, PARTY_SIZE - goto_if_eq EventScript_1BE300 + goto_if_eq EventScript_WaterCrashingDown getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT - msgbox gUnknown_81BE33F, MSGBOX_YESNO + msgbox Text_UseWaterfall, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BE308 - msgbox gUnknown_81BE378 + goto_if_eq EventScript_EndWaterfall + msgbox Text_MonUsedWaterfall dofieldeffect FLDEFF_USE_WATERFALL - goto EventScript_1BE308 + goto EventScript_EndWaterfall EventScript_81BE2FF:: @ 81BE2FF lockall -EventScript_1BE300: - msgbox gUnknown_81BE30A -EventScript_1BE308: +EventScript_WaterCrashingDown: + msgbox Text_WallOfWaterCrashingDown +EventScript_EndWaterfall: releaseall end -gUnknown_81BE30A:: @ 81BE30A +Text_WallOfWaterCrashingDown:: @ 81BE30A .string "A wall of water is crashing down\n" .string "with a mighty roar.$" -gUnknown_81BE33F:: @ 81BE33F +Text_UseWaterfall:: @ 81BE33F .string "It's a large waterfall.\n" .string "Would you like to use WATERFALL?$" -gUnknown_81BE378:: @ 81BE378 +Text_MonUsedWaterfall:: @ 81BE378 .string "{STR_VAR_1} used WATERFALL.$" @ Unused leftover from R/S -EventScript_1BE38B:: @ 81BE38B +EventScript_InteractWithDeepWater:: @ 81BE38B lockall checkpartymove MOVE_DIVE compare VAR_RESULT, PARTY_SIZE - goto_if_eq EventScript_1BE3CA + goto_if_eq EventScript_MayGoUnderwater getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT setfieldeffectarg 1, 1 - msgbox gUnknown_81BE469, MSGBOX_YESNO + msgbox Text_SeaIsDeepUseDive, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BE3D2 - msgbox gUnknown_81BE49B + goto_if_eq EventScript_EndDive + msgbox Text_MonUsedDive dofieldeffect FLDEFF_USE_DIVE - goto EventScript_1BE3D2 + goto EventScript_EndDive -EventScript_1BE3C9:: @ 81BE3C9 +EventScript_CantDive:: @ 81BE3C9 lockall -EventScript_1BE3CA: - msgbox Text_1BE42B -EventScript_1BE3D2: +EventScript_MayGoUnderwater: + msgbox Text_MonMayGoUnderwater +EventScript_EndDive: releaseall end -EventScript_1BE3D4:: @ 81BE3D4 +EventScript_TrySurface:: @ 81BE3D4 lockall checkpartymove MOVE_DIVE compare VAR_RESULT, PARTY_SIZE - goto_if_eq EventScript_1BE412 + goto_if_eq EventScript_CantSurface getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT setfieldeffectarg 1, 1 - msgbox gUnknown_81BE4EF, MSGBOX_YESNO + msgbox Text_LightFilteringUseDive, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BE429 - msgbox gUnknown_81BE49B + goto_if_eq EventScript_EndSurface + msgbox Text_MonUsedDive dofieldeffect FLDEFF_USE_DIVE - goto EventScript_1BE429 + goto EventScript_EndSurface -EventScript_1BE412:: @ 81BE412 +EventScript_CantSurface:: @ 81BE412 lockall - msgbox gUnknown_81BE4A9 - goto EventScript_1BE429 + msgbox Text_MonMaySurface + goto EventScript_EndSurface -EventScript_1BE420:: @ 81BE420 +EventScript_ObstacleCantSurface:: @ 81BE420 lockall - msgbox gUnknown_81BE52F -EventScript_1BE429: + msgbox Text_DiveCantBeUsedHere +EventScript_EndSurface: releaseall end -Text_1BE42B:: @ 81BE42B +Text_MonMayGoUnderwater:: @ 81BE42B .string "The sea is deep here. A POKéMON\n" .string "may be able to go underwater.$" -gUnknown_81BE469:: @ 81BE469 +Text_SeaIsDeepUseDive:: @ 81BE469 .string "The sea is deep here.\n" .string "Would you like to use DIVE?$" -gUnknown_81BE49B:: @ 81BE49B +Text_MonUsedDive:: @ 81BE49B .string "{STR_VAR_1} used DIVE.$" -gUnknown_81BE4A9:: @ 81BE4A9 +Text_MonMaySurface:: @ 81BE4A9 .string "Light is filtering down from above.\n" .string "A POKéMON may be able to surface.$" -gUnknown_81BE4EF:: @ 81BE4EF +Text_LightFilteringUseDive:: @ 81BE4EF .string "Light is filtering down from above.\n" .string "Would you like to use DIVE?$" -gUnknown_81BE52F:: @ 81BE52F +Text_DiveCantBeUsedHere:: @ 81BE52F .string "There is an obstacle above.\n" .string "DIVE can't be used here.$" EventScript_FailSweetScent:: @ 81BE564 - msgbox Text_1BE56D, MSGBOX_SIGN + msgbox Text_LooksLikeNothingHere, MSGBOX_SIGN end -Text_1BE56D:: @ 81BE56D +Text_LooksLikeNothingHere:: @ 81BE56D .string "Looks like there's nothing here…$" diff --git a/data/scripts/flash.inc b/data/scripts/flash.inc index c05b7fcdd..1e9eeedac 100644 --- a/data/scripts/flash.inc +++ b/data/scripts/flash.inc @@ -1,4 +1,4 @@ -EventScript_81BFB5F:: @ 81BFB5F +EventScript_FldEffFlash:: @ 81BFB5F animateflash 0 setflashradius 0 end diff --git a/data/scripts/hole.inc b/data/scripts/hole.inc index 5637ccbde..98900f04a 100644 --- a/data/scripts/hole.inc +++ b/data/scripts/hole.inc @@ -1,13 +1,17 @@ -EventScript_1C1338:: @ 81C1338 - map_script_2 VAR_0x4030, 0, EventScript_1C1348 +@ Unused +EventScript_CheckFallDownHole:: @ 81C1338 + map_script_2 VAR_ICE_STEP_COUNT, 0, EventScript_FallDownHole .2byte 0 - copyvar VAR_0x4030, 1 + +@ Unused +EventScript_FixCrackedGround:: + copyvar VAR_ICE_STEP_COUNT, 1 end -EventScript_1C1348:: @ 81C1348 +EventScript_FallDownHole:: @ 81C1348 lockall delay 20 - applymovement OBJ_EVENT_ID_PLAYER, Movement_1C137A + applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible waitmovement 0 playse SE_RU_HYUU delay 60 @@ -15,10 +19,11 @@ EventScript_1C1348:: @ 81C1348 waitstate end +@ TODO: EventScript_FallDownHoleMtPyre in pokeemerald, needs generic name EventScript_1C1361:: @ 81C1361 lockall delay 20 - applymovement OBJ_EVENT_ID_PLAYER, Movement_1C137A + applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible waitmovement 0 playse SE_RU_HYUU delay 60 @@ -26,6 +31,6 @@ EventScript_1C1361:: @ 81C1361 waitstate end -Movement_1C137A:: @ 81C137A +Movement_SetInvisible: @ 81C137A set_invisible step_end diff --git a/data/scripts/move_tutors.inc b/data/scripts/move_tutors.inc index 9b3c86d8f..702889e5d 100644 --- a/data/scripts/move_tutors.inc +++ b/data/scripts/move_tutors.inc @@ -1,581 +1,582 @@ -VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE +VictoryRoad_2F_EventScript_DoubleEdgeTutor:: @ 81C47AE lock faceplayer - goto_if_set FLAG_TUTOR_DOUBLE_EDGE, EventScript_1C480C - msgbox Text_1749F9, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_DOUBLE_EDGE, EventScript_DoubleEdgeTaught + msgbox Text_DoubleEdgeTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4802 - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4802 - msgbox Text_174AE2 + goto_if_eq EventScript_DoubleEdgeDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_DoubleEdgeDeclined + msgbox Text_DoubleEdgeWhichMon setvar VAR_0x8005, MOVETUTOR_DOUBLE_EDGE - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4802 + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_DoubleEdgeDeclined setflag FLAG_TUTOR_DOUBLE_EDGE - goto EventScript_1C480C + goto EventScript_DoubleEdgeTaught end -EventScript_1C4802:: @ 81C4802 - msgbox Text_174ABC +EventScript_DoubleEdgeDeclined:: @ 81C4802 + msgbox Text_DoubleEdgeDeclined release end -EventScript_1C480C:: @ 81C480C - msgbox Text_174B0C +EventScript_DoubleEdgeTaught:: @ 81C480C + msgbox Text_DoubleEdgeTaught release end -EventScript_1C4816:: @ 81C4816 +EventScript_ThunderWaveTutor:: @ 81C4816 lock faceplayer - goto_if_set FLAG_TUTOR_THUNDER_WAVE, EventScript_1C4874 - msgbox Text_175711, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_THUNDER_WAVE, EventScript_ThunderWaveTaught + msgbox Text_ThunderWaveTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C486A - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C486A - msgbox Text_1757C1 + goto_if_eq EventScript_ThunderWaveDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_ThunderWaveDeclined + msgbox Text_ThunderWaveWhichMon setvar VAR_0x8005, MOVETUTOR_THUNDER_WAVE - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C486A + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_ThunderWaveDeclined setflag FLAG_TUTOR_THUNDER_WAVE - goto EventScript_1C4874 + goto EventScript_ThunderWaveTaught end -EventScript_1C486A:: @ 81C486A - msgbox Text_17579D +EventScript_ThunderWaveDeclined:: @ 81C486A + msgbox Text_ThunderWaveDeclined release end -EventScript_1C4874:: @ 81C4874 - msgbox Text_1757EC +EventScript_ThunderWaveTaught:: @ 81C4874 + msgbox Text_ThunderWaveTaught release end -RockTunnel_B1F_EventScript_1C487E:: @ 81C487E +RockTunnel_B1F_EventScript_RockSlideTutor:: @ 81C487E lock faceplayer - goto_if_set FLAG_TUTOR_ROCK_SLIDE, EventScript_1C48DC - msgbox Text_1799E0, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_ROCK_SLIDE, EventScript_RockSlideTaught + msgbox Text_RockSlideTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C48D2 - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C48D2 - msgbox Text_179AE1 + goto_if_eq EventScript_RockSlideDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_RockSlideDeclined + msgbox Text_RockSlideWhichMon setvar VAR_0x8005, MOVETUTOR_ROCK_SLIDE - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C48D2 + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_RockSlideDeclined setflag FLAG_TUTOR_ROCK_SLIDE - goto EventScript_1C48DC + goto EventScript_RockSlideTaught end -EventScript_1C48D2:: @ 81C48D2 - msgbox Text_179AC0 +EventScript_RockSlideDeclined:: @ 81C48D2 + msgbox Text_RockSlideDeclined release end -EventScript_1C48DC:: @ 81C48DC - msgbox Text_179B0A +EventScript_RockSlideTaught:: @ 81C48DC + msgbox Text_RockSlideTaught release end -MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6 +MtEmber_Exterior_EventScript_ExplosionTutor:: @ 81C48E6 lock faceplayer - goto_if_set FLAG_TUTOR_EXPLOSION, EventScript_1C4944 - msgbox Text_17A642, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_EXPLOSION, EventScript_ExplosionTaught + msgbox Text_ExplosionTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C493A - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C493A - msgbox Text_17A717 + goto_if_eq EventScript_ExplosionDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_ExplosionDeclined + msgbox Text_ExplosionWhichMon setvar VAR_0x8005, MOVETUTOR_EXPLOSION - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C493A + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_ExplosionDeclined setflag FLAG_TUTOR_EXPLOSION - goto EventScript_1C4944 + goto EventScript_ExplosionTaught end -EventScript_1C493A:: @ 81C493A - msgbox Text_17A6ED +EventScript_ExplosionDeclined:: @ 81C493A + msgbox Text_ExplosionDeclined release end -EventScript_1C4944:: @ 81C4944 - msgbox Text_17A756 +EventScript_ExplosionTaught:: @ 81C4944 + msgbox Text_ExplosionTaught release end -Route4_EventScript_1C494E:: @ 81C494E +Route4_EventScript_MegaPunchTutor:: @ 81C494E lock faceplayer - goto_if_set FLAG_TUTOR_META_PUNCH, EventScript_1C49AC - msgbox Text_1839D5, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_MEGA_PUNCH, EventScript_MegaPunchTaught + msgbox Text_MegaPunchTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C49A2 - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C49A2 - msgbox Text_183ABF + goto_if_eq EventScript_MegaPunchDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_MegaPunchDeclined + msgbox Text_MegaPunchWhichMon setvar VAR_0x8005, MOVETUTOR_MEGA_PUNCH - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C49A2 - setflag FLAG_TUTOR_META_PUNCH - goto EventScript_1C49AC + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_MegaPunchDeclined + setflag FLAG_TUTOR_MEGA_PUNCH + goto EventScript_MegaPunchTaught end -EventScript_1C49A2:: @ 81C49A2 - msgbox Text_183A83 +EventScript_MegaPunchDeclined:: @ 81C49A2 + msgbox Text_MegaPunchDeclined release end -EventScript_1C49AC:: @ 81C49AC - msgbox Text_183AE2 +EventScript_MegaPunchTaught:: @ 81C49AC + msgbox Text_MegaPunchTaught release end -Route4_EventScript_1C49B6:: @ 81C49B6 +Route4_EventScript_MegaKickTutor:: @ 81C49B6 lock faceplayer - goto_if_set FLAG_TUTOR_MEGA_KICK, EventScript_1C4A14 - msgbox Text_183B74, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_MEGA_KICK, EventScript_MegaKickTaught + msgbox Text_MegaKickTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4A0A - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4A0A - msgbox Text_183C68 + goto_if_eq EventScript_MegaKickDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_MegaKickDeclined + msgbox Text_MegaKickWhichMon setvar VAR_0x8005, MOVETUTOR_MEGA_KICK - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4A0A + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_MegaKickDeclined setflag FLAG_TUTOR_MEGA_KICK - goto EventScript_1C4A14 + goto EventScript_MegaKickTaught end -EventScript_1C4A0A:: @ 81C4A0A - msgbox Text_183C25 +EventScript_MegaKickDeclined:: @ 81C4A0A + msgbox Text_MegaKickDeclined release end -EventScript_1C4A14:: @ 81C4A14 - msgbox Text_183C94 +EventScript_MegaKickTaught:: @ 81C4A14 + msgbox Text_MegaKickTaught release end -EventScript_1C4A1E:: @ 81C4A1E +EventScript_DreamEaterTutor:: @ 81C4A1E lock faceplayer - goto_if_set FLAG_TUTOR_DREAM_EATER, EventScript_1C4A7C - msgbox Text_17E316, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_DREAM_EATER, EventScript_DreamEaterTaught + msgbox Text_DreamEaterTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4A72 - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4A72 - msgbox Text_17E3F1 + goto_if_eq EventScript_DreamEaterDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_DreamEaterDeclined + msgbox Text_DreamEaterWhichMon setvar VAR_0x8005, MOVETUTOR_DREAM_EATER - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4A72 + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_DreamEaterDeclined setflag FLAG_TUTOR_DREAM_EATER - goto EventScript_1C4A7C + goto EventScript_DreamEaterTaught end -EventScript_1C4A72:: @ 81C4A72 - msgbox Text_17E3E9 +EventScript_DreamEaterDeclined:: @ 81C4A72 + msgbox Text_DreamEaterDeclined release end -EventScript_1C4A7C:: @ 81C4A7C - msgbox Text_17E41B +EventScript_DreamEaterTaught:: @ 81C4A7C + msgbox Text_DreamEaterTaught release end -EventScript_1C4A86:: @ 81C4A86 +EventScript_SoftboiledTutor:: @ 81C4A86 lock faceplayer - goto_if_set FLAG_TUTOR_SOFT_BOILED, EventScript_1C4AE4 - msgbox Text_180388, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_SOFT_BOILED, EventScript_SoftboiledTaught + msgbox Text_SoftboiledTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4ADA - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4ADA - msgbox Text_180484 + goto_if_eq EventScript_SoftboiledDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_SoftboiledDeclined + msgbox Text_SoftboiledWhichMon setvar VAR_0x8005, MOVETUTOR_SOFT_BOILED - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4ADA + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_SoftboiledDeclined setflag FLAG_TUTOR_SOFT_BOILED - goto EventScript_1C4AE4 + goto EventScript_SoftboiledTaught end -EventScript_1C4ADA:: @ 81C4ADA - msgbox Text_18043F +EventScript_SoftboiledDeclined:: @ 81C4ADA + msgbox Text_SoftboiledDeclined release end -EventScript_1C4AE4:: @ 81C4AE4 - msgbox Text_1804C4 +EventScript_SoftboiledTaught:: @ 81C4AE4 + msgbox Text_SoftboiledTaught release end -FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE +FuchsiaCity_EventScript_SubstituteTutor:: @ 81C4AEE lock faceplayer - goto_if_set FLAG_TUTOR_SUBSTITUTE, EventScript_1C4B4C - msgbox Text_180948, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_SUBSTITUTE, EventScript_SubstituteTaught + msgbox Text_SubstituteTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4B42 - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4B42 - msgbox Text_180A57 + goto_if_eq EventScript_SubstituteDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_SubstituteDeclined + msgbox Text_SubstituteWhichMon setvar VAR_0x8005, MOVETUTOR_SUBSTITUTE - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4B42 + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_SubstituteDeclined setflag FLAG_TUTOR_SUBSTITUTE - goto EventScript_1C4B4C + goto EventScript_SubstituteTaught end -EventScript_1C4B42:: @ 81C4B42 - msgbox Text_180A32 +EventScript_SubstituteDeclined:: @ 81C4B42 + msgbox Text_SubstituteDeclined release end -EventScript_1C4B4C:: @ 81C4B4C - msgbox Text_180A80 +EventScript_SubstituteTaught:: @ 81C4B4C + msgbox Text_SubstituteTaught release end -SevenIsland_EventScript_1C4B56:: @ 81C4B56 +SevenIsland_EventScript_SwordsDanceTutor:: @ 81C4B56 lock faceplayer - goto_if_set FLAG_TUTOR_SWORDS_DANCE, EventScript_1C4BB4 - msgbox Text_182F01, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_SWORDS_DANCE, EventScript_SwordsDanceTaught + msgbox Text_SwordsDanceTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4BAA - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4BAA - msgbox Text_182FD9 + goto_if_eq EventScript_SwordsDanceDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_SwordsDanceDeclined + msgbox Text_SwordsDanceWhichMon setvar VAR_0x8005, MOVETUTOR_SWORDS_DANCE - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4BAA + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_SwordsDanceDeclined setflag FLAG_TUTOR_SWORDS_DANCE - goto EventScript_1C4BB4 + goto EventScript_SwordsDanceTaught end -EventScript_1C4BAA:: @ 81C4BAA - msgbox Text_182FC1 +EventScript_SwordsDanceDeclined:: @ 81C4BAA + msgbox Text_SwordsDanceDeclined release end -EventScript_1C4BB4:: @ 81C4BB4 - msgbox Text_18300D +EventScript_SwordsDanceTaught:: @ 81C4BB4 + msgbox Text_SwordsDanceTaught release end -PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE +PewterCity_Museum_1F_EventScript_SeismicTossTutor:: @ 81C4BBE lock faceplayer - goto_if_set FLAG_TUTOR_SEISMIC_TOSS, EventScript_1C4C1C - msgbox Text_1909A3, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_SEISMIC_TOSS, EventScript_SeismicTossTaught + msgbox Text_SeismicTossTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4C12 - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4C12 - msgbox Text_190AD5 + goto_if_eq EventScript_SeismicTossDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_SeismicTossDeclined + msgbox Text_SeismicTossWhichMon setvar VAR_0x8005, MOVETUTOR_SEISMIC_TOSS - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4C12 + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_SeismicTossDeclined setflag FLAG_TUTOR_SEISMIC_TOSS - goto EventScript_1C4C1C + goto EventScript_SeismicTossTaught end -EventScript_1C4C12:: @ 81C4C12 - msgbox Text_190AA9 +EventScript_SeismicTossDeclined:: @ 81C4C12 + msgbox Text_SeismicTossDeclined release end -EventScript_1C4C1C:: @ 81C4C1C - msgbox Text_190B00 +EventScript_SeismicTossTaught:: @ 81C4C1C + msgbox Text_SeismicTossTaught release end -EventScript_1C4C26:: @ 81C4C26 +EventScript_CounterTutor:: @ 81C4C26 lock faceplayer - goto_if_set FLAG_TUTOR_COUNTER, EventScript_1C4C84 - msgbox Text_195928, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_COUNTER, EventScript_CounterTaught + msgbox Text_CounterTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4C7A - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4C7A - msgbox Text_195A08 + goto_if_eq EventScript_CounterDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_CounterDeclined + msgbox Text_CounterWhichMon setvar VAR_0x8005, MOVETUTOR_COUNTER - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4C7A + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_CounterDeclined setflag FLAG_TUTOR_COUNTER - goto EventScript_1C4C84 + goto EventScript_CounterTaught end -EventScript_1C4C7A:: @ 81C4C7A - msgbox Text_1959CC +EventScript_CounterDeclined:: @ 81C4C7A + msgbox Text_CounterDeclined release end -EventScript_1C4C84:: @ 81C4C84 - msgbox Text_195A31 +EventScript_CounterTaught:: @ 81C4C84 + msgbox Text_CounterTaught release end -EventScript_1C4C8E:: @ 81C4C8E +EventScript_MetronomeTutor:: @ 81C4C8E lock faceplayer - goto_if_set FLAG_TUTOR_METRONOME, EventScript_1C4CEC - msgbox Text_19A137, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_METRONOME, EventScript_MetronomeTaught + msgbox Text_MetronomeTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4CE2 - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4CE2 - msgbox Text_19A1EA + goto_if_eq EventScript_MetronomeDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_MetronomeDeclined + msgbox Text_MetronomeWhichMon setvar VAR_0x8005, MOVETUTOR_METRONOME - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4CE2 + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_MetronomeDeclined setflag FLAG_TUTOR_METRONOME - goto EventScript_1C4CEC + goto EventScript_MetronomeTaught end -EventScript_1C4CE2:: @ 81C4CE2 - msgbox Text_19A1CB +EventScript_MetronomeDeclined:: @ 81C4CE2 + msgbox Text_MetronomeDeclined release end -EventScript_1C4CEC:: @ 81C4CEC - msgbox Text_19A20E +EventScript_MetronomeTaught:: @ 81C4CEC + msgbox Text_MetronomeTaught release end -EventScript_1C4CF6:: @ 81C4CF6 - goto_if_set FLAG_TUTOR_MIMIC, EventScript_1C4D59 - msgbox Text_19AD85, MSGBOX_YESNO +EventScript_MimicTutor:: @ 81C4CF6 + goto_if_set FLAG_TUTOR_MIMIC, EventScript_MimicTaught + msgbox Text_MimicTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4D4F - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4D4F - msgbox Text_19ADEE + goto_if_eq EventScript_MimicDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_MimicDeclined + msgbox Text_MimicWhichMon setvar VAR_0x8005, MOVETUTOR_MIMIC - call EventScript_1C4F30 + call EventScript_ChooseMoveTutorMon lock faceplayer compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4D4F + goto_if_eq EventScript_MimicDeclined removeitem ITEM_POKE_DOLL, 1 setflag FLAG_TUTOR_MIMIC - goto EventScript_1C4D59 + goto EventScript_MimicTaught end -EventScript_1C4D4F:: @ 81C4D4F - msgbox Text_19ADD8 +EventScript_MimicDeclined:: @ 81C4D4F + msgbox Text_MimicDeclined release end -EventScript_1C4D59:: @ 81C4D59 +EventScript_MimicTaught:: @ 81C4D59 checkplayergender compare VAR_RESULT, MALE - call_if_eq EventScript_1C4D72 + call_if_eq EventScript_MimicTaughtMale compare VAR_RESULT, FEMALE - call_if_eq EventScript_1C4D7B + call_if_eq EventScript_MimicTaughtFemale release end -EventScript_1C4D72:: @ 81C4D72 - msgbox Text_19AE1C +EventScript_MimicTaughtMale:: @ 81C4D72 + msgbox Text_MimicTaughtMale return -EventScript_1C4D7B:: @ 81C4D7B - msgbox Text_19AE90 +EventScript_MimicTaughtFemale:: @ 81C4D7B + msgbox Text_MimicTaughtFemale return -FourIsland_House1_EventScript_1C4D84:: @ 81C4D84 +FourIsland_House1_EventScript_BodySlamTutor:: @ 81C4D84 lock faceplayer - goto_if_set FLAG_TUTOR_BODY_SLAM, EventScript_1C4DE2 - msgbox Text_1A3505, MSGBOX_YESNO + goto_if_set FLAG_TUTOR_BODY_SLAM, EventScript_BodySlamTaught + msgbox Text_BodySlamTeach, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4DD8 - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4DD8 - msgbox Text_1A35DA + goto_if_eq EventScript_BodySlamDeclined + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq EventScript_BodySlamDeclined + msgbox Text_BodySlamWhichMon setvar VAR_0x8005, MOVETUTOR_BODY_SLAM - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4DD8 + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq EventScript_BodySlamDeclined setflag FLAG_TUTOR_BODY_SLAM - goto EventScript_1C4DE2 + goto EventScript_BodySlamTaught end -EventScript_1C4DD8:: @ 81C4DD8 - msgbox Text_1A35C7 +EventScript_BodySlamDeclined:: @ 81C4DD8 + msgbox Text_BodySlamDeclined release end -EventScript_1C4DE2:: @ 81C4DE2 - msgbox Text_1A3609 +EventScript_BodySlamTaught:: @ 81C4DE2 + msgbox Text_BodySlamTaught release end -TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC +TwoIsland_CapeBrink_House_EventScript_StarterTutor:: @ 81C4DEC special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer - goto_if_set FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK, EventScript_1C4EA1 - goto_if_set FLAG_TEMP_2, EventScript_1C4E97 + goto_if_set FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK, CapeBrinkTutor_EventScript_TaughtAllMoves + goto_if_set FLAG_TEMP_2, CapeBrinkTutor_EventScript_MoveJustTaught getfirstpartymonname 0 - msgbox Text_1A46C6 + msgbox Text_UltimateMoveThatMon specialvar VAR_RESULT, Special_CapeBrinkGetMoveToTeachLeadPokemon - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4F26 + compare VAR_RESULT, FALSE + goto_if_eq CapeBrinkTutor_EventScript_NoLeadStarter copyvar VAR_0x8009, VAR_0x8005 compare VAR_FACING, DIR_NORTH - call_if_eq EventScript_1C4EF0 + call_if_eq CapeBrinkTutor_EventScript_JumpInPlaceDown compare VAR_FACING, DIR_SOUTH - call_if_eq EventScript_1C4EFB + call_if_eq CapeBrinkTutor_EventScript_JumpInPlaceUp compare VAR_FACING, DIR_EAST - call_if_eq EventScript_1C4F06 + call_if_eq CapeBrinkTutor_EventScript_JumpInPlaceLeft compare VAR_FACING, DIR_WEST - call_if_eq EventScript_1C4F11 - msgbox Text_1A4751, MSGBOX_YESNO + call_if_eq CapeBrinkTutor_EventScript_JumpInPlaceRight + msgbox Text_AllowMeToTeachMonUltimateMove, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1C4F1C - call EventScript_1C4F37 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4F1C - msgbox Text_1A4814 + goto_if_eq CapeBrinkTutor_EventScript_DeclineMove + call EventScript_CanOnlyBeLearnedOnce + compare VAR_RESULT, NO + goto_if_eq CapeBrinkTutor_EventScript_DeclineMove + msgbox Text_LetMeConferUltimateMove closemessage fadescreen FADE_TO_BLACK - goto EventScript_1C4EDA + goto CapeBrinkTutor_EventScript_ChooseMon -EventScript_1C4E8F:: @ 81C4E8F +@ Unused +CapeBrinkTutor_EventScript_FadeTaughtMove:: @ 81C4E8F fadescreen FADE_FROM_BLACK - goto EventScript_1C4EAB + goto CapeBrinkTutor_EventScript_TaughtMove end -EventScript_1C4E97:: @ 81C4E97 - msgbox Text_1A48B3 +CapeBrinkTutor_EventScript_MoveJustTaught:: @ 81C4E97 + msgbox Text_MakeBestUseOfMove release end -EventScript_1C4EA1:: @ 81C4EA1 - msgbox Text_1A4972 +CapeBrinkTutor_EventScript_TaughtAllMoves:: @ 81C4EA1 + msgbox Text_FeelRejuvenated release end -EventScript_1C4EAB:: @ 81C4EAB +CapeBrinkTutor_EventScript_TaughtMove:: @ 81C4EAB copyvar VAR_0x8005, VAR_0x8009 specialvar VAR_RESULT, Special_HasLearnedAllMovesFromCapeBrinkTutor - compare VAR_RESULT, 1 - goto_if_eq EventScript_1C4ECD - msgbox Text_1A4865 + compare VAR_RESULT, TRUE + goto_if_eq CapeBrinkTutor_EventScript_LearnedAllMoves + msgbox Text_TaughtMove setflag FLAG_TEMP_2 release end -EventScript_1C4ECD:: @ 81C4ECD - msgbox Text_1A48F3 +CapeBrinkTutor_EventScript_LearnedAllMoves:: @ 81C4ECD + msgbox Text_PassedOnEverythingIKnow setflag FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK release end -EventScript_1C4EDA:: @ 81C4EDA - call EventScript_1C4F30 - compare VAR_RESULT, 0 - goto_if_eq EventScript_1C4F1C - goto EventScript_1C4EAB +CapeBrinkTutor_EventScript_ChooseMon:: @ 81C4EDA + call EventScript_ChooseMoveTutorMon + compare VAR_RESULT, FALSE + goto_if_eq CapeBrinkTutor_EventScript_DeclineMove + goto CapeBrinkTutor_EventScript_TaughtMove end -EventScript_1C4EF0:: @ 81C4EF0 - applymovement 1, Movement_1C4F4C +CapeBrinkTutor_EventScript_JumpInPlaceDown:: @ 81C4EF0 + applymovement 1, Movement_JumpInPlaceDown waitmovement 0 return -EventScript_1C4EFB:: @ 81C4EFB - applymovement 1, Movement_1C4F4E +CapeBrinkTutor_EventScript_JumpInPlaceUp:: @ 81C4EFB + applymovement 1, Movement_JumpInPlaceUp waitmovement 0 return -EventScript_1C4F06:: @ 81C4F06 - applymovement 1, Movement_1C4F50 +CapeBrinkTutor_EventScript_JumpInPlaceLeft:: @ 81C4F06 + applymovement 1, Movement_JumpInPlaceLeft waitmovement 0 return -EventScript_1C4F11:: @ 81C4F11 - applymovement 1, Movement_1C4F52 +CapeBrinkTutor_EventScript_JumpInPlaceRight:: @ 81C4F11 + applymovement 1, Movement_JumpInPlaceRight waitmovement 0 return -EventScript_1C4F1C:: @ 81C4F1C - msgbox Text_1A47E5 +CapeBrinkTutor_EventScript_DeclineMove:: @ 81C4F1C + msgbox Text_YouRejectIt release end -EventScript_1C4F26:: @ 81C4F26 - msgbox Text_1A4737 +CapeBrinkTutor_EventScript_NoLeadStarter:: @ 81C4F26 + msgbox Text_JustMistaken release end -EventScript_1C4F30:: @ 81C4F30 +EventScript_ChooseMoveTutorMon:: @ 81C4F30 special ChooseMonForMoveTutor waitstate lock faceplayer return -EventScript_1C4F37:: @ 81C4F37 +EventScript_CanOnlyBeLearnedOnce:: @ 81C4F37 textcolor 3 special sub_80699BC signmsg - msgbox Text_1A644F, MSGBOX_YESNO + msgbox Text_MoveCanOnlyBeLearnedOnce, MSGBOX_YESNO normalmsg call EventScript_1A6675 return -Movement_1C4F4C:: @ 81C4F4C +Movement_JumpInPlaceDown: @ 81C4F4C jump_in_place_down step_end -Movement_1C4F4E:: @ 81C4F4E +Movement_JumpInPlaceUp: @ 81C4F4E jump_in_place_up step_end -Movement_1C4F50:: @ 81C4F50 +Movement_JumpInPlaceLeft: @ 81C4F50 jump_in_place_left step_end -Movement_1C4F52:: @ 81C4F52 +Movement_JumpInPlaceRight: @ 81C4F52 jump_in_place_right step_end diff --git a/data/scripts/mystery_event_club.inc b/data/scripts/mystery_event_club.inc index 6a7ed3d2d..b409a8af9 100644 --- a/data/scripts/mystery_event_club.inc +++ b/data/scripts/mystery_event_club.inc @@ -1,116 +1,118 @@ -PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16 +.equ GAVE_PROFILE, VAR_TEMP_1 + +MysteryEventClub_EventScript_Man:: @ 81BEE16 lock faceplayer - compare VAR_TEMP_1, 1 - goto_if_eq EventScript_1BEE3A - goto_if_set FLAG_SYS_SET_TRAINER_CARD_PROFILE, EventScript_1BEECD - msgbox Text_1BEF88 - goto EventScript_1BEE44 + compare GAVE_PROFILE, TRUE + goto_if_eq EventScript_AlreadyGaveProfile + goto_if_set FLAG_SYS_SET_TRAINER_CARD_PROFILE, EventScript_GivenProfileBefore + msgbox Text_IdLoveToHearYourProfile + goto EventScript_AskForProfile end -EventScript_1BEE3A:: @ 81BEE3A - msgbox gUnknown_81BF36A +EventScript_AlreadyGaveProfile: @ 81BEE3A + msgbox Text_TellMoreNextTime release end -EventScript_1BEE44:: @ 81BEE44 - message Text_1BF017 +EventScript_AskForProfile: @ 81BEE44 + message Text_TellMeWhatsYourProfile waitmessage multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE switch VAR_RESULT - case 0, EventScript_1BEE8F - case 1, EventScript_1BEEC3 - case 2, EventScript_1BEE81 - case SCR_MENU_CANCEL, EventScript_1BEEC3 + case 0, EventScript_AcceptGiveProfile + case 1, EventScript_DeclineGiveProfile + case 2, EventScript_ProfileInfo + case SCR_MENU_CANCEL, EventScript_DeclineGiveProfile end -EventScript_1BEE81:: @ 81BEE81 - msgbox gUnknown_81BF053 - goto EventScript_1BEE44 +EventScript_ProfileInfo: @ 81BEE81 + msgbox Text_ExplainProfile + goto EventScript_AskForProfile end -EventScript_1BEE8F:: @ 81BEE8F - msgbox gUnknown_81BF166 +EventScript_AcceptGiveProfile: @ 81BEE8F + msgbox Text_WhatsYourProfile closemessage - goto EventScript_1BEF5A + goto EventScript_GiveProfile end -EventScript_1BEE9E:: @ 81BEE9E - msgbox gUnknown_81BF1B2 +EventScript_CancelGiveProfile: @ 81BEE9E + msgbox Text_DecidedNotTo release end -EventScript_1BEEA8:: @ 81BEEA8 - setvar VAR_TEMP_1, 1 +EventScript_GaveProfile: @ 81BEEA8 + setvar GAVE_PROFILE, TRUE setvar VAR_0x8004, 0 special Special_BufferEasyChatMessage waitmessage delay 80 - msgbox gUnknown_81BF28E + msgbox Text_ProfileSaysSomethingAboutYou release end -EventScript_1BEEC3:: @ 81BEEC3 - msgbox gUnknown_81BF17B +EventScript_DeclineGiveProfile: @ 81BEEC3 + msgbox Text_DontBeLikeThat release end -EventScript_1BEECD:: @ 81BEECD - msgbox gUnknown_81BF1E8 - goto EventScript_1BEEDB +EventScript_GivenProfileBefore: @ 81BEECD + msgbox Text_HiWeMeetAgain + goto EventScript_AskForNewProfile end -EventScript_1BEEDB:: @ 81BEEDB - message Text_1BF1FB +EventScript_AskForNewProfile: @ 81BEEDB + message Text_ChangeYourProfile waitmessage multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE switch VAR_RESULT - case 0, EventScript_1BEF26 - case 1, EventScript_1BEF35 - case 2, EventScript_1BEF18 - case SCR_MENU_CANCEL, EventScript_1BEF35 + case 0, EventScript_AcceptGiveNewProfile + case 1, EventScript_DeclineGiveNewProfile + case 2, EventScript_ProfileInfo2 + case SCR_MENU_CANCEL, EventScript_DeclineGiveNewProfile end -EventScript_1BEF18:: @ 81BEF18 - msgbox gUnknown_81BF053 - goto EventScript_1BEEDB +EventScript_ProfileInfo2: @ 81BEF18 + msgbox Text_ExplainProfile + goto EventScript_AskForNewProfile end -EventScript_1BEF26:: @ 81BEF26 - msgbox gUnknown_81BF222 +EventScript_AcceptGiveNewProfile: @ 81BEF26 + msgbox Text_WhatAreYouLikeNow closemessage - goto EventScript_1BEF5A + goto EventScript_GiveProfile end -EventScript_1BEF35:: @ 81BEF35 - msgbox gUnknown_81BF252 +EventScript_DeclineGiveNewProfile: @ 81BEF35 + msgbox Text_LikeProfileWayItIs release end -EventScript_1BEF3F:: @ 81BEF3F - setvar VAR_TEMP_1, 1 +EventScript_GaveSpecialProfile: @ 81BEF3F + setvar GAVE_PROFILE, TRUE setvar VAR_0x8004, 0 special Special_BufferEasyChatMessage waitmessage delay 80 - msgbox gUnknown_81BF30D + msgbox Text_HeardThatBefore release end -EventScript_1BEF5A:: @ 81BEF5A +EventScript_GiveProfile: @ 81BEF5A setvar VAR_0x8004, 0 call EventScript_1A6AC0 lock faceplayer compare VAR_0x8004, 0 - goto_if_eq EventScript_1BEF3F - compare VAR_RESULT, 0 - goto_if_eq EventScript_1BEE9E - compare VAR_RESULT, 1 - goto_if_eq EventScript_1BEEA8 + goto_if_eq EventScript_GaveSpecialProfile + compare VAR_RESULT, FALSE + goto_if_eq EventScript_CancelGiveProfile + compare VAR_RESULT, TRUE + goto_if_eq EventScript_GaveProfile end -Text_1BEF88:: @ 81BEF88 +Text_IdLoveToHearYourProfile: @ 81BEF88 .string "Hi, glad to meet you!\p" .string "…That's unfriendly of you.\n" .string "How about saying hi back?\p" @@ -118,11 +120,11 @@ Text_1BEF88:: @ 81BEF88 .string "yourself.\p" .string "I'd love to hear your profile!$" -Text_1BF017:: @ 81BF017 +Text_TellMeWhatsYourProfile: @ 81BF017 .string "Tell me something good about\n" .string "yourself. What's your profile?$" -gUnknown_81BF053:: @ 81BF053 +Text_ExplainProfile: @ 81BF053 .string "A profile is written using four\n" .string "words or phrases.\p" .string "There're plenty of words to choose\n" @@ -134,46 +136,46 @@ gUnknown_81BF053:: @ 81BF053 .string "…It's easier than it sounds.\n" .string "Why don't you try it?$" -gUnknown_81BF166:: @ 81BF166 +Text_WhatsYourProfile: @ 81BF166 .string "What's your profile?$" -gUnknown_81BF17B:: @ 81BF17B +Text_DontBeLikeThat: @ 81BF17B .string "Aww… Don't be like that.\n" .string "You can tell me your profile.$" -gUnknown_81BF1B2:: @ 81BF1B2 +Text_DecidedNotTo: @ 81BF1B2 .string "Oh, you've decided not to?\n" .string "You're fickle, aren't you?$" -gUnknown_81BF1E8:: @ 81BF1E8 +Text_HiWeMeetAgain: @ 81BF1E8 .string "Hi!\n" .string "We meet again!$" -Text_1BF1FB:: @ 81BF1FB +Text_ChangeYourProfile: @ 81BF1FB .string "Would you like to change your\n" .string "profile?$" -gUnknown_81BF222:: @ 81BF222 +Text_WhatAreYouLikeNow: @ 81BF222 .string "What are you like now?\n" .string "I'd really like to know.$" -gUnknown_81BF252:: @ 81BF252 +Text_LikeProfileWayItIs: @ 81BF252 .string "Okay, you like your profile the\n" .string "way it is.\p" .string "I think so, too.$" -gUnknown_81BF28E:: @ 81BF28E +Text_ProfileSaysSomethingAboutYou: @ 81BF28E .string "Hmhm…\p" .string "Your profile really says something\n" .string "about who you are.\p" .string "Now that I know you better, it \n" .string "makes us better friends than ever!$" -gUnknown_81BF30D:: @ 81BF30D +Text_HeardThatBefore: @ 81BF30D .string "Oh, I've heard that before…\p" .string "My cousin, who lives far away,\n" .string "always used to say that, I think.$" -gUnknown_81BF36A:: @ 81BF36A +Text_TellMoreNextTime: @ 81BF36A .string "Please tell me more about\n" .string "yourself next time!$" diff --git a/data/scripts/pc.inc b/data/scripts/pc.inc index cd5790cd0..ff61d2e2e 100644 --- a/data/scripts/pc.inc +++ b/data/scripts/pc.inc @@ -31,9 +31,9 @@ EventScript_ChoosePCMenu:: @ 81A69A8 case 0, EventScript_AccessPokemonStorage case 1, EventScript_AccessPlayersPC case 2, EventScript_AccessProfOaksPC - case 3, EventScript_1A6A56 - case 4, EventScript_1A6A46 - case SCR_MENU_CANCEL, EventScript_1A6A46 + case 3, EventScript_AccessHallOfFame + case 4, EventScript_TurnOffPC + case SCR_MENU_CANCEL, EventScript_TurnOffPC end EventScript_AccessPlayersPC:: @ 81A69F0 @@ -46,8 +46,8 @@ EventScript_AccessPlayersPC:: @ 81A69F0 EventScript_AccessPokemonStorage:: @ 81A6A05 playse SE_PC_LOGIN - call_if_unset FLAG_SYS_NOT_SOMEONES_PC, EventScript_1A6A34 - call_if_set FLAG_SYS_NOT_SOMEONES_PC, EventScript_1A6A3D + call_if_unset FLAG_SYS_NOT_SOMEONES_PC, EventScript_AccessSomeonesPC + call_if_set FLAG_SYS_NOT_SOMEONES_PC, EventScript_AccessBillsPC msgbox Text_OpenedPkmnStorage special ShowPokemonStorageSystem waitstate @@ -56,15 +56,15 @@ EventScript_AccessPokemonStorage:: @ 81A6A05 goto EventScript_PCMainMenu end -EventScript_1A6A34:: @ 81A6A34 +EventScript_AccessSomeonesPC:: @ 81A6A34 msgbox Text_AccessedSomeonesPC return -EventScript_1A6A3D:: @ 81A6A3D +EventScript_AccessBillsPC:: @ 81A6A3D msgbox Text_AccessedBillsPC return -EventScript_1A6A46:: @ 81A6A46 +EventScript_TurnOffPC:: @ 81A6A46 setvar VAR_0x8004, 0 playse SE_PC_OFF special Special_AnimatePcTurnOff @@ -72,8 +72,8 @@ EventScript_1A6A46:: @ 81A6A46 releaseall end -EventScript_1A6A56:: @ 81A6A56 - goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_1A6A46 +EventScript_AccessHallOfFame:: @ 81A6A56 + goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_TurnOffPC playse SE_PC_LOGIN setvar VAR_0x8004, 31 special HelpSystem_BackupSomeVariable @@ -85,14 +85,14 @@ EventScript_1A6A56:: @ 81A6A56 end EventScript_AccessProfOaksPC:: @ 81A6A7A - goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1A6A46 + goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_TurnOffPC playse SE_PC_LOGIN msgbox Text_AccessedProfOaksPC msgbox Text_HavePokedexRated, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq EventScript_ExitOaksPC setflag FLAG_OAKS_RATING_IS_VIA_PC - call EventScript_1A73E0 + call ProfOak_EventScript_RatePokedex clearflag FLAG_OAKS_RATING_IS_VIA_PC goto EventScript_ExitOaksPC end diff --git a/data/scripts/pkmn_center_nurse.inc b/data/scripts/pkmn_center_nurse.inc index 7fa2b0d46..cd92dad8a 100644 --- a/data/scripts/pkmn_center_nurse.inc +++ b/data/scripts/pkmn_center_nurse.inc @@ -45,7 +45,7 @@ EventScript_PkmnCenterNurse_CheckTrainerTowerAndUnionRoom:: @ 81A65EC EventScript_PkmnCenterNurse_ReturnPkmn:: @ 81A661D message Text_RestoredPkmnToFullHealth waitmessage - applymovement VAR_LAST_TALKED, Movement_1A666C + applymovement VAR_LAST_TALKED, Movement_Bow waitmovement 0 msgbox Text_WeHopeToSeeYouAgain return @@ -56,7 +56,7 @@ EventScript_PkmnCenterNurse_PlayerWaitingInUionRoom:: @ 81A6636 setflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER message Text_PlayerIsPlayingRightNowGoForIt waitmessage - applymovement VAR_LAST_TALKED, Movement_1A666C + applymovement VAR_LAST_TALKED, Movement_Bow waitmovement 0 msgbox Text_WeHopeToSeeYouAgain return @@ -65,7 +65,7 @@ EventScript_PkmnCenterNurse_Goodbye:: @ 81A6663 msgbox Text_WeHopeToSeeYouAgain return -Movement_1A666C:: @ 81A666C +Movement_Bow:: @ 81A666C nurse_joy_bow delay_4 step_end diff --git a/data/scripts/pokedex_rating.inc b/data/scripts/pokedex_rating.inc index 3eb741441..c9d836aee 100644 --- a/data/scripts/pokedex_rating.inc +++ b/data/scripts/pokedex_rating.inc @@ -1,42 +1,42 @@ -EventScript_1A737B:: @ 81A737B +ProfOak_EventScript_RatePokedexInPerson:: @ 81A737B special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 special sub_8112364 - call_if_set FLAG_OAK_SAW_DEX_COMPLETION, EventScript_1A73A4 - call_if_unset FLAG_OAK_SAW_DEX_COMPLETION, EventScript_1A73AD - call EventScript_1A73E0 + call_if_set FLAG_OAK_SAW_DEX_COMPLETION, ProfOak_EventScript_DexCompleteIntro + call_if_unset FLAG_OAK_SAW_DEX_COMPLETION, ProfOak_EventScript_NormalIntro + call ProfOak_EventScript_RatePokedex return -EventScript_1A73A4:: @ 81A73A4 - msgbox Text_1A72F2 +ProfOak_EventScript_DexCompleteIntro:: @ 81A73A4 + msgbox Text_LoveSeeingYourPokedex return -EventScript_1A73AD:: @ 81A73AD - msgbox gUnknown_81A6C51 +ProfOak_EventScript_NormalIntro:: @ 81A73AD + msgbox Text_HowIsPokedexComingAlong return -EventScript_1A73B6:: @ 81A73B6 +ProfOak_EventScript_ShowRatingMsg:: @ 81A73B6 copyvar VAR_0x8004, VAR_0x8009 special Special_GetProfOaksRatingMessage waitmessage - compare VAR_RESULT, 0 - call_if_eq EventScript_1A73D8 - compare VAR_RESULT, 1 - call_if_eq EventScript_1A73DC + compare VAR_RESULT, FALSE + call_if_eq ProfOak_EventScript_RatingFanfare + compare VAR_RESULT, TRUE + call_if_eq ProfOak_EventScript_DexCompleteFanfare waitfanfare waitbuttonpress return -EventScript_1A73D8:: @ 81A73D8 +ProfOak_EventScript_RatingFanfare:: @ 81A73D8 playfanfare MUS_FAN2 return -EventScript_1A73DC:: @ 81A73DC +ProfOak_EventScript_DexCompleteFanfare:: @ 81A73DC playfanfare MUS_FANFA5 return -EventScript_1A73E0:: @ 81A73E0 +ProfOak_EventScript_RatePokedex:: @ 81A73E0 setvar VAR_0x8004, 31 special HelpSystem_BackupSomeVariable special Special_SetSomeVariable @@ -45,42 +45,42 @@ EventScript_1A73E0:: @ 81A73E0 copyvar VAR_0x8008, VAR_0x8005 copyvar VAR_0x8009, VAR_0x8006 copyvar VAR_0x800A, VAR_RESULT - getnumberstring 0, VAR_0x8008 - getnumberstring 1, VAR_0x8009 - msgbox Text_1A6CA3 - call_if_unset FLAG_OAKS_RATING_IS_VIA_PC, EventScript_1A746D - call EventScript_1A73B6 - compare VAR_0x800A, 0 - goto_if_eq EventScript_1A748F + getnumberstring 0, VAR_0x8008 @ Num Kanto Seen + getnumberstring 1, VAR_0x8009 @ Num Kanto Caught + msgbox Text_YouveSeenXAndOwnedYMons + call_if_unset FLAG_OAKS_RATING_IS_VIA_PC, ProfOak_EventScript_SetTextColor + call ProfOak_EventScript_ShowRatingMsg + compare VAR_0x800A, FALSE + goto_if_eq ProfOak_EventScript_EndRatePokedex @ National Dex not enabled setvar VAR_0x8004, 1 specialvar VAR_RESULT, Special_GetPokedexCount copyvar VAR_0x8008, VAR_0x8005 copyvar VAR_0x8009, VAR_0x8006 - getnumberstring 0, VAR_0x8008 - getnumberstring 1, VAR_0x8009 - msgbox Text_1A71AA + getnumberstring 0, VAR_0x8008 @ Num National Seen + getnumberstring 1, VAR_0x8009 @ Num National Caught + msgbox Text_AndNationalDexSeenXOwnedY specialvar VAR_RESULT, HasAllMons - compare VAR_RESULT, 0 - goto_if_eq EventScript_1A7470 - compare VAR_RESULT, 1 - goto_if_eq EventScript_1A747E + compare VAR_RESULT, FALSE + goto_if_eq ProfOak_EventScript_DexIncomplete + compare VAR_RESULT, TRUE + goto_if_eq ProfOak_EventScript_DexComplete end -EventScript_1A746D:: @ 81A746D +ProfOak_EventScript_SetTextColor:: @ 81A746D textcolor 0 return -EventScript_1A7470:: @ 81A7470 - msgbox Text_1A71EE - goto EventScript_1A748F +ProfOak_EventScript_DexIncomplete:: @ 81A7470 + msgbox Text_LookForwardToFilledNationalDex + goto ProfOak_EventScript_EndRatePokedex end -EventScript_1A747E:: @ 81A747E +ProfOak_EventScript_DexComplete:: @ 81A747E setflag FLAG_OAK_SAW_DEX_COMPLETION - msgbox Text_1A722F - goto EventScript_1A748F + msgbox Text_YouveCompletedDex + goto ProfOak_EventScript_EndRatePokedex end -EventScript_1A748F:: @ 81A748F +ProfOak_EventScript_EndRatePokedex:: @ 81A748F special HelpSystem_RestoreSomeVariable return diff --git a/data/scripts/pokemon_mansion.inc b/data/scripts/pokemon_mansion.inc new file mode 100644 index 000000000..cb0931600 --- /dev/null +++ b/data/scripts/pokemon_mansion.inc @@ -0,0 +1,207 @@ +EventScript_1A7AE2:: @ 81A7AE2 + msgbox Text_177460, MSGBOX_YESNO + compare VAR_RESULT, NO + goto_if_eq EventScript_1A7B70 + msgbox Text_17747B + goto_if_set FLAG_POKEMON_MANSION_SWITCH_STATE, EventScript_1A7B3B + setflag FLAG_POKEMON_MANSION_SWITCH_STATE + switch VAR_0x8004 + case 0, EventScript_1A7B7A + case 1, EventScript_1A7D3E + case 2, EventScript_1A7E72 + case 3, EventScript_1A7F4C + end + +EventScript_1A7B3B:: @ 81A7B3B + clearflag FLAG_POKEMON_MANSION_SWITCH_STATE + switch VAR_0x8004 + case 0, EventScript_1A7C5C + case 1, EventScript_1A7DD8 + case 2, EventScript_1A7EDF + case 3, EventScript_1A8025 + end + +EventScript_1A7B70:: @ 81A7B70 + msgbox Text_177489 + releaseall + end + +EventScript_1A7B7A:: @ 81A7B7A + setmetatile 22, 10, 645, 0 + setmetatile 23, 10, 644, 0 + setmetatile 24, 10, 644, 0 + setmetatile 22, 11, 645, 0 + setmetatile 23, 11, 644, 0 + setmetatile 24, 11, 644, 0 + setmetatile 27, 25, 645, 0 + setmetatile 28, 25, 644, 0 + setmetatile 29, 25, 644, 0 + setmetatile 27, 26, 645, 0 + setmetatile 28, 26, 644, 0 + setmetatile 29, 26, 644, 0 + setmetatile 32, 25, 645, 0 + setmetatile 33, 25, 644, 0 + setmetatile 34, 25, 644, 0 + setmetatile 32, 26, 645, 0 + setmetatile 33, 26, 644, 0 + setmetatile 34, 26, 644, 0 + setmetatile 31, 18, 760, 1 + setmetatile 32, 18, 761, 1 + setmetatile 33, 18, 762, 1 + setmetatile 31, 19, 768, 1 + setmetatile 32, 19, 769, 1 + setmetatile 33, 19, 770, 1 + setmetatile 5, 4, 845, 0 + return + +EventScript_1A7C5C:: @ 81A7C5C + setmetatile 22, 10, 760, 1 + setmetatile 23, 10, 761, 1 + setmetatile 24, 10, 762, 1 + setmetatile 22, 11, 768, 1 + setmetatile 23, 11, 769, 1 + setmetatile 24, 11, 770, 1 + setmetatile 27, 25, 760, 1 + setmetatile 28, 25, 761, 1 + setmetatile 29, 25, 762, 1 + setmetatile 27, 26, 768, 1 + setmetatile 28, 26, 769, 1 + setmetatile 29, 26, 770, 1 + setmetatile 32, 25, 760, 1 + setmetatile 33, 25, 761, 1 + setmetatile 34, 25, 762, 1 + setmetatile 32, 26, 768, 1 + setmetatile 33, 26, 769, 1 + setmetatile 34, 26, 770, 1 + setmetatile 31, 18, 645, 0 + setmetatile 32, 18, 644, 0 + setmetatile 33, 18, 644, 0 + setmetatile 31, 19, 645, 0 + setmetatile 32, 19, 644, 0 + setmetatile 33, 19, 644, 0 + setmetatile 5, 4, 788, 0 + return + +EventScript_1A7D3E:: @ 81A7D3E + setmetatile 24, 14, 645, 0 + setmetatile 25, 14, 644, 0 + setmetatile 26, 14, 644, 0 + setmetatile 24, 15, 645, 0 + setmetatile 25, 15, 644, 0 + setmetatile 26, 15, 644, 0 + setmetatile 10, 28, 677, 1 + setmetatile 10, 29, 685, 1 + setmetatile 10, 30, 645, 0 + setmetatile 10, 31, 644, 0 + setmetatile 10, 32, 693, 0 + setmetatile 12, 4, 848, 1 + setmetatile 12, 5, 856, 1 + setmetatile 12, 6, 864, 1 + setmetatile 12, 7, 872, 1 + setmetatile 12, 8, 880, 1 + setmetatile 2, 15, 845, 0 + return + +EventScript_1A7DD8:: @ 81A7DD8 + setmetatile 24, 14, 760, 1 + setmetatile 25, 14, 761, 1 + setmetatile 26, 14, 762, 1 + setmetatile 24, 15, 768, 1 + setmetatile 25, 15, 769, 1 + setmetatile 26, 15, 770, 1 + setmetatile 10, 28, 848, 1 + setmetatile 10, 29, 856, 1 + setmetatile 10, 30, 864, 1 + setmetatile 10, 31, 872, 1 + setmetatile 10, 32, 880, 1 + setmetatile 12, 4, 677, 1 + setmetatile 12, 5, 685, 1 + setmetatile 12, 6, 645, 0 + setmetatile 12, 7, 644, 0 + setmetatile 12, 8, 693, 0 + setmetatile 2, 15, 788, 0 + return + +EventScript_1A7E72:: @ 81A7E72 + setmetatile 17, 11, 645, 0 + setmetatile 18, 11, 644, 0 + setmetatile 19, 11, 644, 0 + setmetatile 17, 12, 645, 0 + setmetatile 18, 12, 644, 0 + setmetatile 19, 12, 644, 0 + setmetatile 21, 4, 848, 1 + setmetatile 21, 5, 856, 1 + setmetatile 21, 6, 864, 1 + setmetatile 21, 7, 872, 1 + setmetatile 21, 8, 880, 1 + setmetatile 12, 4, 845, 0 + return + +EventScript_1A7EDF:: @ 81A7EDF + setmetatile 17, 11, 760, 1 + setmetatile 18, 11, 761, 1 + setmetatile 19, 11, 762, 1 + setmetatile 17, 12, 768, 1 + setmetatile 18, 12, 769, 1 + setmetatile 19, 12, 770, 1 + setmetatile 21, 4, 677, 1 + setmetatile 21, 5, 685, 1 + setmetatile 21, 6, 645, 0 + setmetatile 21, 7, 644, 0 + setmetatile 21, 8, 693, 0 + setmetatile 12, 4, 788, 0 + return + +EventScript_1A7F4C:: @ 81A7F4C + setmetatile 33, 20, 760, 1 + setmetatile 34, 20, 761, 1 + setmetatile 35, 20, 762, 1 + setmetatile 33, 21, 852, 1 + setmetatile 34, 21, 853, 1 + setmetatile 35, 21, 854, 1 + setmetatile 16, 26, 848, 1 + setmetatile 16, 27, 856, 1 + setmetatile 16, 28, 866, 1 + setmetatile 16, 29, 874, 1 + setmetatile 16, 30, 882, 1 + setmetatile 12, 8, 677, 1 + setmetatile 12, 9, 685, 1 + setmetatile 12, 10, 647, 0 + setmetatile 12, 11, 646, 0 + setmetatile 12, 12, 688, 0 + setmetatile 20, 22, 647, 0 + setmetatile 21, 22, 646, 0 + setmetatile 22, 22, 646, 0 + setmetatile 20, 23, 647, 0 + setmetatile 21, 23, 646, 0 + setmetatile 22, 23, 646, 0 + setmetatile 24, 28, 847, 0 + setmetatile 27, 4, 847, 0 + return + +EventScript_1A8025:: @ 81A8025 + setmetatile 33, 20, 647, 0 + setmetatile 34, 20, 646, 0 + setmetatile 35, 20, 646, 0 + setmetatile 33, 21, 647, 0 + setmetatile 34, 21, 646, 0 + setmetatile 35, 21, 646, 0 + setmetatile 16, 26, 677, 1 + setmetatile 16, 27, 685, 1 + setmetatile 16, 28, 647, 0 + setmetatile 16, 29, 646, 0 + setmetatile 16, 30, 688, 0 + setmetatile 12, 8, 848, 1 + setmetatile 12, 9, 856, 1 + setmetatile 12, 10, 866, 1 + setmetatile 12, 11, 874, 1 + setmetatile 12, 12, 882, 1 + setmetatile 20, 22, 760, 1 + setmetatile 21, 22, 761, 1 + setmetatile 22, 22, 762, 1 + setmetatile 20, 23, 852, 1 + setmetatile 21, 23, 853, 1 + setmetatile 22, 23, 854, 1 + setmetatile 24, 28, 790, 0 + setmetatile 27, 4, 790, 0 + return diff --git a/data/scripts/repel.inc b/data/scripts/repel.inc index 1cc93c95d..db2ec60ec 100644 --- a/data/scripts/repel.inc +++ b/data/scripts/repel.inc @@ -1,6 +1,6 @@ EventScript_RepelWoreOff:: @ 81BFB65 - msgbox Text_1BFB6E, MSGBOX_SIGN + msgbox Text_RepelWoreOff, MSGBOX_SIGN end -Text_1BFB6E:: @ 81BFB6E +Text_RepelWoreOff:: @ 81BFB6E .string "REPEL's effect wore off…$" diff --git a/data/scripts/static_pokemon.inc b/data/scripts/static_pokemon.inc index 9b738ea19..5334688a3 100644 --- a/data/scripts/static_pokemon.inc +++ b/data/scripts/static_pokemon.inc @@ -1,23 +1,23 @@ -EventScript_1A922D:: @ 81A922D +EventScript_RemoveStaticMon:: @ 81A922D fadescreen FADE_TO_BLACK removeobject VAR_LAST_TALKED fadescreen FADE_FROM_BLACK release end -EventScript_1A9236:: @ 81A9236 +EventScript_MonFlewAway:: @ 81A9236 fadescreen FADE_TO_BLACK removeobject VAR_LAST_TALKED fadescreen FADE_FROM_BLACK getspeciesname 0, VAR_0x8004 - msgbox Text_1A63C4 + msgbox Text_MonFlewAway release end -EventScript_1A924B:: @ 81A924B - message Text_1853E8 +EventScript_AwakenSnorlax:: @ 81A924B + message Text_PlayedPokeFlute waitmessage playfanfare MUS_POKEFUE waitfanfare - msgbox Text_185354 + msgbox Text_SnorlaxWokeUp return diff --git a/data/scripts/std_msgbox.inc b/data/scripts/std_msgbox.inc index 4c79f638b..d1605976e 100644 --- a/data/scripts/std_msgbox.inc +++ b/data/scripts/std_msgbox.inc @@ -30,34 +30,34 @@ Std_MsgboxYesNo:: @ 81A4E5C Std_ReceivedItem:: @ 81A4E66 textcolor 3 compare VAR_0x8002, MUS_FANFA1 - call_if_eq EventScript_1A4EA2 + call_if_eq EventScript_ReceivedItemFanfare1 compare VAR_0x8002, MUS_FAN5 - call_if_eq EventScript_1A4EA6 + call_if_eq EventScript_ReceivedItemFanfare2 message 0x0 waitmessage waitfanfare compare VAR_0x8002, MUS_FANFA1 - call_if_eq EventScript_1A4EAA + call_if_eq EventScript_ReceivedItemWaitFanfare putitemaway VAR_0x8000, VAR_0x8001 call EventScript_1A6675 return -EventScript_1A4EA2:: @ 81A4EA2 +EventScript_ReceivedItemFanfare1:: @ 81A4EA2 playfanfare MUS_FANFA1 return -EventScript_1A4EA6:: @ 81A4EA6 +EventScript_ReceivedItemFanfare2:: @ 81A4EA6 playfanfare MUS_FAN5 return -EventScript_1A4EAA:: @ 81A4EAA +EventScript_ReceivedItemWaitFanfare:: @ 81A4EAA delay 50 return EventScript_UnusedReturn:: @ 81A4EAE return -EventScript_1A4EAF:: @ 81A4EAF +EventScript_AskSaveGame:: @ 81A4EAF special Field_AskSaveTheGame waitstate return diff --git a/data/scripts/surf.inc b/data/scripts/surf.inc index edc11e317..456cad9e9 100644 --- a/data/scripts/surf.inc +++ b/data/scripts/surf.inc @@ -8,17 +8,17 @@ EventScript_UseSurf:: @ 81A6AC8 getpartymonname 0, VAR_RESULT setfieldeffectarg 0, VAR_RESULT lockall - msgbox Text_1A556E, MSGBOX_YESNO + msgbox Text_WantToSurf, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq EventScript_UseSurfRelease - msgbox Text_1A55A5 + msgbox Text_UsedSurf dofieldeffect FLDEFF_USE_SURF EventScript_UseSurfRelease:@ 81A6B0B releaseall EventScript_UseSurfEnd: @ 81A6B0C end -gUnknown_81A6B0D:: @ 81A6B0D +EventScript_CurrentTooFast:: @ 81A6B0D lockall msgbox Text_CurrentTooFast releaseall -- cgit v1.2.3 From 388c40575de92923b576e37a97729c27f292b67f Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 10 Jan 2020 15:18:53 -0500 Subject: Sync Birth Island / Navel Rock scripts --- data/scripts/seagallop.inc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/seagallop.inc b/data/scripts/seagallop.inc index 75f0e4707..af0bd4156 100644 --- a/data/scripts/seagallop.inc +++ b/data/scripts/seagallop.inc @@ -7,8 +7,8 @@ EventScript_1A8EC5:: @ 81A8EC5 switch VAR_RESULT case 0, EventScript_1A8FF9 case 1, EventScript_1A9004 - case 2, EventScript_1A90F6 - case SCR_MENU_CANCEL, EventScript_1A90F6 + case 2, EventScript_CancelSail + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_1A8F12:: @ 81A8F12 @@ -17,8 +17,8 @@ EventScript_1A8F12:: @ 81A8F12 case 0, EventScript_1A8FE3 case 1, EventScript_1A8FF9 case 2, EventScript_1A9004 - case 3, EventScript_1A90F6 - case SCR_MENU_CANCEL, EventScript_1A90F6 + case 3, EventScript_CancelSail + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_1A8F54:: @ 81A8F54 @@ -30,8 +30,8 @@ EventScript_1A8F54:: @ 81A8F54 switch VAR_RESULT case 0, EventScript_1A8FEE case 1, EventScript_1A9004 - case 2, EventScript_1A90F6 - case SCR_MENU_CANCEL, EventScript_1A90F6 + case 2, EventScript_CancelSail + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_1A8FA1:: @ 81A8FA1 @@ -40,8 +40,8 @@ EventScript_1A8FA1:: @ 81A8FA1 case 0, EventScript_1A8FE3 case 1, EventScript_1A8FEE case 2, EventScript_1A9004 - case 3, EventScript_1A90F6 - case SCR_MENU_CANCEL, EventScript_1A90F6 + case 3, EventScript_CancelSail + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_1A8FE3:: @ 81A8FE3 @@ -73,8 +73,8 @@ EventScript_1A900F:: @ 81A900F switch VAR_RESULT case 0, EventScript_1A8FEE case 1, EventScript_1A8FF9 - case 2, EventScript_1A90F6 - case SCR_MENU_CANCEL, EventScript_1A90F6 + case 2, EventScript_CancelSail + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_1A905C:: @ 81A905C @@ -83,8 +83,8 @@ EventScript_1A905C:: @ 81A905C case 0, EventScript_1A8FE3 case 1, EventScript_1A8FEE case 2, EventScript_1A8FF9 - case 3, EventScript_1A90F6 - case SCR_MENU_CANCEL, EventScript_1A90F6 + case 3, EventScript_CancelSail + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_1A909E:: @ 81A909E @@ -118,7 +118,7 @@ EventScript_1A90DA:: @ 81A90DA waitstate end -EventScript_1A90F6:: @ 81A90F6 +EventScript_CancelSail:: @ 81A90F6 specialvar VAR_RESULT, sub_8147594 compare VAR_RESULT, 1 goto_if_eq EventScript_1A9108 @@ -143,13 +143,13 @@ EventScript_1A911E:: @ 81A911E waitstate specialvar VAR_0x8006, Special_GetSelectedSeagallopDestination switch VAR_0x8006 - case SEAGALLOP_VERMILION_CITY, EventScript_1A91D5 + case SEAGALLOP_VERMILION_CITY, EventScript_SailToVermilionCity case SEAGALLOP_ONE_ISLAND, EventScript_1A91E0 case SEAGALLOP_TWO_ISLAND, EventScript_1A91EB case SEAGALLOP_THREE_ISLAND, EventScript_1A91F6 case SEAGALLOP_FOUR_ISLAND, EventScript_1A9201 case SEAGALLOP_MORE, EventScript_1A917F - case SCR_MENU_CANCEL, EventScript_1A90F6 + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_1A917F:: @ 81A917F @@ -163,10 +163,10 @@ EventScript_1A917F:: @ 81A917F case SEAGALLOP_SIX_ISLAND, EventScript_1A9217 case SEAGALLOP_SEVEN_ISLAND, EventScript_1A9222 case SEAGALLOP_MORE, EventScript_1A911E - case SCR_MENU_CANCEL, EventScript_1A90F6 + case SCR_MENU_CANCEL, EventScript_CancelSail end -EventScript_1A91D5:: @ 81A91D5 +EventScript_SailToVermilionCity:: @ 81A91D5 setvar VAR_0x8006, SEAGALLOP_VERMILION_CITY goto EventScript_1A909E end -- cgit v1.2.3 From a5375776714b126dbe478a4f535392373f3ba9f0 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 10 Jan 2020 16:21:36 -0500 Subject: Sync obtain item --- data/scripts/bag_full.inc | 21 ++++++ data/scripts/cable_club.inc | 4 +- data/scripts/obtain_item.inc | 168 +++++++++++++++++++++---------------------- data/scripts/seagallop.inc | 6 +- 4 files changed, 110 insertions(+), 89 deletions(-) create mode 100644 data/scripts/bag_full.inc (limited to 'data/scripts') diff --git a/data/scripts/bag_full.inc b/data/scripts/bag_full.inc new file mode 100644 index 000000000..4454b326a --- /dev/null +++ b/data/scripts/bag_full.inc @@ -0,0 +1,21 @@ +EventScript_BagIsFull:: @ 81A6BF9 + textcolor 3 + msgbox Text_TooBadBagFull + release + end + +@ Unused +EventScript_BagIsFullRet:: @ 81A6C05 + msgbox Text_TooBadBagFull + return + +@ Unused +EventScript_NoRoomForAnotherDecor:: @ 81A6C0E + msgbox Text_NoRoomForAnotherDecor + release + end + +@ Unused +EventScript_NoRoomForAnotherDecorRet:: @ 81A6C18 + msgbox Text_NoRoomForAnotherDecor + return diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index deb4c66bf..4d8ea5f1c 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -870,14 +870,14 @@ EventScript_1BBB1E:: @ 81BBB1E EventScript_1BBB44:: @ 81BBB44 msgbox gUnknown_81BCBC3 - goto EventScript_1A77B0 + goto EventScript_SetResultFalse EventScript_1BBB51:: @ 81BBB51 end EventScript_1BBB52:: @ 81BBB52 msgbox gUnknown_81BCC00 - goto EventScript_1A77B0 + goto EventScript_SetResultFalse EventScript_1BBB5F:: @ 81BBB5F end diff --git a/data/scripts/obtain_item.inc b/data/scripts/obtain_item.inc index d3ca91f19..71a0b7e21 100644 --- a/data/scripts/obtain_item.inc +++ b/data/scripts/obtain_item.inc @@ -11,60 +11,60 @@ Std_ObtainItem:: @ 81A667B textcolor 3 additem VAR_0x8000, VAR_0x8001 copyvar VAR_0x8007, VAR_RESULT - call EventScript_1A6697 + call EventScript_ObtainItemMessage copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS return -EventScript_1A6697:: @ 81A6697 +EventScript_ObtainItemMessage:: @ 81A6697 bufferitemnameplural 1, VAR_0x8000, VAR_0x8001 checkitemtype VAR_0x8000 - call EventScript_1A66BC - compare VAR_0x8007, 1 - call_if_eq EventScript_1A6749 - compare VAR_0x8007, 0 - call_if_eq EventScript_1A675E + call EventScript_BufferPocketNameTryFanfare + compare VAR_0x8007, TRUE + call_if_eq EventScript_ObtainedItem + compare VAR_0x8007, FALSE + call_if_eq EventScript_NoRoomForItem return -EventScript_1A66BC:: @ 81A66BC +EventScript_BufferPocketNameTryFanfare:: @ 81A66BC switch VAR_RESULT - case POCKET_ITEMS, EventScript_1A66F9 - case POCKET_KEY_ITEMS, EventScript_1A6709 - case POCKET_POKE_BALLS, EventScript_1A6719 - case POCKET_TM_CASE, EventScript_1A6729 - case POCKET_BERRY_POUCH, EventScript_1A6739 + case POCKET_ITEMS, EventScript_BufferItemsPocket + case POCKET_KEY_ITEMS, EventScript_BufferKeyItemsPocket + case POCKET_POKE_BALLS, EventScript_BufferPokeBallsPocket + case POCKET_TM_CASE, EventScript_BufferTMCase + case POCKET_BERRY_POUCH, EventScript_BufferBerryPouch end -EventScript_1A66F9:: @ 81A66F9 +EventScript_BufferItemsPocket:: @ 81A66F9 getstdstring 2, 24 - compare VAR_0x8007, 1 - call_if_eq EventScript_1A6764 + compare VAR_0x8007, TRUE + call_if_eq EventScript_PlayFanfareObtainedItem return -EventScript_1A6709:: @ 81A6709 +EventScript_BufferKeyItemsPocket:: @ 81A6709 getstdstring 2, 25 - compare VAR_0x8007, 1 - call_if_eq EventScript_1A6764 + compare VAR_0x8007, TRUE + call_if_eq EventScript_PlayFanfareObtainedItem return -EventScript_1A6719:: @ 81A6719 +EventScript_BufferPokeBallsPocket:: @ 81A6719 getstdstring 2, 26 - compare VAR_0x8007, 1 - call_if_eq EventScript_1A6764 + compare VAR_0x8007, TRUE + call_if_eq EventScript_PlayFanfareObtainedItem return -EventScript_1A6729:: @ 81A6729 +EventScript_BufferTMCase:: @ 81A6729 getstdstring 2, 27 - compare VAR_0x8007, 1 - call_if_eq EventScript_1A6768 + compare VAR_0x8007, TRUE + call_if_eq EventScript_PlayFanfareObtainedTMHM return -EventScript_1A6739:: @ 81A6739 +EventScript_BufferBerryPouch:: @ 81A6739 getstdstring 2, 28 - compare VAR_0x8007, 1 - call_if_eq EventScript_1A6764 + compare VAR_0x8007, TRUE + call_if_eq EventScript_PlayFanfareObtainedItem return -EventScript_1A6749:: @ 81A6749 +EventScript_ObtainedItem:: @ 81A6749 message Text_ObtainedTheX waitfanfare waitmessage @@ -72,43 +72,43 @@ EventScript_1A6749:: @ 81A6749 setvar VAR_RESULT, 1 return -EventScript_1A675E:: @ 81A675E - setvar VAR_RESULT, 0 +EventScript_NoRoomForItem:: @ 81A675E + setvar VAR_RESULT, FALSE return -EventScript_1A6764:: @ 81A6764 +EventScript_PlayFanfareObtainedItem:: @ 81A6764 playfanfare MUS_FANFA1 return -EventScript_1A6768:: @ 81A6768 +EventScript_PlayFanfareObtainedTMHM:: @ 81A6768 playfanfare MUS_FANFA1 return Std_ObtainDecoration:: @ 81A676C adddecor VAR_0x8000 copyvar VAR_0x8007, VAR_RESULT - call EventScript_1A677A + call EventScript_ObtainDecorMessage return -EventScript_1A677A:: @ 81A677A +EventScript_ObtainDecorMessage:: @ 81A677A getdecorname 1, VAR_0x8000 - compare VAR_0x8007, 1 - call_if_eq EventScript_1A6795 - compare VAR_0x8007, 0 - call_if_eq EventScript_1A67AD + compare VAR_0x8007, TRUE + call_if_eq EventScript_ObtainedDecor + compare VAR_0x8007, FALSE + call_if_eq EventScript_NoRoomForDecor return -EventScript_1A6795:: @ 81A6795 +EventScript_ObtainedDecor:: @ 81A6795 playfanfare MUS_FANFA4 - message Text_1A52F0 + message Text_ObtainedTheDecor waitfanfare waitmessage - msgbox gUnknown_81A532F - setvar VAR_RESULT, 1 + msgbox Text_DecorTransferredToPC + setvar VAR_RESULT, TRUE return -EventScript_1A67AD:: @ 81A67AD - setvar VAR_RESULT, 0 +EventScript_NoRoomForDecor:: @ 81A67AD + setvar VAR_RESULT, FALSE return Std_FindItem:: @ 81A67B3 @@ -121,68 +121,68 @@ Std_FindItem:: @ 81A67B3 copyvar VAR_0x8007, VAR_RESULT getitemname 1, VAR_0x8000 checkitemtype VAR_0x8000 - call EventScript_1A66BC - compare VAR_0x8007, 1 - call_if_eq EventScript_1A67EE - compare VAR_0x8007, 0 - call_if_eq EventScript_1A682D + call EventScript_BufferPocketNameTryFanfare + compare VAR_0x8007, TRUE + call_if_eq EventScript_PickUpItem + compare VAR_0x8007, FALSE + call_if_eq EventScript_NoRoomToPickUpItem release return -EventScript_1A67EE:: @ 81A67EE +EventScript_PickUpItem:: @ 81A67EE removeobject VAR_LAST_TALKED additem VAR_0x8004, VAR_0x8005 specialvar VAR_RESULT, Special_ItemIsTM_GetMoveName copyvar VAR_0x8008, VAR_RESULT - compare VAR_0x8008, 1 - call_if_eq EventScript_1A6821 - compare VAR_0x8008, 0 - call_if_eq EventScript_1A6827 + compare VAR_0x8008, TRUE + call_if_eq EventScript_FoundTMHM + compare VAR_0x8008, FALSE + call_if_eq EventScript_FoundItem waitfanfare waitmessage msgbox Text_PutItemAway return -EventScript_1A6821:: @ 81A6821 - message Text_1A63E8 +EventScript_FoundTMHM:: @ 81A6821 + message Text_FoundTMHMContainsMove return -EventScript_1A6827:: @ 81A6827 +EventScript_FoundItem:: @ 81A6827 message Text_FoundOneItem return -EventScript_1A682D:: @ 81A682D +EventScript_NoRoomToPickUpItem:: @ 81A682D msgbox Text_ObtainedTheX msgbox Text_TooBadBagFull - setvar VAR_RESULT, 0 + setvar VAR_RESULT, FALSE return -EventScript_PickUpHiddenItem:: @ 81A6843 +EventScript_FoundHiddenItem:: @ 81A6843 lockall textcolor 3 waitse compare VAR_0x8005, 0 - goto_if_eq EventScript_PickUpHiddenCoins - call EventScript_GiveItem - compare VAR_0x8007, 1 - goto_if_eq EventScript_ItemInPocketMessage - compare VAR_0x8007, 0 - goto_if_eq EventScript_BagIsFullMessage + goto_if_eq EventScript_TryPickUpHiddenCoins + call EventScript_TryPickUpHiddenItem + compare VAR_0x8007, TRUE + goto_if_eq EventScript_PickedUpHiddenItem + compare VAR_0x8007, FALSE + goto_if_eq EventScript_NoRoomForHiddenItem end -EventScript_GiveItem:: +EventScript_TryPickUpHiddenItem:: additem VAR_0x8005, VAR_0x8006 copyvar VAR_0x8007, VAR_RESULT getitemname 1, VAR_0x8005 checkitemtype VAR_0x8005 - call EventScript_1A66BC + call EventScript_BufferPocketNameTryFanfare return -EventScript_ItemInPocketMessage:: +EventScript_PickedUpHiddenItem:: compare VAR_0x8006, 1 - call_if_eq EventScript_FoundSingleItemMessage + call_if_eq EventScript_FoundSingleItem compare VAR_0x8006, 1 - call_if_ne EventScript_FoundMultipleItemsMessage + call_if_ne EventScript_FoundMultipleItems waitfanfare waitmessage msgbox Text_PutItemAway @@ -190,37 +190,37 @@ EventScript_ItemInPocketMessage:: releaseall end -EventScript_FoundSingleItemMessage:: +EventScript_FoundSingleItem:: message Text_FoundOneItem return -EventScript_FoundCoinsMessage:: +EventScript_FoundCoins:: getnumberstring 0, VAR_0x8006 message Text_FoundXCoins return -EventScript_FoundMultipleItemsMessage:: +EventScript_FoundMultipleItems:: getnumberstring 0, VAR_0x8006 message Text_FoundXItems return -EventScript_BagIsFullMessage:: +EventScript_NoRoomForHiddenItem:: msgbox Text_FoundOneItem msgbox Text_TooBadBagFull setvar VAR_RESULT, 0 releaseall end -EventScript_PickUpHiddenCoins:: - goto_if_unset FLAG_GOT_COIN_CASE, EventScript_HiddenCoinsButNoCoinCase +EventScript_TryPickUpHiddenCoins:: + goto_if_unset FLAG_GOT_COIN_CASE, EventScript_NoCaseForHiddenCoins checkcoins VAR_RESULT specialvar VAR_RESULT, Special_CheckAddCoins - compare VAR_RESULT, 0 - goto_if_eq EventScript_HiddenCoinsButTheCoinCaseIsFull + compare VAR_RESULT, FALSE + goto_if_eq EventScript_HiddenCoinsButCaseIsFull givecoins VAR_0x8006 getstdstring 1, 0x17 - call EventScript_1A6764 - call EventScript_FoundCoinsMessage + call EventScript_PlayFanfareObtainedItem + call EventScript_FoundCoins waitfanfare waitmessage msgbox Text_PutCoinsAwayInCoinCase @@ -228,7 +228,7 @@ EventScript_PickUpHiddenCoins:: releaseall end -EventScript_HiddenCoinsButTheCoinCaseIsFull:: +EventScript_HiddenCoinsButCaseIsFull:: getnumberstring 0, VAR_0x8006 getstdstring 1, 0x17 msgbox Text_FoundXCoins @@ -237,7 +237,7 @@ EventScript_HiddenCoinsButTheCoinCaseIsFull:: releaseall end -EventScript_HiddenCoinsButNoCoinCase:: +EventScript_NoCaseForHiddenCoins:: getnumberstring 0, VAR_0x8006 getstdstring 1, 0x17 msgbox Text_FoundXCoins diff --git a/data/scripts/seagallop.inc b/data/scripts/seagallop.inc index af0bd4156..c14cda778 100644 --- a/data/scripts/seagallop.inc +++ b/data/scripts/seagallop.inc @@ -149,7 +149,7 @@ EventScript_1A911E:: @ 81A911E case SEAGALLOP_THREE_ISLAND, EventScript_1A91F6 case SEAGALLOP_FOUR_ISLAND, EventScript_1A9201 case SEAGALLOP_MORE, EventScript_1A917F - case SCR_MENU_CANCEL, EventScript_CancelSail + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_1A917F:: @ 81A917F @@ -162,8 +162,8 @@ EventScript_1A917F:: @ 81A917F case SEAGALLOP_FIVE_ISLAND, EventScript_1A920C case SEAGALLOP_SIX_ISLAND, EventScript_1A9217 case SEAGALLOP_SEVEN_ISLAND, EventScript_1A9222 - case SEAGALLOP_MORE, EventScript_1A911E - case SCR_MENU_CANCEL, EventScript_CancelSail + case SEAGALLOP_MORE, EventScript_1A911E + case SCR_MENU_CANCEL, EventScript_CancelSail end EventScript_SailToVermilionCity:: @ 81A91D5 -- cgit v1.2.3 From 0bb7f18b8e609f76a9021420470737bbd16cc2bd Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 10 Jan 2020 16:55:58 -0500 Subject: Sync Cable Club scripts --- data/scripts/cable_club.inc | 1202 +++++++++++++++++------------------- data/scripts/pkmn_center_nurse.inc | 2 +- data/scripts/trainer_battle.inc | 8 +- data/scripts/trainer_tower.inc | 2 +- 4 files changed, 583 insertions(+), 631 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index 4d8ea5f1c..abbd37e06 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -118,17 +118,17 @@ CableClub_EventScript_CloseLinkAndExitLinkRoom:: @ 81BB315 textcolor 1 compare VAR_0x8007, 0 goto_if_eq CableClub_EventScript_PlayerExitLinkRoom - applymovement VAR_0x8007, Movement_1BB88F + applymovement VAR_0x8007, Movement_AttendantFaceLeft waitmovement 0 - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB891 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerExitLinkRoom waitmovement 0 - applymovement VAR_0x8007, Movement_1BB88B + applymovement VAR_0x8007, Movement_AttendantFaceDown waitmovement 0 return CableClub_EventScript_ExitTradeCenter:: @ 81BB34F lockall - call EventScript_1BB367 + call CableClub_EventScript_PlayerExitTradeCenter call CableClub_EventScript_CloseDirectCornerBarrier special DrawWholeMapView playse SE_TK_KASYA @@ -136,7 +136,7 @@ CableClub_EventScript_ExitTradeCenter:: @ 81BB34F releaseall end -EventScript_1BB367:: @ 81BB367 +CableClub_EventScript_PlayerExitTradeCenter:: @ 81BB367 special CloseLink special HelpSystem_Enable special sub_811390C @@ -144,16 +144,16 @@ EventScript_1BB367:: @ 81BB367 textcolor 1 compare VAR_0x8007, 0 goto_if_eq CableClub_EventScript_PlayerExitLinkRoom - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB8A0 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerFaceAttendantRight waitmovement 0 - applymovement VAR_0x8007, Movement_1BB88F + applymovement VAR_0x8007, Movement_AttendantFaceLeft waitmovement 0 - call EventScript_1BB3E6 + call CableClub_EventScript_TrainerCardDataOverwritten return CableClub_EventScript_ExitUnionRoom:: @ 81BB39C lockall - call EventScript_1BB3B4 + call CableClub_EventScript_PlayerExitUnionRoom call CableClub_EventScript_CloseUnionRoomBarrier special DrawWholeMapView playse SE_TK_KASYA @@ -161,34 +161,34 @@ CableClub_EventScript_ExitUnionRoom:: @ 81BB39C releaseall end -EventScript_1BB3B4:: @ 81BB3B4 +CableClub_EventScript_PlayerExitUnionRoom:: @ 81BB3B4 special HelpSystem_Enable special sub_811390C setvar VAR_CABLE_CLUB_STATE, 0 textcolor 1 compare VAR_0x8007, 0 goto_if_eq CableClub_EventScript_PlayerExitLinkRoom - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB8A0 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerFaceAttendantRight waitmovement 0 - applymovement VAR_0x8007, Movement_1BB88F + applymovement VAR_0x8007, Movement_AttendantFaceLeft waitmovement 0 - call EventScript_1BB3E6 + call CableClub_EventScript_TrainerCardDataOverwritten return -EventScript_1BB3E6:: @ 81BB3E6 - message Text_1BC918 +CableClub_EventScript_TrainerCardDataOverwritten:: @ 81BB3E6 + message CableClub_Text_TrainerCardDataOverwritten waitmessage playse SE_PIN - message Text_1BC943 + message CableClub_Text_HopeToSeeYouAgain waitmessage - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB891 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerExitLinkRoom waitmovement 0 - applymovement VAR_0x8007, Movement_1BB88B + applymovement VAR_0x8007, Movement_AttendantFaceDown waitmovement 0 return CableClub_EventScript_PlayerExitLinkRoom:: @ 81BB40A - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB891 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerExitLinkRoom waitmovement 0 return @@ -197,413 +197,408 @@ CableClub_EventScript_Tutorial:: @ 81BB415 textcolor 1 applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp waitmovement 0 - msgbox gUnknown_81BD898 + msgbox CableClub_Text_FirstTimeRightThisWay closemessage - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB447 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachCounter waitmovement 0 delay 30 - msgbox gUnknown_81BD966 + msgbox CableClub_Text_ExplainWirelessClubFirstTime setvar VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 2 releaseall end -Movement_1BB447:: @ 81BB447 +Movement_PlayerApproachCounter: @ 81BB447 walk_up walk_up step_end -EventScript_1BB44A:: @ 81BB44A - message gUnknown_81BC311 +CableClub_EventScript_WelcomeToCableClub:: @ 81BB44A + message CableClub_Text_WelcomeWhichCableClubService waitmessage delay 15 - goto EventScript_1BB467 + goto CableClub_EventScript_SelectCableClubRoom end -EventScript_1BB459:: @ 81BB459 - msgbox gUnknown_81BC35E - goto EventScript_1BB467 +CableClub_EventScript_UnusedWelcomeToCableClub:: @ 81BB459 + msgbox CableClub_Text_WhichService + goto CableClub_EventScript_SelectCableClubRoom end -EventScript_1BB467:: @ 81BB467 +CableClub_EventScript_SelectCableClubRoom:: @ 81BB467 setvar VAR_0x8004, 0 multichoice 0, 0, MULTICHOICE_TRADE_CENTER_COLOSSEUM, FALSE switch VAR_RESULT - case 0, EventScript_1BB6AB - case 1, EventScript_1BB4A3 - case 2, EventScript_1BB82F - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_TradeCenter + case 1, CableClub_EventScript_Colosseum + case 2, CableClub_EventScript_AbortLink + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BB4A3:: @ 81BB4A3 +CableClub_EventScript_Colosseum:: @ 81BB4A3 copyvar VAR_0x8007, VAR_LAST_TALKED - goto EventScript_1BB4AE - -EventScript_1BB4AD:: @ 81BB4AD + goto CableClub_EventScript_SelectBattleMode end -EventScript_1BB4AE:: @ 81BB4AE - message Text_1BD338 +CableClub_EventScript_SelectBattleMode:: @ 81BB4AE + message CableClub_Text_PlayWhichBattleMode waitmessage multichoice 0, 0, MULTICHOICE_SINGLE_DOUBLE_MULTI_INFO_EXIT, FALSE switch VAR_RESULT - case 0, EventScript_1BB50F - case 1, EventScript_1BB51A - case 2, EventScript_1BB541 - case 3, EventScript_1BB501 - case 4, EventScript_1BB82F - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_SingleBattleMode + case 1, CableClub_EventScript_DoubleBattleMode + case 2, CableClub_EventScript_MultiBattleMode + case 3, CableClub_EventScript_BattleModeInfo + case 4, CableClub_EventScript_AbortLink + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BB501:: @ 81BB501 - msgbox gUnknown_81BD390 - goto EventScript_1BB4AE +CableClub_EventScript_BattleModeInfo:: @ 81BB501 + msgbox CableClub_Text_ExplainBattleModes + goto CableClub_EventScript_SelectBattleMode end -EventScript_1BB50F:: @ 81BB50F - setvar VAR_0x8004, 1 - goto EventScript_1BB54C +CableClub_EventScript_SingleBattleMode:: @ 81BB50F + setvar VAR_0x8004, USING_SINGLE_BATTLE + goto CableClub_EventScript_TryEnterColosseum end -EventScript_1BB51A:: @ 81BB51A - special CheckForAlivePartyMons - compare VAR_RESULT, 0 - goto_if_ne EventScript_1BB533 - setvar VAR_0x8004, 2 - goto EventScript_1BB54C +CableClub_EventScript_DoubleBattleMode:: @ 81BB51A + special HasEnoughMonsForDoubleBattle + compare VAR_RESULT, PLAYER_HAS_TWO_USABLE_MONS + goto_if_ne CableClub_EventScript_NeedTwoMonsForDoubleBattle + setvar VAR_0x8004, USING_DOUBLE_BATTLE + goto CableClub_EventScript_TryEnterColosseum end -EventScript_1BB533:: @ 81BB533 - msgbox gUnknown_81BC409 - goto EventScript_1BB4AE +CableClub_EventScript_NeedTwoMonsForDoubleBattle:: @ 81BB533 + msgbox CableClub_Text_NeedTwoMonsForDoubleBattle + goto CableClub_EventScript_SelectBattleMode end -EventScript_1BB541:: @ 81BB541 - setvar VAR_0x8004, 5 - goto EventScript_1BB54C +CableClub_EventScript_MultiBattleMode:: @ 81BB541 + setvar VAR_0x8004, USING_MULTI_BATTLE + goto CableClub_EventScript_TryEnterColosseum end -EventScript_1BB54C:: @ 81BB54C +CableClub_EventScript_TryEnterColosseum:: @ 81BB54C call EventScript_AskSaveGame compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB82F - message gUnknown_81BC4AC + goto_if_eq CableClub_EventScript_AbortLink + message CableClub_Text_PleaseWaitBCancel waitmessage special HelpSystem_Disable textcolor 3 - special sub_8081064 + special TryBattleLinkup waitstate call EventScript_1A6675 compare VAR_RESULT, 1 - goto_if_eq EventScript_1BB5B3 + goto_if_eq CableClub_EventScript_EnterColosseum compare VAR_RESULT, 2 - goto_if_eq EventScript_1BB80F + goto_if_eq CableClub_EventScript_AbortLinkSomeoneNotReady compare VAR_RESULT, 3 - goto_if_eq EventScript_1BB81F + goto_if_eq CableClub_EventScript_AbortLinkDifferentSelections compare VAR_RESULT, 4 - goto_if_eq EventScript_1BB63C + goto_if_eq CableClub_EventScript_AbortLinkIncorrectNumberOfBattlers compare VAR_RESULT, 5 - goto_if_eq EventScript_1BB82F + goto_if_eq CableClub_EventScript_AbortLink compare VAR_RESULT, 6 - goto_if_eq EventScript_1BB7FF + goto_if_eq CableClub_EventScript_AbortLinkConnectionError end -EventScript_1BB5B3:: @ 81BB5B3 - special sp000_heal_pokemon +CableClub_EventScript_EnterColosseum:: @ 81BB5B3 + special HealPlayerParty special SavePlayerParty special LoadPlayerBag copyvar VAR_CABLE_CLUB_STATE, VAR_0x8004 - messageautoscroll Text_1BC590 + messageautoscroll CableClub_Text_PleaseEnter waitmessage call CableClub_EventScript_OpenDirectCornerBarrier special DrawWholeMapView playse SE_TK_KASYA delay 60 - applymovement VAR_LAST_TALKED, Movement_1BB88F + applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft waitmovement 0 closemessage - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB898 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomLeft waitmovement 0 opendoor 9, 1 waitdooranim - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB89C + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterLinkRoom waitmovement 0 - hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + hideobject OBJ_EVENT_ID_PLAYER, 0 closedoor 9, 1 waitdooranim release - compare VAR_0x8004, 5 - goto_if_eq EventScript_1BB62C + compare VAR_0x8004, USING_MULTI_BATTLE + goto_if_eq CableClub_EventScript_WarpTo4PColosseum special SetCableClubWarp - warp MAP_UNKNOWN_MAP_00_00, 255, 6, 8 + warp MAP_BATTLE_COLOSSEUM_2P, 255, 6, 8 special DoCableClubWarp waitstate end -EventScript_1BB621:: @ 81BB621 - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB894 +@ Unused +CableClub_EventScript_PlayerApproachLinkRoomRight:: @ 81BB621 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomRight waitmovement 0 return -EventScript_1BB62C:: @ 81BB62C +CableClub_EventScript_WarpTo4PColosseum:: @ 81BB62C special SetCableClubWarp - warp MAP_UNKNOWN_MAP_00_03, 255, 5, 8 + warp MAP_BATTLE_COLOSSEUM_4P, 255, 5, 8 special DoCableClubWarp waitstate end -EventScript_1BB63C:: @ 81BB63C +CableClub_EventScript_AbortLinkIncorrectNumberOfBattlers:: @ 81BB63C switch VAR_0x8004 - case 1, EventScript_1BB68A - case 2, EventScript_1BB679 - case 5, EventScript_1BB668 - goto EventScript_1BB857 - -EventScript_1BB667:: @ 81BB667 + case USING_SINGLE_BATTLE, CableClub_EventScript_AbortLinkWrongNumberForSingleBattle + case USING_DOUBLE_BATTLE, CableClub_EventScript_AbortLinkWrongNumberForDoubleBattle + case USING_MULTI_BATTLE, CableClub_EventScript_AbortLinkNeedFourPlayers + goto CableClub_EventScript_AbortLinkIncorrectNumberOfParticipants end -EventScript_1BB668:: @ 81BB668 +CableClub_EventScript_AbortLinkNeedFourPlayers:: @ 81BB668 special CloseLink - msgbox gUnknown_81BC736 - goto EventScript_1BB69B - -EventScript_1BB678:: @ 81BB678 + msgbox CableClub_Text_NeedFourPlayers + goto CableClub_EventScript_ConfirmNumberAndRestart end -EventScript_1BB679:: @ 81BB679 +CableClub_EventScript_AbortLinkWrongNumberForDoubleBattle:: @ 81BB679 special CloseLink - msgbox gUnknown_81BC700 - goto EventScript_1BB69B - -EventScript_1BB689:: @ 81BB689 + msgbox CableClub_Text_CantDoubleBattleWithXPlayers + goto CableClub_EventScript_ConfirmNumberAndRestart end -EventScript_1BB68A:: @ 81BB68A +CableClub_EventScript_AbortLinkWrongNumberForSingleBattle:: @ 81BB68A special CloseLink - msgbox gUnknown_81BC6CA - goto EventScript_1BB69B - -EventScript_1BB69A:: @ 81BB69A + msgbox CableClub_Text_CantSingleBattleWithXPlayers + goto CableClub_EventScript_ConfirmNumberAndRestart end -EventScript_1BB69B:: @ 81BB69B - special CloseLink +CableClub_EventScript_ConfirmNumberAndRestart:: @ 81BB69B + special CloseLink @ Redundant special HelpSystem_Enable - msgbox gUnknown_81BC76B + msgbox CableClub_Text_PleaseConfirmNumberAndRestart release end -EventScript_1BB6AB:: @ 81BB6AB +CableClub_EventScript_TradeCenter:: @ 81BB6AB copyvar VAR_0x8007, VAR_LAST_TALKED - call EventScript_1BB79C + call CableClub_EventScript_CheckPartyTradeRequirements compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB82F + goto_if_eq CableClub_EventScript_AbortLink call EventScript_AskSaveGame compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB82F - message gUnknown_81BC4AC + goto_if_eq CableClub_EventScript_AbortLink + message CableClub_Text_PleaseWaitBCancel waitmessage special HelpSystem_Disable textcolor 3 - special sub_80810CC + special TryTradeLinkup waitstate call EventScript_1A6675 compare VAR_RESULT, 1 - goto_if_eq EventScript_1BB73D + goto_if_eq CableClub_EventScript_EnterTradeCenter compare VAR_RESULT, 2 - goto_if_eq EventScript_1BB80F + goto_if_eq CableClub_EventScript_AbortLinkSomeoneNotReady compare VAR_RESULT, 3 - goto_if_eq EventScript_1BB81F + goto_if_eq CableClub_EventScript_AbortLinkDifferentSelections compare VAR_RESULT, 4 - goto_if_eq EventScript_1BB857 + goto_if_eq CableClub_EventScript_AbortLinkIncorrectNumberOfParticipants compare VAR_RESULT, 5 - goto_if_eq EventScript_1BB82F + goto_if_eq CableClub_EventScript_AbortLink compare VAR_RESULT, 6 - goto_if_eq EventScript_1BB7FF + goto_if_eq CableClub_EventScript_AbortLinkConnectionError compare VAR_RESULT, 7 - goto_if_eq EventScript_1BB7DF + goto_if_eq CableClub_EventScript_AbortLinkPlayerNotReady compare VAR_RESULT, 9 - goto_if_eq EventScript_1BB7EF + goto_if_eq CableClub_EventScript_AbortLinkOtherTrainerNotReady end -EventScript_1BB73D:: @ 81BB73D - setvar VAR_0x8004, 3 +CableClub_EventScript_EnterTradeCenter:: @ 81BB73D + setvar VAR_0x8004, USING_TRADE_CENTER copyvar VAR_CABLE_CLUB_STATE, VAR_0x8004 - messageautoscroll Text_1BC590 + messageautoscroll CableClub_Text_PleaseEnter waitmessage call CableClub_EventScript_OpenDirectCornerBarrier special DrawWholeMapView playse SE_TK_KASYA delay 60 - applymovement VAR_LAST_TALKED, Movement_1BB88F + applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft waitmovement 0 closemessage - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB898 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomLeft waitmovement 0 opendoor 9, 1 waitdooranim - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB89C + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterLinkRoom waitmovement 0 - hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + hideobject OBJ_EVENT_ID_PLAYER, 0 closedoor 9, 1 waitdooranim release special SetCableClubWarp - setwarp MAP_UNKNOWN_MAP_00_01, 255, 5, 8 + setwarp MAP_TRADE_CENTER, 255, 5, 8 special DoCableClubWarp waitstate end -EventScript_1BB79C:: @ 81BB79C +CableClub_EventScript_CheckPartyTradeRequirements:: @ 81BB79C specialvar VAR_RESULT, CalculatePlayerPartyCount compare VAR_RESULT, 2 - goto_if_lt EventScript_1BB7C2 + goto_if_lt CableClub_EventScript_NeedTwoMonsToTrade specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty - compare VAR_RESULT, 1 - goto_if_eq EventScript_1BB7D0 - setvar VAR_RESULT, 1 + compare VAR_RESULT, TRUE + goto_if_eq CableClub_EventScript_CantTradeEnigmaBerry + setvar VAR_RESULT, TRUE return -EventScript_1BB7C2:: @ 81BB7C2 - msgbox gUnknown_81BC442 - setvar VAR_RESULT, 0 +CableClub_EventScript_NeedTwoMonsToTrade:: @ 81BB7C2 + msgbox CableClub_Text_NeedTwoMonsToTrade + setvar VAR_RESULT, FALSE return -EventScript_1BB7D0:: @ 81BB7D0 - msgbox gUnknown_81BC47C - setvar VAR_RESULT, 0 +CableClub_EventScript_CantTradeEnigmaBerry:: @ 81BB7D0 + msgbox CableClub_Text_CantTradeEnigmaBerry + setvar VAR_RESULT, FALSE return -EventScript_1BB7DE:: @ 81BB7DE +@ Record Corner is nopped in FRLG +CableClub_EventScript_RecordCorner:: @ 81BB7DE end -EventScript_1BB7DF:: @ 81BB7DF +CableClub_EventScript_AbortLinkPlayerNotReady:: @ 81BB7DF special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BC95C + msgbox CableClub_Text_NotSetUpForFarAwayRegion release end -EventScript_1BB7EF:: @ 81BB7EF +CableClub_EventScript_AbortLinkOtherTrainerNotReady:: @ 81BB7EF special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BC9C0 + msgbox CableClub_Text_OtherTrainerNotReady release end -EventScript_1BB7FF:: @ 81BB7FF +CableClub_EventScript_AbortLinkConnectionError:: @ 81BB7FF special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BC615 + msgbox CableClub_Text_LinkErrorPleaseReset release end -EventScript_1BB80F:: @ 81BB80F +CableClub_EventScript_AbortLinkSomeoneNotReady:: @ 81BB80F special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BC5C0 + msgbox CableClub_Text_SomeoneIsNotReadyToLink release end -EventScript_1BB81F:: @ 81BB81F +CableClub_EventScript_AbortLinkDifferentSelections:: @ 81BB81F special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BC64E + msgbox CableClub_Text_PlayersMadeDifferentSelections release end -EventScript_1BB82F:: @ 81BB82F +CableClub_EventScript_AbortLink:: @ 81BB82F special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BC68A + msgbox CableClub_Text_PleaseVisitAgain release end -EventScript_1BB83F:: @ 81BB83F +CableClub_EventScript_AbortMinigame:: @ 81BB83F special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BCFD1 + msgbox CableClub_Text_ComeAgain release end -EventScript_1BB84F:: @ 81BB84F +@ Unused +CableClub_EventScript_CableClubWarp:: @ 81BB84F special SetCableClubWarp special DoCableClubWarp waitstate end -EventScript_1BB857:: @ 81BB857 +CableClub_EventScript_AbortLinkIncorrectNumberOfParticipants:: @ 81BB857 special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BC6A1 + msgbox CableClub_Text_IncorrectNumberOfParticipants release end -EventScript_1BB867:: @ 81BB867 +CableClub_EventScript_AbortLinkPlayerHasBadEgg:: @ 81BB867 special CloseLink special HelpSystem_Enable - msgbox gUnknown_81BC9E0 + msgbox CableClub_Text_YouHaveAMonThatCantBeTaken release end -EventScript_1BB877:: @ 81BB877 +CableClub_EventScript_WirelessClubAdjustements:: @ 81BB877 msgbox Text_WirelessClubUndergoingAdjustments release end -EventScript_1BB881:: @ 81BB881 +CableClub_EventScript_NotReadyYet:: @ 81BB881 msgbox Text_AppearsToBeUndergoingAdjustments releaseall end -Movement_1BB88B:: @ 81BB88B +Movement_AttendantFaceDown:: @ 81BB88B face_down step_end -Movement_1BB88D:: @ 81BB88D +@ Unused +Movement_AttendantFaceRight:: @ 81BB88D face_right step_end -Movement_1BB88F:: @ 81BB88F +Movement_AttendantFaceLeft:: @ 81BB88F face_left step_end -Movement_1BB891:: @ 81BB891 +Movement_PlayerExitLinkRoom:: @ 81BB891 walk_down walk_down step_end -Movement_1BB894:: @ 81BB894 +Movement_PlayerApproachLinkRoomRight:: @ 81BB894 walk_right walk_up walk_up step_end -Movement_1BB898:: @ 81BB898 +Movement_PlayerApproachLinkRoomLeft:: @ 81BB898 walk_left walk_up walk_up step_end -Movement_1BB89C:: @ 81BB89C +Movement_PlayerEnterLinkRoom:: @ 81BB89C walk_up step_end -Movement_1BB89E:: @ 81BB89E +@ Unused +Movement_PlayerFaceAttendantLeft:: @ 81BB89E face_left step_end -Movement_1BB8A0:: @ 81BB8A0 +Movement_PlayerFaceAttendantRight:: @ 81BB8A0 face_right step_end -Movement_1BB8A2:: @ 81BB8A2 +Movement_PlayerEnterMinigameRoom:: @ 81BB8A2 walk_left walk_up walk_up walk_up step_end -gUnknown_81BB8A7:: @ 81BB8A7 +CableClub_EventScript_ShowBattleRecords:: @ 81BB8A7 special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 @@ -615,551 +610,521 @@ gUnknown_81BB8A7:: @ 81BB8A7 releaseall end -gUnknown_81BB8C3:: @ 81BB8C3 -UnknownMap_00_00_EventScript_1BB8C3:: @ 81BB8C3 +BattleColosseum2P_EventScript_PlayerSpot0:: @ 81BB8C3 setvar VAR_0x8005, 0 textcolor 3 - special sub_80819C8 + special EnterColosseumPlayerSpot waitstate end -gUnknown_81BB8CF:: @ 81BB8CF -UnknownMap_00_00_EventScript_1BB8CF:: @ 81BB8CF +BattleColosseum2P_EventScript_PlayerSpot1:: @ 81BB8CF setvar VAR_0x8005, 1 textcolor 3 - special sub_80819C8 + special EnterColosseumPlayerSpot waitstate end -gUnknown_81BB8DB:: @ 81BB8DB -UnknownMap_00_03_EventScript_1BB8DB:: @ 81BB8DB +BattleColosseum4P_EventScript_PlayerSpot0:: @ 81BB8DB fadescreen FADE_TO_BLACK - special sub_80A0334 + special ChooseHalfPartyForBattle waitstate compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB94F + goto_if_eq BattleColosseum4P_EventScript_CancelSpotTrigger setvar VAR_0x8005, 0 textcolor 3 - special sub_80819C8 + special EnterColosseumPlayerSpot waitstate end -gUnknown_81BB8F8:: @ 81BB8F8 -UnknownMap_00_03_EventScript_1BB8F8:: @ 81BB8F8 +BattleColosseum4P_EventScript_PlayerSpot1:: @ 81BB8F8 fadescreen FADE_TO_BLACK - special sub_80A0334 + special ChooseHalfPartyForBattle waitstate compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB94F + goto_if_eq BattleColosseum4P_EventScript_CancelSpotTrigger setvar VAR_0x8005, 1 textcolor 3 - special sub_80819C8 + special EnterColosseumPlayerSpot waitstate end -gUnknown_81BB915:: @ 81BB915 -UnknownMap_00_03_EventScript_1BB915:: @ 81BB915 +BattleColosseum4P_EventScript_PlayerSpot2:: @ 81BB915 fadescreen FADE_TO_BLACK - special sub_80A0334 + special ChooseHalfPartyForBattle waitstate compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB94F + goto_if_eq BattleColosseum4P_EventScript_CancelSpotTrigger setvar VAR_0x8005, 2 textcolor 3 - special sub_80819C8 + special EnterColosseumPlayerSpot waitstate end -gUnknown_81BB932:: @ 81BB932 -UnknownMap_00_03_EventScript_1BB932:: @ 81BB932 +BattleColosseum4P_EventScript_PlayerSpot3:: @ 81BB932 fadescreen FADE_TO_BLACK - special sub_80A0334 + special ChooseHalfPartyForBattle waitstate compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB94F + goto_if_eq BattleColosseum4P_EventScript_CancelSpotTrigger setvar VAR_0x8005, 3 textcolor 3 - special sub_80819C8 + special EnterColosseumPlayerSpot waitstate end -EventScript_1BB94F:: @ 81BB94F +BattleColosseum4P_EventScript_CancelSpotTrigger:: @ 81BB94F end gUnknown_81BB950:: @ 81BB950 -UnknownMap_00_01_EventScript_1BB950:: @ 81BB950 +TradeCenter_EventScript_Chair0:: @ 81BB950 setvar VAR_0x8005, 0 textcolor 3 - special sub_8081978 + special EnterTradeSeat waitstate end -gUnknown_81BB95C:: @ 81BB95C -UnknownMap_00_01_EventScript_1BB95C:: @ 81BB95C +TradeCenter_EventScript_Chair1:: @ 81BB95C setvar VAR_0x8005, 1 textcolor 3 - special sub_8081978 + special EnterTradeSeat waitstate end -EventScript_1BB968:: @ 81BB968 +@ Unused +TradeCenter_EventScript_Chair2:: @ 81BB968 setvar VAR_0x8005, 2 textcolor 3 - special sub_8081978 + special EnterTradeSeat waitstate end -EventScript_1BB974:: @ 81BB974 +@ Unused +TradeCenter_EventScript_Chair3:: @ 81BB974 setvar VAR_0x8005, 3 textcolor 3 - special sub_8081978 + special EnterTradeSeat waitstate end -gUnknown_81BB980:: @ 81BB980 -UnknownMap_00_02_EventScript_1BB980:: @ 81BB980 +@ Nop in FRLG +RecordCenter_EventScript_Spot:: @ 81BB980 end -gUnknown_81BB981:: @ 81BB981 +CableClub_EventScript_ReadTrainerCard:: @ 81BB981 textcolor 3 msgbox Text_LookedAtPlayersTrainerCard fadescreen FADE_TO_BLACK - special sp02A_crash_sound + special Script_ShowLinkTrainerCard waitstate end -gUnknown_81BB992:: @ 81BB992 +CableClub_EventScript_ReadTrainerCardColored:: @ 81BB992 textcolor 3 msgbox Text_LookedAtPlayersTrainerCardColored fadescreen FADE_TO_BLACK - special sp02A_crash_sound + special Script_ShowLinkTrainerCard waitstate end -gUnknown_81BB9A3:: @ 81BB9A3 +CableClub_EventScript_TooBusyToNotice:: @ 81BB9A3 textcolor 3 msgbox Text_TrainerTooBusyToNotice closemessage end -UnknownMap_00_00_EventScript_1BB9AF:: @ 81BB9AF +BattleColosseum2P_EventScript_Attendant:: @ 81BB9AF textcolor 3 - special sub_8069740 + special Script_FacePlayer msgbox Text_TakeSeatStartBattle - special sub_8069768 + special Script_ClearHeldMovement closemessage end -UnknownMap_00_01_EventScript_1BB9C1:: @ 81BB9C1 +TradeCenter_EventScript_Attendant:: @ 81BB9C1 textcolor 3 - special sub_8069740 + special Script_FacePlayer msgbox Text_TakeSeatStartTrade - special sub_8069768 + special Script_ClearHeldMovement closemessage end -UnknownMap_00_02_EventScript_1BB9D3:: @ 81BB9D3 +@ Nop in FRLG +RecordCenter_EventScript_Attendant:: @ 81BB9D3 end -gUnknown_81BB9D4:: @ 81BB9D4 +TradeCenter_ConfirmLeaveRoom:: @ 81BB9D4 textcolor 3 msgbox Text_TerminateLinkIfYouLeaveRoom, MSGBOX_YESNO compare VAR_RESULT, YES - goto_if_eq EventScript_1BB9F0 + goto_if_eq TradeCenter_TerminateLink erasebox 0, 0, 29, 19 releaseall end -EventScript_1BB9F0:: @ 81BB9F0 +TradeCenter_TerminateLink:: @ 81BB9F0 textcolor 3 - messageautoscroll Text_1BC7E2 + messageautoscroll Text_TerminateLinkConfirmation waitmessage special sub_8081770 end -gUnknown_81BB9FC:: @ 81BB9FC - special sub_8081744 - special sub_807E704 +CableClub_EventScript_DoLinkRoomExit:: @ 81BB9FC + special CleanupLinkRoomState + special ReturnFromLinkRoom waitstate end -EventScript_1BBA04:: @ 81BBA04 +CableClub_EventScript_UnionRoomAttendant:: @ 81BBA04 special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer - goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB877 + goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_WirelessClubAdjustements specialvar VAR_RESULT, Special_BadEggInParty - compare VAR_RESULT, 1 - goto_if_eq EventScript_1BB867 + compare VAR_RESULT, TRUE + goto_if_eq CableClub_EventScript_AbortLinkPlayerHasBadEgg copyvar VAR_0x8007, VAR_LAST_TALKED specialvar VAR_RESULT, IsWirelessAdapterConnected compare VAR_RESULT, FALSE - goto_if_eq EventScript_1BBB60 - message Text_1BD65B + goto_if_eq CableClub_EventScript_UnionRoomAdapterNotConnected + message CableClub_Text_WelcomeUnionRoomEnter waitmessage - goto EventScript_1BBA51 - -EventScript_1BBA50:: @ 81BBA50 + goto CableClub_EventScript_AskEnterUnionRoom end -EventScript_1BBA51:: @ 81BBA51 +CableClub_EventScript_AskEnterUnionRoom:: @ 81BBA51 multichoice 18, 6, MULTICHOICE_YES_NO_INFO, FALSE switch VAR_RESULT - case 0, EventScript_1BBA94 - case 1, EventScript_1BB82F - case 2, EventScript_1BBA88 - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_EnterUnionRoom + case 1, CableClub_EventScript_AbortLink + case 2, CableClub_EventScript_UnionRoomInfo + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BBA88:: @ 81BBA88 - message Text_1BD706 +CableClub_EventScript_UnionRoomInfo:: @ 81BBA88 + message CableClub_Text_UnionRoomInfo waitmessage - goto EventScript_1BBA51 - -EventScript_1BBA93:: @ 81BBA93 + goto CableClub_EventScript_AskEnterUnionRoom end -EventScript_1BBA94:: @ 81BBA94 - call EventScript_1BBB1E - compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB82F +CableClub_EventScript_EnterUnionRoom:: @ 81BBA94 + call CableClub_EventScript_CheckPartyUnionRoomRequirements + compare VAR_RESULT, FALSE + goto_if_eq CableClub_EventScript_AbortLink call EventScript_AskSaveGame compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB82F - msgbox gUnknown_81BD86A + goto_if_eq CableClub_EventScript_AbortLink + msgbox CableClub_Text_EnjoyUnionRoom closemessage - special sp000_heal_pokemon - setvar VAR_0x8004, 6 + special HealPlayerParty + setvar VAR_0x8004, USING_UNION_ROOM copyvar VAR_CABLE_CLUB_STATE, VAR_0x8004 special HelpSystem_Disable call CableClub_EventScript_OpenUnionRoomBarrier special DrawWholeMapView playse SE_TK_KASYA delay 60 - applymovement VAR_LAST_TALKED, Movement_1BB88F + applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft waitmovement 0 - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB898 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomLeft waitmovement 0 opendoor 5, 1 waitdooranim - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB89C + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterLinkRoom waitmovement 0 - hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + hideobject OBJ_EVENT_ID_PLAYER, 0 closedoor 5, 1 waitdooranim - special sub_811B15C + special Script_ResetUnionRoomTrade special SetCableClubWarp - warpteleport2 MAP_UNKNOWN_MAP_00_04, 255, 7, 11 + warpteleport2 MAP_UNION_ROOM, 255, 7, 11 waitstate special UnionRoomSpecial waitstate end -EventScript_1BBB1E:: @ 81BBB1E +CableClub_EventScript_CheckPartyUnionRoomRequirements:: @ 81BBB1E specialvar VAR_RESULT, CountPartyNonEggMons compare VAR_RESULT, 2 - goto_if_lt EventScript_1BBB44 + goto_if_lt CableClub_EventScript_NeedTwoMonsForUnionRoom specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty - compare VAR_RESULT, 1 - goto_if_eq EventScript_1BBB52 - setvar VAR_RESULT, 1 + compare VAR_RESULT, TRUE + goto_if_eq CableClub_EventScript_NoEnigmaBerryInUnionRoom + setvar VAR_RESULT, TRUE return -EventScript_1BBB44:: @ 81BBB44 - msgbox gUnknown_81BCBC3 +CableClub_EventScript_NeedTwoMonsForUnionRoom:: @ 81BBB44 + msgbox CableClub_Text_NeedTwoMonsForUnionRoom goto EventScript_SetResultFalse - -EventScript_1BBB51:: @ 81BBB51 end -EventScript_1BBB52:: @ 81BBB52 - msgbox gUnknown_81BCC00 +CableClub_EventScript_NoEnigmaBerryInUnionRoom:: @ 81BBB52 + msgbox CableClub_Text_NoEnigmaBerryInUnionRoom goto EventScript_SetResultFalse - -EventScript_1BBB5F:: @ 81BBB5F end -EventScript_1BBB60:: @ 81BBB60 - msgbox gUnknown_81BCC3A +CableClub_EventScript_UnionRoomAdapterNotConnected:: @ 81BBB60 + msgbox CableClub_Text_UnionRoomAdapterNotConnected release return -EventScript_1BBB6A:: @ 81BBB6A +CableClub_EventScript_WirelessClubAttendant:: @ 81BBB6A lock faceplayer - goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB877 - msgbox gUnknown_81BDB85, MSGBOX_YESNO + goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_WirelessClubAdjustements + msgbox CableClub_Text_AskAboutLinking, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BBB92 - msgbox gUnknown_81BDBF8 + goto_if_eq CableClub_EventScript_DontAskAboutLinking + msgbox CableClub_Text_ExplainWirelessClub release return -EventScript_1BBB92:: @ 81BBB92 - msgbox gUnknown_81BDEDF +CableClub_EventScript_DontAskAboutLinking:: @ 81BBB92 + msgbox CableClub_Text_HopeYouEnjoyWirelessSystem release return -EventScript_1BBB9C:: @ 81BBB9C +CableClub_EventScript_DirectCornerAttendant:: @ 81BBB9C special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer - goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB877 + goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_WirelessClubAdjustements specialvar VAR_RESULT, Special_BadEggInParty - compare VAR_RESULT, 1 - goto_if_eq EventScript_1BB867 + compare VAR_RESULT, TRUE + goto_if_eq CableClub_EventScript_AbortLinkPlayerHasBadEgg specialvar VAR_RESULT, IsWirelessAdapterConnected compare VAR_RESULT, FALSE - goto_if_eq EventScript_1BB44A - message Text_1BD28D + goto_if_eq CableClub_EventScript_WelcomeToCableClub + message CableClub_Text_WelcomeWhichDirectCornerRoom waitmessage delay 15 - goto EventScript_1BBBE7 - -EventScript_1BBBE6:: @ 81BBBE6 + goto CableClub_EventScript_DirectCornerSelectService end -EventScript_1BBBE7:: @ 81BBBE7 - goto_if_unset FLAG_GOT_POWDER_JAR, EventScript_1BBC32 +CableClub_EventScript_DirectCornerSelectService:: @ 81BBBE7 + goto_if_unset FLAG_GOT_POWDER_JAR, CableClub_EventScript_DirectCornerNoBerry multichoice 0, 0, MULTICHOICE_TRADE_COLOSSEUM_CRUSH, FALSE switch VAR_RESULT - case 0, EventScript_1BBC69 - case 1, EventScript_1BBC97 - case 2, EventScript_1BBD35 - case 3, EventScript_1BB82F - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_WirelessTrade + case 1, CableClub_EventScript_WirelessBattleSelect + case 2, CableClub_EventScript_WirelessBerryCrush + case 3, CableClub_EventScript_AbortLink + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BBC32:: @ 81BBC32 +CableClub_EventScript_DirectCornerNoBerry:: @ 81BBC32 multichoice 0, 0, MULTICHOICE_TRADE_COLOSSEUM_2, FALSE switch VAR_RESULT - case 0, EventScript_1BBC69 - case 1, EventScript_1BBC97 - case 2, EventScript_1BB82F - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_WirelessTrade + case 1, CableClub_EventScript_WirelessBattleSelect + case 2, CableClub_EventScript_AbortLink + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BBC69:: @ 81BBC69 - msgbox gUnknown_81BD317, MSGBOX_YESNO +CableClub_EventScript_WirelessTrade:: @ 81BBC69 + msgbox CableClub_Text_TradePokemon, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BB82F - call EventScript_1BB79C - compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB82F - setvar VAR_0x8004, 3 - goto EventScript_1BBD6F - -EventScript_1BBC96:: @ 81BBC96 + goto_if_eq CableClub_EventScript_AbortLink + call CableClub_EventScript_CheckPartyTradeRequirements + compare VAR_RESULT, FALSE + goto_if_eq CableClub_EventScript_AbortLink + setvar VAR_0x8004, LINK_GROUP_TRADE + goto CableClub_EventScript_SaveAndChooseLinkLeader end -EventScript_1BBC97:: @ 81BBC97 - message Text_1BD338 +CableClub_EventScript_WirelessBattleSelect:: @ 81BBC97 + message CableClub_Text_PlayWhichBattleMode waitmessage multichoice 0, 0, MULTICHOICE_SINGLE_DOUBLE_MULTI_INFO_EXIT, FALSE switch VAR_RESULT - case 0, EventScript_1BBCEA - case 1, EventScript_1BBCF5 - case 2, EventScript_1BBD1C - case 3, EventScript_1BBD27 - case 4, EventScript_1BB82F - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_WirelessSingleBattle + case 1, CableClub_EventScript_WirelessDoubleBattle + case 2, CableClub_EventScript_WirelessMultiBattle + case 3, CableClub_EventScript_WirelessBattleInfo + case 4, CableClub_EventScript_AbortLink + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BBCEA:: @ 81BBCEA - setvar VAR_0x8004, 0 - goto EventScript_1BBD6F - -EventScript_1BBCF4:: @ 81BBCF4 +CableClub_EventScript_WirelessSingleBattle:: @ 81BBCEA + setvar VAR_0x8004, LINK_GROUP_SINGLE_BATTLE + goto CableClub_EventScript_SaveAndChooseLinkLeader end -EventScript_1BBCF5:: @ 81BBCF5 - special CheckForAlivePartyMons - compare VAR_RESULT, 0 - goto_if_ne EventScript_1BBD0E - setvar VAR_0x8004, 1 - goto EventScript_1BBD6F - -EventScript_1BBD0D:: @ 81BBD0D +CableClub_EventScript_WirelessDoubleBattle:: @ 81BBCF5 + special HasEnoughMonsForDoubleBattle + compare VAR_RESULT, PLAYER_HAS_TWO_USABLE_MONS + goto_if_ne CableClub_EventScript_TwoMonsNeededForWirelessDoubleBattle + setvar VAR_0x8004, LINK_GROUP_DOUBLE_BATTLE + goto CableClub_EventScript_SaveAndChooseLinkLeader end -EventScript_1BBD0E:: @ 81BBD0E - msgbox gUnknown_81BC409 - goto EventScript_1BBC97 - -EventScript_1BBD1B:: @ 81BBD1B +CableClub_EventScript_TwoMonsNeededForWirelessDoubleBattle:: @ 81BBD0E + msgbox CableClub_Text_NeedTwoMonsForDoubleBattle + goto CableClub_EventScript_WirelessBattleSelect end -EventScript_1BBD1C:: @ 81BBD1C - setvar VAR_0x8004, 2 - goto EventScript_1BBD6F - -EventScript_1BBD26:: @ 81BBD26 +CableClub_EventScript_WirelessMultiBattle:: @ 81BBD1C + setvar VAR_0x8004, LINK_GROUP_MULTI_BATTLE + goto CableClub_EventScript_SaveAndChooseLinkLeader end -EventScript_1BBD27:: @ 81BBD27 - msgbox gUnknown_81BD390 - goto EventScript_1BBC97 - -EventScript_1BBD34:: @ 81BBD34 +CableClub_EventScript_WirelessBattleInfo:: @ 81BBD27 + msgbox CableClub_Text_ExplainBattleModes + goto CableClub_EventScript_WirelessBattleSelect end -EventScript_1BBD35:: @ 81BBD35 - msgbox gUnknown_81BD362, MSGBOX_YESNO +CableClub_EventScript_WirelessBerryCrush:: @ 81BBD35 + msgbox CableClub_Text_UseBerryCrush, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BB82F + goto_if_eq CableClub_EventScript_AbortLink special CheckHasAtLeastOneBerry - compare VAR_RESULT, 0 - goto_if_eq EventScript_1BBD61 - setvar VAR_0x8004, 5 - goto EventScript_1BBD6F - -EventScript_1BBD60:: @ 81BBD60 + compare VAR_RESULT, FALSE + goto_if_eq CableClub_EventScript_NeedBerryForBerryCrush + setvar VAR_0x8004, LINK_GROUP_BERRY_CRUSH + goto CableClub_EventScript_SaveAndChooseLinkLeader end -EventScript_1BBD61:: @ 81BBD61 - msgbox gUnknown_81BCB81 - goto EventScript_1BBBE7 - -EventScript_1BBD6E:: @ 81BBD6E +CableClub_EventScript_NeedBerryForBerryCrush:: @ 81BBD61 + msgbox CableClub_Text_NeedBerryForBerryCrush + goto CableClub_EventScript_DirectCornerSelectService end -EventScript_1BBD6F:: @ 81BBD6F +CableClub_EventScript_SaveAndChooseLinkLeader:: @ 81BBD6F call EventScript_AskSaveGame compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB82F + goto_if_eq CableClub_EventScript_AbortLink switch VAR_0x8004 - case 3, EventScript_1BBDBC - case 0, EventScript_1BBDBC - case 1, EventScript_1BBDBC - case 2, EventScript_1BBE50 - case 5, EventScript_1BBEE4 + case LINK_GROUP_TRADE, CableClub_EventScript_ChooseLinkLeaderFrom2 + case LINK_GROUP_SINGLE_BATTLE, CableClub_EventScript_ChooseLinkLeaderFrom2 + case LINK_GROUP_DOUBLE_BATTLE, CableClub_EventScript_ChooseLinkLeaderFrom2 + case LINK_GROUP_MULTI_BATTLE, CableClub_EventScript_ChooseLinkLeaderFrom4 + case LINK_GROUP_BERRY_CRUSH, CableClub_EventScript_ChooseLinkLeader end -EventScript_1BBDBC:: @ 81BBDBC +CableClub_EventScript_ChooseLinkLeaderFrom2:: @ 81BBDBC textcolor 3 - message Text_1BD51B + message CableClub_Text_ChooseGroupLeaderOfTwo waitmessage call EventScript_1A6675 multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE switch VAR_RESULT - case 0, EventScript_1BBE28 - case 1, EventScript_1BBE00 - case 2, EventScript_1BB82F - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_TryJoinGroup2Players + case 1, CableClub_EventScript_TryLeadGroup2Players + case 2, CableClub_EventScript_AbortLink + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BBE00:: @ 81BBE00 - call EventScript_1BBF78 +CableClub_EventScript_TryLeadGroup2Players:: @ 81BBE00 + call CableClub_EventScript_TryBecomeLinkLeader compare VAR_RESULT, 1 - goto_if_eq EventScript_1BBF88 + goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom compare VAR_RESULT, 5 - goto_if_eq EventScript_1BBDBC + goto_if_eq CableClub_EventScript_ChooseLinkLeaderFrom2 compare VAR_RESULT, 8 - goto_if_eq EventScript_1BBE00 + goto_if_eq CableClub_EventScript_TryLeadGroup2Players release return -EventScript_1BBE28:: @ 81BBE28 - call EventScript_1BBF80 +CableClub_EventScript_TryJoinGroup2Players:: @ 81BBE28 + call CableClub_EventScript_TryJoinLinkGroup compare VAR_RESULT, 1 - goto_if_eq EventScript_1BBF88 + goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom compare VAR_RESULT, 5 - goto_if_eq EventScript_1BBDBC + goto_if_eq CableClub_EventScript_ChooseLinkLeaderFrom2 compare VAR_RESULT, 8 - goto_if_eq EventScript_1BBE28 + goto_if_eq CableClub_EventScript_TryJoinGroup2Players release return -EventScript_1BBE50:: @ 81BBE50 +CableClub_EventScript_ChooseLinkLeaderFrom4:: @ 81BBE50 textcolor 3 - message Text_1BD582 + message CableClub_Text_ChooseGroupLeaderOfFour waitmessage call EventScript_1A6675 multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE switch VAR_RESULT - case 0, EventScript_1BBEBC - case 1, EventScript_1BBE94 - case 2, EventScript_1BB82F - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_TryJoinGroup4Players + case 1, CableClub_EventScript_TryLeadGroup4Players + case 2, CableClub_EventScript_AbortLink + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BBE94:: @ 81BBE94 - call EventScript_1BBF78 +CableClub_EventScript_TryLeadGroup4Players:: @ 81BBE94 + call CableClub_EventScript_TryBecomeLinkLeader compare VAR_RESULT, 1 - goto_if_eq EventScript_1BBF88 + goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom compare VAR_RESULT, 5 - goto_if_eq EventScript_1BBE50 + goto_if_eq CableClub_EventScript_ChooseLinkLeaderFrom4 compare VAR_RESULT, 8 - goto_if_eq EventScript_1BBE94 + goto_if_eq CableClub_EventScript_TryLeadGroup4Players release return -EventScript_1BBEBC:: @ 81BBEBC - call EventScript_1BBF80 +CableClub_EventScript_TryJoinGroup4Players:: @ 81BBEBC + call CableClub_EventScript_TryJoinLinkGroup compare VAR_RESULT, 1 - goto_if_eq EventScript_1BBF88 + goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom compare VAR_RESULT, 5 - goto_if_eq EventScript_1BBE50 + goto_if_eq CableClub_EventScript_ChooseLinkLeaderFrom4 compare VAR_RESULT, 8 - goto_if_eq EventScript_1BBEBC + goto_if_eq CableClub_EventScript_TryJoinGroup4Players release return -EventScript_1BBEE4:: @ 81BBEE4 +CableClub_EventScript_ChooseLinkLeader:: @ 81BBEE4 textcolor 3 - message Text_1BD5F1 + message CableClub_Text_ChooseGroupLeader waitmessage call EventScript_1A6675 multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE switch VAR_RESULT - case 0, EventScript_1BBF50 - case 1, EventScript_1BBF28 - case 2, EventScript_1BB82F - case SCR_MENU_CANCEL, EventScript_1BB82F + case 0, CableClub_EventScript_TryJoinGroupXPlayers + case 1, CableClub_EventScript_TryLeadGroupXPlayers + case 2, CableClub_EventScript_AbortLink + case SCR_MENU_CANCEL, CableClub_EventScript_AbortLink end -EventScript_1BBF28:: @ 81BBF28 - call EventScript_1BBF78 +CableClub_EventScript_TryLeadGroupXPlayers:: @ 81BBF28 + call CableClub_EventScript_TryBecomeLinkLeader compare VAR_RESULT, 1 - goto_if_eq EventScript_1BBF88 + goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom compare VAR_RESULT, 5 - goto_if_eq EventScript_1BBEE4 + goto_if_eq CableClub_EventScript_ChooseLinkLeader compare VAR_RESULT, 8 - goto_if_eq EventScript_1BBF28 + goto_if_eq CableClub_EventScript_TryLeadGroupXPlayers release return -EventScript_1BBF50:: @ 81BBF50 - call EventScript_1BBF80 +CableClub_EventScript_TryJoinGroupXPlayers:: @ 81BBF50 + call CableClub_EventScript_TryJoinLinkGroup compare VAR_RESULT, 1 - goto_if_eq EventScript_1BBF88 + goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom compare VAR_RESULT, 5 - goto_if_eq EventScript_1BBEE4 + goto_if_eq CableClub_EventScript_ChooseLinkLeader compare VAR_RESULT, 8 - goto_if_eq EventScript_1BBF50 + goto_if_eq CableClub_EventScript_TryJoinGroupXPlayers release return -EventScript_1BBF78:: @ 81BBF78 +CableClub_EventScript_TryBecomeLinkLeader:: @ 81BBF78 special HelpSystem_Disable - special sub_8115A24 + special TryBecomeLinkLeader waitstate return -EventScript_1BBF80:: @ 81BBF80 +CableClub_EventScript_TryJoinLinkGroup:: @ 81BBF80 special HelpSystem_Disable - special BerryBlenderLinkJoinGroup + special TryJoinLinkGroup waitstate return -EventScript_1BBF88:: @ 81BBF88 - messageautoscroll Text_1BC59E +CableClub_EventScript_EnterWirelessLinkRoom:: @ 81BBF88 + messageautoscroll CableClub_Text_DirectYouToYourRoom waitmessage delay 60 closemessage @@ -1168,42 +1133,42 @@ EventScript_1BBF88:: @ 81BBF88 special DrawWholeMapView playse SE_TK_KASYA delay 60 - applymovement VAR_LAST_TALKED, Movement_1BB88F + applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft waitmovement 0 closemessage - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB898 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomLeft waitmovement 0 opendoor 9, 1 waitdooranim - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB89C + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterLinkRoom waitmovement 0 - hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + hideobject OBJ_EVENT_ID_PLAYER, 0 closedoor 9, 1 waitdooranim release waitstate end -gUnknown_81BBFD8:: @ 81BBFD8 +CableClub_EventScript_81BBFD8:: @ 81BBFD8 special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 lockall - goto_if_unset FLAG_SYS_POKEDEX_GET, EventScript_1BB881 + goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_NotReadyYet specialvar VAR_RESULT, IsWirelessAdapterConnected compare VAR_RESULT, FALSE - goto_if_eq EventScript_1BC016 + goto_if_eq CableClub_EventScript_AdapterNotConnected special HelpSystem_Disable fadescreen FADE_TO_BLACK special sub_814F1D4 waitstate - msgbox gUnknown_81BCA43 + msgbox CableClub_Text_ParticipantsStepUpToCounter special HelpSystem_Enable releaseall end -EventScript_1BC016:: @ 81BC016 - msgbox gUnknown_81BCA13 +CableClub_EventScript_AdapterNotConnected:: @ 81BC016 + msgbox CableClub_Text_AdapterNotConnected releaseall end @@ -1231,161 +1196,139 @@ CableClub_EventScript_CloseGameCornerBarrier:: @ 81BC052 setmetatile 5, 3, 759, 1 return -CeladonCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -CeruleanCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -CinnabarIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -FiveIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -FourIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -FuchsiaCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -IndigoPlateau_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -LavenderTown_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -OneIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -PewterCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -Route10_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -Route4_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -SaffronCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -SevenIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -SixIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -ThreeIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -TwoIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -VermilionCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C -ViridianCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C - special sub_811999C - end - -EventScript_1BC060:: @ 81BC060 +CableClub_OnResume:: @ 81BC05C + special InitUnionRoom + end + +JoyfulGameCorner_EventScript_InfoMan2:: @ 81BC060 special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer - message Text_1BCCFF + message Text_DescribeWhichGame waitmessage multichoice 0, 0, MULTICHOICE_POKEJUMP_DODRIO, FALSE switch VAR_RESULT - case 0, EventScript_1BC0B0 - case 1, EventScript_1BC0BA - case 2, EventScript_1BC0C4 - case SCR_MENU_CANCEL, EventScript_1BC0C4 + case 0, CableClub_EventScript_PokemonJumpInfo + case 1, CableClub_EventScript_DodrioBerryPickingInfo + case 2, CableClub_EventScript_MinigameInfoExit + case SCR_MENU_CANCEL, CableClub_EventScript_MinigameInfoExit end -EventScript_1BC0B0:: @ 81BC0B0 - msgbox gUnknown_81BCD4D +CableClub_EventScript_PokemonJumpInfo:: @ 81BC0B0 + msgbox Text_PokemonJumpInfo release end -EventScript_1BC0BA:: @ 81BC0BA - msgbox gUnknown_81BCE73 +CableClub_EventScript_DodrioBerryPickingInfo:: @ 81BC0BA + msgbox Text_DodrioBerryPickingInfo release end -EventScript_1BC0C4:: @ 81BC0C4 - msgbox gUnknown_81BCF2E +CableClub_EventScript_MinigameInfoExit:: @ 81BC0C4 + msgbox Text_TalkToManToPlay release end -EventScript_1BC0CE:: @ 81BC0CE +JoyfulGameCorner_EventScript_MinigameAttendant:: @ 81BC0CE special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 special sub_8112364 lock faceplayer - message Text_1BCF69 + message Text_WelcomeCanYouWait waitmessage specialvar VAR_RESULT, IsWirelessAdapterConnected compare VAR_RESULT, FALSE - goto_if_eq EventScript_1BC29C + goto_if_eq CableClub_EventScript_AdapterNotConnectedMinigame delay 60 special HelpSystem_Disable - message Text_1BD02D + message Text_PlayWhichGame waitmessage multichoice 0, 0, MULTICHOICE_POKEJUMP_DODRIO, FALSE switch VAR_RESULT - case 0, EventScript_1BC13A - case 1, EventScript_1BC184 - case 2, EventScript_1BB83F - case SCR_MENU_CANCEL, EventScript_1BB83F + case 0, CableClub_EventScript_PlayPokemonJump + case 1, CableClub_EventScript_PlayDodrioBerryPicking + case 2, CableClub_EventScript_AbortMinigame + case SCR_MENU_CANCEL, CableClub_EventScript_AbortMinigame end -EventScript_1BC13A:: @ 81BC13A +CableClub_EventScript_PlayPokemonJump:: @ 81BC13A setvar VAR_0x8005, 0 - special sub_8149A18 - compare VAR_RESULT, 0 - goto_if_eq EventScript_NoEligiblePkmn - msgbox gUnknown_81BD059 + special IsPokemonJumpSpeciesInParty + compare VAR_RESULT, FALSE + goto_if_eq CableClub_EventScript_NoEligiblePkmn + msgbox Text_EnterWhichPokemon setvar VAR_0x8005, 0 special ChooseMonForWirelessMinigame waitstate - compare VAR_0x8004, 6 - goto_if_ge EventScript_1BB83F + compare VAR_0x8004, PARTY_SIZE + goto_if_ge CableClub_EventScript_AbortMinigame call EventScript_AskSaveGame compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB83F - setvar VAR_0x8004, 4 - goto EventScript_1BC1CE - -EventScript_1BC183:: @ 81BC183 + goto_if_eq CableClub_EventScript_AbortMinigame + setvar VAR_0x8004, LINK_GROUP_POKEMON_JUMP + goto CableClub_EventScript_ChooseLinkLeaderMinigame end -EventScript_1BC184:: @ 81BC184 +CableClub_EventScript_PlayDodrioBerryPicking:: @ 81BC184 setvar VAR_0x8005, 1 - special sub_81537C0 + special IsDodrioInParty compare VAR_RESULT, 0 - goto_if_eq EventScript_NoEligiblePkmn - msgbox gUnknown_81BD059 + goto_if_eq CableClub_EventScript_NoEligiblePkmn + msgbox Text_EnterWhichPokemon setvar VAR_0x8005, 1 special ChooseMonForWirelessMinigame waitstate - compare VAR_0x8004, 6 - goto_if_ge EventScript_1BB83F + compare VAR_0x8004, PARTY_SIZE + goto_if_ge CableClub_EventScript_AbortMinigame call EventScript_AskSaveGame compare VAR_RESULT, 0 - goto_if_eq EventScript_1BB83F - setvar VAR_0x8004, 6 - goto EventScript_1BC1CE - -EventScript_1BC1CD:: @ 81BC1CD + goto_if_eq CableClub_EventScript_AbortMinigame + setvar VAR_0x8004, LINK_GROUP_BERRY_PICKING + goto CableClub_EventScript_ChooseLinkLeaderMinigame end -EventScript_1BC1CE:: @ 81BC1CE +CableClub_EventScript_ChooseLinkLeaderMinigame:: @ 81BC1CE textcolor 3 - message Text_1BD5F1 + message CableClub_Text_ChooseGroupLeader waitmessage call EventScript_1A6675 multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE switch VAR_RESULT - case 0, EventScript_1BC23A - case 1, EventScript_1BC212 - case 2, EventScript_1BB83F - case SCR_MENU_CANCEL, EventScript_1BB83F + case 0, CableClub_EventScript_TryJoinMinigameLinkGroup + case 1, CableClub_EventScript_TryBecomeMinigameLinkLeader + case 2, CableClub_EventScript_AbortMinigame + case SCR_MENU_CANCEL, CableClub_EventScript_AbortMinigame end -EventScript_1BC212:: @ 81BC212 - call EventScript_1BBF78 +CableClub_EventScript_TryBecomeMinigameLinkLeader:: @ 81BC212 + call CableClub_EventScript_TryBecomeLinkLeader compare VAR_RESULT, 1 - goto_if_eq EventScript_1BC262 + goto_if_eq CableClub_EventScript_EnterMinigame compare VAR_RESULT, 5 - goto_if_eq EventScript_1BC1CE + goto_if_eq CableClub_EventScript_ChooseLinkLeaderMinigame compare VAR_RESULT, 8 - goto_if_eq EventScript_1BC212 + goto_if_eq CableClub_EventScript_TryBecomeMinigameLinkLeader release return -EventScript_1BC23A:: @ 81BC23A - call EventScript_1BBF80 +CableClub_EventScript_TryJoinMinigameLinkGroup:: @ 81BC23A + call CableClub_EventScript_TryJoinLinkGroup compare VAR_RESULT, 1 - goto_if_eq EventScript_1BC262 + goto_if_eq CableClub_EventScript_EnterMinigame compare VAR_RESULT, 5 - goto_if_eq EventScript_1BC1CE + goto_if_eq CableClub_EventScript_ChooseLinkLeaderMinigame compare VAR_RESULT, 8 - goto_if_eq EventScript_1BC23A + goto_if_eq CableClub_EventScript_TryJoinMinigameLinkGroup release return -EventScript_1BC262:: @ 81BC262 - messageautoscroll Text_1BD080 +CableClub_EventScript_EnterMinigame:: @ 81BC262 + messageautoscroll Text_AllGoodToGo waitmessage delay 120 closemessage @@ -1394,156 +1337,156 @@ EventScript_1BC262:: @ 81BC262 special DrawWholeMapView playse SE_TK_KASYA delay 60 - applymovement VAR_LAST_TALKED, Movement_1BB88F + applymovement VAR_LAST_TALKED, Movement_AttendantFaceLeft waitmovement 0 closemessage - applymovement OBJ_EVENT_ID_PLAYER, Movement_1BB8A2 + applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerEnterMinigameRoom waitmovement 0 - hideobject OBJ_EVENT_ID_PLAYER, MAP_UNKNOWN_MAP_00_00 + hideobject OBJ_EVENT_ID_PLAYER, 0 release waitstate end -EventScript_1BC29C:: @ 81BC29C - msgbox gUnknown_81BCFE8 +CableClub_EventScript_AdapterNotConnectedMinigame:: @ 81BC29C + msgbox Text_AdapterNotConnectedMinigame release end -EventScript_NoEligiblePkmn:: @ 81BC2A6 - msgbox gUnknown_81BD0CF, MSGBOX_YESNO +CableClub_EventScript_NoEligiblePkmn:: @ 81BC2A6 + msgbox EventScript_ExplainPokemonJumpRequirements, MSGBOX_YESNO compare VAR_RESULT, NO - goto_if_eq EventScript_1BB83F + goto_if_eq CableClub_EventScript_AbortMinigame compare VAR_0x8005, 0 - call_if_eq EventScript_1BC2D5 + call_if_eq CableClub_EventScript_ExplainPokemonJumpRequirements compare VAR_0x8005, 1 - call_if_eq EventScript_1BC2DE - goto EventScript_1BB83F - -EventScript_1BC2D4:: @ 81BC2D4 + call_if_eq CableClub_EventScript_ExplainDodrioBerryPickingRequirements + goto CableClub_EventScript_AbortMinigame end -EventScript_1BC2D5:: @ 81BC2D5 - msgbox gUnknown_81BD14B +CableClub_EventScript_ExplainPokemonJumpRequirements:: @ 81BC2D5 + msgbox Text_ShortJumpingPokemonAllowed return -EventScript_1BC2DE:: @ 81BC2DE - msgbox gUnknown_81BD213 +CableClub_EventScript_ExplainDodrioBerryPickingRequirements:: @ 81BC2DE + msgbox Text_OnlyDodrioAllowed return -TwoIsland_JoyfulGameCorner_EventScript_1BC2E7:: @ 81BC2E7 +TwoIsland_JoyfulGameCorner_EventScript_ShowPokemonJumpRecords:: @ 81BC2E7 special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 lockall - special sub_814B504 + special ShowPokemonJumpRecords waitstate releaseall end -TwoIsland_JoyfulGameCorner_EventScript_1BC2FC:: @ 81BC2FC +TwoIsland_JoyfulGameCorner_EventScript_ShowDodrioBerryPickingRecords:: @ 81BC2FC special sub_8110AB4 compare VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 lockall - special sub_8153810 + special ShowDodrioBerryPickingRecords waitstate releaseall end -gUnknown_81BC311:: @ 81BC311 +CableClub_Text_WelcomeWhichCableClubService:: @ 81BC311 .string "Welcome to the POKéMON CABLE\n" .string "CLUB.\p" .string "Which of our services do you wish\n" .string "to use?$" -gUnknown_81BC35E:: @ 81BC35E +CableClub_Text_WhichService:: @ 81BC35E .string "Which of our services do you wish\n" .string "to use?$" -Text_1BC388:: @ 81BC388 +CableClub_Text_TradeMonsUsingLinkCable:: @ 81BC388 .string "Trade POKéMON with another player\n" .string "using a GBA Game Link cable.$" -Text_1BC3C7:: @ 81BC3C7 +CableClub_Text_BattleUsingLinkCable:: @ 81BC3C7 .string "You may battle another TRAINER\n" .string "using a GBA Game Link cable.$" -Text_1BC403:: @ 81BC403 +@ Unused, translated in Emerald +CableClub_Text_CloseThisMenu:: @ 81BC403 .string "おわります$" -gUnknown_81BC409:: @ 81BC409 +CableClub_Text_NeedTwoMonsForDoubleBattle:: @ 81BC409 .string "For a DOUBLE BATTLE, you must\n" .string "have at least two POKéMON.$" -gUnknown_81BC442:: @ 81BC442 +CableClub_Text_NeedTwoMonsToTrade:: @ 81BC442 .string "For trading, you must have at\n" .string "least two POKéMON with you.$" -gUnknown_81BC47C:: @ 81BC47C +CableClub_Text_CantTradeEnigmaBerry:: @ 81BC47C .string "A POKéMON holding the {STR_VAR_1}\n" .string "BERRY can't be traded.$" -gUnknown_81BC4AC:: @ 81BC4AC +CableClub_Text_PleaseWaitBCancel:: @ 81BC4AC .string "Please wait.\n" .string "… … B Button: Cancel$" -gUnknown_81BC4CE:: @ 81BC4CE +CableClub_Text_WhenAllPlayersReadyAConfirmBCancel:: @ 81BC4CE .string "When all players are ready…\n" .string "A Button: Confirm\l" .string "B Button: Cancel$" -gUnknown_81BC50D:: @ 81BC50D +CableClub_Text_StartLinkWithXPlayersAConfirmBCancel:: @ 81BC50D .string "Start link with {STR_VAR_1} players.\n" .string "A Button: Confirm\l" .string "B Button: Cancel$" -gUnknown_81BC54C:: @ 81BC54C +CableClub_Text_AwaitingLinkupBCancel:: @ 81BC54C .string "Awaiting linkup…\n" .string "… … B Button: Cancel$" -Text_1BC572:: @ 81BC572 +@ Unused, translated in Emerald +CableClub_Text_OkayToSaveProgress:: @ 81BC572 .string "はじめる まえに レポートを\n" .string "かきますが よろしいですか?$" -Text_1BC590:: @ 81BC590 +CableClub_Text_PleaseEnter:: @ 81BC590 .string "Please enter.$" -Text_1BC59E:: @ 81BC59E +CableClub_Text_DirectYouToYourRoom:: @ 81BC59E .string "I'll direct you to your room now.$" -gUnknown_81BC5C0:: @ 81BC5C0 +CableClub_Text_SomeoneIsNotReadyToLink:: @ 81BC5C0 .string "Someone is not ready to link.\p" .string "Please come back after everyone\n" .string "has made preparations.$" -gUnknown_81BC615:: @ 81BC615 +CableClub_Text_LinkErrorPleaseReset:: @ 81BC615 .string "Sorry, we have a link error…\n" .string "Please reset and try again.$" -gUnknown_81BC64E:: @ 81BC64E +CableClub_Text_PlayersMadeDifferentSelections:: @ 81BC64E .string "The link partners appear to have\n" .string "made different selections.$" -gUnknown_81BC68A:: @ 81BC68A +CableClub_Text_PleaseVisitAgain:: @ 81BC68A .string "Please do visit again.$" -gUnknown_81BC6A1:: @ 81BC6A1 +CableClub_Text_IncorrectNumberOfParticipants:: @ 81BC6A1 .string "The number of participants is\n" .string "incorrect.$" -gUnknown_81BC6CA:: @ 81BC6CA +CableClub_Text_CantSingleBattleWithXPlayers:: @ 81BC6CA .string "The SINGLE BATTLE Mode can't be\n" .string "played by {STR_VAR_1} players.$" -gUnknown_81BC700:: @ 81BC700 +CableClub_Text_CantDoubleBattleWithXPlayers:: @ 81BC700 .string "The DOUBLE BATTLE Mode can't be\n" .string "played by {STR_VAR_1} players.$" -gUnknown_81BC736:: @ 81BC736 +CableClub_Text_NeedFourPlayers:: @ 81BC736 .string "There must be four players to play\n" .string "this Battle Mode.$" -gUnknown_81BC76B:: @ 81BC76B +CableClub_Text_PleaseConfirmNumberAndRestart:: @ 81BC76B .string "Please confirm the number of\n" .string "players and start again.$" @@ -1551,7 +1494,7 @@ Text_TerminateLinkIfYouLeaveRoom:: @ 81BC7A1 .string "The link will be terminated if you\n" .string "leave the room. Is that okay?$" -Text_1BC7E2:: @ 81BC7E2 +Text_TerminateLinkConfirmation:: @ 81BC7E2 .string "Terminating link…\n" .string "You will be escorted out of\l" .string "the room. Please wait.$" @@ -1577,88 +1520,95 @@ Text_TakeSeatStartTrade:: @ 81BC8DA .string "Please take your seat and start\n" .string "your trade.$" -Text_1BC906:: @ 81BC906 +@ Unused, leftover from RS +RecordCorner_Text_ThanksForComing:: @ 81BC906 .string "ごりよう ありがとう ございました$" -Text_1BC918:: @ 81BC918 +CableClub_Text_TrainerCardDataOverwritten:: @ 81BC918 .string "The TRAINER CARD data will\n" .string "be overwritten.$" -Text_1BC943:: @ 81BC943 +CableClub_Text_HopeToSeeYouAgain:: @ 81BC943 .string "I hope to see you again!$" -gUnknown_81BC95C:: @ 81BC95C +CableClub_Text_NotSetUpForFarAwayRegion:: @ 81BC95C .string "I'm awfully sorry.\p" .string "We're not set up to conduct trades\n" .string "with TRAINERS far away in another\l" .string "region yet…$" -gUnknown_81BC9C0:: @ 81BC9C0 +CableClub_Text_OtherTrainerNotReady:: @ 81BC9C0 .string "The other TRAINER is not ready.$" -gUnknown_81BC9E0:: @ 81BC9E0 +CableClub_Text_YouHaveAMonThatCantBeTaken:: @ 81BC9E0 .string "You have at least one POKéMON\n" .string "that can't be taken.$" -gUnknown_81BCA13:: @ 81BCA13 +CableClub_Text_AdapterNotConnected:: @ 81BCA13 .string "The Wireless Adapter is not\n" .string "connected properly.$" -gUnknown_81BCA43:: @ 81BCA43 +CableClub_Text_ParticipantsStepUpToCounter:: @ 81BCA43 .string "Participants are asked to step up\n" .string "to the reception counter.$" -Text_1BCA7F:: @ 81BCA7F +@ Unused, translated in Emerald +CableClub_Text_Hello:: @ 81BCA7F .string "こんにちは!$" -Text_1BCA86:: @ 81BCA86 +@ Unused, translated in Emerald +CableClub_Text_PleaseWait:: @ 81BCA86 .string "しょうしょう おまちください$" -Text_1BCA95:: @ 81BCA95 +CableClub_Text_YouMayTradeHere:: @ 81BCA95 .string "You may trade your POKéMON here\n" .string "with another TRAINER.$" -Text_1BCACB:: @ 81BCACB +CableClub_Text_YouMayBattleHere:: @ 81BCACB .string "You may battle with your friends\n" .string "here.$" -Text_1BCAF2:: @ 81BCAF2 +CableClub_Text_CanMakeBerryPowder:: @ 81BCAF2 .string "Two to five TRAINERS can make\n" .string "BERRY POWDER together.$" -Text_1BCB27:: @ 81BCB27 +@ Unused, Record Mix nopped +CableClub_Text_CanMixRecords:: @ 81BCB27 .string "ワイヤレス クラブでの\n" .string "あそびかたを せつめいします$" -Text_1BCB42:: @ 81BCB42 +CableClub_Text_CancelSelectedItem:: @ 81BCB42 .string "Cancels the selected MENU item.$" -Text_1BCB62:: @ 81BCB62 +@ Unused, translated in Emerald +CableClub_Text_WhichBattleMode:: @ 81BCB62 .string "どちらの しょうぶに しますか?$" -Text_1BCB73:: @ 81BCB73 +@ Unused, translated in Emerald +CableClub_Text_ReturnsToPreviousStep:: @ 81BCB73 .string "ひとつ まえに もどります$" -gUnknown_81BCB81:: @ 81BCB81 +CableClub_Text_NeedBerryForBerryCrush:: @ 81BCB81 .string "To use the BERRY CRUSH service,\n" .string "you must have at least one BERRY.$" -gUnknown_81BCBC3:: @ 81BCBC3 +CableClub_Text_NeedTwoMonsForUnionRoom:: @ 81BCBC3 .string "To enter the UNION ROOM, you must\n" .string "have at least two POKéMON.$" -gUnknown_81BCC00:: @ 81BCC00 +CableClub_Text_NoEnigmaBerryInUnionRoom:: @ 81BCC00 .string "No POKéMON holding the {STR_VAR_1}\n" .string "BERRY may enter the UNION ROOM.$" -gUnknown_81BCC3A:: @ 81BCC3A +CableClub_Text_UnionRoomAdapterNotConnected:: @ 81BCC3A .string "This is the POKéMON WIRELESS CLUB\n" .string "UNION ROOM.\p" .string "Unfortunately, your Wireless\n" .string "Adapter is not connected properly.\p" .string "Please do come again.$" -Text_1BCCBE:: @ 81BCCBE +@ Unused, translated in Emerald +CableClub_Text_OhExcuseMe:: @ 81BCCBE .string "あ‥‥\n" .string "おきゃくさま!$" @@ -1667,12 +1617,12 @@ Text_PlayerIsPlayingRightNowGoForIt:: @ 81BCCCA .string "right now.\l" .string "Go for it!$" -Text_1BCCFF:: @ 81BCCFF +Text_DescribeWhichGame:: @ 81BCCFF .string "I can explain game rules to you,\n" .string "if you'd like.\p" .string "Which game should I describe?$" -gUnknown_81BCD4D:: @ 81BCD4D +Text_PokemonJumpInfo:: @ 81BCD4D .string "“POKéMON JUMP”\p" .string "Make your POKéMON skip the\n" .string "VINE WHIP rope with the A Button.\p" @@ -1685,7 +1635,7 @@ gUnknown_81BCD4D:: @ 81BCD4D .string "Good things happen if everyone\n" .string "jumps in time.$" -gUnknown_81BCE73:: @ 81BCE73 +Text_DodrioBerryPickingInfo:: @ 81BCE73 .string "“DODRIO BERRY-PICKING”\p" .string "Command DODRIO's three heads to\n" .string "catch falling BERRIES.\p" @@ -1694,47 +1644,48 @@ gUnknown_81BCE73:: @ 81BCE73 .string "To play this game, you must have\n" .string "a DODRIO.$" -gUnknown_81BCF2E:: @ 81BCF2E +Text_TalkToManToPlay:: @ 81BCF2E .string "If you want to play a game,\n" .string "please tell the man beside me.$" -Text_1BCF69:: @ 81BCF69 +Text_WelcomeCanYouWait:: @ 81BCF69 .string "Hi, welcome!\n" .string "You can play games over the\l" .string "Wireless Communication System.\p" .string "Can you wait just a little bit?$" -gUnknown_81BCFD1:: @ 81BCFD1 +CableClub_Text_ComeAgain:: @ 81BCFD1 .string "All right, come again!$" -gUnknown_81BCFE8:: @ 81BCFE8 +Text_AdapterNotConnectedMinigame:: @ 81BCFE8 .string "The Wireless Adapter isn't\n" .string "connected.\p" .string "Come back when it's hooked up!$" -Text_1BD02D:: @ 81BD02D +Text_PlayWhichGame:: @ 81BD02D .string "All right, which game did you want\n" .string "to play?$" -gUnknown_81BD059:: @ 81BD059 +Text_EnterWhichPokemon:: @ 81BD059 .string "Which POKéMON would you like to\n" .string "enter?$" -Text_1BD080:: @ 81BD080 +Text_AllGoodToGo:: @ 81BD080 .string "Okay, you're all good to go.\n" .string "Don't let the others beat you!$" -Text_1BD0BC:: @ 81BD0BC +@ Unused, translated in Emerald +Text_LeavingDoComeAgain:: @ 81BD0BC .string "きょうは けえるのか?\n" .string "またこいよ!$" -gUnknown_81BD0CF:: @ 81BD0CF +EventScript_ExplainPokemonJumpRequirements:: @ 81BD0CF .string "It doesn't look like you have any\n" .string "POKéMON that you can enter…\p" .string "Would you like me to explain what\n" .string "kinds of POKéMON can enter?$" -gUnknown_81BD14B:: @ 81BD14B +Text_ShortJumpingPokemonAllowed:: @ 81BD14B .string "“POKéMON JUMP” is open to POKéMON\n" .string "around 28 inches or less.\p" .string "What you can't enter are those\n" @@ -1743,17 +1694,18 @@ gUnknown_81BD14B:: @ 81BD14B .string "swim, burrow, or fly.\p" .string "That's all you need to know.$" -gUnknown_81BD213:: @ 81BD213 +Text_OnlyDodrioAllowed:: @ 81BD213 .string "“DODRIO BERRY-PICKING”…\n" .string "Well, the name says it all.\p" .string "You have to have a DODRIO to play\n" .string "this game.$" -Text_1BD274:: @ 81BD274 +@ Unused, translated in Emerald +Text_RetryFromStartPlease:: @ 81BD274 .string "もういちど はじめから\n" .string "やりなおして みて くれ$" -Text_1BD28D:: @ 81BD28D +CableClub_Text_WelcomeWhichDirectCornerRoom:: @ 81BD28D .string "Welcome to the POKéMON WIRELESS\n" .string "CLUB DIRECT CORNER.\p" .string "You may interact directly with\n" @@ -1761,18 +1713,18 @@ Text_1BD28D:: @ 81BD28D .string "Which room would you like to\n" .string "enter?$" -gUnknown_81BD317:: @ 81BD317 +CableClub_Text_TradePokemon:: @ 81BD317 .string "Would you like to trade POKéMON?$" -Text_1BD338:: @ 81BD338 +CableClub_Text_PlayWhichBattleMode:: @ 81BD338 .string "Which Battle Mode would you like\n" .string "to play?$" -gUnknown_81BD362:: @ 81BD362 +CableClub_Text_UseBerryCrush:: @ 81BD362 .string "Would you like to use the\n" .string "BERRY CRUSH System?$" -gUnknown_81BD390:: @ 81BD390 +CableClub_Text_ExplainBattleModes:: @ 81BD390 .string "There are three Battle Modes.\p" .string "SINGLE BATTLE is for two TRAINERS\n" .string "with one or more POKéMON each.\p" @@ -1787,25 +1739,25 @@ gUnknown_81BD390:: @ 81BD390 .string "Each TRAINER can have one POKéMON\n" .string "in battle at a time.$" -Text_1BD51B:: @ 81BD51B +CableClub_Text_ChooseGroupLeaderOfTwo:: @ 81BD51B .string "Please decide which of you two\n" .string "will become the LEADER.\p" .string "The other player must then choose\n" .string "“JOIN GROUP.”$" -Text_1BD582:: @ 81BD582 +CableClub_Text_ChooseGroupLeaderOfFour:: @ 81BD582 .string "Please decide which of you four\n" .string "will become the GROUP LEADER.\p" .string "The other players must then choose\n" .string "“JOIN GROUP.”$" -Text_1BD5F1:: @ 81BD5F1 +CableClub_Text_ChooseGroupLeader:: @ 81BD5F1 .string "Please decide which of you will\n" .string "become the GROUP LEADER.\p" .string "The other players must then choose\n" .string "“JOIN GROUP.”$" -Text_1BD65B:: @ 81BD65B +CableClub_Text_WelcomeUnionRoomEnter:: @ 81BD65B .string "Welcome to the POKéMON WIRELESS\n" .string "CLUB UNION ROOM.\p" .string "You may interact directly with\n" @@ -1813,7 +1765,7 @@ Text_1BD65B:: @ 81BD65B .string "whom you may not even know.\p" .string "Would you like to enter the ROOM?$" -Text_1BD706:: @ 81BD706 +CableClub_Text_UnionRoomInfo:: @ 81BD706 .string "The TRAINERS in the UNION ROOM\n" .string "will be those players around you\l" .string "who have also entered the ROOM.\p" @@ -1827,11 +1779,11 @@ Text_1BD706:: @ 81BD706 .string "trade.\p" .string "Would you like to enter the ROOM?$" -gUnknown_81BD86A:: @ 81BD86A +CableClub_Text_EnjoyUnionRoom:: @ 81BD86A .string "I hope you enjoy your time in\n" .string "the UNION ROOM.$" -gUnknown_81BD898:: @ 81BD898 +CableClub_Text_FirstTimeRightThisWay:: @ 81BD898 .string "Hello!\n" .string "My name is TEALA.\p" .string "This must be your first time\n" @@ -1842,7 +1794,7 @@ gUnknown_81BD898:: @ 81BD898 .string "floor of our POKéMON CENTER.\p" .string "Right this way, please.$" -gUnknown_81BD966:: @ 81BD966 +CableClub_Text_ExplainWirelessClubFirstTime:: @ 81BD966 .string "On the top floor, there are two\n" .string "rooms.\p" .string "First, the room on the left.\n" @@ -1864,14 +1816,14 @@ gUnknown_81BD966:: @ 81BD966 .string "I hope you enjoy the Wireless \n" .string "Communication System.$" -gUnknown_81BDB85:: @ 81BDB85 +CableClub_Text_AskAboutLinking:: @ 81BDB85 .string "Hello, {PLAYER}!\p" .string "It's me, TEALA, the POKéMON\n" .string "CENTER 2F attendant.\p" .string "Is there something you needed to\n" .string "ask me about linking?$" -gUnknown_81BDBF8:: @ 81BDBF8 +CableClub_Text_ExplainWirelessClub:: @ 81BDBF8 .string "Let me explain how the POKéMON\n" .string "WIRELESS CLUB works.\p" .string "On this, the top floor, there are\n" @@ -1900,6 +1852,6 @@ gUnknown_81BDBF8:: @ 81BDBF8 .string "I hope you enjoy the Wireless \n" .string "Communication System.$" -gUnknown_81BDEDF:: @ 81BDEDF +CableClub_Text_HopeYouEnjoyWirelessSystem:: @ 81BDEDF .string "I hope you enjoy the Wireless\n" .string "Communication System.$" diff --git a/data/scripts/pkmn_center_nurse.inc b/data/scripts/pkmn_center_nurse.inc index cd92dad8a..cfa96774d 100644 --- a/data/scripts/pkmn_center_nurse.inc +++ b/data/scripts/pkmn_center_nurse.inc @@ -27,7 +27,7 @@ EventScript_PkmnCenterNurse_TakeAndHealPkmn:: @ 81A65CE waitfieldeffect FLDEFF_POKECENTER_HEAL applymovement VAR_LAST_TALKED, Movement_WalkInPlaceFastestDown waitmovement 0 - special sp000_heal_pokemon + special HealPlayerParty return EventScript_PkmnCenterNurse_CheckTrainerTowerAndUnionRoom:: @ 81A65EC diff --git a/data/scripts/trainer_battle.inc b/data/scripts/trainer_battle.inc index 320776ae7..f16e30ada 100644 --- a/data/scripts/trainer_battle.inc +++ b/data/scripts/trainer_battle.inc @@ -27,8 +27,8 @@ EventScript_TryDoDoubleTrainerBattle:: @ 81A4EE9 specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought compare VAR_RESULT, 0 goto_if_ne EventScript_1A4F20 - special CheckForAlivePartyMons - compare VAR_RESULT, 0 + special HasEnoughMonsForDoubleBattle + compare VAR_RESULT, PLAYER_HAS_TWO_USABLE_MONS goto_if_ne EventScript_1A4F19 special PlayTrainerEncounterMusic special SetUpTrainerMovement @@ -79,8 +79,8 @@ EventScript_TryDoDoubleRematchBattle:: @ 81A4F73 specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag compare VAR_RESULT, 0 goto_if_eq EventScript_1A4FB0 - special CheckForAlivePartyMons - compare VAR_RESULT, 0 + special HasEnoughMonsForDoubleBattle + compare VAR_RESULT, PLAYER_HAS_TWO_USABLE_MONS goto_if_ne EventScript_1A4FB1 special PlayTrainerEncounterMusic special SetUpTrainerMovement diff --git a/data/scripts/trainer_tower.inc b/data/scripts/trainer_tower.inc index 7f7f985a2..dd85dc53a 100644 --- a/data/scripts/trainer_tower.inc +++ b/data/scripts/trainer_tower.inc @@ -241,7 +241,7 @@ EventScript_1C52D7: end EventScript_1C52E0:: @ 81C52E0 - special sp000_heal_pokemon + special HealPlayerParty setvar VAR_0x8004, 11 special sub_815D9E8 warp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 9, 7 -- cgit v1.2.3 From aa84a1d3a11c7cc6fd0e1021e1ed060e0c5683f2 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 11 Jan 2020 01:29:57 -0500 Subject: Name item ball scripts --- data/scripts/item_ball_scripts.inc | 336 ++++++++++++++++++------------------- 1 file changed, 168 insertions(+), 168 deletions(-) (limited to 'data/scripts') diff --git a/data/scripts/item_ball_scripts.inc b/data/scripts/item_ball_scripts.inc index c268f4dcd..ed8aef9d4 100644 --- a/data/scripts/item_ball_scripts.inc +++ b/data/scripts/item_ball_scripts.inc @@ -1,671 +1,671 @@ -Route2_EventScript_1BE58E:: @ 81BE58E +Route2_EventScript_ItemEther:: @ 81BE58E finditem ITEM_ETHER end -Route2_EventScript_1BE59B:: @ 81BE59B +Route2_EventScript_ItemParalyzeHeal:: @ 81BE59B finditem ITEM_PARALYZE_HEAL end -ViridianForest_EventScript_1BE5A8:: @ 81BE5A8 +ViridianForest_EventScript_ItemPokeBall:: @ 81BE5A8 finditem ITEM_POKE_BALL end -ViridianForest_EventScript_1BE5B5:: @ 81BE5B5 +ViridianForest_EventScript_ItemAntidote:: @ 81BE5B5 finditem ITEM_ANTIDOTE end -ViridianForest_EventScript_1BE5C2:: @ 81BE5C2 +ViridianForest_EventScript_ItemPotion:: @ 81BE5C2 finditem ITEM_POTION end -MtMoon_1F_EventScript_1BE5CF:: @ 81BE5CF +MtMoon_1F_EventScript_ItemParalyzeHeal:: @ 81BE5CF finditem ITEM_PARALYZE_HEAL end -MtMoon_1F_EventScript_1BE5DC:: @ 81BE5DC +MtMoon_1F_EventScript_ItemTM09:: @ 81BE5DC finditem ITEM_TM09 end -MtMoon_1F_EventScript_1BE5E9:: @ 81BE5E9 +MtMoon_1F_EventScript_ItemPotion:: @ 81BE5E9 finditem ITEM_POTION end -MtMoon_1F_EventScript_1BE5F6:: @ 81BE5F6 +MtMoon_1F_EventScript_ItemRareCandy:: @ 81BE5F6 finditem ITEM_RARE_CANDY end -MtMoon_1F_EventScript_1BE603:: @ 81BE603 +MtMoon_1F_EventScript_ItemEscapeRope:: @ 81BE603 finditem ITEM_ESCAPE_ROPE end -MtMoon_1F_EventScript_1BE610:: @ 81BE610 +MtMoon_1F_EventScript_ItemMoonStone:: @ 81BE610 finditem ITEM_MOON_STONE end -MtMoon_B2F_EventScript_1BE61D:: @ 81BE61D +MtMoon_B2F_EventScript_ItemStarPiece:: @ 81BE61D finditem ITEM_STAR_PIECE end -MtMoon_B2F_EventScript_1BE62A:: @ 81BE62A +MtMoon_B2F_EventScript_ItemTM46:: @ 81BE62A finditem ITEM_TM46 end -Route4_EventScript_1BE637:: @ 81BE637 +Route4_EventScript_ItemTM05:: @ 81BE637 finditem ITEM_TM05 end -Route24_EventScript_1BE644:: @ 81BE644 +Route24_EventScript_ItemTM45:: @ 81BE644 finditem ITEM_TM45 end -Route25_EventScript_1BE651:: @ 81BE651 +Route25_EventScript_ItemTM43:: @ 81BE651 finditem ITEM_TM43 end -SSAnne_1F_Room2_EventScript_1BE65E:: @ 81BE65E +SSAnne_1F_Room2_EventScript_ItemTM31:: @ 81BE65E finditem ITEM_TM31 end -SSAnne_2F_Room2_EventScript_1BE66B:: @ 81BE66B +SSAnne_2F_Room2_EventScript_ItemStardust:: @ 81BE66B finditem ITEM_STARDUST end -SSAnne_2F_Room4_EventScript_1BE678:: @ 81BE678 +SSAnne_2F_Room4_EventScript_ItemXAttack:: @ 81BE678 finditem ITEM_X_ATTACK end -SSAnne_B1F_Room2_EventScript_1BE685:: @ 81BE685 +SSAnne_B1F_Room2_EventScript_ItemTM44:: @ 81BE685 finditem ITEM_TM44 end -SSAnne_B1F_Room3_EventScript_1BE692:: @ 81BE692 +SSAnne_B1F_Room3_EventScript_ItemEther:: @ 81BE692 finditem ITEM_ETHER end -SSAnne_B1F_Room5_EventScript_1BE69F:: @ 81BE69F +SSAnne_B1F_Room5_EventScript_ItemSuperPotion:: @ 81BE69F finditem ITEM_SUPER_POTION end -SSAnne_Kitchen_EventScript_1BE6AC:: @ 81BE6AC +SSAnne_Kitchen_EventScript_ItemGreatBall:: @ 81BE6AC finditem ITEM_GREAT_BALL end -Route9_EventScript_1BE6B9:: @ 81BE6B9 +Route9_EventScript_ItemTM40:: @ 81BE6B9 finditem ITEM_TM40 end -RocketHideout_B1F_EventScript_1BE6C6:: @ 81BE6C6 +RocketHideout_B1F_EventScript_ItemEscapeRope:: @ 81BE6C6 finditem ITEM_ESCAPE_ROPE end -RocketHideout_B1F_EventScript_1BE6D3:: @ 81BE6D3 +RocketHideout_B1F_EventScript_ItemHyperPotion:: @ 81BE6D3 finditem ITEM_HYPER_POTION end -RocketHideout_B2F_EventScript_1BE6E0:: @ 81BE6E0 +RocketHideout_B2F_EventScript_ItemXSpeed:: @ 81BE6E0 finditem ITEM_X_SPEED end -RocketHideout_B2F_EventScript_1BE6ED:: @ 81BE6ED +RocketHideout_B2F_EventScript_ItemMoonStone:: @ 81BE6ED finditem ITEM_MOON_STONE end -RocketHideout_B2F_EventScript_1BE6FA:: @ 81BE6FA +RocketHideout_B2F_EventScript_ItemTM12:: @ 81BE6FA finditem ITEM_TM12 end -RocketHideout_B2F_EventScript_1BE707:: @ 81BE707 +RocketHideout_B2F_EventScript_ItemSuperPotion:: @ 81BE707 finditem ITEM_SUPER_POTION end -RocketHideout_B3F_EventScript_1BE714:: @ 81BE714 +RocketHideout_B3F_EventScript_ItemRareCandy:: @ 81BE714 finditem ITEM_RARE_CANDY end -RocketHideout_B3F_EventScript_1BE721:: @ 81BE721 +RocketHideout_B3F_EventScript_ItemTM21:: @ 81BE721 finditem ITEM_TM21 end -RocketHideout_B4F_EventScript_1BE72E:: @ 81BE72E +RocketHideout_B4F_EventScript_ItemTM49:: @ 81BE72E finditem ITEM_TM49 end -RocketHideout_B4F_EventScript_1BE73B:: @ 81BE73B +RocketHideout_B4F_EventScript_ItemMaxEther:: @ 81BE73B finditem ITEM_MAX_ETHER end -RocketHideout_B4F_EventScript_1BE748:: @ 81BE748 +RocketHideout_B4F_EventScript_ItemCalcium:: @ 81BE748 finditem ITEM_CALCIUM end -PokemonTower_3F_EventScript_1BE755:: @ 81BE755 +PokemonTower_3F_EventScript_ItemEscapeRope:: @ 81BE755 finditem ITEM_ESCAPE_ROPE end -PokemonTower_4F_EventScript_1BE762:: @ 81BE762 +PokemonTower_4F_EventScript_ItemElixir:: @ 81BE762 finditem ITEM_ELIXIR end -PokemonTower_4F_EventScript_1BE76F:: @ 81BE76F +PokemonTower_4F_EventScript_ItemAwakening:: @ 81BE76F finditem ITEM_AWAKENING end -PokemonTower_4F_EventScript_1BE77C:: @ 81BE77C +PokemonTower_4F_EventScript_ItemGreatBall:: @ 81BE77C finditem ITEM_GREAT_BALL end -PokemonTower_5F_EventScript_1BE789:: @ 81BE789 +PokemonTower_5F_EventScript_ItemNugget:: @ 81BE789 finditem ITEM_NUGGET end -PokemonTower_6F_EventScript_1BE796:: @ 81BE796 +PokemonTower_6F_EventScript_ItemRareCandy:: @ 81BE796 finditem ITEM_RARE_CANDY end -PokemonTower_6F_EventScript_1BE7A3:: @ 81BE7A3 +PokemonTower_6F_EventScript_ItemXAccuracy:: @ 81BE7A3 finditem ITEM_X_ACCURACY end -Route12_EventScript_1BE7B0:: @ 81BE7B0 +Route12_EventScript_ItemTM48:: @ 81BE7B0 finditem ITEM_TM48 end -Route12_EventScript_1BE7BD:: @ 81BE7BD +Route12_EventScript_ItemIron:: @ 81BE7BD finditem ITEM_IRON end -Route15_EventScript_1BE7CA:: @ 81BE7CA +Route15_EventScript_ItemTM18:: @ 81BE7CA finditem ITEM_TM18 end -SafariZone_Center_EventScript_1BE7D7:: @ 81BE7D7 +SafariZone_Center_EventScript_ItemNugget:: @ 81BE7D7 finditem ITEM_NUGGET end -SafariZone_East_EventScript_1BE7E4:: @ 81BE7E4 +SafariZone_East_EventScript_ItemMaxPotion:: @ 81BE7E4 finditem ITEM_MAX_POTION end -SafariZone_East_EventScript_1BE7F1:: @ 81BE7F1 +SafariZone_East_EventScript_ItemFullRestore:: @ 81BE7F1 finditem ITEM_FULL_RESTORE end -SafariZone_East_EventScript_1BE7FE:: @ 81BE7FE +SafariZone_East_EventScript_ItemTM11:: @ 81BE7FE finditem ITEM_TM11 end -SafariZone_East_EventScript_1BE80B:: @ 81BE80B +SafariZone_East_EventScript_ItemLeafStone:: @ 81BE80B finditem ITEM_LEAF_STONE end -SafariZone_North_EventScript_1BE818:: @ 81BE818 +SafariZone_North_EventScript_ItemProtein:: @ 81BE818 finditem ITEM_PROTEIN end -SafariZone_North_EventScript_1BE825:: @ 81BE825 +SafariZone_North_EventScript_ItemTM47:: @ 81BE825 finditem ITEM_TM47 end -SafariZone_West_EventScript_1BE832:: @ 81BE832 +SafariZone_West_EventScript_ItemTM32:: @ 81BE832 finditem ITEM_TM32 end -SafariZone_West_EventScript_1BE83F:: @ 81BE83F +SafariZone_West_EventScript_ItemGoldTeeth:: @ 81BE83F finditem ITEM_GOLD_TEETH end -SafariZone_West_EventScript_1BE84C:: @ 81BE84C +SafariZone_West_EventScript_ItemMaxPotion:: @ 81BE84C finditem ITEM_MAX_POTION end -SafariZone_West_EventScript_1BE859:: @ 81BE859 +SafariZone_West_EventScript_ItemMaxRevive:: @ 81BE859 finditem ITEM_MAX_REVIVE end -SilphCo_3F_EventScript_1BE866:: @ 81BE866 +SilphCo_3F_EventScript_ItemHyperPotion:: @ 81BE866 finditem ITEM_HYPER_POTION end -SilphCo_4F_EventScript_1BE873:: @ 81BE873 +SilphCo_4F_EventScript_ItemMaxRevive:: @ 81BE873 finditem ITEM_MAX_REVIVE end -SilphCo_4F_EventScript_1BE880:: @ 81BE880 +SilphCo_4F_EventScript_ItemEscapeRope:: @ 81BE880 finditem ITEM_ESCAPE_ROPE end -SilphCo_4F_EventScript_1BE88D:: @ 81BE88D +SilphCo_4F_EventScript_ItemFullHeal:: @ 81BE88D finditem ITEM_FULL_HEAL end -SilphCo_5F_EventScript_1BE89A:: @ 81BE89A +SilphCo_5F_EventScript_ItemProtein:: @ 81BE89A finditem ITEM_PROTEIN end -SilphCo_5F_EventScript_1BE8A7:: @ 81BE8A7 +SilphCo_5F_EventScript_ItemTM01:: @ 81BE8A7 finditem ITEM_TM01 end -SilphCo_5F_EventScript_1BE8B4:: @ 81BE8B4 +SilphCo_5F_EventScript_ItemCardKey:: @ 81BE8B4 finditem ITEM_CARD_KEY end -SilphCo_6F_EventScript_1BE8C1:: @ 81BE8C1 +SilphCo_6F_EventScript_ItemHPUp:: @ 81BE8C1 finditem ITEM_HP_UP end -SilphCo_6F_EventScript_1BE8CE:: @ 81BE8CE +SilphCo_6F_EventScript_ItemXSpecial:: @ 81BE8CE finditem ITEM_X_SPECIAL end -SilphCo_7F_EventScript_1BE8DB:: @ 81BE8DB +SilphCo_7F_EventScript_ItemCalcium:: @ 81BE8DB finditem ITEM_CALCIUM end -SilphCo_7F_EventScript_1BE8E8:: @ 81BE8E8 +SilphCo_7F_EventScript_ItemTM08:: @ 81BE8E8 finditem ITEM_TM08 end -SilphCo_10F_EventScript_1BE8F5:: @ 81BE8F5 +SilphCo_10F_EventScript_ItemCarbos:: @ 81BE8F5 finditem ITEM_CARBOS end -SilphCo_10F_EventScript_1BE902:: @ 81BE902 +SilphCo_10F_EventScript_ItemUltraBall:: @ 81BE902 finditem ITEM_ULTRA_BALL end -SilphCo_10F_EventScript_1BE90F:: @ 81BE90F +SilphCo_10F_EventScript_ItemRareCandy:: @ 81BE90F finditem ITEM_RARE_CANDY end -PowerPlant_EventScript_1BE91C:: @ 81BE91C +PowerPlant_EventScript_ItemMaxPotion:: @ 81BE91C finditem ITEM_MAX_POTION end -PowerPlant_EventScript_1BE929:: @ 81BE929 +PowerPlant_EventScript_ItemTM17:: @ 81BE929 finditem ITEM_TM17 end -PowerPlant_EventScript_1BE936:: @ 81BE936 +PowerPlant_EventScript_ItemTM25:: @ 81BE936 finditem ITEM_TM25 end -PowerPlant_EventScript_1BE943:: @ 81BE943 +PowerPlant_EventScript_ItemThunderStone:: @ 81BE943 finditem ITEM_THUNDER_STONE end -PowerPlant_EventScript_1BE950:: @ 81BE950 +PowerPlant_EventScript_ItemElixir:: @ 81BE950 finditem ITEM_ELIXIR end -PokemonMansion_1F_EventScript_1BE95D:: @ 81BE95D +PokemonMansion_1F_EventScript_ItemCarbos:: @ 81BE95D finditem ITEM_CARBOS end -PokemonMansion_1F_EventScript_1BE96A:: @ 81BE96A +PokemonMansion_1F_EventScript_ItemEscapeRope:: @ 81BE96A finditem ITEM_ESCAPE_ROPE end -PokemonMansion_2F_EventScript_1BE977:: @ 81BE977 +PokemonMansion_2F_EventScript_ItemCalcium:: @ 81BE977 finditem ITEM_CALCIUM end -PokemonMansion_3F_EventScript_1BE984:: @ 81BE984 +PokemonMansion_3F_EventScript_ItemMaxPotion:: @ 81BE984 finditem ITEM_MAX_POTION end -PokemonMansion_3F_EventScript_1BE991:: @ 81BE991 +PokemonMansion_3F_EventScript_ItemIron:: @ 81BE991 finditem ITEM_IRON end -PokemonMansion_B1F_EventScript_1BE99E:: @ 81BE99E +PokemonMansion_B1F_EventScript_ItemTM14:: @ 81BE99E finditem ITEM_TM14 end -PokemonMansion_B1F_EventScript_1BE9AB:: @ 81BE9AB +PokemonMansion_B1F_EventScript_ItemFullRestore:: @ 81BE9AB finditem ITEM_FULL_RESTORE end -PokemonMansion_B1F_EventScript_1BE9B8:: @ 81BE9B8 +PokemonMansion_B1F_EventScript_ItemTM22:: @ 81BE9B8 finditem ITEM_TM22 end -PokemonMansion_B1F_EventScript_1BE9C5:: @ 81BE9C5 +PokemonMansion_B1F_EventScript_ItemSecretKey:: @ 81BE9C5 finditem ITEM_SECRET_KEY end -VictoryRoad_1F_EventScript_1BE9D2:: @ 81BE9D2 +VictoryRoad_1F_EventScript_ItemRareCandy:: @ 81BE9D2 finditem ITEM_RARE_CANDY end -VictoryRoad_1F_EventScript_1BE9DF:: @ 81BE9DF +VictoryRoad_1F_EventScript_ItemTM02:: @ 81BE9DF finditem ITEM_TM02 end -VictoryRoad_2F_EventScript_1BE9EC:: @ 81BE9EC +VictoryRoad_2F_EventScript_ItemGuardSpec:: @ 81BE9EC finditem ITEM_GUARD_SPEC end -VictoryRoad_2F_EventScript_1BE9F9:: @ 81BE9F9 +VictoryRoad_2F_EventScript_ItemTM07:: @ 81BE9F9 finditem ITEM_TM07 end -VictoryRoad_2F_EventScript_1BEA06:: @ 81BEA06 +VictoryRoad_2F_EventScript_ItemFullHeal:: @ 81BEA06 finditem ITEM_FULL_HEAL end -VictoryRoad_2F_EventScript_1BEA13:: @ 81BEA13 +VictoryRoad_2F_EventScript_ItemTM37:: @ 81BEA13 finditem ITEM_TM37 end -VictoryRoad_3F_EventScript_1BEA20:: @ 81BEA20 +VictoryRoad_3F_EventScript_ItemMaxRevive:: @ 81BEA20 finditem ITEM_MAX_REVIVE end -VictoryRoad_3F_EventScript_1BEA2D:: @ 81BEA2D +VictoryRoad_3F_EventScript_ItemTM50:: @ 81BEA2D finditem ITEM_TM50 end -CeruleanCave_1F_EventScript_1BEA3A:: @ 81BEA3A +CeruleanCave_1F_EventScript_ItemMaxElixir:: @ 81BEA3A finditem ITEM_MAX_ELIXIR end -CeruleanCave_1F_EventScript_1BEA47:: @ 81BEA47 +CeruleanCave_1F_EventScript_ItemNugget:: @ 81BEA47 finditem ITEM_NUGGET end -CeruleanCave_1F_EventScript_1BEA54:: @ 81BEA54 +CeruleanCave_1F_EventScript_ItemFullRestore:: @ 81BEA54 finditem ITEM_FULL_RESTORE end -CeruleanCave_2F_EventScript_1BEA61:: @ 81BEA61 +CeruleanCave_2F_EventScript_ItemFullRestore:: @ 81BEA61 finditem ITEM_FULL_RESTORE end -CeruleanCave_2F_EventScript_1BEA6E:: @ 81BEA6E +CeruleanCave_2F_EventScript_ItemPPUp:: @ 81BEA6E finditem ITEM_PP_UP end -CeruleanCave_2F_EventScript_1BEA7B:: @ 81BEA7B +CeruleanCave_2F_EventScript_ItemUltraBall:: @ 81BEA7B finditem ITEM_ULTRA_BALL end -CeruleanCave_B1F_EventScript_1BEA88:: @ 81BEA88 +CeruleanCave_B1F_EventScript_ItemMaxRevive:: @ 81BEA88 finditem ITEM_MAX_REVIVE end -CeruleanCave_B1F_EventScript_1BEA95:: @ 81BEA95 +CeruleanCave_B1F_EventScript_ItemUltraBall:: @ 81BEA95 finditem ITEM_ULTRA_BALL end -FuchsiaCity_Building1_EventScript_1BEAA2:: @ 81BEAA2 +FuchsiaCity_Building1_EventScript_ItemRareCandy:: @ 81BEAA2 finditem ITEM_RARE_CANDY end -TwoIsland_EventScript_1BEAAF:: @ 81BEAAF +TwoIsland_EventScript_ItemRevive:: @ 81BEAAF finditem ITEM_REVIVE end -ThreeIsland_EventScript_1BEABC:: @ 81BEABC +ThreeIsland_EventScript_ItemZinc:: @ 81BEABC finditem ITEM_ZINC end -ViridianForest_EventScript_1BEAC9:: @ 81BEAC9 +ViridianForest_EventScript_ItemPotion2:: @ 81BEAC9 finditem ITEM_POTION end -MtMoon_B2F_EventScript_1BEAD6:: @ 81BEAD6 +MtMoon_B2F_EventScript_ItemRevive:: @ 81BEAD6 finditem ITEM_REVIVE end -MtMoon_B2F_EventScript_1BEAE3:: @ 81BEAE3 +MtMoon_B2F_EventScript_ItemAntidote:: @ 81BEAE3 finditem ITEM_ANTIDOTE end -Route11_EventScript_1BEAF0:: @ 81BEAF0 +Route11_EventScript_ItemXDefend:: @ 81BEAF0 finditem ITEM_X_DEFEND end -Route9_EventScript_1BEAFD:: @ 81BEAFD +Route9_EventScript_ItemBurnHeal:: @ 81BEAFD finditem ITEM_BURN_HEAL end -RockTunnel_1F_EventScript_1BEB0A:: @ 81BEB0A +RockTunnel_1F_EventScript_ItemRepel:: @ 81BEB0A finditem ITEM_REPEL end -RockTunnel_1F_EventScript_1BEB17:: @ 81BEB17 +RockTunnel_1F_EventScript_ItemPearl:: @ 81BEB17 finditem ITEM_PEARL end -RockTunnel_1F_EventScript_1BEB24:: @ 81BEB24 +RockTunnel_1F_EventScript_ItemEscapeRope:: @ 81BEB24 finditem ITEM_ESCAPE_ROPE end -RockTunnel_B1F_EventScript_1BEB31:: @ 81BEB31 +RockTunnel_B1F_EventScript_ItemRevive:: @ 81BEB31 finditem ITEM_REVIVE end -RockTunnel_B1F_EventScript_1BEB3E:: @ 81BEB3E +RockTunnel_B1F_EventScript_ItemMaxEther:: @ 81BEB3E finditem ITEM_MAX_ETHER end -SilphCo_8F_EventScript_1BEB4B:: @ 81BEB4B +SilphCo_8F_EventScript_ItemIron:: @ 81BEB4B finditem ITEM_IRON end -SilphCo_11F_EventScript_1BEB58:: @ 81BEB58 +SilphCo_11F_EventScript_ItemZinc:: @ 81BEB58 finditem ITEM_ZINC end -PokemonMansion_1F_EventScript_1BEB65:: @ 81BEB65 +PokemonMansion_1F_EventScript_ItemProtein:: @ 81BEB65 finditem ITEM_PROTEIN end -PokemonMansion_2F_EventScript_1BEB72:: @ 81BEB72 +PokemonMansion_2F_EventScript_ItemZinc:: @ 81BEB72 finditem ITEM_ZINC end -PokemonMansion_2F_EventScript_1BEB7F:: @ 81BEB7F +PokemonMansion_2F_EventScript_ItemHPUp:: @ 81BEB7F finditem ITEM_HP_UP end -ViridianCity_EventScript_1BEB8C:: @ 81BEB8C +ViridianCity_EventScript_ItemPotion:: @ 81BEB8C finditem ITEM_POTION end -Route11_EventScript_1BEB99:: @ 81BEB99 +Route11_EventScript_ItemGreatBall:: @ 81BEB99 finditem ITEM_GREAT_BALL end -Route11_EventScript_1BEBA6:: @ 81BEBA6 +Route11_EventScript_ItemAwakening:: @ 81BEBA6 finditem ITEM_AWAKENING end -PokemonTower_5F_EventScript_1BEBB3:: @ 81BEBB3 +PokemonTower_5F_EventScript_ItemCleanseTag:: @ 81BEBB3 finditem ITEM_CLEANSE_TAG end -CeladonCity_EventScript_1BEBC0:: @ 81BEBC0 +CeladonCity_EventScript_ItemEther:: @ 81BEBC0 finditem ITEM_ETHER end -RocketHideout_B3F_EventScript_1BEBCD:: @ 81BEBCD +RocketHideout_B3F_EventScript_ItemBlackGlasses:: @ 81BEBCD finditem ITEM_BLACK_GLASSES end -SafariZone_North_EventScript_1BEBDA:: @ 81BEBDA +SafariZone_North_EventScript_ItemQuickClaw:: @ 81BEBDA finditem ITEM_QUICK_CLAW end -SeafoamIslands_1F_EventScript_1BEBE7:: @ 81BEBE7 +SeafoamIslands_1F_EventScript_ItemIceHeal:: @ 81BEBE7 finditem ITEM_ICE_HEAL end -SeafoamIslands_B1F_EventScript_1BEBF4:: @ 81BEBF4 +SeafoamIslands_B1F_EventScript_ItemWaterStone:: @ 81BEBF4 finditem ITEM_WATER_STONE end -SeafoamIslands_B1F_EventScript_1BEC01:: @ 81BEC01 +SeafoamIslands_B1F_EventScript_ItemRevive:: @ 81BEC01 finditem ITEM_REVIVE end -SeafoamIslands_B2F_EventScript_1BEC0E:: @ 81BEC0E +SeafoamIslands_B2F_EventScript_ItemBigPearl:: @ 81BEC0E finditem ITEM_BIG_PEARL end -SeafoamIslands_B4F_EventScript_1BEC1B:: @ 81BEC1B +SeafoamIslands_B4F_EventScript_ItemUltraBall:: @ 81BEC1B finditem ITEM_ULTRA_BALL end -FourIsland_EventScript_1BEC28:: @ 81BEC28 +FourIsland_EventScript_ItemStarPiece:: @ 81BEC28 finditem ITEM_STAR_PIECE end -FourIsland_EventScript_1BEC35:: @ 81BEC35 +FourIsland_EventScript_ItemStardust:: @ 81BEC35 finditem ITEM_STARDUST end -OneIsland_KindleRoad_EventScript_1BEC42:: @ 81BEC42 +OneIsland_KindleRoad_EventScript_ItemEther:: @ 81BEC42 finditem ITEM_ETHER end -OneIsland_KindleRoad_EventScript_1BEC4F:: @ 81BEC4F +OneIsland_KindleRoad_EventScript_ItemMaxRepel:: @ 81BEC4F finditem ITEM_MAX_REPEL end -OneIsland_KindleRoad_EventScript_1BEC5C:: @ 81BEC5C +OneIsland_KindleRoad_EventScript_ItemCarbos:: @ 81BEC5C finditem ITEM_CARBOS end -FiveIsland_Meadow_EventScript_1BEC69:: @ 81BEC69 +FiveIsland_Meadow_EventScript_ItemMaxPotion:: @ 81BEC69 finditem ITEM_MAX_POTION end -FiveIsland_Meadow_EventScript_1BEC76:: @ 81BEC76 +FiveIsland_Meadow_EventScript_ItemPPUp:: @ 81BEC76 finditem ITEM_PP_UP end -FiveIsland_MemorialPillar_EventScript_1BEC83:: @ 81BEC83 +FiveIsland_MemorialPillar_EventScript_ItemMetalCoat:: @ 81BEC83 finditem ITEM_METAL_COAT end -SixIsland_OutcastIsland_EventScript_1BEC90:: @ 81BEC90 +SixIsland_OutcastIsland_EventScript_ItemPPUp:: @ 81BEC90 finditem ITEM_PP_UP end -SixIsland_WaterPath_EventScript_1BEC9D:: @ 81BEC9D +SixIsland_WaterPath_EventScript_ItemElixir:: @ 81BEC9D finditem ITEM_ELIXIR end -SixIsland_WaterPath_EventScript_1BECAA:: @ 81BECAA +SixIsland_WaterPath_EventScript_ItemDragonScale:: @ 81BECAA finditem ITEM_DRAGON_SCALE end -SixIsland_RuinValley_EventScript_1BECB7:: @ 81BECB7 +SixIsland_RuinValley_EventScript_ItemFullRestore:: @ 81BECB7 finditem ITEM_FULL_RESTORE end -SixIsland_RuinValley_EventScript_1BECC4:: @ 81BECC4 +SixIsland_RuinValley_EventScript_ItemHPUp:: @ 81BECC4 finditem ITEM_HP_UP end -SixIsland_RuinValley_EventScript_1BECD1:: @ 81BECD1 +SixIsland_RuinValley_EventScript_ItemSunStone:: @ 81BECD1 finditem ITEM_SUN_STONE end -SevenIsland_SevaultCanyon_EventScript_1BECDE:: @ 81BECDE +SevenIsland_SevaultCanyon_EventScript_ItemKingsRock:: @ 81BECDE finditem ITEM_KINGS_ROCK end -SevenIsland_SevaultCanyon_EventScript_1BECEB:: @ 81BECEB +SevenIsland_SevaultCanyon_EventScript_ItemMaxElixir:: @ 81BECEB finditem ITEM_MAX_ELIXIR end -SevenIsland_SevaultCanyon_EventScript_1BECF8:: @ 81BECF8 +SevenIsland_SevaultCanyon_EventScript_ItemNugget:: @ 81BECF8 finditem ITEM_NUGGET end -ThreeIsland_BerryForest_EventScript_1BED05:: @ 81BED05 +ThreeIsland_BerryForest_EventScript_ItemMaxEther:: @ 81BED05 finditem ITEM_MAX_ETHER end -ThreeIsland_BerryForest_EventScript_1BED12:: @ 81BED12 +ThreeIsland_BerryForest_EventScript_ItemFullHeal:: @ 81BED12 finditem ITEM_FULL_HEAL end -ThreeIsland_BerryForest_EventScript_1BED1F:: @ 81BED1F +ThreeIsland_BerryForest_EventScript_ItemMaxElixir:: @ 81BED1F finditem ITEM_MAX_ELIXIR end -MtEmber_Exterior_EventScript_1BED2C:: @ 81BED2C +MtEmber_Exterior_EventScript_ItemUltraBall:: @ 81BED2C finditem ITEM_ULTRA_BALL end -MtEmber_Exterior_EventScript_1BED39:: @ 81BED39 +MtEmber_Exterior_EventScript_ItemFireStone:: @ 81BED39 finditem ITEM_FIRE_STONE end -MtEmber_Exterior_EventScript_1BED46:: @ 81BED46 +MtEmber_Exterior_EventScript_ItemDireHit:: @ 81BED46 finditem ITEM_DIRE_HIT end -FourIsland_IcefallCave_1F_EventScript_1BED53:: @ 81BED53 +FourIsland_IcefallCave_1F_EventScript_ItemUltraBall:: @ 81BED53 finditem ITEM_ULTRA_BALL end -FourIsland_IcefallCave_1F_EventScript_1BED60:: @ 81BED60 +FourIsland_IcefallCave_1F_EventScript_ItemHM07:: @ 81BED60 finditem ITEM_HM07 end -FourIsland_IcefallCave_B1F_EventScript_1BED6D:: @ 81BED6D +FourIsland_IcefallCave_B1F_EventScript_ItemFullRestore:: @ 81BED6D finditem ITEM_FULL_RESTORE end -FourIsland_IcefallCave_B1F_EventScript_1BED7A:: @ 81BED7A +FourIsland_IcefallCave_B1F_EventScript_ItemNeverMeltIce:: @ 81BED7A finditem ITEM_NEVER_MELT_ICE end -FiveIsland_RocketWarehouse_EventScript_1BED87:: @ 81BED87 +FiveIsland_RocketWarehouse_EventScript_ItemBigPearl:: @ 81BED87 finditem ITEM_BIG_PEARL end -FiveIsland_RocketWarehouse_EventScript_1BED94:: @ 81BED94 +FiveIsland_RocketWarehouse_EventScript_ItemTM36:: @ 81BED94 finditem ITEM_TM36 end -FiveIsland_RocketWarehouse_EventScript_1BEDA1:: @ 81BEDA1 +FiveIsland_RocketWarehouse_EventScript_ItemPearl:: @ 81BEDA1 finditem ITEM_PEARL end -FiveIsland_RocketWarehouse_EventScript_1BEDAE:: @ 81BEDAE +FiveIsland_RocketWarehouse_EventScript_ItemUpGrade:: @ 81BEDAE finditem ITEM_UP_GRADE end -FiveIsland_LostCave_Room10_EventScript_1BEDBB:: @ 81BEDBB +FiveIsland_LostCave_Room10_EventScript_ItemSilkScarf:: @ 81BEDBB finditem ITEM_SILK_SCARF end -FiveIsland_LostCave_Room11_EventScript_1BEDC8:: @ 81BEDC8 +FiveIsland_LostCave_Room11_EventScript_ItemLaxIncense:: @ 81BEDC8 finditem ITEM_LAX_INCENSE end -FiveIsland_LostCave_Room12_EventScript_1BEDD5:: @ 81BEDD5 +FiveIsland_LostCave_Room12_EventScript_ItemSeaIncense:: @ 81BEDD5 finditem ITEM_SEA_INCENSE end -FiveIsland_LostCave_Room13_EventScript_1BEDE2:: @ 81BEDE2 +FiveIsland_LostCave_Room13_EventScript_ItemMaxRevive:: @ 81BEDE2 finditem ITEM_MAX_REVIVE end -FiveIsland_LostCave_Room14_EventScript_1BEDEF:: @ 81BEDEF +FiveIsland_LostCave_Room14_EventScript_ItemRareCandy:: @ 81BEDEF finditem ITEM_RARE_CANDY end -SevenIsland_SevaultCanyon_House_EventScript_1BEDFC:: @ 81BEDFC +SevenIsland_SevaultCanyon_House_EventScript_ItemLuckyPunch:: @ 81BEDFC finditem ITEM_LUCKY_PUNCH end -SilphCo_4F_EventScript_1BEE09:: @ 81BEE09 +SilphCo_4F_EventScript_ItemTM41:: @ 81BEE09 finditem ITEM_TM41 end -- cgit v1.2.3 From 0676e732869d0e62322b001cbab57b8500361005 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 12 Jan 2020 16:53:55 -0500 Subject: Remove unused link groups, dead label --- data/scripts/cable_club.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'data/scripts') diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index abbd37e06..f4d0ed6e1 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -675,7 +675,6 @@ BattleColosseum4P_EventScript_PlayerSpot3:: @ 81BB932 BattleColosseum4P_EventScript_CancelSpotTrigger:: @ 81BB94F end -gUnknown_81BB950:: @ 81BB950 TradeCenter_EventScript_Chair0:: @ 81BB950 setvar VAR_0x8005, 0 textcolor 3 -- cgit v1.2.3