summaryrefslogtreecommitdiff
path: root/data/event_scripts.s
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-10-23 09:05:26 -0400
committerGitHub <noreply@github.com>2019-10-23 09:05:26 -0400
commit6e36c229200e083ca005cbc448e99210d111f3b2 (patch)
treeaec86bd0f081a7ff207f68cba33315991b629be1 /data/event_scripts.s
parent4bc284ff2c7d0ec3f24df8d94a77860fbaed588b (diff)
parent3efd2e1210b4149628197446d063df0fc11281ab (diff)
Merge pull request #130 from PikalaxALT/trainers
Trainers, event flags, mystery_event_msg, map object gfx
Diffstat (limited to 'data/event_scripts.s')
-rw-r--r--data/event_scripts.s4554
1 files changed, 1930 insertions, 2624 deletions
diff --git a/data/event_scripts.s b/data/event_scripts.s
index 98e63347e..8f9e8ae26 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -11,8 +11,14 @@
#include "constants/battle.h"
#include "constants/spawn_points.h"
#include "constants/field_effects.h"
+#include "constants/trainers.h"
+#include "constants/map_objects.h"
+#include "constants/fame_checker.h"
+#include "constants/seagallop.h"
.include "asm/macros.inc"
.include "asm/macros/event.inc"
+ .set FALSE, 0
+ .set TRUE, 1
.section script_data, "aw", %progbits
@@ -38,8 +44,8 @@ gSpecialVars:: @ 815FD0C
.4byte gSpecialVar_LastTalked
.4byte gSpecialVar_MonBoxId
.4byte gSpecialVar_MonBoxPos
- .4byte gUnknown_20370DA
- .4byte gUnknown_20370DC
+ .4byte gSpecialVar_TextColor
+ .4byte gSpecialVar_PrevTextColor
.4byte gUnknown_20370DE
.include "data/specials.inc"
@@ -58,8 +64,6 @@ gStdScripts:: @ 8160450
.4byte gStdScript_ItemMessageAndFanfare
gStdScriptsEnd::
-
-
.include "data/maps/UnknownMap_00_00/scripts.inc"
.include "data/maps/UnknownMap_00_01/scripts.inc"
.include "data/maps/UnknownMap_00_02/scripts.inc"
@@ -247,6 +251,7 @@ gStdScriptsEnd::
.include "data/maps/BirthIsland_Exterior/scripts.inc"
.include "data/maps/OneIsland_KindleRoad_EmberSpa/scripts.inc"
.include "data/maps/BirthIsland_Harbor/scripts.inc"
+ .include "data/maps/NavelRock_Harbor/scripts.inc"
.include "data/maps/PalletTown/scripts.inc"
.include "data/maps/ViridianCity/scripts.inc"
.include "data/maps/PewterCity/scripts.inc"
@@ -351,6 +356,7 @@ gStdScriptsEnd::
.include "data/maps/VermilionCity_PokemonCenter_1F/scripts.inc"
.include "data/maps/VermilionCity_PokemonCenter_2F/scripts.inc"
.include "data/maps/VermilionCity_PokemonFanClub/scripts.inc"
+ .include "data/maps/VermilionCity_House2/scripts.inc"
.include "data/maps/VermilionCity_Mart/scripts.inc"
.include "data/maps/VermilionCity_Gym/scripts.inc"
.include "data/maps/VermilionCity_House3/scripts.inc"
@@ -484,8 +490,6 @@ gStdScriptsEnd::
.include "data/maps/SixIsland_WaterPath_House2/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_House/scripts.inc"
-
-
.include "data/maps/ViridianForest/text.inc"
.include "data/maps/MtMoon_1F/text.inc"
.include "data/maps/MtMoon_B2F/text.inc"
@@ -771,8 +775,6 @@ gStdScriptsEnd::
.include "data/maps/SixIsland_WaterPath_House2/text.inc"
.include "data/maps/SevenIsland_SevaultCanyon_House/text.inc"
-
-
gStdScript_2:: @ 81A4E3F
lock
faceplayer
@@ -805,17 +807,15 @@ gStdScript_5:: @ 81A4E5C
gStdScript_ItemMessageAndFanfare:: @ 81A4E66
textcolor 3
compare_var_to_value VAR_0x8002, MUS_FANFA1
- call_if 1, EventScript_1A4EA2
+ call_if eq, EventScript_1A4EA2
compare_var_to_value VAR_0x8002, MUS_FAN5
- call_if 1, EventScript_1A4EA6
+ call_if eq, EventScript_1A4EA6
message 0x0
waitmessage
waitfanfare
compare_var_to_value VAR_0x8002, MUS_FANFA1
- call_if 1, EventScript_1A4EAA
- setorcopyvar VAR_0x8000, VAR_0x8000
- setorcopyvar VAR_0x8001, VAR_0x8001
- callstd 8
+ call_if eq, EventScript_1A4EAA
+ giveitem VAR_0x8000, VAR_0x8001, 8
call EventScript_1A6675
return
@@ -841,7 +841,7 @@ EventScript_1A4EAF:: @ 81A4EAF
gUnknown_81A4EB4:: @ 81A4EB4
lock
- special sub_8080628
+ special PlayTrainerEncounterMusic
special ScrSpecial_EndTrainerApproach
waitstate
goto EventScript_1A4FC7
@@ -853,8 +853,8 @@ gUnknown_81A4EC1:: @ 81A4EC1
waitmovement 0
specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought
compare_var_to_value VAR_RESULT, 0
- goto_if 5, EventScript_1A4EE8
- special sub_8080628
+ goto_if ne, EventScript_1A4EE8
+ special PlayTrainerEncounterMusic
special sub_8080398
goto EventScript_1A4FC7
@@ -867,11 +867,11 @@ gUnknown_81A4EE9:: @ 81A4EE9
call EventScript_1A4FBA
specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought
compare_var_to_value VAR_RESULT, 0
- goto_if 5, EventScript_1A4F20
+ goto_if ne, EventScript_1A4F20
special CheckForAlivePartyMons
compare_var_to_value VAR_RESULT, 0
- goto_if 5, EventScript_1A4F19
- special sub_8080628
+ goto_if ne, EventScript_1A4F19
+ special PlayTrainerEncounterMusic
special sub_8080398
goto EventScript_1A4FC7
@@ -888,10 +888,10 @@ EventScript_1A4F20:: @ 81A4F20
gUnknown_81A4F21:: @ 81A4F21
applymovement VAR_LAST_TALKED, Movement_1A4FC5
waitmovement 0
- special sub_8080628
+ special PlayTrainerEncounterMusic
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if_eq EventScript_1A501A
+ goto_if eq, EventScript_1A501A
battlebegin
ontrainerbattleend
@@ -899,15 +899,15 @@ gUnknown_81A4F3E:: @ 81A4F3E
call EventScript_1A4FBA
specialvar VAR_RESULT, sub_810CEB4
compare_var_to_value VAR_RESULT, 0
- goto_if_eq EventScript_1A4F72
- special sub_8080628
+ goto_if eq, EventScript_1A4F72
+ special PlayTrainerEncounterMusic
special sub_8080398
special sub_80805D8
waitmessage
waitbuttonpress
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if_eq EventScript_1A4FB8
+ goto_if eq, EventScript_1A4FB8
special sub_80805B0
waitstate
releaseall
@@ -919,18 +919,18 @@ EventScript_1A4F72:: @ 81A4F72
gUnknown_81A4F73:: @ 81A4F73
specialvar VAR_RESULT, sub_810CEB4
compare_var_to_value VAR_RESULT, 0
- goto_if_eq EventScript_1A4FB0
+ goto_if eq, EventScript_1A4FB0
special CheckForAlivePartyMons
compare_var_to_value VAR_RESULT, 0
- goto_if 5, EventScript_1A4FB1
- special sub_8080628
+ goto_if ne, EventScript_1A4FB1
+ special PlayTrainerEncounterMusic
special sub_8080398
special sub_80805D8
waitmessage
waitbuttonpress
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if_eq EventScript_1A4FB8
+ goto_if eq, EventScript_1A4FB8
special sub_80805B0
waitstate
releaseall
@@ -965,19 +965,19 @@ EventScript_1A4FC7:: @ 81A4FC7
waitbuttonpress
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if_eq EventScript_1A501A
+ goto_if eq, EventScript_1A501A
battlebegin
specialvar VAR_RESULT, sub_80803CC
compare_var_to_value VAR_RESULT, 0
- goto_if_eq EventScript_1A5017
+ goto_if eq, EventScript_1A5017
compare_var_to_value VAR_RESULT, 2
- goto_if_eq EventScript_1A5019
+ goto_if eq, EventScript_1A5019
compare_var_to_value VAR_RESULT, 1
- goto_if_eq EventScript_1A5019
+ goto_if eq, EventScript_1A5019
compare_var_to_value VAR_RESULT, 6
- goto_if_eq EventScript_1A5019
+ goto_if eq, EventScript_1A5019
compare_var_to_value VAR_RESULT, 8
- goto_if_eq EventScript_1A5019
+ goto_if eq, EventScript_1A5019
EventScript_1A5017:: @ 81A5017
releaseall
@@ -1493,78 +1493,77 @@ Text_1A644F:: @ 81A644F
.string "This move can be learned only\n"
.string "once. Is that okay?$"
-
EventScript_ResetAllMapFlags:: @ 81A6481
- setflag FLAG_0x02B
- setflag FLAG_0x02C
- setflag FLAG_0x033
- setflag FLAG_0x092
- setflag FLAG_0x035
- setflag FLAG_0x036
- setflag FLAG_0x037
- setflag FLAG_0x03C
- setflag FLAG_0x03D
- setflag FLAG_0x0A1
- setflag FLAG_0x03F
- setflag FLAG_0x04F
- setflag FLAG_0x05A
- setflag FLAG_0x0A3
- setflag FLAG_0x0A4
- setflag FLAG_0x062
- setflag FLAG_0x06B
- setflag FLAG_0x0A2
- setflag FLAG_0x08C
- setflag FLAG_0x06C
- setflag FLAG_0x06D
- setflag FLAG_0x06E
- setflag FLAG_0x06F
- setflag FLAG_0x075
- setflag FLAG_0x074
- setflag FLAG_0x07B
- setflag FLAG_0x07C
- setflag FLAG_0x07D
- setflag FLAG_0x076
- setflag FLAG_0x091
- setflag FLAG_0x097
- setflag FLAG_0x090
- setflag FLAG_0x094
- setflag FLAG_0x095
- setflag FLAG_0x096
- setflag FLAG_0x099
- setflag FLAG_0x0A5
- setflag FLAG_0x0A6
- setflag FLAG_0x0A7
- setflag FLAG_0x0A8
- setflag FLAG_0x0A9
- setflag FLAG_0x0AA
- setflag FLAG_0x0AB
- setflag FLAG_0x0AC
- setflag FLAG_0x09D
- setflag FLAG_0x09E
- setflag FLAG_0x09F
- setflag FLAG_0x0A0
- setflag FLAG_0x0AE
- setvar VAR_0x4025, 500
+ setflag FLAG_HIDE_OAK_IN_HIS_LAB
+ setflag FLAG_HIDE_OAK_IN_PALLET_TOWN
+ setflag FLAG_HIDE_BILL_HUMAN_SEA_COTTAGE
+ setflag FLAG_HIDE_PEWTER_CITY_RUNNING_SHOES_GUY
+ setflag FLAG_HIDE_POKEHOUSE_FUJI
+ setflag FLAG_HIDE_LIFT_KEY
+ setflag FLAG_HIDE_SILPH_SCOPE
+ setflag FLAG_HIDE_CERULEAN_RIVAL
+ setflag FLAG_HIDE_SS_ANNE_RIVAL
+ setflag FLAG_HIDE_VERMILION_CITY_OAKS_AIDE
+ setflag FLAG_HIDE_SAFFRON_CIVILIANS
+ setflag FLAG_HIDE_ROUTE_22_RIVAL
+ setflag FLAG_HIDE_OAK_IN_CHAMP_ROOM
+ setflag FLAG_HIDE_CREDITS_RIVAL
+ setflag FLAG_HIDE_CREDITS_OAK
+ setflag FLAG_HIDE_CINNABAR_BILL
+ setflag FLAG_HIDE_CINNABAR_SEAGALLOP
+ setflag FLAG_HIDE_CINNABAR_POKECENTER_BILL
+ setflag FLAG_HIDE_LORELEI_IN_HER_HOUSE
+ setflag FLAG_HIDE_SAFFRON_FAN_CLUB_BLACKBELT
+ setflag FLAG_HIDE_SAFFRON_FAN_CLUB_ROCKER
+ setflag FLAG_HIDE_SAFFRON_FAN_CLUB_WOMAN
+ setflag FLAG_HIDE_SAFFRON_FAN_CLUB_BEAUTY
+ setflag FLAG_HIDE_TWO_ISLAND_GAME_CORNER_LOSTELLE
+ setflag FLAG_HIDE_TWO_ISLAND_GAME_CORNER_BIKER
+ setflag FLAG_HIDE_TWO_ISLAND_WOMAN
+ setflag FLAG_HIDE_TWO_ISLAND_BEAUTY
+ setflag FLAG_HIDE_TWO_ISLAND_SUPER_NERD
+ setflag FLAG_HIDE_LOSTELLE_IN_HER_HOME
+ setflag FLAG_HIDE_THREE_ISLAND_LONE_BIKER
+ setflag FLAG_HIDE_FOUR_ISLAND_RIVAL
+ setflag FLAG_HIDE_DOTTED_HOLE_SCIENTIST
+ setflag FLAG_HIDE_RESORT_GORGEOUS_SELPHY
+ setflag FLAG_HIDE_RESORT_GORGEOUS_INSIDE_SELPHY
+ setflag FLAG_HIDE_SELPHYS_BUTLER
+ setflag FLAG_HIDE_DEOXYS
+ setflag FLAG_HIDE_LORELEI_HOUSE_MEOWTH_DOLL
+ setflag FLAG_HIDE_LORELEI_HOUSE_CHANSEY_DOLL
+ setflag FLAG_HIDE_LORELEIS_HOUSE_NIDORAN_F_DOLL
+ setflag FLAG_HIDE_LORELEI_HOUSE_JIGGLYPUFF_DOLL
+ setflag FLAG_HIDE_LORELEIS_HOUSE_NIDORAN_M_DOLL
+ setflag FLAG_HIDE_LORELEIS_HOUSE_FEAROW_DOLL
+ setflag FLAG_HIDE_LORELEIS_HOUSE_PIDGEOT_DOLL
+ setflag FLAG_HIDE_LORELEIS_HOUSE_LAPRAS_DOLL
+ setflag FLAG_HIDE_POSTGAME_GOSSIPERS
+ setflag FLAG_HIDE_FAME_CHECKER_ERIKA_JOURNALS
+ setflag FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL
+ setflag FLAG_HIDE_FAME_CHECKER_LT_SURGE_JOURNAL
+ setflag FLAG_HIDE_SAFFRON_CITY_POKECENTER_SABRINA_JOURNALS
+ setvar VAR_MASSAGE_COOLDOWN_STEP_COUNTER, 500
end
EventScript_1A651A:: @ 81A651A
- clearflag FLAG_0x09D
+ clearflag FLAG_HIDE_POSTGAME_GOSSIPERS
call EventScript_1A6551
special sub_81130A8
specialvar VAR_RESULT, IsNationalPokedexEnabled
compare_var_to_value VAR_RESULT, 0
- call_if 1, EventScript_1A653B
+ call_if eq, EventScript_1A653B
call EventScript_1A6541
return
EventScript_1A653B:: @ 81A653B
- setvar VAR_MAP_SCENE_PALLET_TOWN, 2
+ setvar VAR_MAP_SCENE_PALLET_TOWN_OAK, 2
return
EventScript_1A6541:: @ 81A6541
- clearflag FLAG_0x2F5
- clearflag FLAG_0x2F6
- clearflag FLAG_0x2F7
+ clearflag FLAG_LUGIA_FLEW_AWAY
+ clearflag FLAG_HO_OH_FLEW_AWAY
+ clearflag FLAG_DEOXYS_FLEW_AWAY
return
gUnknown_81A654B:: @ 81A654B
@@ -1572,24 +1571,24 @@ gUnknown_81A654B:: @ 81A654B
end
EventScript_1A6551:: @ 81A6551
- clearflag FLAG_0x4B8
- clearflag FLAG_0x4B9
- clearflag FLAG_0x4BA
- clearflag FLAG_0x4BB
- clearflag FLAG_0x4BC
- cleartrainerflag 438
- cleartrainerflag 439
- cleartrainerflag 440
- cleartrainerflag 739
- cleartrainerflag 740
- cleartrainerflag 741
- setvar VAR_0x4068, 0
+ clearflag FLAG_DEFEATED_LORELEI
+ clearflag FLAG_DEFEATED_BRUNO
+ clearflag FLAG_DEFEATED_AGATHA
+ clearflag FLAG_DEFEATED_LANCE
+ clearflag FLAG_DEFEATED_CHAMP
+ cleartrainerflag TRAINER_CHAMPION_FIRST_SQUIRTLE
+ cleartrainerflag TRAINER_CHAMPION_FIRST_BULBASAUR
+ cleartrainerflag TRAINER_CHAMPION_FIRST_CHARMANDER
+ cleartrainerflag TRAINER_CHAMPION_REMATCH_SQUIRTLE
+ cleartrainerflag TRAINER_CHAMPION_REMATCH_BULBASAUR
+ cleartrainerflag TRAINER_CHAMPION_REMATCH_CHARMANDER
+ setvar VAR_MAP_SCENE_POKEMON_LEAGUE, 0
return
EventScript_1A6578:: @ 81A6578
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if_eq EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
message Text_1A5483
waitmessage
multichoice 19, 8, 0, 2
@@ -1621,13 +1620,13 @@ EventScript_1A65CE:: @ 81A65CE
EventScript_1A65EC:: @ 81A65EC
specialvar VAR_RESULT, sub_80CD074
compare_var_to_value VAR_RESULT, 0
- goto_if_eq EventScript_1A661D
+ goto_if eq, EventScript_1A661D
specialvar VAR_RESULT, sp182_move_string
copyvar VAR_0x8008, VAR_RESULT
compare_var_to_value VAR_0x8008, 0
- goto_if_eq EventScript_1A661D
+ goto_if eq, EventScript_1A661D
compare_var_to_value VAR_0x8008, 1
- goto_if_eq EventScript_1A6636
+ goto_if eq, EventScript_1A6636
end
EventScript_1A661D:: @ 81A661D
@@ -1639,10 +1638,10 @@ EventScript_1A661D:: @ 81A661D
return
EventScript_1A6636:: @ 81A6636
- checkflag 2114
- goto_if_eq EventScript_1A661D
+ checkflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER
+ goto_if TRUE, EventScript_1A661D
msgbox Text_1A552B
- setflag 2114
+ setflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER
message Text_1BCCCA
waitmessage
applymovement VAR_LAST_TALKED, Movement_1A666C
@@ -1681,53 +1680,53 @@ EventScript_1A6697:: @ 81A6697
checkitemtype VAR_0x8000
call EventScript_1A66BC
compare_var_to_value VAR_0x8007, 1
- call_if 1, EventScript_1A6749
+ call_if eq, EventScript_1A6749
compare_var_to_value VAR_0x8007, 0
- call_if 1, EventScript_1A675E
+ call_if eq, EventScript_1A675E
return
EventScript_1A66BC:: @ 81A66BC
- copyvar VAR_0x8000, VAR_RESULT
+ switch VAR_RESULT
compare_var_to_value VAR_0x8000, 1
- goto_if_eq EventScript_1A66F9
+ goto_if eq, EventScript_1A66F9
compare_var_to_value VAR_0x8000, 2
- goto_if_eq EventScript_1A6709
+ goto_if eq, EventScript_1A6709
compare_var_to_value VAR_0x8000, 3
- goto_if_eq EventScript_1A6719
+ goto_if eq, EventScript_1A6719
compare_var_to_value VAR_0x8000, 4
- goto_if_eq EventScript_1A6729
+ goto_if eq, EventScript_1A6729
compare_var_to_value VAR_0x8000, 5
- goto_if_eq EventScript_1A6739
+ goto_if eq, EventScript_1A6739
end
EventScript_1A66F9:: @ 81A66F9
getstdstring 2, 24
compare_var_to_value VAR_0x8007, 1
- call_if 1, EventScript_1A6764
+ call_if eq, EventScript_1A6764
return
EventScript_1A6709:: @ 81A6709
getstdstring 2, 25
compare_var_to_value VAR_0x8007, 1
- call_if 1, EventScript_1A6764
+ call_if eq, EventScript_1A6764
return
EventScript_1A6719:: @ 81A6719
getstdstring 2, 26
compare_var_to_value VAR_0x8007, 1
- call_if 1, EventScript_1A6764
+ call_if eq, EventScript_1A6764
return
EventScript_1A6729:: @ 81A6729
getstdstring 2, 27
compare_var_to_value VAR_0x8007, 1
- call_if 1, EventScript_1A6768
+ call_if eq, EventScript_1A6768
return
EventScript_1A6739:: @ 81A6739
getstdstring 2, 28
compare_var_to_value VAR_0x8007, 1
- call_if 1, EventScript_1A6764
+ call_if eq, EventScript_1A6764
return
EventScript_1A6749:: @ 81A6749
@@ -1759,9 +1758,9 @@ gStdScript_7:: @ 81A676C
EventScript_1A677A:: @ 81A677A
getdecorname 1, VAR_0x8000
compare_var_to_value VAR_0x8007, 1
- call_if 1, EventScript_1A6795
+ call_if eq, EventScript_1A6795
compare_var_to_value VAR_0x8007, 0
- call_if 1, EventScript_1A67AD
+ call_if eq, EventScript_1A67AD
return
EventScript_1A6795:: @ 81A6795
@@ -1789,9 +1788,9 @@ gStdScript_1:: @ 81A67B3
checkitemtype VAR_0x8000
call EventScript_1A66BC
compare_var_to_value VAR_0x8007, 1
- call_if 1, EventScript_1A67EE
+ call_if eq, EventScript_1A67EE
compare_var_to_value VAR_0x8007, 0
- call_if 1, EventScript_1A682D
+ call_if eq, EventScript_1A682D
release
return
@@ -1801,9 +1800,9 @@ EventScript_1A67EE:: @ 81A67EE
specialvar VAR_RESULT, sub_80CC8CC
copyvar VAR_0x8008, VAR_RESULT
compare_var_to_value VAR_0x8008, 1
- call_if 1, EventScript_1A6821
+ call_if eq, EventScript_1A6821
compare_var_to_value VAR_0x8008, 0
- call_if 1, EventScript_1A6827
+ call_if eq, EventScript_1A6827
waitfanfare
waitmessage
msgbox gUnknown_81A5218
@@ -1828,12 +1827,12 @@ EventScript_PickUpHiddenItem:: @ 81A6843
textcolor 3
waitse
compare_var_to_value VAR_0x8005, 0
- goto_if_eq EventScript_PickUpHiddenCoins
+ goto_if eq, EventScript_PickUpHiddenCoins
call EventScript_GiveItem
compare_var_to_value VAR_0x8007, 1
- goto_if_eq EventScript_ItemInPocketMessage
+ goto_if eq, EventScript_ItemInPocketMessage
compare_var_to_value VAR_0x8007, 0
- goto_if_eq EventScript_BagIsFullMessage
+ goto_if eq, EventScript_BagIsFullMessage
end
EventScript_GiveItem::
@@ -1846,9 +1845,9 @@ EventScript_GiveItem::
EventScript_ItemInPocketMessage::
compare_var_to_value VAR_0x8006, 1
- call_if 1, EventScript_FoundSingleItemMessage
+ call_if eq, EventScript_FoundSingleItemMessage
compare_var_to_value VAR_0x8006, 1
- call_if 5, EventScript_FoundMultipleItemsMessage
+ call_if ne, EventScript_FoundMultipleItemsMessage
waitfanfare
waitmessage
msgbox gUnknown_81A5218
@@ -1879,11 +1878,11 @@ EventScript_BagIsFullMessage::
EventScript_PickUpHiddenCoins::
checkflag FLAG_GOT_COIN_CASE
- goto_if 0, EventScript_HiddenCoinsButNoCoinCase
+ goto_if FALSE, EventScript_HiddenCoinsButNoCoinCase
checkcoins VAR_RESULT
specialvar VAR_RESULT, Special_CheckAddCoins
compare_var_to_value VAR_RESULT, 0
- goto_if_eq EventScript_HiddenCoinsButTheCoinCaseIsFull
+ goto_if eq, EventScript_HiddenCoinsButTheCoinCaseIsFull
givecoins VAR_0x8006
getstdstring 1, 0x17
call EventScript_1A6764
@@ -1916,10 +1915,10 @@ EventScript_HiddenCoinsButNoCoinCase::
gUnknown_81A6955:: @ 81A6955
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
- checkflag FLAG_0x841
- goto_if 1, EventScript_1A698E
+ checkflag FLAG_SYS_PC_STORAGE_DISABLED
+ goto_if TRUE, EventScript_1A698E
setvar VAR_0x8004, 27
special Special_SetSomeVariable
setvar VAR_0x8004, 0
@@ -1943,19 +1942,13 @@ EventScript_1A6998:: @ 81A6998
end
EventScript_1A69A8:: @ 81A69A8
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A6A05
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A69F0
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A6A7A
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A6A56
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1A6A46
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A6A46
+ switch VAR_RESULT
+ case 0, EventScript_1A6A05
+ case 1, EventScript_1A69F0
+ case 2, EventScript_1A6A7A
+ case 3, EventScript_1A6A56
+ case 4, EventScript_1A6A46
+ case 127, EventScript_1A6A46
end
EventScript_1A69F0:: @ 81A69F0
@@ -1969,9 +1962,9 @@ EventScript_1A69F0:: @ 81A69F0
EventScript_1A6A05:: @ 81A6A05
playse SE_PC_LOGIN
checkflag FLAG_SYS_NOT_SOMEONES_PC
- call_if 0, EventScript_1A6A34
+ call_if FALSE, EventScript_1A6A34
checkflag FLAG_SYS_NOT_SOMEONES_PC
- call_if 1, EventScript_1A6A3D
+ call_if TRUE, EventScript_1A6A3D
msgbox Text_1A50BE
special sub_808C6A8
waitstate
@@ -1997,8 +1990,8 @@ EventScript_1A6A46:: @ 81A6A46
end
EventScript_1A6A56:: @ 81A6A56
- checkflag FLAG_0x82C
- goto_if 0, EventScript_1A6A46
+ checkflag FLAG_SYS_GAME_CLEAR
+ goto_if FALSE, EventScript_1A6A46
playse SE_PC_LOGIN
setvar VAR_0x8004, 31
special HelpSystem_BackupSomeVariable
@@ -2010,16 +2003,16 @@ EventScript_1A6A56:: @ 81A6A56
end
EventScript_1A6A7A:: @ 81A6A7A
- checkflag FLAG_0x829
- goto_if 0, EventScript_1A6A46
+ checkflag FLAG_SYS_POKEDEX_GET
+ goto_if FALSE, EventScript_1A6A46
playse SE_PC_LOGIN
msgbox Text_1A5BC6
msgbox Text_1A5C03, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1A6AB2
- setflag FLAG_0x2FF
+ goto_if eq, EventScript_1A6AB2
+ setflag FLAG_OAKS_RATING_IS_VIA_PC
call EventScript_1A73E0
- clearflag FLAG_0x2FF
+ clearflag FLAG_OAKS_RATING_IS_VIA_PC
goto EventScript_1A6AB2
end
@@ -2037,16 +2030,16 @@ EventScript_1A6AC0:: @ 81A6AC0
EventScript_1A6AC8:: @ 81A6AC8
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A6AC8_End
+ goto_if eq, EventScript_1A6AC8_End
checkpartymove MOVE_SURF
compare_var_to_value VAR_RESULT, 6
- goto_if 1, EventScript_1A6AC8_End
+ goto_if eq, EventScript_1A6AC8_End
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
lockall
msgbox Text_1A556E, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1A6AC8_Release
+ goto_if eq, EventScript_1A6AC8_Release
msgbox Text_1A55A5
dofieldeffect FLDEFF_USE_SURF
EventScript_1A6AC8_Release:@ 81A6B0B
@@ -2061,88 +2054,80 @@ gUnknown_81A6B0D:: @ 81A6B0D
end
EventScript_1A6B18:: @ 81A6B18
- copyvar VAR_0x8000, VAR_0x8008
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A6B76
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A6B7A
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A6B81
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1A6B8B
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1A6BA1
- compare_var_to_value VAR_0x8000, 6
- goto_if 1, EventScript_1A6BB4
- compare_var_to_value VAR_0x8000, 7
- goto_if 1, EventScript_1A6BCA
- compare_var_to_value VAR_0x8000, 8
- goto_if 1, EventScript_1A6BE0
+ switch VAR_0x8008
+ case 1, EventScript_1A6B76
+ case 2, EventScript_1A6B7A
+ case 3, EventScript_1A6B81
+ case 4, EventScript_1A6B8B
+ case 5, EventScript_1A6BA1
+ case 6, EventScript_1A6BB4
+ case 7, EventScript_1A6BCA
+ case 8, EventScript_1A6BE0
end
EventScript_1A6B76:: @ 81A6B76
- settrainerflag 142
+ settrainerflag TRAINER_CAMPER_LIAM
return
EventScript_1A6B7A:: @ 81A6B7A
- settrainerflag 150
- settrainerflag 234
+ settrainerflag TRAINER_PICNICKER_DIANA
+ settrainerflag TRAINER_SWIMMER_MALE_LUIS
return
EventScript_1A6B81:: @ 81A6B81
- settrainerflag 141
- settrainerflag 220
- settrainerflag 423
+ settrainerflag TRAINER_SAILOR_DWAYNE
+ settrainerflag TRAINER_ENGINEER_BAILY
+ settrainerflag TRAINER_GENTLEMAN_TUCKER
return
EventScript_1A6B8B:: @ 81A6B8B
- settrainerflag 132
- settrainerflag 133
- settrainerflag 160
- settrainerflag 265
- settrainerflag 266
- settrainerflag 267
- settrainerflag 402
+ 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_1A6BA1:: @ 81A6BA1
- settrainerflag 294
- settrainerflag 295
- settrainerflag 288
- settrainerflag 289
- settrainerflag 292
- settrainerflag 293
+ 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_1A6BB4:: @ 81A6BB4
- settrainerflag 280
- settrainerflag 281
- settrainerflag 282
- settrainerflag 283
- settrainerflag 462
- settrainerflag 463
- settrainerflag 464
+ 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_1A6BCA:: @ 81A6BCA
- settrainerflag 177
- settrainerflag 178
- settrainerflag 179
- settrainerflag 180
- settrainerflag 213
- settrainerflag 214
- settrainerflag 215
+ 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_1A6BE0:: @ 81A6BE0
- settrainerflag 296
- settrainerflag 297
- settrainerflag 322
- settrainerflag 323
- settrainerflag 324
- settrainerflag 392
- settrainerflag 400
- settrainerflag 401
+ 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
EventScript_1A6BF9:: @ 81A6BF9
@@ -2169,7 +2154,7 @@ EventScript_1A6C21:: @ 81A6C21
waitfanfare
return
-EventScript_1A6C26:: @ 81A6C26
+EventScript_FadeOut_Heal_FadeIn:: @ 81A6C26
fadescreen 1
playfanfare MUS_ME_ASA
waitfanfare
@@ -2182,7 +2167,7 @@ gUnknown_81A6C32:: @ 81A6C32
msgbox Text_1C0DF1
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
fadescreen 1
special sub_80CA7EC
waitstate
@@ -2315,12 +2300,12 @@ Text_1A72F2:: @ 81A72F2
EventScript_1A737B:: @ 81A737B
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
- checkflag FLAG_0x2F4
- call_if 1, EventScript_1A73A4
- checkflag FLAG_0x2F4
- call_if 0, EventScript_1A73AD
+ 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
@@ -2337,9 +2322,9 @@ EventScript_1A73B6:: @ 81A73B6
special sub_80CA524
waitmessage
compare_var_to_value VAR_RESULT, 0
- call_if 1, EventScript_1A73D8
+ call_if eq, EventScript_1A73D8
compare_var_to_value VAR_RESULT, 1
- call_if 1, EventScript_1A73DC
+ call_if eq, EventScript_1A73DC
waitfanfare
waitbuttonpress
return
@@ -2364,11 +2349,11 @@ EventScript_1A73E0:: @ 81A73E0
getnumberstring 0, VAR_0x8008
getnumberstring 1, VAR_0x8009
msgbox Text_1A6CA3
- checkflag FLAG_0x2FF
- call_if 0, EventScript_1A746D
+ checkflag FLAG_OAKS_RATING_IS_VIA_PC
+ call_if FALSE, EventScript_1A746D
call EventScript_1A73B6
compare_var_to_value VAR_0x800A, 0
- goto_if 1, EventScript_1A748F
+ goto_if eq, EventScript_1A748F
setvar VAR_0x8004, 1
specialvar VAR_RESULT, Special_GetPokedexCount
copyvar VAR_0x8008, VAR_0x8005
@@ -2378,9 +2363,9 @@ EventScript_1A73E0:: @ 81A73E0
msgbox Text_1A71AA
specialvar VAR_RESULT, HasAllMons
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1A7470
+ goto_if eq, EventScript_1A7470
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A747E
+ goto_if eq, EventScript_1A747E
end
EventScript_1A746D:: @ 81A746D
@@ -2393,7 +2378,7 @@ EventScript_1A7470:: @ 81A7470
end
EventScript_1A747E:: @ 81A747E
- setflag FLAG_0x2F4
+ setflag FLAG_OAK_SAW_DEX_COMPLETION
msgbox Text_1A722F
goto EventScript_1A748F
end
@@ -2459,13 +2444,13 @@ EventScript_1A7506:: @ 81A7506
playse SE_DOOR
call EventScript_1A7538
special DrawWholeMapView
- setflag FLAG_0x004
+ setflag FLAG_TEMP_4
return
EventScript_1A751F:: @ 81A751F
applymovement 255, Movement_1A75F3
waitmovement 0
- setflag FLAG_0x002
+ setflag FLAG_TEMP_2
playse SE_KI_GASYAN
call EventScript_1A759C
special DrawWholeMapView
@@ -2493,7 +2478,7 @@ EventScript_1A7563:: @ 81A7563
setmetatile 6, 4, 654, 1
setmetatile 6, 5, 662, 0
special DrawWholeMapView
- setflag FLAG_0x004
+ setflag FLAG_TEMP_4
return
EventScript_1A7589:: @ 81A7589
@@ -2714,7 +2699,7 @@ gUnknown_81A7702:: @ 81A7702
textcolor 3
msgbox Text_1A622C, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1A778A
+ goto_if eq, EventScript_1A778A
setvar VAR_0x8004, 14
call EventScript_1A6AC0
lock
@@ -2722,11 +2707,11 @@ gUnknown_81A7702:: @ 81A7702
specialvar VAR_0x8008, sub_80CC4D4
textcolor 0
compare_var_to_value VAR_0x8004, 0
- goto_if 1, EventScript_1A774D
+ goto_if eq, EventScript_1A774D
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1A778A
+ goto_if eq, EventScript_1A778A
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A778C
+ goto_if eq, EventScript_1A778C
end
EventScript_1A774D:: @ 81A774D
@@ -2738,7 +2723,7 @@ EventScript_1A774D:: @ 81A774D
applymovement VAR_0x8008, Movement_1A75DD
waitmovement 0
msgbox Text_1A62D3
- setflag 2105
+ setflag FLAG_SYS_MYSTERY_GIFT_ENABLED
textcolor 3
special sub_80699BC
signmsg
@@ -2776,7 +2761,7 @@ EventScript_1A77B0:: @ 81A77B0
Route16_NorthEntrance_1F_EventScript_1A77B6:: @ 81A77B6
Route18_EastEntrance_1F_EventScript_1A77B6:: @ 81A77B6
lockall
- clearflag FLAG_0x830
+ clearflag FLAG_SYS_ON_CYCLING_ROAD
setvar VAR_MAP_SCENE_ROUTE16, 0
releaseall
end
@@ -2820,94 +2805,78 @@ EventScript_1A77F9:: @ 81A77F9
end
EventScript_1A7803:: @ 81A7803
- compare_var_to_var VAR_0x405F, VAR_0x4001
- goto_if 4, EventScript_1A77EC
- copyvar VAR_0x8000, VAR_0x4001
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A78D5
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A78E4
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A78F3
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1A7902
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1A7911
- compare_var_to_value VAR_0x8000, 6
- goto_if 1, EventScript_1A7920
- compare_var_to_value VAR_0x8000, 7
- goto_if 1, EventScript_1A792F
- compare_var_to_value VAR_0x8000, 8
- goto_if 1, EventScript_1A793E
+ compare_var_to_var 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_to_var VAR_0x405F, VAR_0x4001
- goto_if 4, EventScript_1A77F9
- copyvar VAR_0x8000, VAR_0x4001
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A78D5
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A78E4
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A78F3
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1A7902
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1A7911
- compare_var_to_value VAR_0x8000, 6
- goto_if 1, EventScript_1A7920
- compare_var_to_value VAR_0x8000, 7
- goto_if 1, EventScript_1A792F
- compare_var_to_value VAR_0x8000, 8
- goto_if 1, EventScript_1A793E
+ compare_var_to_var 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_UNK820
- goto_if 1, EventScript_1A794D
+ checkflag FLAG_BADGE01_GET
+ goto_if TRUE, EventScript_1A794D
goto EventScript_1A77C9
end
EventScript_1A78E4:: @ 81A78E4
- checkflag FLAG_0x821
- goto_if 1, EventScript_1A795F
+ checkflag FLAG_BADGE02_GET
+ goto_if TRUE, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A78F3:: @ 81A78F3
- checkflag FLAG_0x822
- goto_if 1, EventScript_1A795F
+ checkflag FLAG_BADGE03_GET
+ goto_if TRUE, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A7902:: @ 81A7902
- checkflag FLAG_0x823
- goto_if 1, EventScript_1A795F
+ checkflag FLAG_BADGE04_GET
+ goto_if TRUE, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A7911:: @ 81A7911
- checkflag FLAG_UNK824
- goto_if 1, EventScript_1A795F
+ checkflag FLAG_BADGE05_GET
+ goto_if TRUE, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A7920:: @ 81A7920
- checkflag FLAG_0x825
- goto_if 1, EventScript_1A795F
+ checkflag FLAG_BADGE06_GET
+ goto_if TRUE, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A792F:: @ 81A792F
- checkflag FLAG_UNK826
- goto_if 1, EventScript_1A795F
+ checkflag FLAG_BADGE07_GET
+ goto_if TRUE, EventScript_1A795F
goto EventScript_1A77DE
end
EventScript_1A793E:: @ 81A793E
- checkflag FLAG_0x827
- goto_if 1, EventScript_1A795F
+ checkflag FLAG_BADGE08_GET
+ goto_if TRUE, EventScript_1A795F
goto EventScript_1A77DE
end
@@ -2917,13 +2886,13 @@ EventScript_1A794D:: @ 81A794D
playfanfare MUS_FANFA1
waitfanfare
waitbuttonpress
- copyvar VAR_0x405F, VAR_0x4001
+ copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001
release
end
EventScript_1A795F:: @ 81A795F
msgbox Text_1A5839
- copyvar VAR_0x405F, VAR_0x4001
+ copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001
release
end
@@ -2931,70 +2900,62 @@ EventScript_1A796E:: @ 81A796E
textcolor 0
applymovement VAR_0x8009, Movement_1A75E7
waitmovement 0
- copyvar VAR_0x8000, VAR_0x4001
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A79D8
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A79E7
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A79F6
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1A7A05
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1A7A14
- compare_var_to_value VAR_0x8000, 6
- goto_if 1, EventScript_1A7A23
- compare_var_to_value VAR_0x8000, 7
- goto_if 1, EventScript_1A7A32
- compare_var_to_value VAR_0x8000, 8
- goto_if 1, EventScript_1A7A41
+ 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_UNK820
- goto_if 1, EventScript_1A7A96
+ checkflag FLAG_BADGE01_GET
+ goto_if TRUE, EventScript_1A7A96
goto EventScript_1A7A50
end
EventScript_1A79E7:: @ 81A79E7
- checkflag FLAG_0x821
- goto_if 1, EventScript_1A7AA8
+ checkflag FLAG_BADGE02_GET
+ goto_if TRUE, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A79F6:: @ 81A79F6
- checkflag FLAG_0x822
- goto_if 1, EventScript_1A7AA8
+ checkflag FLAG_BADGE03_GET
+ goto_if TRUE, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A05:: @ 81A7A05
- checkflag FLAG_0x823
- goto_if 1, EventScript_1A7AA8
+ checkflag FLAG_BADGE04_GET
+ goto_if TRUE, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A14:: @ 81A7A14
- checkflag FLAG_UNK824
- goto_if 1, EventScript_1A7AA8
+ checkflag FLAG_BADGE05_GET
+ goto_if TRUE, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A23:: @ 81A7A23
- checkflag FLAG_0x825
- goto_if 1, EventScript_1A7AA8
+ checkflag FLAG_BADGE06_GET
+ goto_if TRUE, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A32:: @ 81A7A32
- checkflag FLAG_UNK826
- goto_if 1, EventScript_1A7AA8
+ checkflag FLAG_BADGE07_GET
+ goto_if TRUE, EventScript_1A7AA8
goto EventScript_1A7A77
end
EventScript_1A7A41:: @ 81A7A41
- checkflag FLAG_0x827
- goto_if 1, EventScript_1A7AA8
+ checkflag FLAG_BADGE08_GET
+ goto_if TRUE, EventScript_1A7AA8
goto EventScript_1A7A77
end
@@ -3028,13 +2989,13 @@ EventScript_1A7A96:: @ 81A7A96
playfanfare MUS_FANFA1
waitfanfare
waitbuttonpress
- copyvar VAR_0x405F, VAR_0x4001
+ copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001
releaseall
end
EventScript_1A7AA8:: @ 81A7AA8
msgbox Text_1A5839
- copyvar VAR_0x405F, VAR_0x4001
+ copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001
releaseall
end
@@ -3043,7 +3004,7 @@ Movement_1A7AB7:: @ 81A7AB7
step_end
EventScript_1A7AB9:: @ 81A7AB9
- special sub_80CB204
+ special Special_GetElevatorFloor
return
EventScript_1A7ABD:: @ 81A7ABD
@@ -3073,33 +3034,25 @@ EventScript_1A7AE0:: @ 81A7AE0
EventScript_1A7AE2:: @ 81A7AE2
msgbox Text_177460, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1A7B70
+ goto_if eq, EventScript_1A7B70
msgbox Text_17747B
- checkflag FLAG_0x26C
- goto_if 1, EventScript_1A7B3B
- setflag FLAG_0x26C
- copyvar VAR_0x8000, VAR_0x8004
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A7B7A
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A7D3E
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A7E72
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A7F4C
+ checkflag FLAG_POKEMON_MANSION_SWITCH_STATE
+ goto_if TRUE, 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_0x26C
- copyvar VAR_0x8000, VAR_0x8004
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A7C5C
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A7DD8
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A7EDF
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A8025
+ 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
@@ -3656,8 +3609,8 @@ SilphCo_2F_EventScript_1A891B:: @ 81A891B
lockall
setvar VAR_0x4001, 1
setvar VAR_0x8004, 634
- checkflag FLAG_0x27A
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_2F_DOOR_1
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3665,8 +3618,8 @@ SilphCo_2F_EventScript_1A8935:: @ 81A8935
lockall
setvar VAR_0x4001, 2
setvar VAR_0x8004, 635
- checkflag FLAG_0x27B
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_2F_DOOR_2
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3674,8 +3627,8 @@ SilphCo_3F_EventScript_1A894F:: @ 81A894F
lockall
setvar VAR_0x4001, 3
setvar VAR_0x8004, 636
- checkflag FLAG_0x27C
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_3F_DOOR_1
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3683,8 +3636,8 @@ SilphCo_3F_EventScript_1A8969:: @ 81A8969
lockall
setvar VAR_0x4001, 4
setvar VAR_0x8004, 637
- checkflag FLAG_0x27D
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_3F_DOOR_2
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3692,8 +3645,8 @@ SilphCo_4F_EventScript_1A8983:: @ 81A8983
lockall
setvar VAR_0x4001, 5
setvar VAR_0x8004, 638
- checkflag FLAG_0x27E
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_4F_DOOR_1
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3701,8 +3654,8 @@ SilphCo_4F_EventScript_1A899D:: @ 81A899D
lockall
setvar VAR_0x4001, 6
setvar VAR_0x8004, 639
- checkflag FLAG_0x27F
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_4F_DOOR_2
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3710,8 +3663,8 @@ SilphCo_5F_EventScript_1A89B7:: @ 81A89B7
lockall
setvar VAR_0x4001, 7
setvar VAR_0x8004, 640
- checkflag FLAG_0x280
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_5F_DOOR_1
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3719,8 +3672,8 @@ SilphCo_5F_EventScript_1A89D1:: @ 81A89D1
lockall
setvar VAR_0x4001, 8
setvar VAR_0x8004, 641
- checkflag FLAG_0x281
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_5F_DOOR_2
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3728,8 +3681,8 @@ SilphCo_5F_EventScript_1A89EB:: @ 81A89EB
lockall
setvar VAR_0x4001, 9
setvar VAR_0x8004, 642
- checkflag FLAG_0x282
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_5F_DOOR_3
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3737,8 +3690,8 @@ SilphCo_6F_EventScript_1A8A05:: @ 81A8A05
lockall
setvar VAR_0x4001, 10
setvar VAR_0x8004, 643
- checkflag FLAG_0x283
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_6F_DOOR
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3746,8 +3699,8 @@ SilphCo_7F_EventScript_1A8A1F:: @ 81A8A1F
lockall
setvar VAR_0x4001, 11
setvar VAR_0x8004, 644
- checkflag FLAG_0x284
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_7F_DOOR_1
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3755,8 +3708,8 @@ SilphCo_7F_EventScript_1A8A39:: @ 81A8A39
lockall
setvar VAR_0x4001, 12
setvar VAR_0x8004, 645
- checkflag FLAG_0x285
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_7F_DOOR_2
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3764,8 +3717,8 @@ SilphCo_7F_EventScript_1A8A53:: @ 81A8A53
lockall
setvar VAR_0x4001, 13
setvar VAR_0x8004, 646
- checkflag FLAG_0x286
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_7F_DOOR_3
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3773,8 +3726,8 @@ SilphCo_8F_EventScript_1A8A6D:: @ 81A8A6D
lockall
setvar VAR_0x4001, 14
setvar VAR_0x8004, 647
- checkflag FLAG_0x287
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_8F_DOOR
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3782,8 +3735,8 @@ SilphCo_9F_EventScript_1A8A87:: @ 81A8A87
lockall
setvar VAR_0x4001, 15
setvar VAR_0x8004, 648
- checkflag FLAG_0x288
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_9F_DOOR_1
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3791,8 +3744,8 @@ SilphCo_9F_EventScript_1A8AA1:: @ 81A8AA1
lockall
setvar VAR_0x4001, 16
setvar VAR_0x8004, 649
- checkflag FLAG_0x289
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_9F_DOOR_2
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3800,8 +3753,8 @@ SilphCo_9F_EventScript_1A8ABB:: @ 81A8ABB
lockall
setvar VAR_0x4001, 17
setvar VAR_0x8004, 650
- checkflag FLAG_0x28A
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_9F_DOOR_3
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3809,8 +3762,8 @@ SilphCo_9F_EventScript_1A8AD5:: @ 81A8AD5
lockall
setvar VAR_0x4001, 18
setvar VAR_0x8004, 651
- checkflag FLAG_0x28B
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_9F_DOOR_4
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3818,8 +3771,8 @@ SilphCo_10F_EventScript_1A8AEF:: @ 81A8AEF
lockall
setvar VAR_0x4001, 19
setvar VAR_0x8004, 652
- checkflag FLAG_0x28C
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_10F_DOOR
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
@@ -3827,14 +3780,14 @@ SilphCo_11F_EventScript_1A8B09:: @ 81A8B09
lockall
setvar VAR_0x4001, 20
setvar VAR_0x8004, 653
- checkflag FLAG_0x28D
- goto_if 1, EventScript_1A813F
+ checkflag FLAG_SILPH_11F_DOOR
+ goto_if TRUE, EventScript_1A813F
goto EventScript_1A8B23
end
EventScript_1A8B23:: @ 81A8B23
- checkflag FLAG_0x192
- goto_if 1, EventScript_1A8B32
+ checkflag FLAG_HIDE_SILPH_CO_5F_CARD_KEY
+ goto_if TRUE, EventScript_1A8B32
goto EventScript_1A8135
end
@@ -3843,45 +3796,45 @@ EventScript_1A8B32:: @ 81A8B32
msgbox Text_1A5B88
waitfanfare
compare_var_to_value VAR_0x4001, 1
- call_if 1, EventScript_1A8532
+ call_if eq, EventScript_1A8532
compare_var_to_value VAR_0x4001, 2
- call_if 1, EventScript_1A8560
+ call_if eq, EventScript_1A8560
compare_var_to_value VAR_0x4001, 3
- call_if 1, EventScript_1A858E
+ call_if eq, EventScript_1A858E
compare_var_to_value VAR_0x4001, 4
- call_if 1, EventScript_1A85C5
+ call_if eq, EventScript_1A85C5
compare_var_to_value VAR_0x4001, 5
- call_if 1, EventScript_1A85FC
+ call_if eq, EventScript_1A85FC
compare_var_to_value VAR_0x4001, 6
- call_if 1, EventScript_1A862A
+ call_if eq, EventScript_1A862A
compare_var_to_value VAR_0x4001, 7
- call_if 1, EventScript_1A8658
+ call_if eq, EventScript_1A8658
compare_var_to_value VAR_0x4001, 8
- call_if 1, EventScript_1A868F
+ call_if eq, EventScript_1A868F
compare_var_to_value VAR_0x4001, 9
- call_if 1, EventScript_1A86C6
+ call_if eq, EventScript_1A86C6
compare_var_to_value VAR_0x4001, 10
- call_if 1, EventScript_1A86FD
+ call_if eq, EventScript_1A86FD
compare_var_to_value VAR_0x4001, 11
- call_if 1, EventScript_1A8734
+ call_if eq, EventScript_1A8734
compare_var_to_value VAR_0x4001, 12
- call_if 1, EventScript_1A8762
+ call_if eq, EventScript_1A8762
compare_var_to_value VAR_0x4001, 13
- call_if 1, EventScript_1A8790
+ call_if eq, EventScript_1A8790
compare_var_to_value VAR_0x4001, 14
- call_if 1, EventScript_1A87BE
+ call_if eq, EventScript_1A87BE
compare_var_to_value VAR_0x4001, 15
- call_if 1, EventScript_1A87F5
+ call_if eq, EventScript_1A87F5
compare_var_to_value VAR_0x4001, 16
- call_if 1, EventScript_1A882C
+ call_if eq, EventScript_1A882C
compare_var_to_value VAR_0x4001, 17
- call_if 1, EventScript_1A8863
+ call_if eq, EventScript_1A8863
compare_var_to_value VAR_0x4001, 18
- call_if 1, EventScript_1A8891
+ call_if eq, EventScript_1A8891
compare_var_to_value VAR_0x4001, 19
- call_if 1, EventScript_1A88BF
+ call_if eq, EventScript_1A88BF
compare_var_to_value VAR_0x4001, 20
- call_if 1, EventScript_1A88ED
+ call_if eq, EventScript_1A88ED
waitse
playse SE_KI_GASYAN
special DrawWholeMapView
@@ -3905,37 +3858,37 @@ EventScript_1A8C33:: @ 81A8C33
return
EventScript_1A8C3C:: @ 81A8C3C
- bufferboxname 0, 16439
- getspeciesname 1, 16385
+ bufferboxname 0, VAR_0x4037
+ getspeciesname 1, VAR_0x4001
checkflag FLAG_SYS_NOT_SOMEONES_PC
- call_if 0, EventScript_1A8C57
+ call_if FALSE, EventScript_1A8C57
checkflag FLAG_SYS_NOT_SOMEONES_PC
- call_if 1, EventScript_1A8C82
+ call_if TRUE, EventScript_1A8C82
return
EventScript_1A8C57:: @ 81A8C57
specialvar VAR_RESULT, sub_80CC7B4
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A8C70
+ goto_if eq, EventScript_1A8C70
msgbox Text_1A5CF1
return
EventScript_1A8C70:: @ 81A8C70
specialvar VAR_RESULT, get_unknown_box_id
- bufferboxname 2, 32781
+ bufferboxname 2, VAR_RESULT
msgbox Text_1A5D6E
return
EventScript_1A8C82:: @ 81A8C82
specialvar VAR_RESULT, sub_80CC7B4
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A8C9B
+ goto_if eq, EventScript_1A8C9B
msgbox Text_1A5D31
return
EventScript_1A8C9B:: @ 81A8C9B
specialvar VAR_RESULT, get_unknown_box_id
- bufferboxname 2, 32781
+ bufferboxname 2, VAR_RESULT
msgbox Text_1A5DB1
return
@@ -3946,7 +3899,7 @@ EventScript_1A8CAD:: @ 81A8CAD
return
EventScript_1A8CBD:: @ 81A8CBD
- special sub_80BF8FC
+ special Special_ChooseMonFromParty
waitstate
lock
faceplayer
@@ -4048,15 +4001,13 @@ ViridianCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
VermilionCity_PokemonCenter_1F_EventScript_1A8D08:: @ 81A8D08
lock
faceplayer
- checkflag FLAG_0x292
- goto_if 1, EventScript_1A8D3F
+ checkflag FLAG_GOT_VS_SEEKER
+ goto_if TRUE, EventScript_1A8D3F
msgbox Text_194234
- setflag FLAG_0x292
- setorcopyvar VAR_0x8000, 362
- setorcopyvar VAR_0x8001, 1
- callstd 0
+ setflag FLAG_GOT_VS_SEEKER
+ giveitem ITEM_VS_SEEKER
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1A6BF9
+ goto_if eq, EventScript_1A6BF9
msgbox Text_19430F
release
end
@@ -4072,9 +4023,9 @@ EventScript_ItemfinderDigUpUnderfootItem:: @ 81A8D49
waitse
call EventScript_GiveItem
compare_var_to_value VAR_0x8007, 1
- goto_if_eq EventScript_DigUpItemPutInPocket
+ goto_if eq, EventScript_DigUpItemPutInPocket
compare_var_to_value VAR_0x8007, 0
- goto_if_eq EventScript_DigUpItemBagIsFull
+ goto_if eq, EventScript_DigUpItemBagIsFull
end
EventScript_DigUpItemPutInPocket::
@@ -4094,15 +4045,15 @@ EventScript_DigUpItemBagIsFull::
releaseall
end
-gUnknown_81A8D97:: @ 81A8D97
+EventScript_AfterWhiteOutHeal:: @ 81A8D97
lockall
textcolor 1
msgbox Text_1A5E89
call EventScript_1A65CE
- checkflag FLAG_0x4B0
- call_if 0, EventScript_1A8DC6
- checkflag FLAG_0x4B0
- call_if 1, EventScript_1A8DCF
+ checkflag FLAG_DEFEATED_BROCK
+ call_if FALSE, EventScript_1A8DC6
+ checkflag FLAG_DEFEATED_BROCK
+ call_if TRUE, EventScript_1A8DCF
applymovement VAR_LAST_TALKED, Movement_1A666C
waitmovement 0
fadedefaultbgm
@@ -4117,34 +4068,34 @@ EventScript_1A8DCF:: @ 81A8DCF
msgbox Text_1A5F9B
return
-gUnknown_81A8DD8:: @ 81A8DD8
+EventScript_MomHeal:: @ 81A8DD8
lockall
textcolor 1
applymovement 1, Movement_1A75ED
waitmovement 0
msgbox Text_1A5FDF
- call EventScript_1A6C26
+ call EventScript_FadeOut_Heal_FadeIn
msgbox Text_1A6046
fadedefaultbgm
releaseall
end
-gUnknown_81A8DFD:: @ 81A8DFD
+EventScript_PoisonWhiteOut:: @ 81A8DFD
lockall
textcolor 3
special ExecuteWhiteOut
waitstate
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A8E11
+ goto_if eq, EventScript_1A8E11
releaseall
end
EventScript_1A8E11:: @ 81A8E11
checkmoney 1, 0
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1A8E2E
+ goto_if eq, EventScript_1A8E2E
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A8E3C
+ goto_if eq, EventScript_1A8E3C
end
EventScript_1A8E2E:: @ 81A8E2E
@@ -4153,7 +4104,7 @@ EventScript_1A8E2E:: @ 81A8E2E
end
EventScript_1A8E3C:: @ 81A8E3C
- special sub_8054C48
+ special Special_OverworldWhiteOutGetMoneyLoss
msgbox Text_1A6197
goto EventScript_1A8E4D
end
@@ -4174,17 +4125,12 @@ gStdScript_8:: @ 81A8E58
return
EventScript_1A8E6F:: @ 81A8E6F
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A8EAC
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A8EB1
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A8EB6
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1A8EBB
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1A8EC0
+ switch VAR_RESULT
+ case 1, EventScript_1A8EAC
+ case 2, EventScript_1A8EB1
+ case 3, EventScript_1A8EB6
+ case 4, EventScript_1A8EBB
+ case 5, EventScript_1A8EC0
end
EventScript_1A8EAC:: @ 81A8EAC
@@ -4209,127 +4155,100 @@ EventScript_1A8EC0:: @ 81A8EC0
EventScript_1A8EC5:: @ 81A8EC5
compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5
- goto_if 4, EventScript_1A911E
- compare_var_to_value VAR_0x4071, 4
- goto_if 4, EventScript_1A8F12
+ goto_if ge, EventScript_1A911E
+ compare_var_to_value VAR_MAP_SCENE_CINNABAR_ISLAND, 4
+ goto_if ge, EventScript_1A8F12
multichoice 19, 6, 44, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A8FF9
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A9004
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A90F6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A90F6
+ switch VAR_RESULT
+ case 0, EventScript_1A8FF9
+ case 1, EventScript_1A9004
+ case 2, EventScript_1A90F6
+ case 127, EventScript_1A90F6
end
EventScript_1A8F12:: @ 81A8F12
multichoice 19, 5, 58, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A8FE3
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A8FF9
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A9004
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A90F6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A90F6
+ switch VAR_RESULT
+ case 0, EventScript_1A8FE3
+ case 1, EventScript_1A8FF9
+ case 2, EventScript_1A9004
+ case 3, EventScript_1A90F6
+ case 127, EventScript_1A90F6
end
EventScript_1A8F54:: @ 81A8F54
compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5
- goto_if 4, EventScript_1A911E
- compare_var_to_value VAR_0x4071, 4
- goto_if 4, EventScript_1A8FA1
+ goto_if ge, EventScript_1A911E
+ compare_var_to_value VAR_MAP_SCENE_CINNABAR_ISLAND, 4
+ goto_if ge, EventScript_1A8FA1
multichoice 19, 6, 45, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A8FEE
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A9004
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A90F6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A90F6
+ switch VAR_RESULT
+ case 0, EventScript_1A8FEE
+ case 1, EventScript_1A9004
+ case 2, EventScript_1A90F6
+ case 127, EventScript_1A90F6
end
EventScript_1A8FA1:: @ 81A8FA1
multichoice 19, 5, 59, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A8FE3
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A8FEE
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A9004
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A90F6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A90F6
+ switch VAR_RESULT
+ case 0, EventScript_1A8FE3
+ case 1, EventScript_1A8FEE
+ case 2, EventScript_1A9004
+ case 3, EventScript_1A90F6
+ case 127, EventScript_1A90F6
end
EventScript_1A8FE3:: @ 81A8FE3
- setvar VAR_0x8006, 0
+ setvar VAR_0x8006, SEAGALLOP_VERMILION_CITY
goto EventScript_1A909E
end
EventScript_1A8FEE:: @ 81A8FEE
- setvar VAR_0x8006, 1
+ setvar VAR_0x8006, SEAGALLOP_ONE_ISLAND
goto EventScript_1A909E
end
EventScript_1A8FF9:: @ 81A8FF9
- setvar VAR_0x8006, 2
+ setvar VAR_0x8006, SEAGALLOP_TWO_ISLAND
goto EventScript_1A909E
end
EventScript_1A9004:: @ 81A9004
- setvar VAR_0x8006, 3
+ setvar VAR_0x8006, SEAGALLOP_THREE_ISLAND
goto EventScript_1A909E
end
EventScript_1A900F:: @ 81A900F
compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5
- goto_if 4, EventScript_1A911E
- compare_var_to_value VAR_0x4071, 4
- goto_if 4, EventScript_1A905C
+ goto_if ge, EventScript_1A911E
+ compare_var_to_value VAR_MAP_SCENE_CINNABAR_ISLAND, 4
+ goto_if ge, EventScript_1A905C
multichoice 19, 6, 46, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A8FEE
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A8FF9
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A90F6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A90F6
+ switch VAR_RESULT
+ case 0, EventScript_1A8FEE
+ case 1, EventScript_1A8FF9
+ case 2, EventScript_1A90F6
+ case 127, EventScript_1A90F6
end
EventScript_1A905C:: @ 81A905C
multichoice 19, 5, 60, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A8FE3
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A8FEE
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A8FF9
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A90F6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A90F6
+ switch VAR_RESULT
+ case 0, EventScript_1A8FE3
+ case 1, EventScript_1A8FEE
+ case 2, EventScript_1A8FF9
+ case 3, EventScript_1A90F6
+ case 127, EventScript_1A90F6
end
EventScript_1A909E:: @ 81A909E
specialvar VAR_RESULT, sub_8147500
getnumberstring 0, VAR_RESULT
- compare_var_to_value VAR_0x8004, 0
- goto_if 1, EventScript_1A90BE
- compare_var_to_value VAR_0x8004, 0
- goto_if 5, EventScript_1A90CC
+ compare_var_to_value VAR_0x8004, SEAGALLOP_VERMILION_CITY
+ goto_if eq, EventScript_1A90BE
+ compare_var_to_value VAR_0x8004, SEAGALLOP_VERMILION_CITY
+ goto_if ne, EventScript_1A90CC
end
EventScript_1A90BE:: @ 81A90BE
@@ -4347,7 +4266,7 @@ EventScript_1A90DA:: @ 81A90DA
delay 20
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
fadescreen 1
special ScrSpecial_SeaGallopFerry
@@ -4357,7 +4276,7 @@ EventScript_1A90DA:: @ 81A90DA
EventScript_1A90F6:: @ 81A90F6
specialvar VAR_RESULT, sub_8147594
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9108
+ goto_if eq, EventScript_1A9108
release
end
@@ -4378,21 +4297,14 @@ EventScript_1A911E:: @ 81A911E
special sub_809D764
waitstate
specialvar VAR_0x8006, sub_809D8C0
- copyvar VAR_0x8000, VAR_0x8006
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1A91D5
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1A91E0
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1A91EB
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1A91F6
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1A9201
- compare_var_to_value VAR_0x8000, 254
- goto_if 1, EventScript_1A917F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A90F6
+ switch VAR_0x8006
+ case 0, EventScript_1A91D5
+ case 1, EventScript_1A91E0
+ case 2, EventScript_1A91EB
+ case 3, EventScript_1A91F6
+ case 4, EventScript_1A9201
+ case 254, EventScript_1A917F
+ case 127, EventScript_1A90F6
end
EventScript_1A917F:: @ 81A917F
@@ -4400,58 +4312,52 @@ EventScript_1A917F:: @ 81A917F
special sub_809D764
waitstate
specialvar VAR_0x8006, sub_809D8C0
- copyvar VAR_0x8000, VAR_0x8006
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1A9201
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1A920C
- compare_var_to_value VAR_0x8000, 6
- goto_if 1, EventScript_1A9217
- compare_var_to_value VAR_0x8000, 7
- goto_if 1, EventScript_1A9222
- compare_var_to_value VAR_0x8000, 254
- goto_if 1, EventScript_1A911E
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1A90F6
+ switch VAR_0x8006
+ case 4, EventScript_1A9201
+ case 5, EventScript_1A920C
+ case 6, EventScript_1A9217
+ case 7, EventScript_1A9222
+ case 254, EventScript_1A911E
+ case 127, EventScript_1A90F6
end
EventScript_1A91D5:: @ 81A91D5
- setvar VAR_0x8006, 0
+ setvar VAR_0x8006, SEAGALLOP_VERMILION_CITY
goto EventScript_1A909E
end
EventScript_1A91E0:: @ 81A91E0
- setvar VAR_0x8006, 1
+ setvar VAR_0x8006, SEAGALLOP_ONE_ISLAND
goto EventScript_1A909E
end
EventScript_1A91EB:: @ 81A91EB
- setvar VAR_0x8006, 2
+ setvar VAR_0x8006, SEAGALLOP_TWO_ISLAND
goto EventScript_1A909E
end
EventScript_1A91F6:: @ 81A91F6
- setvar VAR_0x8006, 3
+ setvar VAR_0x8006, SEAGALLOP_THREE_ISLAND
goto EventScript_1A909E
end
EventScript_1A9201:: @ 81A9201
- setvar VAR_0x8006, 4
+ setvar VAR_0x8006, SEAGALLOP_FOUR_ISLAND
goto EventScript_1A909E
end
EventScript_1A920C:: @ 81A920C
- setvar VAR_0x8006, 5
+ setvar VAR_0x8006, SEAGALLOP_FIVE_ISLAND
goto EventScript_1A909E
end
EventScript_1A9217:: @ 81A9217
- setvar VAR_0x8006, 6
+ setvar VAR_0x8006, SEAGALLOP_SIX_ISLAND
goto EventScript_1A909E
end
EventScript_1A9222:: @ 81A9222
- setvar VAR_0x8006, 7
+ setvar VAR_0x8006, SEAGALLOP_SEVEN_ISLAND
goto EventScript_1A909E
end
@@ -4480,8 +4386,8 @@ EventScript_1A924B:: @ 81A924B
return
EventScript_1A925E:: @ 81A925E
- checkflag FLAG_0x849
- goto_if 1, EventScript_1A77A9
+ checkflag FLAG_SYS_UNLOCKED_TANOBY_RUINS
+ goto_if TRUE, EventScript_1A77A9
setweather 11
doweather
return
@@ -4618,3044 +4524,3044 @@ gUnknown_81A93C0:: @ 81A93C0
.braille "FOR YOU.$"
Route3_EventScript_1A93C9:: @ 81A93C9
- trainerbattle 0, 89, 0, Text_183560, Text_1835A0
+ trainerbattle 0, TRAINER_YOUNGSTER_BEN, 0, Text_183560, Text_1835A0
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A93F0
+ goto_if eq, EventScript_1A93F0
msgbox Text_1835B4, 6
end
EventScript_1A93F0:: @ 81A93F0
- trainerbattle 5, 89, 0, Text_1C149D, Text_1835A0
+ trainerbattle 5, TRAINER_YOUNGSTER_BEN, 0, Text_1C149D, Text_1835A0
msgbox Text_1835B4, 6
end
Route3_EventScript_1A9407:: @ 81A9407
- trainerbattle 0, 90, 0, Text_183786, Text_1837BD
+ trainerbattle 0, TRAINER_YOUNGSTER_CALVIN, 0, Text_183786, Text_1837BD
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A942E
+ goto_if eq, EventScript_1A942E
msgbox Text_1837CF, 6
end
EventScript_1A942E:: @ 81A942E
- trainerbattle 5, 90, 0, Text_1C1588, Text_1837BD
+ trainerbattle 5, TRAINER_YOUNGSTER_CALVIN, 0, Text_1C1588, Text_1837BD
msgbox Text_1837CF, 6
end
Route3_EventScript_1A9445:: @ 81A9445
- trainerbattle 0, 105, 0, Text_1834E6, Text_183509
+ trainerbattle 0, TRAINER_BUG_CATCHER_COLTON, 0, Text_1834E6, Text_183509
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A946C
+ goto_if eq, EventScript_1A946C
msgbox Text_18351C, 6
end
EventScript_1A946C:: @ 81A946C
- trainerbattle 5, 105, 0, Text_1C147A, Text_183509
+ trainerbattle 5, TRAINER_BUG_CATCHER_COLTON, 0, Text_1C147A, Text_183509
msgbox Text_18351C, 6
end
Route3_EventScript_1A9483:: @ 81A9483
- trainerbattle 0, 106, 0, Text_183682, Text_1836B3
+ trainerbattle 0, TRAINER_BUG_CATCHER_GREG, 0, Text_183682, Text_1836B3
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A94AA
+ goto_if eq, EventScript_1A94AA
msgbox Text_1836D9, 6
end
EventScript_1A94AA:: @ 81A94AA
- trainerbattle 5, 106, 0, Text_1C1521, Text_1836B3
+ trainerbattle 5, TRAINER_BUG_CATCHER_GREG, 0, Text_1C1521, Text_1836B3
msgbox Text_1836D9, 6
end
Route3_EventScript_1A94C1:: @ 81A94C1
- trainerbattle 0, 107, 0, Text_183807, Text_183837
+ trainerbattle 0, TRAINER_BUG_CATCHER_JAMES, 0, Text_183807, Text_183837
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A94E8
+ goto_if eq, EventScript_1A94E8
msgbox Text_183849, 6
end
EventScript_1A94E8:: @ 81A94E8
- trainerbattle 5, 107, 0, Text_1C15C5, Text_183837
+ trainerbattle 5, TRAINER_BUG_CATCHER_JAMES, 0, Text_1C15C5, Text_183837
msgbox Text_183849, 6
end
Route3_EventScript_1A94FF:: @ 81A94FF
- trainerbattle 0, 116, 0, Text_183616, Text_18363F
+ trainerbattle 0, TRAINER_LASS_JANICE, 0, Text_183616, Text_18363F
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9526
+ goto_if eq, EventScript_1A9526
msgbox Text_18364C, 6
end
EventScript_1A9526:: @ 81A9526
- trainerbattle 5, 116, 0, Text_1C14F3, Text_18363F
+ trainerbattle 5, TRAINER_LASS_JANICE, 0, Text_1C14F3, Text_18363F
msgbox Text_18364C, 6
end
Route3_EventScript_1A953D:: @ 81A953D
- trainerbattle 0, 117, 0, Text_18371B, Text_183746
+ trainerbattle 0, TRAINER_LASS_SALLY, 0, Text_18371B, Text_183746
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9564
+ goto_if eq, EventScript_1A9564
msgbox Text_18374F, 6
end
EventScript_1A9564:: @ 81A9564
- trainerbattle 5, 117, 0, Text_1C155D, Text_183746
+ trainerbattle 5, TRAINER_LASS_SALLY, 0, Text_1C155D, Text_183746
msgbox Text_18374F, 6
end
Route3_EventScript_1A957B:: @ 81A957B
- trainerbattle 0, 118, 0, Text_18387A, Text_183891
+ trainerbattle 0, TRAINER_LASS_ROBIN, 0, Text_18387A, Text_183891
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A95A2
+ goto_if eq, EventScript_1A95A2
msgbox Text_18389C, 6
end
EventScript_1A95A2:: @ 81A95A2
- trainerbattle 5, 118, 0, Text_1C15F9, Text_183891
+ trainerbattle 5, TRAINER_LASS_ROBIN, 0, Text_1C15F9, Text_183891
msgbox Text_18389C, 6
end
Route4_EventScript_1A95B9:: @ 81A95B9
- trainerbattle 0, 119, 0, Text_183906, Text_183938
+ trainerbattle 0, TRAINER_LASS_CRISSY, 0, Text_183906, Text_183938
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A95E0
+ goto_if eq, EventScript_1A95E0
msgbox Text_183957, 6
end
EventScript_1A95E0:: @ 81A95E0
- trainerbattle 5, 119, 0, Text_1C160F, Text_183938
+ trainerbattle 5, TRAINER_LASS_CRISSY, 0, Text_1C160F, Text_183938
msgbox Text_183957, 6
end
Route24_EventScript_1A95F7:: @ 81A95F7
- trainerbattle 0, 92, 0, Text_188F76, Text_188F95
+ trainerbattle 0, TRAINER_YOUNGSTER_TIMMY, 0, Text_188F76, Text_188F95
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A961E
+ goto_if eq, EventScript_1A961E
msgbox Text_188FA7, 6
end
EventScript_1A961E:: @ 81A961E
- trainerbattle 5, 92, 0, Text_1C3657, Text_188F95
+ trainerbattle 5, TRAINER_YOUNGSTER_TIMMY, 0, Text_1C3657, Text_188F95
msgbox Text_188FA7, 6
end
Route24_EventScript_1A9635:: @ 81A9635
- trainerbattle 0, 110, 0, Text_18901B, Text_18908C
+ trainerbattle 0, TRAINER_BUG_CATCHER_CALE, 0, Text_18901B, Text_18908C
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A965C
+ goto_if eq, EventScript_1A965C
msgbox Text_18909E, 6
end
EventScript_1A965C:: @ 81A965C
- trainerbattle 5, 110, 0, Text_1C36DA, Text_18908C
+ trainerbattle 5, TRAINER_BUG_CATCHER_CALE, 0, Text_1C36DA, Text_18908C
msgbox Text_18909E, 6
end
Route24_EventScript_1A9673:: @ 81A9673
- trainerbattle 0, 122, 0, Text_188F2C, Text_188F46
+ trainerbattle 0, TRAINER_LASS_RELI, 0, Text_188F2C, Text_188F46
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A969A
+ goto_if eq, EventScript_1A969A
msgbox Text_188F53, 6
end
EventScript_1A969A:: @ 81A969A
- trainerbattle 5, 122, 0, Text_1C3624, Text_188F46
+ trainerbattle 5, TRAINER_LASS_RELI, 0, Text_1C3624, Text_188F46
msgbox Text_188F53, 6
end
Route24_EventScript_1A96B1:: @ 81A96B1
- trainerbattle 0, 123, 0, Text_188FC9, Text_188FE7
+ trainerbattle 0, TRAINER_LASS_ALI, 0, Text_188FC9, Text_188FE7
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A96D8
+ goto_if eq, EventScript_1A96D8
msgbox Text_188FF9, 6
end
EventScript_1A96D8:: @ 81A96D8
- trainerbattle 5, 123, 0, Text_1C3685, Text_188FE7
+ trainerbattle 5, TRAINER_LASS_ALI, 0, Text_1C3685, Text_188FE7
msgbox Text_188FF9, 6
end
Route24_EventScript_1A96EF:: @ 81A96EF
- trainerbattle 0, 143, 0, Text_188E74, Text_188E94
+ trainerbattle 0, TRAINER_CAMPER_SHANE, 0, Text_188E74, Text_188E94
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9716
+ goto_if eq, EventScript_1A9716
msgbox Text_188EA3, 6
end
EventScript_1A9716:: @ 81A9716
- trainerbattle 5, 143, 0, Text_1C35EE, Text_188E94
+ trainerbattle 5, TRAINER_CAMPER_SHANE, 0, Text_1C35EE, Text_188E94
msgbox Text_188EA3, 6
end
Route24_EventScript_1A972D:: @ 81A972D
- trainerbattle 0, 144, 0, Text_188ED9, Text_188EFA
+ trainerbattle 0, TRAINER_CAMPER_ETHAN, 0, Text_188ED9, Text_188EFA
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9754
+ goto_if eq, EventScript_1A9754
msgbox Text_188F0A, 6
end
EventScript_1A9754:: @ 81A9754
- trainerbattle 5, 144, 0, Text_1C360E, Text_188EFA
+ trainerbattle 5, TRAINER_CAMPER_ETHAN, 0, Text_1C360E, Text_188EFA
msgbox Text_188F0A, 6
end
Route25_EventScript_1A976B:: @ 81A976B
- trainerbattle 0, 93, 0, Text_1890C0, Text_1890E6
+ trainerbattle 0, TRAINER_YOUNGSTER_JOEY, 0, Text_1890C0, Text_1890E6
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9792
+ goto_if eq, EventScript_1A9792
msgbox Text_1890F5, 6
end
EventScript_1A9792:: @ 81A9792
- trainerbattle 5, 93, 0, Text_1C33E7, Text_1890E6
+ trainerbattle 5, TRAINER_YOUNGSTER_JOEY, 0, Text_1C33E7, Text_1890E6
msgbox Text_1890F5, 6
end
Route25_EventScript_1A97A9:: @ 81A97A9
- trainerbattle 0, 94, 0, Text_189165, Text_1891A6
+ trainerbattle 0, TRAINER_YOUNGSTER_DAN, 0, Text_189165, Text_1891A6
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A97D0
+ goto_if eq, EventScript_1A97D0
msgbox Text_1891B3, 6
end
EventScript_1A97D0:: @ 81A97D0
- trainerbattle 5, 94, 0, Text_1C3404, Text_1891A6
+ trainerbattle 5, TRAINER_YOUNGSTER_DAN, 0, Text_1C3404, Text_1891A6
msgbox Text_1891B3, 6
end
Route25_EventScript_1A97E7:: @ 81A97E7
- trainerbattle 0, 95, 0, Text_1892A9, Text_1892D9
+ trainerbattle 0, TRAINER_YOUNGSTER_CHAD, 0, Text_1892A9, Text_1892D9
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A980E
+ goto_if eq, EventScript_1A980E
msgbox Text_1892EF, 6
end
EventScript_1A980E:: @ 81A980E
- trainerbattle 5, 95, 0, Text_1C34D4, Text_1892D9
+ trainerbattle 5, TRAINER_YOUNGSTER_CHAD, 0, Text_1C34D4, Text_1892D9
msgbox Text_1892EF, 6
end
Route25_EventScript_1A9825:: @ 81A9825
- trainerbattle 0, 153, 0, Text_189247, Text_189261
+ trainerbattle 0, TRAINER_PICNICKER_KELSEY, 0, Text_189247, Text_189261
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A984C
+ goto_if eq, EventScript_1A984C
msgbox Text_189281, 6
end
EventScript_1A984C:: @ 81A984C
- trainerbattle 5, 153, 0, Text_1C349C, Text_189261
+ trainerbattle 5, TRAINER_PICNICKER_KELSEY, 0, Text_1C349C, Text_189261
msgbox Text_189281, 6
end
Route25_EventScript_1A9863:: @ 81A9863
- trainerbattle 0, 125, 0, Text_189333, Text_189364
+ trainerbattle 0, TRAINER_LASS_HALEY, 0, Text_189333, Text_189364
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A988A
+ goto_if eq, EventScript_1A988A
msgbox Text_189378, 6
end
EventScript_1A988A:: @ 81A988A
- trainerbattle 5, 125, 0, Text_1C350A, Text_189364
+ trainerbattle 5, TRAINER_LASS_HALEY, 0, Text_1C350A, Text_189364
msgbox Text_189378, 6
end
Route25_EventScript_1A98A1:: @ 81A98A1
- trainerbattle 0, 182, 0, Text_1893A7, Text_1893EA
+ trainerbattle 0, TRAINER_HIKER_FRANKLIN, 0, Text_1893A7, Text_1893EA
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A98C8
+ goto_if eq, EventScript_1A98C8
msgbox Text_1893FB, 6
end
EventScript_1A98C8:: @ 81A98C8
- trainerbattle 5, 182, 0, Text_1C353B, Text_1893EA
+ trainerbattle 5, TRAINER_HIKER_FRANKLIN, 0, Text_1C353B, Text_1893EA
msgbox Text_1893FB, 6
end
Route25_EventScript_1A98DF:: @ 81A98DF
- trainerbattle 0, 183, 0, Text_189423, Text_189459
+ trainerbattle 0, TRAINER_HIKER_NOB, 0, Text_189423, Text_189459
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9906
+ goto_if eq, EventScript_1A9906
msgbox Text_18947E, 6
end
EventScript_1A9906:: @ 81A9906
- trainerbattle 5, 183, 0, Text_1C357E, Text_189459
+ trainerbattle 5, TRAINER_HIKER_NOB, 0, Text_1C357E, Text_189459
msgbox Text_18947E, 6
end
Route25_EventScript_1A991D:: @ 81A991D
- trainerbattle 0, 184, 0, Text_1894DE, Text_18950A
+ trainerbattle 0, TRAINER_HIKER_WAYNE, 0, Text_1894DE, Text_18950A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9944
+ goto_if eq, EventScript_1A9944
msgbox Text_18951C, 6
end
EventScript_1A9944:: @ 81A9944
- trainerbattle 5, 184, 0, Text_1C35BC, Text_18950A
+ trainerbattle 5, TRAINER_HIKER_WAYNE, 0, Text_1C35BC, Text_18950A
msgbox Text_18951C, 6
end
Route25_EventScript_1A995B:: @ 81A995B
- trainerbattle 0, 471, 0, Text_1891EB, Text_189212
+ trainerbattle 0, TRAINER_CAMPER_FLINT, 0, Text_1891EB, Text_189212
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9982
+ goto_if eq, EventScript_1A9982
msgbox Text_18921D, 6
end
EventScript_1A9982:: @ 81A9982
- trainerbattle 5, 471, 0, Text_1C3445, Text_189212
+ trainerbattle 5, TRAINER_CAMPER_FLINT, 0, Text_1C3445, Text_189212
msgbox Text_18921D, 6
end
Route6_EventScript_1A9999:: @ 81A9999
- trainerbattle 0, 111, 0, Text_183E9F, Text_183EC0
+ trainerbattle 0, TRAINER_BUG_CATCHER_KEIGO, 0, Text_183E9F, Text_183EC0
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A99C0
+ goto_if eq, EventScript_1A99C0
msgbox Text_183ED4, 6
end
EventScript_1A99C0:: @ 81A99C0
- trainerbattle 5, 111, 0, Text_1C16E2, Text_183EC0
+ trainerbattle 5, TRAINER_BUG_CATCHER_KEIGO, 0, Text_1C16E2, Text_183EC0
msgbox Text_183ED4, 6
end
Route6_EventScript_1A99D7:: @ 81A99D7
- trainerbattle 0, 112, 0, Text_183FF0, Text_18401A
+ trainerbattle 0, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_183FF0, Text_18401A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A99FE
+ goto_if eq, EventScript_1A99FE
msgbox Text_18402B, 6
end
EventScript_1A99FE:: @ 81A99FE
- trainerbattle 5, 112, 0, Text_1C176B, Text_18401A
+ trainerbattle 5, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_1C176B, Text_18401A
msgbox Text_18402B, 6
end
Route6_EventScript_1A9A15:: @ 81A9A15
- trainerbattle 0, 145, 0, Text_183E04, Text_183E2A
+ trainerbattle 0, TRAINER_CAMPER_RICKY, 0, Text_183E04, Text_183E2A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9A3C
+ goto_if eq, EventScript_1A9A3C
msgbox Text_183E3C, 6
end
EventScript_1A9A3C:: @ 81A9A3C
- trainerbattle 5, 145, 0, Text_1C163C, Text_183E2A
+ trainerbattle 5, TRAINER_CAMPER_RICKY, 0, Text_1C163C, Text_183E2A
msgbox Text_183E3C, 6
end
Route6_EventScript_1A9A53:: @ 81A9A53
- trainerbattle 0, 146, 0, Text_183F07, Text_183F24
+ trainerbattle 0, TRAINER_CAMPER_JEFF, 0, Text_183F07, Text_183F24
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9A7A
+ goto_if eq, EventScript_1A9A7A
msgbox Text_183F51, 6
end
EventScript_1A9A7A:: @ 81A9A7A
- trainerbattle 5, 146, 0, Text_1C1723, Text_183F24
+ trainerbattle 5, TRAINER_CAMPER_JEFF, 0, Text_1C1723, Text_183F24
msgbox Text_183F51, 6
end
Route6_EventScript_1A9A91:: @ 81A9A91
- trainerbattle 0, 151, 0, Text_183E4E, Text_183E79
+ trainerbattle 0, TRAINER_PICNICKER_NANCY, 0, Text_183E4E, Text_183E79
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9AB8
+ goto_if eq, EventScript_1A9AB8
msgbox Text_183E8D, 6
end
EventScript_1A9AB8:: @ 81A9AB8
- trainerbattle 5, 151, 0, Text_1C166D, Text_183E79
+ trainerbattle 5, TRAINER_PICNICKER_NANCY, 0, Text_1C166D, Text_183E79
msgbox Text_183E8D, 6
end
Route6_EventScript_1A9ACF:: @ 81A9ACF
- trainerbattle 0, 152, 0, Text_183F90, Text_183FAB
+ trainerbattle 0, TRAINER_PICNICKER_ISABELLE, 0, Text_183F90, Text_183FAB
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9AF6
+ goto_if eq, EventScript_1A9AF6
msgbox Text_183FC4, 6
end
EventScript_1A9AF6:: @ 81A9AF6
- trainerbattle 5, 152, 0, Text_1C1746, Text_183FAB
+ trainerbattle 5, TRAINER_PICNICKER_ISABELLE, 0, Text_1C1746, Text_183FAB
msgbox Text_183FC4, 6
end
Route11_EventScript_1A9B0D:: @ 81A9B0D
- trainerbattle 0, 97, 0, Text_184FBD, Text_184FD8
+ trainerbattle 0, TRAINER_YOUNGSTER_EDDIE, 0, Text_184FBD, Text_184FD8
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9B34
+ goto_if eq, EventScript_1A9B34
msgbox Text_184FEF, 6
end
EventScript_1A9B34:: @ 81A9B34
- trainerbattle 5, 97, 0, Text_1C1DB5, Text_184FD8
+ trainerbattle 5, TRAINER_YOUNGSTER_EDDIE, 0, Text_1C1DB5, Text_184FD8
msgbox Text_184FEF, 6
end
Route11_EventScript_1A9B4B:: @ 81A9B4B
- trainerbattle 0, 98, 0, Text_18506A, Text_18509B
+ trainerbattle 0, TRAINER_YOUNGSTER_DILLON, 0, Text_18506A, Text_18509B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9B72
+ goto_if eq, EventScript_1A9B72
msgbox Text_1850CF, 6
end
EventScript_1A9B72:: @ 81A9B72
- trainerbattle 5, 98, 0, Text_1C1E1F, Text_18509B
+ trainerbattle 5, TRAINER_YOUNGSTER_DILLON, 0, Text_1C1E1F, Text_18509B
msgbox Text_1850CF, 6
end
Route11_EventScript_1A9B89:: @ 81A9B89
- trainerbattle 0, 99, 0, Text_18517B, Text_1851AC
+ trainerbattle 0, TRAINER_YOUNGSTER_YASU, 0, Text_18517B, Text_1851AC
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9BB0
+ goto_if eq, EventScript_1A9BB0
msgbox Text_1851D2, 6
end
EventScript_1A9BB0:: @ 81A9BB0
- trainerbattle 5, 99, 0, Text_1C1EE2, Text_1851AC
+ trainerbattle 5, TRAINER_YOUNGSTER_YASU, 0, Text_1C1EE2, Text_1851AC
msgbox Text_1851D2, 6
end
Route11_EventScript_1A9BC7:: @ 81A9BC7
- trainerbattle 0, 100, 0, Text_185285, Text_1852C1
+ trainerbattle 0, TRAINER_YOUNGSTER_DAVE, 0, Text_185285, Text_1852C1
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9BEE
+ goto_if eq, EventScript_1A9BEE
msgbox Text_1852E3, 6
end
EventScript_1A9BEE:: @ 81A9BEE
- trainerbattle 5, 100, 0, Text_1C1F40, Text_1852C1
+ trainerbattle 5, TRAINER_YOUNGSTER_DAVE, 0, Text_1C1F40, Text_1852C1
msgbox Text_1852E3, 6
end
Route11_EventScript_1A9C05:: @ 81A9C05
- trainerbattle 0, 221, 0, Text_185011, Text_185037
+ trainerbattle 0, TRAINER_ENGINEER_BRAXTON, 0, Text_185011, Text_185037
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9C2C
+ goto_if eq, EventScript_1A9C2C
msgbox Text_18504A, 6
end
EventScript_1A9C2C:: @ 81A9C2C
- trainerbattle 5, 221, 0, Text_1C1DE1, Text_185037
+ trainerbattle 5, TRAINER_ENGINEER_BRAXTON, 0, Text_1C1DE1, Text_185037
msgbox Text_18504A, 6
end
Route11_EventScript_1A9C43:: @ 81A9C43
- trainerbattle 0, 222, 0, Text_185236, Text_185250
+ trainerbattle 0, TRAINER_ENGINEER_BERNIE, 0, Text_185236, Text_185250
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9C6A
+ goto_if eq, EventScript_1A9C6A
msgbox Text_185266, 6
end
EventScript_1A9C6A:: @ 81A9C6A
- trainerbattle 5, 222, 0, Text_1C1F1D, Text_185250
+ trainerbattle 5, TRAINER_ENGINEER_BERNIE, 0, Text_1C1F1D, Text_185250
msgbox Text_185266, 6
end
Route11_EventScript_1A9C81:: @ 81A9C81
- trainerbattle 0, 258, 0, Text_184F01, Text_184F15
+ trainerbattle 0, TRAINER_GAMER_HUGO, 0, Text_184F01, Text_184F15
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9CA8
+ goto_if eq, EventScript_1A9CA8
msgbox Text_184F2E, 6
end
EventScript_1A9CA8:: @ 81A9CA8
- trainerbattle 5, 258, 0, Text_1C1D50, Text_184F15
+ trainerbattle 5, TRAINER_GAMER_HUGO, 0, Text_1C1D50, Text_184F15
msgbox Text_184F2E, 6
end
Route11_EventScript_1A9CBF:: @ 81A9CBF
- trainerbattle 0, 259, 0, Text_184F5D, Text_184F7E
+ trainerbattle 0, TRAINER_GAMER_JASPER, 0, Text_184F5D, Text_184F7E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9CE6
+ goto_if eq, EventScript_1A9CE6
msgbox Text_184F8E, 6
end
EventScript_1A9CE6:: @ 81A9CE6
- trainerbattle 5, 259, 0, Text_1C1D79, Text_184F7E
+ trainerbattle 5, TRAINER_GAMER_JASPER, 0, Text_1C1D79, Text_184F7E
msgbox Text_184F8E, 6
end
Route11_EventScript_1A9CFD:: @ 81A9CFD
- trainerbattle 0, 260, 0, Text_1850E9, Text_185105
+ trainerbattle 0, TRAINER_GAMER_DIRK, 0, Text_1850E9, Text_185105
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9D24
+ goto_if eq, EventScript_1A9D24
msgbox Text_185114, 6
end
EventScript_1A9D24:: @ 81A9D24
- trainerbattle 5, 260, 0, Text_1C1E57, Text_185105
+ trainerbattle 5, TRAINER_GAMER_DIRK, 0, Text_1C1E57, Text_185105
msgbox Text_185114, 6
end
Route11_EventScript_1A9D3B:: @ 81A9D3B
- trainerbattle 0, 261, 0, Text_185135, Text_18514E
+ trainerbattle 0, TRAINER_GAMER_DARIAN, 0, Text_185135, Text_18514E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9D62
+ goto_if eq, EventScript_1A9D62
msgbox Text_185161, 6
end
EventScript_1A9D62:: @ 81A9D62
- trainerbattle 5, 261, 0, Text_1C1E9F, Text_18514E
+ trainerbattle 5, TRAINER_GAMER_DARIAN, 0, Text_1C1E9F, Text_18514E
msgbox Text_185161, 6
end
Route9_EventScript_1A9D79:: @ 81A9D79
- trainerbattle 0, 114, 0, Text_184A2F, Text_184A6A
+ trainerbattle 0, TRAINER_BUG_CATCHER_BRENT, 0, Text_184A2F, Text_184A6A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9DA0
+ goto_if eq, EventScript_1A9DA0
msgbox Text_184A8C, 6
end
EventScript_1A9DA0:: @ 81A9DA0
- trainerbattle 5, 114, 0, Text_1C1B83, Text_184A6A
+ trainerbattle 5, TRAINER_BUG_CATCHER_BRENT, 0, Text_1C1B83, Text_184A6A
msgbox Text_184A8C, 6
end
Route9_EventScript_1A9DB7:: @ 81A9DB7
- trainerbattle 0, 115, 0, Text_184B18, Text_184B32
+ trainerbattle 0, TRAINER_BUG_CATCHER_CONNER, 0, Text_184B18, Text_184B32
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9DDE
+ goto_if eq, EventScript_1A9DDE
msgbox Text_184B3B, 6
end
EventScript_1A9DDE:: @ 81A9DDE
- trainerbattle 5, 115, 0, Text_1C1BDC, Text_184B32
+ trainerbattle 5, TRAINER_BUG_CATCHER_CONNER, 0, Text_1C1BDC, Text_184B32
msgbox Text_184B3B, 6
end
Route9_EventScript_1A9DF5:: @ 81A9DF5
- trainerbattle 0, 148, 0, Text_184844, Text_18487E
+ trainerbattle 0, TRAINER_CAMPER_CHRIS, 0, Text_184844, Text_18487E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9E1C
+ goto_if eq, EventScript_1A9E1C
msgbox Text_184890, 6
end
EventScript_1A9E1C:: @ 81A9E1C
- trainerbattle 5, 148, 0, Text_1C1A5D, Text_18487E
+ trainerbattle 5, TRAINER_CAMPER_CHRIS, 0, Text_1C1A5D, Text_18487E
msgbox Text_184890, 6
end
Route9_EventScript_1A9E33:: @ 81A9E33
- trainerbattle 0, 149, 0, Text_18489E, Text_1848CC
+ trainerbattle 0, TRAINER_CAMPER_DREW, 0, Text_18489E, Text_1848CC
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9E5A
+ goto_if eq, EventScript_1A9E5A
msgbox Text_1848DE, 6
end
EventScript_1A9E5A:: @ 81A9E5A
- trainerbattle 5, 149, 0, Text_1C1A9B, Text_1848CC
+ trainerbattle 5, TRAINER_CAMPER_DREW, 0, Text_1C1A9B, Text_1848CC
msgbox Text_1848DE, 6
end
Route9_EventScript_1A9E71:: @ 81A9E71
- trainerbattle 0, 154, 0, Text_1847B7, Text_1847DF
+ trainerbattle 0, TRAINER_PICNICKER_ALICIA, 0, Text_1847B7, Text_1847DF
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9E98
+ goto_if eq, EventScript_1A9E98
msgbox Text_1847F0, 6
end
EventScript_1A9E98:: @ 81A9E98
- trainerbattle 5, 154, 0, Text_1C1A2E, Text_1847DF
+ trainerbattle 5, TRAINER_PICNICKER_ALICIA, 0, Text_1C1A2E, Text_1847DF
msgbox Text_1847F0, 6
end
Route9_EventScript_1A9EAF:: @ 81A9EAF
- trainerbattle 0, 155, 0, Text_1848FF, Text_18491C
+ trainerbattle 0, TRAINER_PICNICKER_CAITLIN, 0, Text_1848FF, Text_18491C
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9ED6
+ goto_if eq, EventScript_1A9ED6
msgbox Text_184931, 6
end
EventScript_1A9ED6:: @ 81A9ED6
- trainerbattle 5, 155, 0, Text_1C1AFB, Text_18491C
+ trainerbattle 5, TRAINER_PICNICKER_CAITLIN, 0, Text_1C1AFB, Text_18491C
msgbox Text_184931, 6
end
Route9_EventScript_1A9EED:: @ 81A9EED
- trainerbattle 0, 185, 0, Text_184ABE, Text_184AD5
+ trainerbattle 0, TRAINER_HIKER_ALAN, 0, Text_184ABE, Text_184AD5
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9F14
+ goto_if eq, EventScript_1A9F14
msgbox Text_184AF1, 6
end
EventScript_1A9F14:: @ 81A9F14
- trainerbattle 5, 185, 0, Text_1C1BBE, Text_184AD5
+ trainerbattle 5, TRAINER_HIKER_ALAN, 0, Text_1C1BBE, Text_184AD5
msgbox Text_184AF1, 6
end
Route9_EventScript_1A9F2B:: @ 81A9F2B
- trainerbattle 0, 186, 0, Text_1849DF, Text_184A04
+ trainerbattle 0, TRAINER_HIKER_BRICE, 0, Text_1849DF, Text_184A04
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9F52
+ goto_if eq, EventScript_1A9F52
msgbox Text_184A11, 6
end
EventScript_1A9F52:: @ 81A9F52
- trainerbattle 5, 186, 0, Text_1C1B5E, Text_184A04
+ trainerbattle 5, TRAINER_HIKER_BRICE, 0, Text_1C1B5E, Text_184A04
msgbox Text_184A11, 6
end
Route9_EventScript_1A9F69:: @ 81A9F69
- trainerbattle 0, 465, 0, Text_18495E, Text_18497F
+ trainerbattle 0, TRAINER_HIKER_JEREMY, 0, Text_18495E, Text_18497F
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9F90
+ goto_if eq, EventScript_1A9F90
msgbox Text_1849B0, 6
end
EventScript_1A9F90:: @ 81A9F90
- trainerbattle 5, 465, 0, Text_1C1B37, Text_18497F
+ trainerbattle 5, TRAINER_HIKER_JEREMY, 0, Text_1C1B37, Text_18497F
msgbox Text_1849B0, 6
end
Route10_EventScript_1A9FA7:: @ 81A9FA7
- trainerbattle 0, 156, 0, Text_184CF1, Text_184D31
+ trainerbattle 0, TRAINER_PICNICKER_HEIDI, 0, Text_184CF1, Text_184D31
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1A9FCE
+ goto_if eq, EventScript_1A9FCE
msgbox Text_184D4D, 6
end
EventScript_1A9FCE:: @ 81A9FCE
- trainerbattle 5, 156, 0, Text_1C1C9A, Text_184D31
+ trainerbattle 5, TRAINER_PICNICKER_HEIDI, 0, Text_1C1C9A, Text_184D31
msgbox Text_184D4D, 6
end
Route10_EventScript_1A9FE5:: @ 81A9FE5
- trainerbattle 0, 157, 0, Text_184E04, Text_184E3B
+ trainerbattle 0, TRAINER_PICNICKER_CAROL, 0, Text_184E04, Text_184E3B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA00C
+ goto_if eq, EventScript_1AA00C
msgbox Text_184E5E, 6
end
EventScript_1AA00C:: @ 81AA00C
- trainerbattle 5, 157, 0, Text_1C1D14, Text_184E3B
+ trainerbattle 5, TRAINER_PICNICKER_CAROL, 0, Text_1C1D14, Text_184E3B
msgbox Text_184E5E, 6
end
Route10_EventScript_1AA023:: @ 81AA023
- trainerbattle 0, 162, 0, Text_184B8A, Text_184BE5
+ trainerbattle 0, TRAINER_POKEMANIAC_MARK, 0, Text_184B8A, Text_184BE5
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA04A
+ goto_if eq, EventScript_1AA04A
msgbox Text_184BFB, 6
end
EventScript_1AA04A:: @ 81AA04A
- trainerbattle 5, 162, 0, Text_1C1BFA, Text_184BE5
+ trainerbattle 5, TRAINER_POKEMANIAC_MARK, 0, Text_1C1BFA, Text_184BE5
msgbox Text_184BFB, 6
end
Route10_EventScript_1AA061:: @ 81AA061
- trainerbattle 0, 163, 0, Text_184C86, Text_184CA7
+ trainerbattle 0, TRAINER_POKEMANIAC_HERMAN, 0, Text_184C86, Text_184CA7
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA088
+ goto_if eq, EventScript_1AA088
msgbox Text_184CBB, 6
end
EventScript_1AA088:: @ 81AA088
- trainerbattle 5, 163, 0, Text_1C1C76, Text_184CA7
+ trainerbattle 5, TRAINER_POKEMANIAC_HERMAN, 0, Text_1C1C76, Text_184CA7
msgbox Text_184CBB, 6
end
Route10_EventScript_1AA09F:: @ 81AA09F
- trainerbattle 0, 187, 0, Text_184C1D, Text_184C2D
+ trainerbattle 0, TRAINER_HIKER_CLARK, 0, Text_184C1D, Text_184C2D
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA0C6
+ goto_if eq, EventScript_1AA0C6
msgbox Text_184C60, 6
end
EventScript_1AA0C6:: @ 81AA0C6
- trainerbattle 5, 187, 0, Text_1C1C4F, Text_184C2D
+ trainerbattle 5, TRAINER_HIKER_CLARK, 0, Text_1C1C4F, Text_184C2D
msgbox Text_184C60, 6
end
Route10_EventScript_1AA0DD:: @ 81AA0DD
- trainerbattle 0, 188, 0, Text_184DAA, Text_184DCE
+ trainerbattle 0, TRAINER_HIKER_TRENT, 0, Text_184DAA, Text_184DCE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA104
+ goto_if eq, EventScript_1AA104
msgbox Text_184DE4, 6
end
EventScript_1AA104:: @ 81AA104
- trainerbattle 5, 188, 0, Text_1C1CD3, Text_184DCE
+ trainerbattle 5, TRAINER_HIKER_TRENT, 0, Text_1C1CD3, Text_184DCE
msgbox Text_184DE4, 6
end
Route8_EventScript_1AA11B:: @ 81AA11B
- trainerbattle 0, 128, 0, Text_1841ED, Text_184210
+ trainerbattle 0, TRAINER_LASS_PAIGE, 0, Text_1841ED, Text_184210
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA142
+ goto_if eq, EventScript_1AA142
msgbox Text_18421B, 6
end
EventScript_1AA142:: @ 81AA142
- trainerbattle 5, 128, 0, Text_1C1834, Text_184210
+ trainerbattle 5, TRAINER_LASS_PAIGE, 0, Text_1C1834, Text_184210
msgbox Text_18421B, 6
end
Route8_EventScript_1AA159:: @ 81AA159
- trainerbattle 0, 129, 0, Text_184321, Text_184346
+ trainerbattle 0, TRAINER_LASS_ANDREA, 0, Text_184321, Text_184346
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA180
+ goto_if eq, EventScript_1AA180
msgbox Text_184350, 6
end
EventScript_1AA180:: @ 81AA180
- trainerbattle 5, 129, 0, Text_1C18AA, Text_184346
+ trainerbattle 5, TRAINER_LASS_ANDREA, 0, Text_1C18AA, Text_184346
msgbox Text_184350, 6
end
Route8_EventScript_1AA197:: @ 81AA197
- trainerbattle 0, 130, 0, Text_18437A, Text_1843A6
+ trainerbattle 0, TRAINER_LASS_MEGAN, 0, Text_18437A, Text_1843A6
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA1BE
+ goto_if eq, EventScript_1AA1BE
msgbox Text_1843D2, 6
end
EventScript_1AA1BE:: @ 81AA1BE
- trainerbattle 5, 130, 0, Text_1C18DC, Text_1843A6
+ trainerbattle 5, TRAINER_LASS_MEGAN, 0, Text_1C18DC, Text_1843A6
msgbox Text_1843D2, 6
end
Route8_EventScript_1AA1D5:: @ 81AA1D5
- trainerbattle 0, 131, 0, Text_1844AC, Text_1844D6
+ trainerbattle 0, TRAINER_LASS_JULIA, 0, Text_1844AC, Text_1844D6
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA1FC
+ goto_if eq, EventScript_1AA1FC
msgbox Text_1844FD, 6
end
EventScript_1AA1FC:: @ 81AA1FC
- trainerbattle 5, 131, 0, Text_1C1955, Text_1844D6
+ trainerbattle 5, TRAINER_LASS_JULIA, 0, Text_1C1955, Text_1844D6
msgbox Text_1844FD, 6
end
Route8_EventScript_1AA213:: @ 81AA213
- trainerbattle 0, 171, 0, Text_1840C5, Text_184100
+ trainerbattle 0, TRAINER_SUPER_NERD_AIDAN, 0, Text_1840C5, Text_184100
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA23A
+ goto_if eq, EventScript_1AA23A
msgbox Text_18410E, 6
end
EventScript_1AA23A:: @ 81AA23A
- trainerbattle 5, 171, 0, Text_1C1793, Text_184100
+ trainerbattle 5, TRAINER_SUPER_NERD_AIDAN, 0, Text_1C1793, Text_184100
msgbox Text_18410E, 6
end
Route8_EventScript_1AA251:: @ 81AA251
- trainerbattle 0, 172, 0, Text_18417C, Text_1841B6
+ trainerbattle 0, TRAINER_SUPER_NERD_GLENN, 0, Text_18417C, Text_1841B6
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA278
+ goto_if eq, EventScript_1AA278
msgbox Text_1841C8, 6
end
EventScript_1AA278:: @ 81AA278
- trainerbattle 5, 172, 0, Text_1C17F1, Text_1841B6
+ trainerbattle 5, TRAINER_SUPER_NERD_GLENN, 0, Text_1C17F1, Text_1841B6
msgbox Text_1841C8, 6
end
Route8_EventScript_1AA28F:: @ 81AA28F
- trainerbattle 0, 173, 0, Text_184257, Text_18427A
+ trainerbattle 0, TRAINER_SUPER_NERD_LESLIE, 0, Text_184257, Text_18427A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA2B6
+ goto_if eq, EventScript_1AA2B6
msgbox Text_1842B3, 6
end
EventScript_1AA2B6:: @ 81AA2B6
- trainerbattle 5, 173, 0, Text_1C1873, Text_18427A
+ trainerbattle 5, TRAINER_SUPER_NERD_LESLIE, 0, Text_1C1873, Text_18427A
msgbox Text_1842B3, 6
end
Route8_EventScript_1AA2CD:: @ 81AA2CD
- trainerbattle 0, 262, 0, Text_18412F, Text_18414D
+ trainerbattle 0, TRAINER_GAMER_STAN, 0, Text_18412F, Text_18414D
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA2F4
+ goto_if eq, EventScript_1AA2F4
msgbox Text_184162, 6
end
EventScript_1AA2F4:: @ 81AA2F4
- trainerbattle 5, 262, 0, Text_1C17CD, Text_18414D
+ trainerbattle 5, TRAINER_GAMER_STAN, 0, Text_1C17CD, Text_18414D
msgbox Text_184162, 6
end
Route8_EventScript_1AA30B:: @ 81AA30B
- trainerbattle 0, 264, 0, Text_184432, Text_18444F
+ trainerbattle 0, TRAINER_GAMER_RICH, 0, Text_184432, Text_18444F
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA332
+ goto_if eq, EventScript_1AA332
msgbox Text_184466, 6
end
EventScript_1AA332:: @ 81AA332
- trainerbattle 5, 264, 0, Text_1C191F, Text_18444F
+ trainerbattle 5, TRAINER_GAMER_RICH, 0, Text_1C191F, Text_18444F
msgbox Text_184466, 6
end
Route8_EventScript_1AA349:: @ 81AA349
- trainerbattle 4, 484, 0, Text_1845A4, Text_1845D0, Text_184616
+ trainerbattle 4, TRAINER_TWINS_ELI_ANNE, 0, Text_1845A4, Text_1845D0, Text_184616
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA374
+ goto_if eq, EventScript_1AA374
msgbox Text_1845F2, 6
end
EventScript_1AA374:: @ 81AA374
- trainerbattle 7, 484, 0, Text_1C19E5, Text_1845D0, Text_184616
+ trainerbattle 7, TRAINER_TWINS_ELI_ANNE, 0, Text_1C19E5, Text_1845D0, Text_184616
msgbox Text_1845F2, 6
end
Route8_EventScript_1AA38F:: @ 81AA38F
- trainerbattle 4, 484, 0, Text_18464A, Text_184675, Text_1846AF
+ trainerbattle 4, TRAINER_TWINS_ELI_ANNE, 0, Text_18464A, Text_184675, Text_1846AF
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA3BA
+ goto_if eq, EventScript_1AA3BA
msgbox Text_18468B, 6
end
EventScript_1AA3BA:: @ 81AA3BA
- trainerbattle 7, 484, 0, Text_1C1A0D, Text_184675, Text_1846AF
+ trainerbattle 7, TRAINER_TWINS_ELI_ANNE, 0, Text_1C1A0D, Text_184675, Text_1846AF
msgbox Text_18468B, 6
end
Route8_EventScript_1AA3D5:: @ 81AA3D5
- trainerbattle 0, 535, 0, Text_1846E2, Text_1846FC
+ trainerbattle 0, TRAINER_BIKER_RICARDO, 0, Text_1846E2, Text_1846FC
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA3FC
+ goto_if eq, EventScript_1AA3FC
msgbox Text_184719, 6
end
EventScript_1AA3FC:: @ 81AA3FC
- trainerbattle 5, 535, 0, Text_1C199C, Text_1846FC
+ trainerbattle 5, TRAINER_BIKER_RICARDO, 0, Text_1C199C, Text_1846FC
msgbox Text_184719, 6
end
Route8_EventScript_1AA413:: @ 81AA413
- trainerbattle 0, 536, 0, Text_184742, Text_184767
+ trainerbattle 0, TRAINER_BIKER_JAREN, 0, Text_184742, Text_184767
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA43A
+ goto_if eq, EventScript_1AA43A
msgbox Text_18477A, 6
end
EventScript_1AA43A:: @ 81AA43A
- trainerbattle 5, 536, 0, Text_1C19BC, Text_184767
+ trainerbattle 5, TRAINER_BIKER_JAREN, 0, Text_1C19BC, Text_184767
msgbox Text_18477A, 6
end
Route12_EventScript_1AA451:: @ 81AA451
- trainerbattle 0, 225, 0, Text_185402, Text_18541B
+ trainerbattle 0, TRAINER_FISHERMAN_NED, 0, Text_185402, Text_18541B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA478
+ goto_if eq, EventScript_1AA478
msgbox Text_185432, 6
end
EventScript_1AA478:: @ 81AA478
- trainerbattle 5, 225, 0, Text_1C1F9D, Text_18541B
+ trainerbattle 5, TRAINER_FISHERMAN_NED, 0, Text_1C1F9D, Text_18541B
msgbox Text_185432, 6
end
Route12_EventScript_1AA48F:: @ 81AA48F
- trainerbattle 0, 226, 0, Text_18544E, Text_185475
+ trainerbattle 0, TRAINER_FISHERMAN_CHIP, 0, Text_18544E, Text_185475
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA4B6
+ goto_if eq, EventScript_1AA4B6
msgbox Text_185488, 6
end
EventScript_1AA4B6:: @ 81AA4B6
- trainerbattle 5, 226, 0, Text_1C1FD8, Text_185475
+ trainerbattle 5, TRAINER_FISHERMAN_CHIP, 0, Text_1C1FD8, Text_185475
msgbox Text_185488, 6
end
Route12_EventScript_1AA4CD:: @ 81AA4CD
- trainerbattle 0, 227, 0, Text_1855E1, Text_185606
+ trainerbattle 0, TRAINER_FISHERMAN_HANK, 0, Text_1855E1, Text_185606
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA4F4
+ goto_if eq, EventScript_1AA4F4
msgbox Text_185616, 6
end
EventScript_1AA4F4:: @ 81AA4F4
- trainerbattle 5, 227, 0, Text_1C209C, Text_185606
+ trainerbattle 5, TRAINER_FISHERMAN_HANK, 0, Text_1C209C, Text_185606
msgbox Text_185616, 6
end
Route12_EventScript_1AA50B:: @ 81AA50B
- trainerbattle 0, 228, 0, Text_185682, Text_1856D0
+ trainerbattle 0, TRAINER_FISHERMAN_ELLIOT, 0, Text_185682, Text_1856D0
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA532
+ goto_if eq, EventScript_1AA532
msgbox Text_1856DF, 6
end
EventScript_1AA532:: @ 81AA532
- trainerbattle 5, 228, 0, Text_1C20D4, Text_1856D0
+ trainerbattle 5, TRAINER_FISHERMAN_ELLIOT, 0, Text_1C20D4, Text_1856D0
msgbox Text_1856DF, 6
end
Route12_EventScript_1AA549:: @ 81AA549
- trainerbattle 0, 233, 0, Text_18570E, Text_185744
+ trainerbattle 0, TRAINER_FISHERMAN_ANDREW, 0, Text_18570E, Text_185744
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA570
+ goto_if eq, EventScript_1AA570
msgbox Text_18574D, 6
end
EventScript_1AA570:: @ 81AA570
- trainerbattle 5, 233, 0, Text_1C2134, Text_185744
+ trainerbattle 5, TRAINER_FISHERMAN_ANDREW, 0, Text_1C2134, Text_185744
msgbox Text_18574D, 6
end
Route12_EventScript_1AA587:: @ 81AA587
- trainerbattle 0, 285, 0, Text_185547, Text_18559B
+ trainerbattle 0, TRAINER_ROCKER_LUCA, 0, Text_185547, Text_18559B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA5AE
+ goto_if eq, EventScript_1AA5AE
msgbox Text_1855A6, 6
end
EventScript_1AA5AE:: @ 81AA5AE
- trainerbattle 5, 285, 0, Text_1C203B, Text_18559B
+ trainerbattle 5, TRAINER_ROCKER_LUCA, 0, Text_1C203B, Text_18559B
msgbox Text_1855A6, 6
end
Route12_EventScript_1AA5C5:: @ 81AA5C5
- trainerbattle 0, 477, 0, Text_1854B9, Text_1854ED
+ trainerbattle 0, TRAINER_CAMPER_JUSTIN, 0, Text_1854B9, Text_1854ED
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA5EC
+ goto_if eq, EventScript_1AA5EC
msgbox Text_1854F2, 6
end
EventScript_1AA5EC:: @ 81AA5EC
- trainerbattle 5, 477, 0, Text_1C2008, Text_1854ED
+ trainerbattle 5, TRAINER_CAMPER_JUSTIN, 0, Text_1C2008, Text_1854ED
msgbox Text_1854F2, 6
end
Route12_EventScript_1AA603:: @ 81AA603
- trainerbattle 4, 486, 0, Text_1857C5, Text_1857F1, Text_185842
+ trainerbattle 4, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1857C5, Text_1857F1, Text_185842
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA62E
+ goto_if eq, EventScript_1AA62E
msgbox Text_18581F, 6
end
EventScript_1AA62E:: @ 81AA62E
- trainerbattle 7, 486, 0, Text_1C216B, Text_1857F1, Text_185842
+ trainerbattle 7, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C216B, Text_1857F1, Text_185842
msgbox Text_18581F, 6
end
Route12_EventScript_1AA649:: @ 81AA649
- trainerbattle 4, 486, 0, Text_1858A6, Text_1858D0, Text_185908
+ trainerbattle 4, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1858A6, Text_1858D0, Text_185908
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA674
+ goto_if eq, EventScript_1AA674
msgbox Text_1858E2, 6
end
EventScript_1AA674:: @ 81AA674
- trainerbattle 7, 486, 0, Text_1C219B, Text_1858D0, Text_185908
+ trainerbattle 7, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C219B, Text_1858D0, Text_185908
msgbox Text_1858E2, 6
end
Route13_EventScript_1AA68F:: @ 81AA68F
- trainerbattle 0, 195, 0, Text_185D05, Text_185D1D
+ trainerbattle 0, TRAINER_BIKER_JARED, 0, Text_185D05, Text_185D1D
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA6B6
+ goto_if eq, EventScript_1AA6B6
msgbox Text_185D33, 6
end
EventScript_1AA6B6:: @ 81AA6B6
- trainerbattle 5, 195, 0, Text_1C236B, Text_185D1D
+ trainerbattle 5, TRAINER_BIKER_JARED, 0, Text_1C236B, Text_185D1D
msgbox Text_185D33, 6
end
Route13_EventScript_1AA6CD:: @ 81AA6CD
- trainerbattle 0, 268, 0, Text_185BFC, Text_185C1F
+ trainerbattle 0, TRAINER_BEAUTY_LOLA, 0, Text_185BFC, Text_185C1F
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA6F4
+ goto_if eq, EventScript_1AA6F4
msgbox Text_185C35, 6
end
EventScript_1AA6F4:: @ 81AA6F4
- trainerbattle 5, 268, 0, Text_1C2306, Text_185C1F
+ trainerbattle 5, TRAINER_BEAUTY_LOLA, 0, Text_1C2306, Text_185C1F
msgbox Text_185C35, 6
end
Route13_EventScript_1AA70B:: @ 81AA70B
- trainerbattle 0, 269, 0, Text_185C69, Text_185C95
+ trainerbattle 0, TRAINER_BEAUTY_SHEILA, 0, Text_185C69, Text_185C95
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA732
+ goto_if eq, EventScript_1AA732
msgbox Text_185CA8, 6
end
EventScript_1AA732:: @ 81AA732
- trainerbattle 5, 269, 0, Text_1C2340, Text_185C95
+ trainerbattle 5, TRAINER_BEAUTY_SHEILA, 0, Text_1C2340, Text_185C95
msgbox Text_185CA8, 6
end
Route13_EventScript_1AA749:: @ 81AA749
- trainerbattle 0, 300, 0, Text_185955, Text_18597E
+ trainerbattle 0, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_185955, Text_18597E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA770
+ goto_if eq, EventScript_1AA770
msgbox Text_1859A2, 6
end
EventScript_1AA770:: @ 81AA770
- trainerbattle 5, 300, 0, Text_1C21EE, Text_18597E
+ trainerbattle 5, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_1C21EE, Text_18597E
msgbox Text_1859A2, 6
end
Route13_EventScript_1AA787:: @ 81AA787
- trainerbattle 0, 301, 0, Text_185B8F, Text_185BCA
+ trainerbattle 0, TRAINER_BIRD_KEEPER_PERRY, 0, Text_185B8F, Text_185BCA
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA7AE
+ goto_if eq, EventScript_1AA7AE
msgbox Text_185BDB, 6
end
EventScript_1AA7AE:: @ 81AA7AE
- trainerbattle 5, 301, 0, Text_1C22CA, Text_185BCA
+ trainerbattle 5, TRAINER_BIRD_KEEPER_PERRY, 0, Text_1C22CA, Text_185BCA
msgbox Text_185BDB, 6
end
Route13_EventScript_1AA7C5:: @ 81AA7C5
- trainerbattle 0, 302, 0, Text_185D3D, Text_185D7B
+ trainerbattle 0, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_185D3D, Text_185D7B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA7EC
+ goto_if eq, EventScript_1AA7EC
msgbox Text_185D89, 6
end
EventScript_1AA7EC:: @ 81AA7EC
- trainerbattle 5, 302, 0, Text_1C2383, Text_185D7B
+ trainerbattle 5, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_1C2383, Text_185D7B
msgbox Text_185D89, 6
end
Route13_EventScript_1AA803:: @ 81AA803
- trainerbattle 0, 466, 0, Text_185B12, Text_185B48
+ trainerbattle 0, TRAINER_PICNICKER_ALMA, 0, Text_185B12, Text_185B48
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA82A
+ goto_if eq, EventScript_1AA82A
msgbox Text_185B67, 6
end
EventScript_1AA82A:: @ 81AA82A
- trainerbattle 5, 466, 0, Text_1C2299, Text_185B48
+ trainerbattle 5, TRAINER_PICNICKER_ALMA, 0, Text_1C2299, Text_185B48
msgbox Text_185B67, 6
end
Route13_EventScript_1AA841:: @ 81AA841
- trainerbattle 0, 467, 0, Text_1859CF, Text_1859EC
+ trainerbattle 0, TRAINER_PICNICKER_SUSIE, 0, Text_1859CF, Text_1859EC
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA868
+ goto_if eq, EventScript_1AA868
msgbox Text_1859F9, 6
end
EventScript_1AA868:: @ 81AA868
- trainerbattle 5, 467, 0, Text_1C220C, Text_1859EC
+ trainerbattle 5, TRAINER_PICNICKER_SUSIE, 0, Text_1C220C, Text_1859EC
msgbox Text_1859F9, 6
end
Route13_EventScript_1AA87F:: @ 81AA87F
- trainerbattle 0, 468, 0, Text_185A37, Text_185A56
+ trainerbattle 0, TRAINER_PICNICKER_VALERIE, 0, Text_185A37, Text_185A56
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA8A6
+ goto_if eq, EventScript_1AA8A6
msgbox Text_185A62, 6
end
EventScript_1AA8A6:: @ 81AA8A6
- trainerbattle 5, 468, 0, Text_1C223C, Text_185A56
+ trainerbattle 5, TRAINER_PICNICKER_VALERIE, 0, Text_1C223C, Text_185A56
msgbox Text_185A62, 6
end
Route13_EventScript_1AA8BD:: @ 81AA8BD
- trainerbattle 0, 469, 0, Text_185A91, Text_185AC1
+ trainerbattle 0, TRAINER_PICNICKER_GWEN, 0, Text_185A91, Text_185AC1
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA8E4
+ goto_if eq, EventScript_1AA8E4
msgbox Text_185ADE, 6
end
EventScript_1AA8E4:: @ 81AA8E4
- trainerbattle 5, 469, 0, Text_1C225B, Text_185AC1
+ trainerbattle 5, TRAINER_PICNICKER_GWEN, 0, Text_1C225B, Text_185AC1
msgbox Text_185ADE, 6
end
Route14_EventScript_1AA8FB:: @ 81AA8FB
- trainerbattle 0, 196, 0, Text_186344, Text_186362
+ trainerbattle 0, TRAINER_BIKER_MALIK, 0, Text_186344, Text_186362
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA922
+ goto_if eq, EventScript_1AA922
msgbox Text_18636E, 6
end
EventScript_1AA922:: @ 81AA922
- trainerbattle 5, 196, 0, Text_1C25D6, Text_186362
+ trainerbattle 5, TRAINER_BIKER_MALIK, 0, Text_1C25D6, Text_186362
msgbox Text_18636E, 6
end
Route14_EventScript_1AA939:: @ 81AA939
- trainerbattle 0, 207, 0, Text_1861F7, Text_186223
+ trainerbattle 0, TRAINER_BIKER_LUKAS, 0, Text_1861F7, Text_186223
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA960
+ goto_if eq, EventScript_1AA960
msgbox Text_186239, 6
end
EventScript_1AA960:: @ 81AA960
- trainerbattle 5, 207, 0, Text_1C2531, Text_186223
+ trainerbattle 5, TRAINER_BIKER_LUKAS, 0, Text_1C2531, Text_186223
msgbox Text_186239, 6
end
Route14_EventScript_1AA977:: @ 81AA977
- trainerbattle 0, 208, 0, Text_186263, Text_186291
+ trainerbattle 0, TRAINER_BIKER_ISAAC, 0, Text_186263, Text_186291
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA99E
+ goto_if eq, EventScript_1AA99E
msgbox Text_18629D, 6
end
EventScript_1AA99E:: @ 81AA99E
- trainerbattle 5, 208, 0, Text_1C2572, Text_186291
+ trainerbattle 5, TRAINER_BIKER_ISAAC, 0, Text_1C2572, Text_186291
msgbox Text_18629D, 6
end
Route14_EventScript_1AA9B5:: @ 81AA9B5
- trainerbattle 0, 209, 0, Text_1862BD, Text_1862EF
+ trainerbattle 0, TRAINER_BIKER_GERALD, 0, Text_1862BD, Text_1862EF
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AA9DC
+ goto_if eq, EventScript_1AA9DC
msgbox Text_1862F8, 6
end
EventScript_1AA9DC:: @ 81AA9DC
- trainerbattle 5, 209, 0, Text_1C259E, Text_1862EF
+ trainerbattle 5, TRAINER_BIKER_GERALD, 0, Text_1C259E, Text_1862EF
msgbox Text_1862F8, 6
end
Route14_EventScript_1AA9F3:: @ 81AA9F3
- trainerbattle 0, 303, 0, Text_1860D9, Text_18610A
+ trainerbattle 0, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1860D9, Text_18610A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAA1A
+ goto_if eq, EventScript_1AAA1A
msgbox Text_18611D, 6
end
EventScript_1AAA1A:: @ 81AAA1A
- trainerbattle 5, 303, 0, Text_1C24CB, Text_18610A
+ trainerbattle 5, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1C24CB, Text_18610A
msgbox Text_18611D, 6
end
Route14_EventScript_1AAA31:: @ 81AAA31
- trainerbattle 0, 304, 0, Text_18618E, Text_1861B3
+ trainerbattle 0, TRAINER_BIRD_KEEPER_BENNY, 0, Text_18618E, Text_1861B3
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAA58
+ goto_if eq, EventScript_1AAA58
msgbox Text_1861BE, 6
end
EventScript_1AAA58:: @ 81AAA58
- trainerbattle 5, 304, 0, Text_1C2505, Text_1861B3
+ trainerbattle 5, TRAINER_BIRD_KEEPER_BENNY, 0, Text_1C2505, Text_1861B3
msgbox Text_1861BE, 6
end
Route14_EventScript_1AAA6F:: @ 81AAA6F
- trainerbattle 0, 313, 0, Text_185E4D, Text_185E81
+ trainerbattle 0, TRAINER_BIRD_KEEPER_CARTER, 0, Text_185E4D, Text_185E81
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAA96
+ goto_if eq, EventScript_1AAA96
msgbox Text_185E9C, 6
end
EventScript_1AAA96:: @ 81AAA96
- trainerbattle 5, 313, 0, Text_1C23C1, Text_185E81
+ trainerbattle 5, TRAINER_BIRD_KEEPER_CARTER, 0, Text_1C23C1, Text_185E81
msgbox Text_185E9C, 6
end
Route14_EventScript_1AAAAD:: @ 81AAAAD
- trainerbattle 0, 314, 0, Text_185EDF, Text_185F0B
+ trainerbattle 0, TRAINER_BIRD_KEEPER_MITCH, 0, Text_185EDF, Text_185F0B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAAD4
+ goto_if eq, EventScript_1AAAD4
msgbox Text_185F1A, 6
end
EventScript_1AAAD4:: @ 81AAAD4
- trainerbattle 5, 314, 0, Text_1C23EF, Text_185F0B
+ trainerbattle 5, TRAINER_BIRD_KEEPER_MITCH, 0, Text_1C23EF, Text_185F0B
msgbox Text_185F1A, 6
end
Route14_EventScript_1AAAEB:: @ 81AAAEB
- trainerbattle 0, 315, 0, Text_185F46, Text_185FAE
+ trainerbattle 0, TRAINER_BIRD_KEEPER_BECK, 0, Text_185F46, Text_185FAE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAB12
+ goto_if eq, EventScript_1AAB12
msgbox Text_185FBB, 6
end
EventScript_1AAB12:: @ 81AAB12
- trainerbattle 5, 315, 0, Text_1C2425, Text_185FAE
+ trainerbattle 5, TRAINER_BIRD_KEEPER_BECK, 0, Text_1C2425, Text_185FAE
msgbox Text_185FBB, 6
end
Route14_EventScript_1AAB29:: @ 81AAB29
- trainerbattle 0, 316, 0, Text_186021, Text_18607C
+ trainerbattle 0, TRAINER_BIRD_KEEPER_MARLON, 0, Text_186021, Text_18607C
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAB50
+ goto_if eq, EventScript_1AAB50
msgbox Text_186091, 6
end
EventScript_1AAB50:: @ 81AAB50
- trainerbattle 5, 316, 0, Text_1C2461, Text_18607C
+ trainerbattle 5, TRAINER_BIRD_KEEPER_MARLON, 0, Text_1C2461, Text_18607C
msgbox Text_186091, 6
end
Route14_EventScript_1AAB67:: @ 81AAB67
- trainerbattle 4, 487, 0, Text_1863B7, Text_1863EA, Text_18642E
+ trainerbattle 4, TRAINER_TWINS_KIRI_JAN, 0, Text_1863B7, Text_1863EA, Text_18642E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAB92
+ goto_if eq, EventScript_1AAB92
msgbox Text_18640D, 6
end
EventScript_1AAB92:: @ 81AAB92
- trainerbattle 7, 487, 0, Text_1C25FB, Text_1863EA, Text_18642E
+ trainerbattle 7, TRAINER_TWINS_KIRI_JAN, 0, Text_1C25FB, Text_1863EA, Text_18642E
msgbox Text_18640D, 6
end
Route14_EventScript_1AABAD:: @ 81AABAD
- trainerbattle 4, 487, 0, Text_18645B, Text_186487, Text_1864D3
+ trainerbattle 4, TRAINER_TWINS_KIRI_JAN, 0, Text_18645B, Text_186487, Text_1864D3
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AABD8
+ goto_if eq, EventScript_1AABD8
msgbox Text_18649C, 6
end
EventScript_1AABD8:: @ 81AABD8
- trainerbattle 7, 487, 0, Text_1C261B, Text_186487, Text_1864D3
+ trainerbattle 7, TRAINER_TWINS_KIRI_JAN, 0, Text_1C261B, Text_186487, Text_1864D3
msgbox Text_18649C, 6
end
Route15_EventScript_1AABF3:: @ 81AABF3
- trainerbattle 0, 197, 0, Text_1868B6, Text_1868E8
+ trainerbattle 0, TRAINER_BIKER_ERNEST, 0, Text_1868B6, Text_1868E8
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAC1A
+ goto_if eq, EventScript_1AAC1A
msgbox Text_1868F1, 6
end
EventScript_1AAC1A:: @ 81AAC1A
- trainerbattle 5, 197, 0, Text_1C27E7, Text_1868E8
+ trainerbattle 5, TRAINER_BIKER_ERNEST, 0, Text_1C27E7, Text_1868E8
msgbox Text_1868F1, 6
end
Route15_EventScript_1AAC31:: @ 81AAC31
- trainerbattle 0, 198, 0, Text_186936, Text_186968
+ trainerbattle 0, TRAINER_BIKER_ALEX, 0, Text_186936, Text_186968
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAC58
+ goto_if eq, EventScript_1AAC58
msgbox Text_18697C, 6
end
EventScript_1AAC58:: @ 81AAC58
- trainerbattle 5, 198, 0, Text_1C2814, Text_186968
+ trainerbattle 5, TRAINER_BIKER_ALEX, 0, Text_1C2814, Text_186968
msgbox Text_18697C, 6
end
Route15_EventScript_1AAC6F:: @ 81AAC6F
- trainerbattle 0, 273, 0, Text_18678B, Text_1867C1
+ trainerbattle 0, TRAINER_BEAUTY_GRACE, 0, Text_18678B, Text_1867C1
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAC96
+ goto_if eq, EventScript_1AAC96
msgbox Text_1867DA, 6
end
EventScript_1AAC96:: @ 81AAC96
- trainerbattle 5, 273, 0, Text_1C2753, Text_1867C1
+ trainerbattle 5, TRAINER_BEAUTY_GRACE, 0, Text_1C2753, Text_1867C1
msgbox Text_1867DA, 6
end
Route15_EventScript_1AACAD:: @ 81AACAD
- trainerbattle 0, 274, 0, Text_18680C, Text_186841
+ trainerbattle 0, TRAINER_BEAUTY_OLIVIA, 0, Text_18680C, Text_186841
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AACD4
+ goto_if eq, EventScript_1AACD4
msgbox Text_18686F, 6
end
EventScript_1AACD4:: @ 81AACD4
- trainerbattle 5, 274, 0, Text_1C279D, Text_186841
+ trainerbattle 5, TRAINER_BEAUTY_OLIVIA, 0, Text_1C279D, Text_186841
msgbox Text_18686F, 6
end
Route15_EventScript_1AACEB:: @ 81AACEB
- trainerbattle 0, 305, 0, Text_18664F, Text_18667A
+ trainerbattle 0, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_18664F, Text_18667A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAD12
+ goto_if eq, EventScript_1AAD12
msgbox Text_18668D, 6
end
EventScript_1AAD12:: @ 81AAD12
- trainerbattle 5, 305, 0, Text_1C26D3, Text_18667A
+ trainerbattle 5, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_1C26D3, Text_18667A
msgbox Text_18668D, 6
end
Route15_EventScript_1AAD29:: @ 81AAD29
- trainerbattle 0, 306, 0, Text_1866D1, Text_186707
+ trainerbattle 0, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1866D1, Text_186707
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAD50
+ goto_if eq, EventScript_1AAD50
msgbox Text_18671A, 6
end
EventScript_1AAD50:: @ 81AAD50
- trainerbattle 5, 306, 0, Text_1C2717, Text_186707
+ trainerbattle 5, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1C2717, Text_186707
msgbox Text_18671A, 6
end
Route15_EventScript_1AAD67:: @ 81AAD67
- trainerbattle 0, 478, 0, Text_186A22, Text_186A40
+ trainerbattle 0, TRAINER_PICNICKER_YAZMIN, 0, Text_186A22, Text_186A40
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAD8E
+ goto_if eq, EventScript_1AAD8E
msgbox Text_186A55, 6
end
EventScript_1AAD8E:: @ 81AAD8E
- trainerbattle 5, 478, 0, Text_1C287D, Text_186A40
+ trainerbattle 5, TRAINER_PICNICKER_YAZMIN, 0, Text_1C287D, Text_186A40
msgbox Text_186A55, 6
end
Route15_EventScript_1AADA5:: @ 81AADA5
- trainerbattle 0, 479, 0, Text_18650B, Text_186549
+ trainerbattle 0, TRAINER_PICNICKER_KINDRA, 0, Text_18650B, Text_186549
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AADCC
+ goto_if eq, EventScript_1AADCC
msgbox Text_18655A, 6
end
EventScript_1AADCC:: @ 81AADCC
- trainerbattle 5, 479, 0, Text_1C2650, Text_186549
+ trainerbattle 5, TRAINER_PICNICKER_KINDRA, 0, Text_1C2650, Text_186549
msgbox Text_18655A, 6
end
Route15_EventScript_1AADE3:: @ 81AADE3
- trainerbattle 0, 480, 0, Text_1865D3, Text_186612
+ trainerbattle 0, TRAINER_PICNICKER_BECKY, 0, Text_1865D3, Text_186612
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAE0A
+ goto_if eq, EventScript_1AAE0A
msgbox Text_18661D, 6
end
EventScript_1AAE0A:: @ 81AAE0A
- trainerbattle 5, 480, 0, Text_1C268D, Text_186612
+ trainerbattle 5, TRAINER_PICNICKER_BECKY, 0, Text_1C268D, Text_186612
msgbox Text_18661D, 6
end
Route15_EventScript_1AAE21:: @ 81AAE21
- trainerbattle 0, 481, 0, Text_1869BA, Text_1869E6
+ trainerbattle 0, TRAINER_PICNICKER_CELIA, 0, Text_1869BA, Text_1869E6
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAE48
+ goto_if eq, EventScript_1AAE48
msgbox Text_1869F4, 6
end
EventScript_1AAE48:: @ 81AAE48
- trainerbattle 5, 481, 0, Text_1C2846, Text_1869E6
+ trainerbattle 5, TRAINER_PICNICKER_CELIA, 0, Text_1C2846, Text_1869E6
msgbox Text_1869F4, 6
end
Route15_EventScript_1AAE5F:: @ 81AAE5F
- trainerbattle 4, 488, 0, Text_186A95, Text_186ACB, Text_186B46
+ trainerbattle 4, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_186A95, Text_186ACB, Text_186B46
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAE8A
+ goto_if eq, EventScript_1AAE8A
msgbox Text_186B0A, 6
end
EventScript_1AAE8A:: @ 81AAE8A
- trainerbattle 7, 488, 0, Text_1C28A1, Text_186ACB, Text_186B46
+ trainerbattle 7, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28A1, Text_186ACB, Text_186B46
msgbox Text_186B0A, 6
end
Route15_EventScript_1AAEA5:: @ 81AAEA5
- trainerbattle 4, 488, 0, Text_186B89, Text_186BB1, Text_186BFE
+ trainerbattle 4, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_186B89, Text_186BB1, Text_186BFE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAED0
+ goto_if eq, EventScript_1AAED0
msgbox Text_186BD2, 6
end
EventScript_1AAED0:: @ 81AAED0
- trainerbattle 7, 488, 0, Text_1C28EC, Text_186BB1, Text_186BFE
+ trainerbattle 7, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28EC, Text_186BB1, Text_186BFE
msgbox Text_186BD2, 6
end
Route16_EventScript_1AAEEB:: @ 81AAEEB
- trainerbattle 0, 199, 0, Text_186C4D, Text_186C5F
+ trainerbattle 0, TRAINER_BIKER_LAO, 0, Text_186C4D, Text_186C5F
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAF12
+ goto_if eq, EventScript_1AAF12
msgbox Text_186C75, 6
end
EventScript_1AAF12:: @ 81AAF12
- trainerbattle 5, 199, 0, Text_1C2913, Text_186C5F
+ trainerbattle 5, TRAINER_BIKER_LAO, 0, Text_1C2913, Text_186C5F
msgbox Text_186C75, 6
end
Route16_EventScript_1AAF29:: @ 81AAF29
- trainerbattle 0, 201, 0, Text_186D39, Text_186D52
+ trainerbattle 0, TRAINER_BIKER_HIDEO, 0, Text_186D39, Text_186D52
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAF50
+ goto_if eq, EventScript_1AAF50
msgbox Text_186D5A, 6
end
EventScript_1AAF50:: @ 81AAF50
- trainerbattle 5, 201, 0, Text_1C297B, Text_186D52
+ trainerbattle 5, TRAINER_BIKER_HIDEO, 0, Text_1C297B, Text_186D52
msgbox Text_186D5A, 6
end
Route16_EventScript_1AAF67:: @ 81AAF67
- trainerbattle 0, 202, 0, Text_186E86, Text_186EB4
+ trainerbattle 0, TRAINER_BIKER_RUBEN, 0, Text_186E86, Text_186EB4
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAF8E
+ goto_if eq, EventScript_1AAF8E
msgbox Text_186EC7, 6
end
EventScript_1AAF8E:: @ 81AAF8E
- trainerbattle 5, 202, 0, Text_1C29EB, Text_186EB4
+ trainerbattle 5, TRAINER_BIKER_RUBEN, 0, Text_1C29EB, Text_186EB4
msgbox Text_186EC7, 6
end
Route16_EventScript_1AAFA5:: @ 81AAFA5
- trainerbattle 0, 249, 0, Text_186CA2, Text_186CBB
+ trainerbattle 0, TRAINER_CUE_BALL_KOJI, 0, Text_186CA2, Text_186CBB
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AAFCC
+ goto_if eq, EventScript_1AAFCC
msgbox Text_186CC5, 6
end
EventScript_1AAFCC:: @ 81AAFCC
- trainerbattle 5, 249, 0, Text_1C2925, Text_186CBB
+ trainerbattle 5, TRAINER_CUE_BALL_KOJI, 0, Text_1C2925, Text_186CBB
msgbox Text_186CC5, 6
end
Route16_EventScript_1AAFE3:: @ 81AAFE3
- trainerbattle 0, 250, 0, Text_186CE5, Text_186D06
+ trainerbattle 0, TRAINER_CUE_BALL_LUKE, 0, Text_186CE5, Text_186D06
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB00A
+ goto_if eq, EventScript_1AB00A
msgbox Text_186D16, 6
end
EventScript_1AB00A:: @ 81AB00A
- trainerbattle 5, 250, 0, Text_1C2944, Text_186D06
+ trainerbattle 5, TRAINER_CUE_BALL_LUKE, 0, Text_1C2944, Text_186D06
msgbox Text_186D16, 6
end
Route16_EventScript_1AB021:: @ 81AB021
- trainerbattle 0, 251, 0, Text_186DD9, Text_186E0D
+ trainerbattle 0, TRAINER_CUE_BALL_CAMRON, 0, Text_186DD9, Text_186E0D
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB048
+ goto_if eq, EventScript_1AB048
msgbox Text_186E1C, 6
end
EventScript_1AB048:: @ 81AB048
- trainerbattle 5, 251, 0, Text_1C29B0, Text_186E0D
+ trainerbattle 5, TRAINER_CUE_BALL_CAMRON, 0, Text_1C29B0, Text_186E0D
msgbox Text_186E1C, 6
end
Route16_EventScript_1AB05F:: @ 81AB05F
- trainerbattle 4, 489, 0, Text_186FBD, Text_186FFA, Text_187057
+ trainerbattle 4, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_186FBD, Text_186FFA, Text_187057
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB08A
+ goto_if eq, EventScript_1AB08A
msgbox Text_187027, 6
end
EventScript_1AB08A:: @ 81AB08A
- trainerbattle 7, 489, 0, Text_1C2A19, Text_186FFA, Text_187057
+ trainerbattle 7, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A19, Text_186FFA, Text_187057
msgbox Text_187027, 6
end
Route16_EventScript_1AB0A5:: @ 81AB0A5
- trainerbattle 4, 489, 0, Text_187097, Text_1870CC, Text_187120
+ trainerbattle 4, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_187097, Text_1870CC, Text_187120
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB0D0
+ goto_if eq, EventScript_1AB0D0
msgbox Text_1870F9, 6
end
EventScript_1AB0D0:: @ 81AB0D0
- trainerbattle 7, 489, 0, Text_1C2A53, Text_1870CC, Text_187120
+ trainerbattle 7, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A53, Text_1870CC, Text_187120
msgbox Text_1870F9, 6
end
Route17_EventScript_1AB0EB:: @ 81AB0EB
- trainerbattle 0, 203, 0, Text_1872BD, Text_1872E3
+ trainerbattle 0, TRAINER_BIKER_BILLY, 0, Text_1872BD, Text_1872E3
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB112
+ goto_if eq, EventScript_1AB112
msgbox Text_1872EB, 6
end
EventScript_1AB112:: @ 81AB112
- trainerbattle 5, 203, 0, Text_1C2B06, Text_1872E3
+ trainerbattle 5, TRAINER_BIKER_BILLY, 0, Text_1C2B06, Text_1872E3
msgbox Text_1872EB, 6
end
Route17_EventScript_1AB129:: @ 81AB129
- trainerbattle 0, 204, 0, Text_18730A, Text_187325
+ trainerbattle 0, TRAINER_BIKER_NIKOLAS, 0, Text_18730A, Text_187325
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB150
+ goto_if eq, EventScript_1AB150
msgbox Text_187333, 6
end
EventScript_1AB150:: @ 81AB150
- trainerbattle 5, 204, 0, Text_1C2B2C, Text_187325
+ trainerbattle 5, TRAINER_BIKER_NIKOLAS, 0, Text_1C2B2C, Text_187325
msgbox Text_187333, 6
end
Route17_EventScript_1AB167:: @ 81AB167
- trainerbattle 0, 205, 0, Text_187456, Text_187472
+ trainerbattle 0, TRAINER_BIKER_JAXON, 0, Text_187456, Text_187472
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB18E
+ goto_if eq, EventScript_1AB18E
msgbox Text_187479, 6
end
EventScript_1AB18E:: @ 81AB18E
- trainerbattle 5, 205, 0, Text_1C2BE6, Text_187472
+ trainerbattle 5, TRAINER_BIKER_JAXON, 0, Text_1C2BE6, Text_187472
msgbox Text_187479, 6
end
Route17_EventScript_1AB1A5:: @ 81AB1A5
- trainerbattle 0, 206, 0, Text_18749B, Text_1874B6
+ trainerbattle 0, TRAINER_BIKER_WILLIAM, 0, Text_18749B, Text_1874B6
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB1CC
+ goto_if eq, EventScript_1AB1CC
msgbox Text_1874C9, 6
end
EventScript_1AB1CC:: @ 81AB1CC
- trainerbattle 5, 206, 0, Text_1C2C10, Text_1874B6
+ trainerbattle 5, TRAINER_BIKER_WILLIAM, 0, Text_1C2C10, Text_1874B6
msgbox Text_1874C9, 6
end
Route17_EventScript_1AB1E3:: @ 81AB1E3
- trainerbattle 0, 252, 0, Text_18717E, Text_1871AE
+ trainerbattle 0, TRAINER_CUE_BALL_RAUL, 0, Text_18717E, Text_1871AE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB20A
+ goto_if eq, EventScript_1AB20A
msgbox Text_1871BA, 6
end
EventScript_1AB20A:: @ 81AB20A
- trainerbattle 5, 252, 0, Text_1C2A88, Text_1871AE
+ trainerbattle 5, TRAINER_CUE_BALL_RAUL, 0, Text_1C2A88, Text_1871AE
msgbox Text_1871BA, 6
end
Route17_EventScript_1AB221:: @ 81AB221
- trainerbattle 0, 253, 0, Text_187228, Text_187254
+ trainerbattle 0, TRAINER_CUE_BALL_ISAIAH, 0, Text_187228, Text_187254
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB248
+ goto_if eq, EventScript_1AB248
msgbox Text_18725A, 6
end
EventScript_1AB248:: @ 81AB248
- trainerbattle 5, 253, 0, Text_1C2AC4, Text_187254
+ trainerbattle 5, TRAINER_CUE_BALL_ISAIAH, 0, Text_1C2AC4, Text_187254
msgbox Text_18725A, 6
end
Route17_EventScript_1AB25F:: @ 81AB25F
- trainerbattle 0, 254, 0, Text_187362, Text_187395
+ trainerbattle 0, TRAINER_CUE_BALL_ZEEK, 0, Text_187362, Text_187395
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB286
+ goto_if eq, EventScript_1AB286
msgbox Text_18739F, 6
end
EventScript_1AB286:: @ 81AB286
- trainerbattle 5, 254, 0, Text_1C2B5E, Text_187395
+ trainerbattle 5, TRAINER_CUE_BALL_ZEEK, 0, Text_1C2B5E, Text_187395
msgbox Text_18739F, 6
end
Route17_EventScript_1AB29D:: @ 81AB29D
- trainerbattle 0, 255, 0, Text_1873D1, Text_1873EB
+ trainerbattle 0, TRAINER_CUE_BALL_JAMAL, 0, Text_1873D1, Text_1873EB
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB2C4
+ goto_if eq, EventScript_1AB2C4
msgbox Text_1873FF, 6
end
EventScript_1AB2C4:: @ 81AB2C4
- trainerbattle 5, 255, 0, Text_1C2B9C, Text_1873EB
+ trainerbattle 5, TRAINER_CUE_BALL_JAMAL, 0, Text_1C2B9C, Text_1873EB
msgbox Text_1873FF, 6
end
Route17_EventScript_1AB2DB:: @ 81AB2DB
- trainerbattle 0, 256, 0, Text_18741D, Text_187429
+ trainerbattle 0, TRAINER_CUE_BALL_COREY, 0, Text_18741D, Text_187429
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB302
+ goto_if eq, EventScript_1AB302
msgbox Text_187432, 6
end
EventScript_1AB302:: @ 81AB302
- trainerbattle 5, 256, 0, Text_1C2BDA, Text_187429
+ trainerbattle 5, TRAINER_CUE_BALL_COREY, 0, Text_1C2BDA, Text_187429
msgbox Text_187432, 6
end
Route17_EventScript_1AB319:: @ 81AB319
- trainerbattle 0, 470, 0, Text_18727D, Text_187295
+ trainerbattle 0, TRAINER_BIKER_VIRGIL, 0, Text_18727D, Text_187295
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB340
+ goto_if eq, EventScript_1AB340
msgbox Text_1872A5, 6
end
EventScript_1AB340:: @ 81AB340
- trainerbattle 5, 470, 0, Text_1C2AF0, Text_187295
+ trainerbattle 5, TRAINER_BIKER_VIRGIL, 0, Text_1C2AF0, Text_187295
msgbox Text_1872A5, 6
end
Route18_EventScript_1AB357:: @ 81AB357
- trainerbattle 0, 307, 0, Text_187640, Text_187672
+ trainerbattle 0, TRAINER_BIRD_KEEPER_WILTON, 0, Text_187640, Text_187672
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB37E
+ goto_if eq, EventScript_1AB37E
msgbox Text_187677, 6
end
EventScript_1AB37E:: @ 81AB37E
- trainerbattle 5, 307, 0, Text_1C2C2B, Text_187672
+ trainerbattle 5, TRAINER_BIRD_KEEPER_WILTON, 0, Text_1C2C2B, Text_187672
msgbox Text_187677, 6
end
Route18_EventScript_1AB395:: @ 81AB395
- trainerbattle 0, 308, 0, Text_18768C, Text_1876B3
+ trainerbattle 0, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_18768C, Text_1876B3
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB3BC
+ goto_if eq, EventScript_1AB3BC
msgbox Text_1876C5, 6
end
EventScript_1AB3BC:: @ 81AB3BC
- trainerbattle 5, 308, 0, Text_1C2C7B, Text_1876B3
+ trainerbattle 5, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_1C2C7B, Text_1876B3
msgbox Text_1876C5, 6
end
Route18_EventScript_1AB3D3:: @ 81AB3D3
- trainerbattle 0, 309, 0, Text_187704, Text_187726
+ trainerbattle 0, TRAINER_BIRD_KEEPER_JACOB, 0, Text_187704, Text_187726
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB3FA
+ goto_if eq, EventScript_1AB3FA
msgbox Text_18772C, 6
end
EventScript_1AB3FA:: @ 81AB3FA
- trainerbattle 5, 309, 0, Text_1C2CA8, Text_187726
+ trainerbattle 5, TRAINER_BIRD_KEEPER_JACOB, 0, Text_1C2CA8, Text_187726
msgbox Text_18772C, 6
end
Route19_EventScript_1AB411:: @ 81AB411
- trainerbattle 0, 235, 0, Text_1877A3, Text_1877DF
+ trainerbattle 0, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1877A3, Text_1877DF
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB438
+ goto_if eq, EventScript_1AB438
msgbox Text_1877EE, 6
end
EventScript_1AB438:: @ 81AB438
- trainerbattle 5, 235, 0, Text_1C2CEE, Text_1877DF
+ trainerbattle 5, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1C2CEE, Text_1877DF
msgbox Text_1877EE, 6
end
Route19_EventScript_1AB44F:: @ 81AB44F
- trainerbattle 0, 236, 0, Text_187811, Text_18783E
+ trainerbattle 0, TRAINER_SWIMMER_MALE_REECE, 0, Text_187811, Text_18783E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB476
+ goto_if eq, EventScript_1AB476
msgbox Text_187852, 6
end
EventScript_1AB476:: @ 81AB476
- trainerbattle 5, 236, 0, Text_1C2D19, Text_18783E
+ trainerbattle 5, TRAINER_SWIMMER_MALE_REECE, 0, Text_1C2D19, Text_18783E
msgbox Text_187852, 6
end
Route19_EventScript_1AB48D:: @ 81AB48D
- trainerbattle 0, 237, 0, Text_187884, Text_1878A5
+ trainerbattle 0, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_187884, Text_1878A5
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB4B4
+ goto_if eq, EventScript_1AB4B4
msgbox Text_1878B1, 6
end
EventScript_1AB4B4:: @ 81AB4B4
- trainerbattle 5, 237, 0, Text_1C2D4B, Text_1878A5
+ trainerbattle 5, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_1C2D4B, Text_1878A5
msgbox Text_1878B1, 6
end
Route19_EventScript_1AB4CB:: @ 81AB4CB
- trainerbattle 0, 238, 0, Text_1878DD, Text_1878F8
+ trainerbattle 0, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1878DD, Text_1878F8
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB4F2
+ goto_if eq, EventScript_1AB4F2
msgbox Text_1878FE, 6
end
EventScript_1AB4F2:: @ 81AB4F2
- trainerbattle 5, 238, 0, Text_1C2D7D, Text_1878F8
+ trainerbattle 5, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1C2D7D, Text_1878F8
msgbox Text_1878FE, 6
end
Route19_EventScript_1AB509:: @ 81AB509
- trainerbattle 0, 239, 0, Text_187925, Text_187955
+ trainerbattle 0, TRAINER_SWIMMER_MALE_DAVID, 0, Text_187925, Text_187955
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB530
+ goto_if eq, EventScript_1AB530
msgbox Text_18795B, 6
end
EventScript_1AB530:: @ 81AB530
- trainerbattle 5, 239, 0, Text_1C2DA7, Text_187955
+ trainerbattle 5, TRAINER_SWIMMER_MALE_DAVID, 0, Text_1C2DA7, Text_187955
msgbox Text_18795B, 6
end
Route19_EventScript_1AB547:: @ 81AB547
- trainerbattle 0, 240, 0, Text_187985, Text_1879C3
+ trainerbattle 0, TRAINER_SWIMMER_MALE_TONY, 0, Text_187985, Text_1879C3
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB56E
+ goto_if eq, EventScript_1AB56E
msgbox Text_1879D3, 6
end
EventScript_1AB56E:: @ 81AB56E
- trainerbattle 5, 240, 0, Text_1C2DE9, Text_1879C3
+ trainerbattle 5, TRAINER_SWIMMER_MALE_TONY, 0, Text_1C2DE9, Text_1879C3
msgbox Text_1879D3, 6
end
Route19_EventScript_1AB585:: @ 81AB585
- trainerbattle 0, 241, 0, Text_187AFA, Text_187B25
+ trainerbattle 0, TRAINER_SWIMMER_MALE_AXLE, 0, Text_187AFA, Text_187B25
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB5AC
+ goto_if eq, EventScript_1AB5AC
msgbox Text_187B35, 6
end
EventScript_1AB5AC:: @ 81AB5AC
- trainerbattle 5, 241, 0, Text_1C2EC0, Text_187B25
+ trainerbattle 5, TRAINER_SWIMMER_MALE_AXLE, 0, Text_1C2EC0, Text_187B25
msgbox Text_187B35, 6
end
Route19_EventScript_1AB5C3:: @ 81AB5C3
- trainerbattle 0, 276, 0, Text_187A11, Text_187A44
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_187A11, Text_187A44
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB5EA
+ goto_if eq, EventScript_1AB5EA
msgbox Text_187A50, 6
end
EventScript_1AB5EA:: @ 81AB5EA
- trainerbattle 5, 276, 0, Text_1C2E4A, Text_187A44
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_1C2E4A, Text_187A44
msgbox Text_187A50, 6
end
Route19_EventScript_1AB601:: @ 81AB601
- trainerbattle 0, 277, 0, Text_187A9E, Text_187AC1
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_187A9E, Text_187AC1
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB628
+ goto_if eq, EventScript_1AB628
msgbox Text_187ACA, 6
end
EventScript_1AB628:: @ 81AB628
- trainerbattle 5, 277, 0, Text_1C2E9D, Text_187AC1
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_1C2E9D, Text_187AC1
msgbox Text_187ACA, 6
end
Route19_EventScript_1AB63F:: @ 81AB63F
- trainerbattle 0, 278, 0, Text_187B5D, Text_187B85
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_187B5D, Text_187B85
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB666
+ goto_if eq, EventScript_1AB666
msgbox Text_187B94, 6
end
EventScript_1AB666:: @ 81AB666
- trainerbattle 5, 278, 0, Text_1C2EFC, Text_187B85
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_1C2EFC, Text_187B85
msgbox Text_187B94, 6
end
Route19_EventScript_1AB67D:: @ 81AB67D
- trainerbattle 4, 490, 0, Text_187C32, Text_187C6F, Text_187CF2
+ trainerbattle 4, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_187C32, Text_187C6F, Text_187CF2
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB6A8
+ goto_if eq, EventScript_1AB6A8
msgbox Text_187C9E, 6
end
EventScript_1AB6A8:: @ 81AB6A8
- trainerbattle 7, 490, 0, Text_1C2F41, Text_187C6F, Text_187CF2
+ trainerbattle 7, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2F41, Text_187C6F, Text_187CF2
msgbox Text_187C9E, 6
end
Route19_EventScript_1AB6C3:: @ 81AB6C3
- trainerbattle 4, 490, 0, Text_187D45, Text_187D7E, Text_187DE8
+ trainerbattle 4, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_187D45, Text_187D7E, Text_187DE8
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB6EE
+ goto_if eq, EventScript_1AB6EE
msgbox Text_187DAD, 6
end
EventScript_1AB6EE:: @ 81AB6EE
- trainerbattle 7, 490, 0, Text_1C2FAE, Text_187D7E, Text_187DE8
+ trainerbattle 7, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2FAE, Text_187D7E, Text_187DE8
msgbox Text_187DAD, 6
end
Route20_EventScript_1AB709:: @ 81AB709
- trainerbattle 0, 242, 0, Text_187E40, Text_187E7B
+ trainerbattle 0, TRAINER_SWIMMER_MALE_BARRY, 0, Text_187E40, Text_187E7B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB730
+ goto_if eq, EventScript_1AB730
msgbox Text_187E83, 6
end
EventScript_1AB730:: @ 81AB730
- trainerbattle 5, 242, 0, Text_1C2FF3, Text_187E7B
+ trainerbattle 5, TRAINER_SWIMMER_MALE_BARRY, 0, Text_1C2FF3, Text_187E7B
msgbox Text_187E83, 6
end
Route20_EventScript_1AB747:: @ 81AB747
- trainerbattle 0, 243, 0, Text_187FDB, Text_187FF7
+ trainerbattle 0, TRAINER_SWIMMER_MALE_DEAN, 0, Text_187FDB, Text_187FF7
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB76E
+ goto_if eq, EventScript_1AB76E
msgbox Text_187FFE, 6
end
EventScript_1AB76E:: @ 81AB76E
- trainerbattle 5, 243, 0, Text_1C30B0, Text_187FF7
+ trainerbattle 5, TRAINER_SWIMMER_MALE_DEAN, 0, Text_1C30B0, Text_187FF7
msgbox Text_187FFE, 6
end
Route20_EventScript_1AB785:: @ 81AB785
- trainerbattle 0, 244, 0, Text_18802E, Text_18805C
+ trainerbattle 0, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_18802E, Text_18805C
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB7AC
+ goto_if eq, EventScript_1AB7AC
msgbox Text_18806D, 6
end
EventScript_1AB7AC:: @ 81AB7AC
- trainerbattle 5, 244, 0, Text_1C30ED, Text_18805C
+ trainerbattle 5, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_1C30ED, Text_18805C
msgbox Text_18806D, 6
end
Route20_EventScript_1AB7C3:: @ 81AB7C3
- trainerbattle 0, 270, 0, Text_187F24, Text_187F5A
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_187F24, Text_187F5A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB7EA
+ goto_if eq, EventScript_1AB7EA
msgbox Text_187F61, 6
end
EventScript_1AB7EA:: @ 81AB7EA
- trainerbattle 5, 270, 0, Text_1C305F, Text_187F5A
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_1C305F, Text_187F5A
msgbox Text_187F61, 6
end
Route20_EventScript_1AB801:: @ 81AB801
- trainerbattle 0, 271, 0, Text_1880F8, Text_188119
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1880F8, Text_188119
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB828
+ goto_if eq, EventScript_1AB828
msgbox Text_188139, 6
end
EventScript_1AB828:: @ 81AB828
- trainerbattle 5, 271, 0, Text_1C3149, Text_188119
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1C3149, Text_188119
msgbox Text_188139, 6
end
Route20_EventScript_1AB83F:: @ 81AB83F
- trainerbattle 0, 272, 0, Text_188218, Text_18825C
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_188218, Text_18825C
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB866
+ goto_if eq, EventScript_1AB866
msgbox Text_18827B, 6
end
EventScript_1AB866:: @ 81AB866
- trainerbattle 5, 272, 0, Text_1C31C4, Text_18825C
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_1C31C4, Text_18825C
msgbox Text_18827B, 6
end
Route20_EventScript_1AB87D:: @ 81AB87D
- trainerbattle 0, 279, 0, Text_187EBB, Text_187EED
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_187EBB, Text_187EED
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB8A4
+ goto_if eq, EventScript_1AB8A4
msgbox Text_187EF6, 6
end
EventScript_1AB8A4:: @ 81AB8A4
- trainerbattle 5, 279, 0, Text_1C302E, Text_187EED
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_1C302E, Text_187EED
msgbox Text_187EF6, 6
end
Route20_EventScript_1AB8BB:: @ 81AB8BB
- trainerbattle 0, 310, 0, Text_18808E, Text_1880AB
+ trainerbattle 0, TRAINER_BIRD_KEEPER_ROGER, 0, Text_18808E, Text_1880AB
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB8E2
+ goto_if eq, EventScript_1AB8E2
msgbox Text_1880C8, 6
end
EventScript_1AB8E2:: @ 81AB8E2
- trainerbattle 5, 310, 0, Text_1C312C, Text_1880AB
+ trainerbattle 5, TRAINER_BIRD_KEEPER_ROGER, 0, Text_1C312C, Text_1880AB
msgbox Text_1880C8, 6
end
Route20_EventScript_1AB8F9:: @ 81AB8F9
- trainerbattle 0, 472, 0, Text_188165, Text_1881A3
+ trainerbattle 0, TRAINER_PICNICKER_MISSY, 0, Text_188165, Text_1881A3
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB920
+ goto_if eq, EventScript_1AB920
msgbox Text_1881B8, 6
end
EventScript_1AB920:: @ 81AB920
- trainerbattle 5, 472, 0, Text_1C3185, Text_1881A3
+ trainerbattle 5, TRAINER_PICNICKER_MISSY, 0, Text_1C3185, Text_1881A3
msgbox Text_1881B8, 6
end
Route20_EventScript_1AB937:: @ 81AB937
- trainerbattle 0, 473, 0, Text_187F78, Text_187F92
+ trainerbattle 0, TRAINER_PICNICKER_IRENE, 0, Text_187F78, Text_187F92
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB95E
+ goto_if eq, EventScript_1AB95E
msgbox Text_187FA3, 6
end
EventScript_1AB95E:: @ 81AB95E
- trainerbattle 5, 473, 0, Text_1C3095, Text_187F92
+ trainerbattle 5, TRAINER_PICNICKER_IRENE, 0, Text_1C3095, Text_187F92
msgbox Text_187FA3, 6
end
Route21_North_EventScript_1AB975:: @ 81AB975
- trainerbattle 0, 229, 0, Text_18835A, Text_188383
+ trainerbattle 0, TRAINER_FISHERMAN_RONALD, 0, Text_18835A, Text_188383
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB99C
+ goto_if eq, EventScript_1AB99C
msgbox Text_188389, 6
end
EventScript_1AB99C:: @ 81AB99C
- trainerbattle 5, 229, 0, Text_1C3208, Text_188383
+ trainerbattle 5, TRAINER_FISHERMAN_RONALD, 0, Text_1C3208, Text_188383
msgbox Text_188389, 6
end
Route21_South_EventScript_1AB9B3:: @ 81AB9B3
- trainerbattle 0, 230, 0, Text_1885D8, Text_1885F8
+ trainerbattle 0, TRAINER_FISHERMAN_CLAUDE, 0, Text_1885D8, Text_1885F8
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AB9DA
+ goto_if eq, EventScript_1AB9DA
msgbox Text_188632, 6
end
EventScript_1AB9DA:: @ 81AB9DA
- trainerbattle 5, 230, 0, Text_1C331D, Text_1885F8
+ trainerbattle 5, TRAINER_FISHERMAN_CLAUDE, 0, Text_1C331D, Text_1885F8
msgbox Text_188632, 6
end
Route21_North_EventScript_1AB9F1:: @ 81AB9F1
- trainerbattle 0, 231, 0, Text_1883C6, Text_1883E9
+ trainerbattle 0, TRAINER_FISHERMAN_WADE, 0, Text_1883C6, Text_1883E9
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABA18
+ goto_if eq, EventScript_1ABA18
msgbox Text_18841D, 6
end
EventScript_1ABA18:: @ 81ABA18
- trainerbattle 5, 231, 0, Text_1C3231, Text_1883E9
+ trainerbattle 5, TRAINER_FISHERMAN_WADE, 0, Text_1C3231, Text_1883E9
msgbox Text_18841D, 6
end
Route21_South_EventScript_1ABA2F:: @ 81ABA2F
- trainerbattle 0, 232, 0, Text_18868C, Text_1886AE
+ trainerbattle 0, TRAINER_FISHERMAN_NOLAN, 0, Text_18868C, Text_1886AE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABA56
+ goto_if eq, EventScript_1ABA56
msgbox Text_1886C5, 6
end
EventScript_1ABA56:: @ 81ABA56
- trainerbattle 5, 232, 0, Text_1C3356, Text_1886AE
+ trainerbattle 5, TRAINER_FISHERMAN_NOLAN, 0, Text_1C3356, Text_1886AE
msgbox Text_1886C5, 6
end
Route21_North_EventScript_1ABA6D:: @ 81ABA6D
- trainerbattle 0, 245, 0, Text_18843C, Text_18845F
+ trainerbattle 0, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_18843C, Text_18845F
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABA94
+ goto_if eq, EventScript_1ABA94
msgbox Text_188465, 6
end
EventScript_1ABA94:: @ 81ABA94
- trainerbattle 5, 245, 0, Text_1C3264, Text_18845F
+ trainerbattle 5, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_1C3264, Text_18845F
msgbox Text_188465, 6
end
Route21_South_EventScript_1ABAAB:: @ 81ABAAB
- trainerbattle 0, 246, 0, Text_1884D4, Text_1884F0
+ trainerbattle 0, TRAINER_SWIMMER_MALE_JACK, 0, Text_1884D4, Text_1884F0
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABAD2
+ goto_if eq, EventScript_1ABAD2
msgbox Text_1884FF, 6
end
EventScript_1ABAD2:: @ 81ABAD2
- trainerbattle 5, 246, 0, Text_1C3298, Text_1884F0
+ trainerbattle 5, TRAINER_SWIMMER_MALE_JACK, 0, Text_1C3298, Text_1884F0
msgbox Text_1884FF, 6
end
Route21_South_EventScript_1ABAE9:: @ 81ABAE9
- trainerbattle 0, 247, 0, Text_18851F, Text_188543
+ trainerbattle 0, TRAINER_SWIMMER_MALE_JEROME, 0, Text_18851F, Text_188543
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABB10
+ goto_if eq, EventScript_1ABB10
msgbox Text_188555, 6
end
EventScript_1ABB10:: @ 81ABB10
- trainerbattle 5, 247, 0, Text_1C32D3, Text_188543
+ trainerbattle 5, TRAINER_SWIMMER_MALE_JEROME, 0, Text_1C32D3, Text_188543
msgbox Text_188555, 6
end
Route21_South_EventScript_1ABB27:: @ 81ABB27
- trainerbattle 0, 248, 0, Text_188592, Text_1885B2
+ trainerbattle 0, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_188592, Text_1885B2
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABB4E
+ goto_if eq, EventScript_1ABB4E
msgbox Text_1885BF, 6
end
EventScript_1ABB4E:: @ 81ABB4E
- trainerbattle 5, 248, 0, Text_1C32FD, Text_1885B2
+ trainerbattle 5, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_1C32FD, Text_1885B2
msgbox Text_1885BF, 6
end
Route21_North_EventScript_1ABB65:: @ 81ABB65
- trainerbattle 4, 491, 0, Text_1886E2, Text_188712, Text_18875E
+ trainerbattle 4, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1886E2, Text_188712, Text_18875E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABB90
+ goto_if eq, EventScript_1ABB90
msgbox Text_188734, 6
end
EventScript_1ABB90:: @ 81ABB90
- trainerbattle 7, 491, 0, Text_1C3378, Text_188712, Text_18875E
+ trainerbattle 7, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C3378, Text_188712, Text_18875E
msgbox Text_188734, 6
end
Route21_North_EventScript_1ABBAB:: @ 81ABBAB
- trainerbattle 4, 491, 0, Text_1887B4, Text_1887F1, Text_188850
+ trainerbattle 4, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1887B4, Text_1887F1, Text_188850
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABBD6
+ goto_if eq, EventScript_1ABBD6
msgbox Text_188812, 6
end
EventScript_1ABBD6:: @ 81ABBD6
- trainerbattle 7, 491, 0, Text_1C33AE, Text_1887F1, Text_188850
+ trainerbattle 7, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C33AE, Text_1887F1, Text_188850
msgbox Text_188812, 6
end
OneIsland_KindleRoad_EventScript_1ABBF1:: @ 81ABBF1
- trainerbattle 0, 547, 0, Text_18961F, Text_18964D
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_18961F, Text_18964D
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABC18
+ goto_if eq, EventScript_1ABC18
msgbox Text_189657, 6
end
EventScript_1ABC18:: @ 81ABC18
- trainerbattle 5, 547, 0, Text_1C37B5, Text_18964D
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_1C37B5, Text_18964D
msgbox Text_189657, 6
end
OneIsland_KindleRoad_EventScript_1ABC2F:: @ 81ABC2F
- trainerbattle 0, 548, 0, Text_18968C, Text_1896AC
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_18968C, Text_1896AC
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABC56
+ goto_if eq, EventScript_1ABC56
msgbox Text_1896C1, 6
end
EventScript_1ABC56:: @ 81ABC56
- trainerbattle 5, 548, 0, Text_1C37E7, Text_1896AC
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_1C37E7, Text_1896AC
msgbox Text_1896C1, 6
end
OneIsland_KindleRoad_EventScript_1ABC6D:: @ 81ABC6D
- trainerbattle 0, 549, 0, Text_1896F9, Text_189728
+ trainerbattle 0, TRAINER_SWIMMER_MALE_FINN, 0, Text_1896F9, Text_189728
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABC94
+ goto_if eq, EventScript_1ABC94
msgbox Text_189740, 6
end
EventScript_1ABC94:: @ 81ABC94
- trainerbattle 5, 549, 0, Text_1C3807, Text_189728
+ trainerbattle 5, TRAINER_SWIMMER_MALE_FINN, 0, Text_1C3807, Text_189728
msgbox Text_189740, 6
end
OneIsland_KindleRoad_EventScript_1ABCAB:: @ 81ABCAB
- trainerbattle 0, 550, 0, Text_189767, Text_1897A4
+ trainerbattle 0, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_189767, Text_1897A4
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABCD2
+ goto_if eq, EventScript_1ABCD2
msgbox Text_1897C5, 6
end
EventScript_1ABCD2:: @ 81ABCD2
- trainerbattle 5, 550, 0, Text_1C3835, Text_1897A4
+ trainerbattle 5, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_1C3835, Text_1897A4
msgbox Text_1897C5, 6
end
OneIsland_KindleRoad_EventScript_1ABCE9:: @ 81ABCE9
- trainerbattle 0, 551, 0, Text_1897FF, Text_189833
+ trainerbattle 0, TRAINER_FISHERMAN_TOMMY, 0, Text_1897FF, Text_189833
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABD10
+ goto_if eq, EventScript_1ABD10
msgbox Text_18984B, 6
end
EventScript_1ABD10:: @ 81ABD10
- trainerbattle 5, 551, 0, Text_1C386A, Text_189833
+ trainerbattle 5, TRAINER_FISHERMAN_TOMMY, 0, Text_1C386A, Text_189833
msgbox Text_18984B, 6
end
OneIsland_KindleRoad_EventScript_1ABD27:: @ 81ABD27
- trainerbattle 0, 518, 0, Text_189883, Text_1898AB
+ trainerbattle 0, TRAINER_CRUSH_GIRL_SHARON, 0, Text_189883, Text_1898AB
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABD4E
+ goto_if eq, EventScript_1ABD4E
msgbox Text_1898C4, 6
end
EventScript_1ABD4E:: @ 81ABD4E
- trainerbattle 5, 518, 0, Text_1C389F, Text_1898AB
+ trainerbattle 5, TRAINER_CRUSH_GIRL_SHARON, 0, Text_1C389F, Text_1898AB
msgbox Text_1898C4, 6
end
OneIsland_KindleRoad_EventScript_1ABD65:: @ 81ABD65
- trainerbattle 0, 552, 0, Text_1898F0, Text_18991B
+ trainerbattle 0, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1898F0, Text_18991B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABD8C
+ goto_if eq, EventScript_1ABD8C
msgbox Text_18992C, 6
end
EventScript_1ABD8C:: @ 81ABD8C
- trainerbattle 5, 552, 0, Text_1C38CA, Text_18991B
+ trainerbattle 5, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1C38CA, Text_18991B
msgbox Text_18992C, 6
end
OneIsland_KindleRoad_EventScript_1ABDA3:: @ 81ABDA3
- trainerbattle 0, 553, 0, Text_189950, Text_18998C
+ trainerbattle 0, TRAINER_BLACK_BELT_SHEA, 0, Text_189950, Text_18998C
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABDCA
+ goto_if eq, EventScript_1ABDCA
msgbox Text_189998, 6
end
EventScript_1ABDCA:: @ 81ABDCA
- trainerbattle 5, 553, 0, Text_1C38FA, Text_18998C
+ trainerbattle 5, TRAINER_BLACK_BELT_SHEA, 0, Text_1C38FA, Text_18998C
msgbox Text_189998, 6
end
OneIsland_KindleRoad_EventScript_1ABDE1:: @ 81ABDE1
- trainerbattle 0, 554, 0, Text_1899CE, Text_189A0A
+ trainerbattle 0, TRAINER_BLACK_BELT_HUGH, 0, Text_1899CE, Text_189A0A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABE08
+ goto_if eq, EventScript_1ABE08
msgbox Text_189A13, 6
end
EventScript_1ABE08:: @ 81ABE08
- trainerbattle 5, 554, 0, Text_1C3943, Text_189A0A
+ trainerbattle 5, TRAINER_BLACK_BELT_HUGH, 0, Text_1C3943, Text_189A0A
msgbox Text_189A13, 6
end
OneIsland_KindleRoad_EventScript_1ABE1F:: @ 81ABE1F
- trainerbattle 0, 555, 0, Text_189A53, Text_189A92
+ trainerbattle 0, TRAINER_CAMPER_BRYCE, 0, Text_189A53, Text_189A92
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABE46
+ goto_if eq, EventScript_1ABE46
msgbox Text_189A9F, 6
end
EventScript_1ABE46:: @ 81ABE46
- trainerbattle 5, 555, 0, Text_1C3987, Text_189A92
+ trainerbattle 5, TRAINER_CAMPER_BRYCE, 0, Text_1C3987, Text_189A92
msgbox Text_189A9F, 6
end
OneIsland_KindleRoad_EventScript_1ABE5D:: @ 81ABE5D
- trainerbattle 0, 556, 0, Text_189ACB, Text_189B0B
+ trainerbattle 0, TRAINER_PICNICKER_CLAIRE, 0, Text_189ACB, Text_189B0B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABE84
+ goto_if eq, EventScript_1ABE84
msgbox Text_189B24, 6
end
EventScript_1ABE84:: @ 81ABE84
- trainerbattle 5, 556, 0, Text_1C39C6, Text_189B0B
+ trainerbattle 5, TRAINER_PICNICKER_CLAIRE, 0, Text_1C39C6, Text_189B0B
msgbox Text_189B24, 6
end
OneIsland_KindleRoad_EventScript_1ABE9B:: @ 81ABE9B
- trainerbattle 4, 557, 0, Text_189B4D, Text_189B84, Text_189BDE
+ trainerbattle 4, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_189B4D, Text_189B84, Text_189BDE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABEC6
+ goto_if eq, EventScript_1ABEC6
msgbox Text_189BA3, 6
end
EventScript_1ABEC6:: @ 81ABEC6
- trainerbattle 7, 557, 0, Text_1C3A05, Text_189B84, Text_189BDE
+ trainerbattle 7, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A05, Text_189B84, Text_189BDE
msgbox Text_189BA3, 6
end
OneIsland_KindleRoad_EventScript_1ABEE1:: @ 81ABEE1
- trainerbattle 4, 557, 0, Text_189C33, Text_189C62, Text_189CAB
+ trainerbattle 4, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_189C33, Text_189C62, Text_189CAB
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABF0C
+ goto_if eq, EventScript_1ABF0C
msgbox Text_189C7E, 6
end
EventScript_1ABF0C:: @ 81ABF0C
- trainerbattle 7, 557, 0, Text_1C3A55, Text_189C62, Text_189CAB
+ trainerbattle 7, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A55, Text_189C62, Text_189CAB
msgbox Text_189C7E, 6
end
OneIsland_TreasureBeach_EventScript_1ABF27:: @ 81ABF27
- trainerbattle 0, 546, 0, Text_189D5A, Text_189D8B
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_189D5A, Text_189D8B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABF4E
+ goto_if eq, EventScript_1ABF4E
msgbox Text_189DA3, 6
end
EventScript_1ABF4E:: @ 81ABF4E
- trainerbattle 5, 546, 0, Text_1C3773, Text_189D8B
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_1C3773, Text_189D8B
msgbox Text_189DA3, 6
end
ThreeIsland_BondBridge_EventScript_1ABF65:: @ 81ABF65
- trainerbattle 0, 523, 0, Text_189E42, Text_189E72
+ trainerbattle 0, TRAINER_AROMA_LADY_NIKKI, 0, Text_189E42, Text_189E72
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABF8C
+ goto_if eq, EventScript_1ABF8C
msgbox Text_189E9E, 6
end
EventScript_1ABF8C:: @ 81ABF8C
- trainerbattle 5, 523, 0, Text_1C3AA7, Text_189E72
+ trainerbattle 5, TRAINER_AROMA_LADY_NIKKI, 0, Text_1C3AA7, Text_189E72
msgbox Text_189E9E, 6
end
ThreeIsland_BondBridge_EventScript_1ABFA3:: @ 81ABFA3
- trainerbattle 0, 558, 0, Text_189ED4, Text_189EFA
+ trainerbattle 0, TRAINER_AROMA_LADY_VIOLET, 0, Text_189ED4, Text_189EFA
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ABFCA
+ goto_if eq, EventScript_1ABFCA
msgbox Text_189F21, 6
end
EventScript_1ABFCA:: @ 81ABFCA
- trainerbattle 5, 558, 0, Text_1C3ABF, Text_189EFA
+ trainerbattle 5, TRAINER_AROMA_LADY_VIOLET, 0, Text_1C3ABF, Text_189EFA
msgbox Text_189F21, 6
end
ThreeIsland_BondBridge_EventScript_1ABFE1:: @ 81ABFE1
- trainerbattle 0, 519, 0, Text_189F63, Text_189F9A
+ trainerbattle 0, TRAINER_TUBER_AMIRA, 0, Text_189F63, Text_189F9A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC008
+ goto_if eq, EventScript_1AC008
msgbox Text_189FA8, 6
end
EventScript_1AC008:: @ 81AC008
- trainerbattle 5, 519, 0, Text_1C3AF2, Text_189F9A
+ trainerbattle 5, TRAINER_TUBER_AMIRA, 0, Text_1C3AF2, Text_189F9A
msgbox Text_189FA8, 6
end
ThreeIsland_BondBridge_EventScript_1AC01F:: @ 81AC01F
- trainerbattle 0, 559, 0, Text_189FDB, Text_189FEE
+ trainerbattle 0, TRAINER_TUBER_ALEXIS, 0, Text_189FDB, Text_189FEE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC046
+ goto_if eq, EventScript_1AC046
msgbox Text_18A000, 6
end
EventScript_1AC046:: @ 81AC046
- trainerbattle 5, 559, 0, Text_1C3B1D, Text_189FEE
+ trainerbattle 5, TRAINER_TUBER_ALEXIS, 0, Text_1C3B1D, Text_189FEE
msgbox Text_18A000, 6
end
ThreeIsland_BondBridge_EventScript_1AC05D:: @ 81AC05D
- trainerbattle 0, 561, 0, Text_18A01F, Text_18A053
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_18A01F, Text_18A053
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC084
+ goto_if eq, EventScript_1AC084
msgbox Text_18A082, 6
end
EventScript_1AC084:: @ 81AC084
- trainerbattle 5, 561, 0, Text_1C3B30, Text_18A053
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_1C3B30, Text_18A053
msgbox Text_18A082, 6
end
ThreeIsland_BondBridge_EventScript_1AC09B:: @ 81AC09B
- trainerbattle 4, 560, 0, Text_18A0C4, Text_18A0F7, Text_18A138
+ trainerbattle 4, TRAINER_TWINS_JOY_MEG, 0, Text_18A0C4, Text_18A0F7, Text_18A138
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC0C6
+ goto_if eq, EventScript_1AC0C6
msgbox Text_18A106, 6
end
EventScript_1AC0C6:: @ 81AC0C6
- trainerbattle 7, 560, 0, Text_1C3B6E, Text_18A0F7, Text_18A138
+ trainerbattle 7, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B6E, Text_18A0F7, Text_18A138
msgbox Text_18A106, 6
end
ThreeIsland_BondBridge_EventScript_1AC0E1:: @ 81AC0E1
- trainerbattle 4, 560, 0, Text_18A179, Text_18A1A3, Text_18A1CD
+ trainerbattle 4, TRAINER_TWINS_JOY_MEG, 0, Text_18A179, Text_18A1A3, Text_18A1CD
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC10C
+ goto_if eq, EventScript_1AC10C
msgbox Text_18A1B2, 6
end
EventScript_1AC10C:: @ 81AC10C
- trainerbattle 7, 560, 0, Text_1C3B99, Text_18A1A3, Text_18A1CD
+ trainerbattle 7, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B99, Text_18A1A3, Text_18A1CD
msgbox Text_18A1B2, 6
end
FiveIsland_ResortGorgeous_EventScript_1AC127:: @ 81AC127
- trainerbattle 0, 526, 0, Text_18A3E2, Text_18A40E
+ trainerbattle 0, TRAINER_PAINTER_DAISY, 0, Text_18A3E2, Text_18A40E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC14E
+ goto_if eq, EventScript_1AC14E
msgbox Text_18A430, 6
end
EventScript_1AC14E:: @ 81AC14E
- trainerbattle 5, 526, 0, Text_1C3BF6, Text_18A40E
+ trainerbattle 5, TRAINER_PAINTER_DAISY, 0, Text_1C3BF6, Text_18A40E
msgbox Text_18A430, 6
end
FiveIsland_ResortGorgeous_EventScript_1AC165:: @ 81AC165
- trainerbattle 0, 562, 0, Text_18A461, Text_18A49E
+ trainerbattle 0, TRAINER_PAINTER_CELINA, 0, Text_18A461, Text_18A49E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC18C
+ goto_if eq, EventScript_1AC18C
msgbox Text_18A4C6, 6
end
EventScript_1AC18C:: @ 81AC18C
- trainerbattle 5, 562, 0, Text_1C3C28, Text_18A49E
+ trainerbattle 5, TRAINER_PAINTER_CELINA, 0, Text_1C3C28, Text_18A49E
msgbox Text_18A4C6, 6
end
FiveIsland_ResortGorgeous_EventScript_1AC1A3:: @ 81AC1A3
- trainerbattle 0, 563, 0, Text_18A50E, Text_18A535
+ trainerbattle 0, TRAINER_PAINTER_RAYNA, 0, Text_18A50E, Text_18A535
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC1CA
+ goto_if eq, EventScript_1AC1CA
msgbox Text_18A555, 6
end
EventScript_1AC1CA:: @ 81AC1CA
- trainerbattle 5, 563, 0, Text_1C3C70, Text_18A535
+ trainerbattle 5, TRAINER_PAINTER_RAYNA, 0, Text_1C3C70, Text_18A535
msgbox Text_18A555, 6
end
FiveIsland_ResortGorgeous_EventScript_1AC1E1:: @ 81AC1E1
- trainerbattle 0, 525, 0, Text_18A5B9, Text_18A5EE
+ trainerbattle 0, TRAINER_LADY_JACKI, 0, Text_18A5B9, Text_18A5EE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC208
+ goto_if eq, EventScript_1AC208
msgbox Text_18A601, 6
end
EventScript_1AC208:: @ 81AC208
- trainerbattle 5, 525, 0, Text_1C3CB0, Text_18A5EE
+ trainerbattle 5, TRAINER_LADY_JACKI, 0, Text_1C3CB0, Text_18A5EE
msgbox Text_18A601, 6
end
FiveIsland_ResortGorgeous_EventScript_1AC21F:: @ 81AC21F
- trainerbattle 0, 564, 0, Text_18A645, Text_18A67F
+ trainerbattle 0, TRAINER_LADY_GILLIAN, 0, Text_18A645, Text_18A67F
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC246
+ goto_if eq, EventScript_1AC246
msgbox Text_18A699, 6
end
EventScript_1AC246:: @ 81AC246
- trainerbattle 5, 564, 0, Text_1C3CF1, Text_18A67F
+ trainerbattle 5, TRAINER_LADY_GILLIAN, 0, Text_1C3CF1, Text_18A67F
msgbox Text_18A699, 6
end
FiveIsland_ResortGorgeous_EventScript_1AC25D:: @ 81AC25D
- trainerbattle 0, 565, 0, Text_18A6DA, Text_18A6FE
+ trainerbattle 0, TRAINER_YOUNGSTER_DESTIN, 0, Text_18A6DA, Text_18A6FE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC284
+ goto_if eq, EventScript_1AC284
msgbox Text_18A715, 6
end
EventScript_1AC284:: @ 81AC284
- trainerbattle 5, 565, 0, Text_1C3D47, Text_18A6FE
+ trainerbattle 5, TRAINER_YOUNGSTER_DESTIN, 0, Text_1C3D47, Text_18A6FE
msgbox Text_18A715, 6
end
FiveIsland_ResortGorgeous_EventScript_1AC29B:: @ 81AC29B
- trainerbattle 0, 566, 0, Text_18A74A, Text_18A786
+ trainerbattle 0, TRAINER_SWIMMER_MALE_TOBY, 0, Text_18A74A, Text_18A786
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC2C2
+ goto_if eq, EventScript_1AC2C2
msgbox Text_18A7AC, 6
end
EventScript_1AC2C2:: @ 81AC2C2
- trainerbattle 5, 566, 0, Text_1C3D73, Text_18A786
+ trainerbattle 5, TRAINER_SWIMMER_MALE_TOBY, 0, Text_1C3D73, Text_18A786
msgbox Text_18A7AC, 6
end
FiveIsland_WaterLabyrinth_EventScript_1AC2D9:: @ 81AC2D9
- trainerbattle 0, 520, 0, Text_18AAD5, Text_18AB0B
+ trainerbattle 0, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_18AAD5, Text_18AB0B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC300
+ goto_if eq, EventScript_1AC300
msgbox Text_18AB37, 6
end
EventScript_1AC300:: @ 81AC300
- trainerbattle 5, 520, 0, Text_1C3BB7, Text_18AB0B
+ trainerbattle 5, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_1C3BB7, Text_18AB0B
msgbox Text_18AB37, 6
end
FiveIsland_MemorialPillar_EventScript_1AC317:: @ 81AC317
- trainerbattle 0, 570, 0, Text_18AE50, Text_18AEA8
+ trainerbattle 0, TRAINER_BIRD_KEEPER_MILO, 0, Text_18AE50, Text_18AEA8
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC33E
+ goto_if eq, EventScript_1AC33E
msgbox Text_18AEB6, 6
end
EventScript_1AC33E:: @ 81AC33E
- trainerbattle 5, 570, 0, Text_1C3DA2, Text_18AEA8
+ trainerbattle 5, TRAINER_BIRD_KEEPER_MILO, 0, Text_1C3DA2, Text_18AEA8
msgbox Text_18AEB6, 6
end
FiveIsland_MemorialPillar_EventScript_1AC355:: @ 81AC355
- trainerbattle 0, 571, 0, Text_18AEDC, Text_18AF39
+ trainerbattle 0, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_18AEDC, Text_18AF39
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC37C
+ goto_if eq, EventScript_1AC37C
msgbox Text_18AF45, 6
end
EventScript_1AC37C:: @ 81AC37C
- trainerbattle 5, 571, 0, Text_1C3E0F, Text_18AF39
+ trainerbattle 5, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_1C3E0F, Text_18AF39
msgbox Text_18AF45, 6
end
FiveIsland_MemorialPillar_EventScript_1AC393:: @ 81AC393
- trainerbattle 0, 572, 0, Text_18AF72, Text_18AFCC
+ trainerbattle 0, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_18AF72, Text_18AFCC
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC3BA
+ goto_if eq, EventScript_1AC3BA
msgbox Text_18AFF2, 6
end
EventScript_1AC3BA:: @ 81AC3BA
- trainerbattle 5, 572, 0, Text_1C3E6A, Text_18AFCC
+ trainerbattle 5, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_1C3E6A, Text_18AFCC
msgbox Text_18AFF2, 6
end
SixIsland_OutcastIsland_EventScript_1AC3D1:: @ 81AC3D1
- trainerbattle 0, 573, 0, Text_18B400, Text_18B43B
+ trainerbattle 0, TRAINER_FISHERMAN_TYLOR, 0, Text_18B400, Text_18B43B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC3F8
+ goto_if eq, EventScript_1AC3F8
msgbox Text_18B451, 6
end
EventScript_1AC3F8:: @ 81AC3F8
- trainerbattle 5, 573, 0, Text_1C3ED0, Text_18B43B
+ trainerbattle 5, TRAINER_FISHERMAN_TYLOR, 0, Text_1C3ED0, Text_18B43B
msgbox Text_18B451, 6
end
SixIsland_OutcastIsland_EventScript_1AC40F:: @ 81AC40F
- trainerbattle 0, 574, 0, Text_18B48F, Text_18B4C5
+ trainerbattle 0, TRAINER_SWIMMER_MALE_MYMO, 0, Text_18B48F, Text_18B4C5
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC436
+ goto_if eq, EventScript_1AC436
msgbox Text_18B4D1, 6
end
EventScript_1AC436:: @ 81AC436
- trainerbattle 5, 574, 0, Text_1C3F11, Text_18B4C5
+ trainerbattle 5, TRAINER_SWIMMER_MALE_MYMO, 0, Text_1C3F11, Text_18B4C5
msgbox Text_18B4D1, 6
end
SixIsland_OutcastIsland_EventScript_1AC44D:: @ 81AC44D
- trainerbattle 0, 575, 0, Text_18B4FA, Text_18B539
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_18B4FA, Text_18B539
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC474
+ goto_if eq, EventScript_1AC474
msgbox Text_18B573, 6
end
EventScript_1AC474:: @ 81AC474
- trainerbattle 5, 575, 0, Text_1C3F51, Text_18B539
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_1C3F51, Text_18B539
msgbox Text_18B573, 6
end
SixIsland_OutcastIsland_EventScript_1AC48B:: @ 81AC48B
- trainerbattle 4, 576, 0, Text_18B5C8, Text_18B5F4, Text_18B660
+ trainerbattle 4, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_18B5C8, Text_18B5F4, Text_18B660
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC4B6
+ goto_if eq, EventScript_1AC4B6
msgbox Text_18B62E, 6
end
EventScript_1AC4B6:: @ 81AC4B6
- trainerbattle 7, 576, 0, Text_1C3F7B, Text_18B5F4, Text_18B660
+ trainerbattle 7, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3F7B, Text_18B5F4, Text_18B660
msgbox Text_18B62E, 6
end
SixIsland_OutcastIsland_EventScript_1AC4D1:: @ 81AC4D1
- trainerbattle 4, 576, 0, Text_18B6C1, Text_18B6EF, Text_18B762
+ trainerbattle 4, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_18B6C1, Text_18B6EF, Text_18B762
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC4FC
+ goto_if eq, EventScript_1AC4FC
msgbox Text_18B720, 6
end
EventScript_1AC4FC:: @ 81AC4FC
- trainerbattle 7, 576, 0, Text_1C3FB3, Text_18B6EF, Text_18B762
+ trainerbattle 7, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3FB3, Text_18B6EF, Text_18B762
msgbox Text_18B720, 6
end
SixIsland_GreenPath_EventScript_1AC517:: @ 81AC517
- trainerbattle 0, 517, 0, Text_18B7B0, Text_18B7F0
+ trainerbattle 0, TRAINER_PSYCHIC_JACLYN, 0, Text_18B7B0, Text_18B7F0
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC53E
+ goto_if eq, EventScript_1AC53E
msgbox Text_18B7FD, 6
end
EventScript_1AC53E:: @ 81AC53E
- trainerbattle 5, 517, 0, Text_1C3FE9, Text_18B7F0
+ trainerbattle 5, TRAINER_PSYCHIC_JACLYN, 0, Text_1C3FE9, Text_18B7F0
msgbox Text_18B7FD, 6
end
SixIsland_WaterPath_EventScript_1AC555:: @ 81AC555
- trainerbattle 0, 577, 0, Text_18B896, Text_18B8C8
+ trainerbattle 0, TRAINER_AROMA_LADY_ROSE, 0, Text_18B896, Text_18B8C8
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC57C
+ goto_if eq, EventScript_1AC57C
msgbox Text_18B8F7, 6
end
EventScript_1AC57C:: @ 81AC57C
- trainerbattle 5, 577, 0, Text_1C4028, Text_18B8C8
+ trainerbattle 5, TRAINER_AROMA_LADY_ROSE, 0, Text_1C4028, Text_18B8C8
msgbox Text_18B8F7, 6
end
SixIsland_WaterPath_EventScript_1AC593:: @ 81AC593
- trainerbattle 0, 291, 0, Text_18B959, Text_18B988
+ trainerbattle 0, TRAINER_JUGGLER_EDWARD, 0, Text_18B959, Text_18B988
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC5BA
+ goto_if eq, EventScript_1AC5BA
msgbox Text_18B9A5, 6
end
EventScript_1AC5BA:: @ 81AC5BA
- trainerbattle 5, 291, 0, Text_1C4057, Text_18B988
+ trainerbattle 5, TRAINER_JUGGLER_EDWARD, 0, Text_1C4057, Text_18B988
msgbox Text_18B9A5, 6
end
SixIsland_WaterPath_EventScript_1AC5D1:: @ 81AC5D1
- trainerbattle 0, 578, 0, Text_18B9EC, Text_18BA47
+ trainerbattle 0, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_18B9EC, Text_18BA47
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC5F8
+ goto_if eq, EventScript_1AC5F8
msgbox Text_18BA57, 6
end
EventScript_1AC5F8:: @ 81AC5F8
- trainerbattle 5, 578, 0, Text_1C407F, Text_18BA47
+ trainerbattle 5, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_1C407F, Text_18BA47
msgbox Text_18BA57, 6
end
SixIsland_WaterPath_EventScript_1AC60F:: @ 81AC60F
- trainerbattle 0, 579, 0, Text_18BA86, Text_18BAC0
+ trainerbattle 0, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_18BA86, Text_18BAC0
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC636
+ goto_if eq, EventScript_1AC636
msgbox Text_18BAE0, 6
end
EventScript_1AC636:: @ 81AC636
- trainerbattle 5, 579, 0, Text_1C40D9, Text_18BAC0
+ trainerbattle 5, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_1C40D9, Text_18BAC0
msgbox Text_18BAE0, 6
end
SixIsland_WaterPath_EventScript_1AC64D:: @ 81AC64D
- trainerbattle 4, 580, 0, Text_18BBBA, Text_18BBE2, Text_18BC24
+ trainerbattle 4, TRAINER_TWINS_MIU_MIA, 0, Text_18BBBA, Text_18BBE2, Text_18BC24
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC678
+ goto_if eq, EventScript_1AC678
msgbox Text_18BBF6, 6
end
EventScript_1AC678:: @ 81AC678
- trainerbattle 7, 580, 0, Text_1C4138, Text_18BBE2, Text_18BC24
+ trainerbattle 7, TRAINER_TWINS_MIU_MIA, 0, Text_1C4138, Text_18BBE2, Text_18BC24
msgbox Text_18BBF6, 6
end
SixIsland_WaterPath_EventScript_1AC693:: @ 81AC693
- trainerbattle 4, 580, 0, Text_18BC5A, Text_18BC84, Text_18BCCF
+ trainerbattle 4, TRAINER_TWINS_MIU_MIA, 0, Text_18BC5A, Text_18BC84, Text_18BCCF
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC6BE
+ goto_if eq, EventScript_1AC6BE
msgbox Text_18BCAE, 6
end
EventScript_1AC6BE:: @ 81AC6BE
- trainerbattle 7, 580, 0, Text_1C4166, Text_18BC84, Text_18BCCF
+ trainerbattle 7, TRAINER_TWINS_MIU_MIA, 0, Text_1C4166, Text_18BC84, Text_18BCCF
msgbox Text_18BCAE, 6
end
SixIsland_WaterPath_EventScript_1AC6D9:: @ 81AC6D9
- trainerbattle 0, 581, 0, Text_18BB2D, Text_18BB62
+ trainerbattle 0, TRAINER_HIKER_EARL, 0, Text_18BB2D, Text_18BB62
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC700
+ goto_if eq, EventScript_1AC700
msgbox Text_18BB8B, 6
end
EventScript_1AC700:: @ 81AC700
- trainerbattle 5, 581, 0, Text_1C40FA, Text_18BB62
+ trainerbattle 5, TRAINER_HIKER_EARL, 0, Text_1C40FA, Text_18BB62
msgbox Text_18BB8B, 6
end
SixIsland_RuinValley_EventScript_1AC717:: @ 81AC717
- trainerbattle 0, 524, 0, Text_18BE5D, Text_18BE9B
+ trainerbattle 0, TRAINER_RUIN_MANIAC_STANLY, 0, Text_18BE5D, Text_18BE9B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC73E
+ goto_if eq, EventScript_1AC73E
msgbox Text_18BEA0, 6
end
EventScript_1AC73E:: @ 81AC73E
- trainerbattle 5, 524, 0, Text_1C4196, Text_18BE9B
+ trainerbattle 5, TRAINER_RUIN_MANIAC_STANLY, 0, Text_1C4196, Text_18BE9B
msgbox Text_18BEA0, 6
end
SixIsland_RuinValley_EventScript_1AC755:: @ 81AC755
- trainerbattle 0, 582, 0, Text_18BF05, Text_18BF33
+ trainerbattle 0, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_18BF05, Text_18BF33
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC77C
+ goto_if eq, EventScript_1AC77C
msgbox Text_18BF6C, 6
end
EventScript_1AC77C:: @ 81AC77C
- trainerbattle 5, 582, 0, Text_1C41D4, Text_18BF33
+ trainerbattle 5, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_1C41D4, Text_18BF33
msgbox Text_18BF6C, 6
end
SixIsland_RuinValley_EventScript_1AC793:: @ 81AC793
- trainerbattle 0, 583, 0, Text_18BFC5, Text_18C03B
+ trainerbattle 0, TRAINER_RUIN_MANIAC_LARRY, 0, Text_18BFC5, Text_18C03B
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC7BA
+ goto_if eq, EventScript_1AC7BA
msgbox Text_18C04C, 6
end
EventScript_1AC7BA:: @ 81AC7BA
- trainerbattle 5, 583, 0, Text_1C4210, Text_18C03B
+ trainerbattle 5, TRAINER_RUIN_MANIAC_LARRY, 0, Text_1C4210, Text_18C03B
msgbox Text_18C04C, 6
end
SixIsland_RuinValley_EventScript_1AC7D1:: @ 81AC7D1
- trainerbattle 0, 584, 0, Text_18C09C, Text_18C0BB
+ trainerbattle 0, TRAINER_HIKER_DARYL, 0, Text_18C09C, Text_18C0BB
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC7F8
+ goto_if eq, EventScript_1AC7F8
msgbox Text_18C0EA, 6
end
EventScript_1AC7F8:: @ 81AC7F8
- trainerbattle 5, 584, 0, Text_1C4280, Text_18C0BB
+ trainerbattle 5, TRAINER_HIKER_DARYL, 0, Text_1C4280, Text_18C0BB
msgbox Text_18C0EA, 6
end
SixIsland_RuinValley_EventScript_1AC80F:: @ 81AC80F
- trainerbattle 0, 585, 0, Text_18C10A, Text_18C140
+ trainerbattle 0, TRAINER_POKEMANIAC_HECTOR, 0, Text_18C10A, Text_18C140
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC836
+ goto_if eq, EventScript_1AC836
msgbox Text_18C17A, 6
end
EventScript_1AC836:: @ 81AC836
- trainerbattle 5, 585, 0, Text_1C42A0, Text_18C140
+ trainerbattle 5, TRAINER_POKEMANIAC_HECTOR, 0, Text_1C42A0, Text_18C140
msgbox Text_18C17A, 6
end
SevenIsland_TrainerTower_EventScript_1AC84D:: @ 81AC84D
- trainerbattle 0, 586, 0, Text_18C1ED, Text_18C205
+ trainerbattle 0, TRAINER_PSYCHIC_DARIO, 0, Text_18C1ED, Text_18C205
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC874
+ goto_if eq, EventScript_1AC874
msgbox Text_18C20E, 6
end
EventScript_1AC874:: @ 81AC874
- trainerbattle 5, 586, 0, Text_1C42D6, Text_18C205
+ trainerbattle 5, TRAINER_PSYCHIC_DARIO, 0, Text_1C42D6, Text_18C205
msgbox Text_18C20E, 6
end
SevenIsland_TrainerTower_EventScript_1AC88B:: @ 81AC88B
- trainerbattle 0, 587, 0, Text_18C283, Text_18C2BC
+ trainerbattle 0, TRAINER_PSYCHIC_RODETTE, 0, Text_18C283, Text_18C2BC
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC8B2
+ goto_if eq, EventScript_1AC8B2
msgbox Text_18C2D5, 6
end
EventScript_1AC8B2:: @ 81AC8B2
- trainerbattle 5, 587, 0, Text_1C42EE, Text_18C2BC
+ trainerbattle 5, TRAINER_PSYCHIC_RODETTE, 0, Text_1C42EE, Text_18C2BC
msgbox Text_18C2D5, 6
end
SevenIsland_SevaultCanyon_Entrance_EventScript_1AC8C9:: @ 81AC8C9
- trainerbattle 0, 588, 0, Text_18C3BC, Text_18C3E7
+ trainerbattle 0, TRAINER_AROMA_LADY_MIAH, 0, Text_18C3BC, Text_18C3E7
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC8F0
+ goto_if eq, EventScript_1AC8F0
msgbox Text_18C3FF, 6
end
EventScript_1AC8F0:: @ 81AC8F0
- trainerbattle 5, 588, 0, Text_1C4327, Text_18C3E7
+ trainerbattle 5, TRAINER_AROMA_LADY_MIAH, 0, Text_1C4327, Text_18C3E7
msgbox Text_18C3FF, 6
end
SevenIsland_SevaultCanyon_Entrance_EventScript_1AC907:: @ 81AC907
- trainerbattle 4, 589, 0, Text_18C632, Text_18C662, Text_18C6AB
+ trainerbattle 4, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_18C632, Text_18C662, Text_18C6AB
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC932
+ goto_if eq, EventScript_1AC932
msgbox Text_18C683, 6
end
EventScript_1AC932:: @ 81AC932
- trainerbattle 7, 589, 0, Text_1C4416, Text_18C662, Text_18C6AB
+ trainerbattle 7, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C4416, Text_18C662, Text_18C6AB
msgbox Text_18C683, 6
end
SevenIsland_SevaultCanyon_Entrance_EventScript_1AC94D:: @ 81AC94D
- trainerbattle 4, 589, 0, Text_18C700, Text_18C73B, Text_18C7BD
+ trainerbattle 4, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_18C700, Text_18C73B, Text_18C7BD
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC978
+ goto_if eq, EventScript_1AC978
msgbox Text_18C773, 6
end
EventScript_1AC978:: @ 81AC978
- trainerbattle 7, 589, 0, Text_1C444C, Text_18C73B, Text_18C7BD
+ trainerbattle 7, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C444C, Text_18C73B, Text_18C7BD
msgbox Text_18C773, 6
end
SevenIsland_SevaultCanyon_Entrance_EventScript_1AC993:: @ 81AC993
- trainerbattle 0, 590, 0, Text_18C44B, Text_18C473
+ trainerbattle 0, TRAINER_JUGGLER_MASON, 0, Text_18C44B, Text_18C473
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC9BA
+ goto_if eq, EventScript_1AC9BA
msgbox Text_18C4BA, 6
end
EventScript_1AC9BA:: @ 81AC9BA
- trainerbattle 5, 590, 0, Text_1C4374, Text_18C473
+ trainerbattle 5, TRAINER_JUGGLER_MASON, 0, Text_1C4374, Text_18C473
msgbox Text_18C4BA, 6
end
SevenIsland_SevaultCanyon_Entrance_EventScript_1AC9D1:: @ 81AC9D1
- trainerbattle 0, 521, 0, Text_18C500, Text_18C543
+ trainerbattle 0, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_18C500, Text_18C543
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1AC9F8
+ goto_if eq, EventScript_1AC9F8
msgbox Text_18C54B, 6
end
EventScript_1AC9F8:: @ 81AC9F8
- trainerbattle 5, 521, 0, Text_1C43AD, Text_18C543
+ trainerbattle 5, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_1C43AD, Text_18C543
msgbox Text_18C54B, 6
end
SevenIsland_SevaultCanyon_Entrance_EventScript_1ACA0F:: @ 81ACA0F
- trainerbattle 0, 522, 0, Text_18C5AA, Text_18C5CD
+ trainerbattle 0, TRAINER_PKMN_RANGER_MADELINE, 0, Text_18C5AA, Text_18C5CD
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACA36
+ goto_if eq, EventScript_1ACA36
msgbox Text_18C5F5, 6
end
EventScript_1ACA36:: @ 81ACA36
- trainerbattle 5, 522, 0, Text_1C43EC, Text_18C5CD
+ trainerbattle 5, TRAINER_PKMN_RANGER_MADELINE, 0, Text_1C43EC, Text_18C5CD
msgbox Text_18C5F5, 6
end
SevenIsland_SevaultCanyon_EventScript_1ACA4D:: @ 81ACA4D
- trainerbattle 0, 591, 0, Text_18C887, Text_18C8A6
+ trainerbattle 0, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_18C887, Text_18C8A6
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACA74
+ goto_if eq, EventScript_1ACA74
msgbox Text_18C8C2, 6
end
EventScript_1ACA74:: @ 81ACA74
- trainerbattle 5, 591, 0, Text_1C4491, Text_18C8A6
+ trainerbattle 5, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_1C4491, Text_18C8A6
msgbox Text_18C8C2, 6
end
SevenIsland_SevaultCanyon_EventScript_1ACA8B:: @ 81ACA8B
- trainerbattle 0, 593, 0, Text_18C8FD, Text_18C980
+ trainerbattle 0, TRAINER_TAMER_EVAN, 0, Text_18C8FD, Text_18C980
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACAB2
+ goto_if eq, EventScript_1ACAB2
msgbox Text_18C999, 6
end
EventScript_1ACAB2:: @ 81ACAB2
- trainerbattle 5, 593, 0, Text_1C44CB, Text_18C980
+ trainerbattle 5, TRAINER_TAMER_EVAN, 0, Text_1C44CB, Text_18C980
msgbox Text_18C999, 6
end
SevenIsland_SevaultCanyon_EventScript_1ACAC9:: @ 81ACAC9
- trainerbattle 0, 596, 0, Text_18CA2F, Text_18CA6F
+ trainerbattle 0, TRAINER_PKMN_RANGER_JACKSON, 0, Text_18CA2F, Text_18CA6F
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACAF0
+ goto_if eq, EventScript_1ACAF0
msgbox Text_18CA9C, 6
end
EventScript_1ACAF0:: @ 81ACAF0
- trainerbattle 5, 596, 0, Text_1C454E, Text_18CA6F
+ trainerbattle 5, TRAINER_PKMN_RANGER_JACKSON, 0, Text_1C454E, Text_18CA6F
msgbox Text_18CA9C, 6
end
SevenIsland_SevaultCanyon_EventScript_1ACB07:: @ 81ACB07
- trainerbattle 0, 598, 0, Text_18CB16, Text_18CB3E
+ trainerbattle 0, TRAINER_PKMN_RANGER_KATELYN, 0, Text_18CB16, Text_18CB3E
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACB2E
+ goto_if eq, EventScript_1ACB2E
msgbox Text_18CB6C, 6
end
EventScript_1ACB2E:: @ 81ACB2E
- trainerbattle 5, 598, 0, Text_1C458E, Text_18CB3E
+ trainerbattle 5, TRAINER_PKMN_RANGER_KATELYN, 0, Text_1C458E, Text_18CB3E
msgbox Text_18CB6C, 6
end
SevenIsland_SevaultCanyon_EventScript_1ACB45:: @ 81ACB45
- trainerbattle 0, 599, 0, Text_18CBB4, Text_18CBE0
+ trainerbattle 0, TRAINER_COOLTRAINER_LEROY, 0, Text_18CBB4, Text_18CBE0
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACB6C
+ goto_if eq, EventScript_1ACB6C
msgbox Text_18CC09, 6
end
EventScript_1ACB6C:: @ 81ACB6C
- trainerbattle 5, 599, 0, Text_1C45C2, Text_18CBE0
+ trainerbattle 5, TRAINER_COOLTRAINER_LEROY, 0, Text_1C45C2, Text_18CBE0
msgbox Text_18CC09, 6
end
SevenIsland_SevaultCanyon_EventScript_1ACB83:: @ 81ACB83
- trainerbattle 0, 600, 0, Text_18CC4F, Text_18CCAE
+ trainerbattle 0, TRAINER_COOLTRAINER_MICHELLE, 0, Text_18CC4F, Text_18CCAE
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACBAA
+ goto_if eq, EventScript_1ACBAA
msgbox Text_18CCEA, 6
end
EventScript_1ACBAA:: @ 81ACBAA
- trainerbattle 5, 600, 0, Text_1C45FB, Text_18CCAE
+ trainerbattle 5, TRAINER_COOLTRAINER_MICHELLE, 0, Text_1C45FB, Text_18CCAE
msgbox Text_18CCEA, 6
end
SevenIsland_SevaultCanyon_EventScript_1ACBC1:: @ 81ACBC1
- trainerbattle 4, 601, 0, Text_18CD49, Text_18CD75, Text_18CDE2
+ trainerbattle 4, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_18CD49, Text_18CD75, Text_18CDE2
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACBEC
+ goto_if eq, EventScript_1ACBEC
msgbox Text_18CD9C, 6
end
EventScript_1ACBEC:: @ 81ACBEC
- trainerbattle 7, 601, 0, Text_1C4662, Text_18CD75, Text_18CDE2
+ trainerbattle 7, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4662, Text_18CD75, Text_18CDE2
msgbox Text_18CD9C, 6
end
SevenIsland_SevaultCanyon_EventScript_1ACC07:: @ 81ACC07
- trainerbattle 4, 601, 0, Text_18CE20, Text_18CE5A, Text_18CEF4
+ trainerbattle 4, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_18CE20, Text_18CE5A, Text_18CEF4
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACC32
+ goto_if eq, EventScript_1ACC32
msgbox Text_18CE78, 6
end
EventScript_1ACC32:: @ 81ACC32
- trainerbattle 7, 601, 0, Text_1C4699, Text_18CE5A, Text_18CEF4
+ trainerbattle 7, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4699, Text_18CE5A, Text_18CEF4
msgbox Text_18CE78, 6
end
SevenIsland_TanobyRuins_EventScript_1ACC4D:: @ 81ACC4D
- trainerbattle 0, 602, 0, Text_18CFFB, Text_18D02A
+ trainerbattle 0, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_18CFFB, Text_18D02A
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACC74
+ goto_if eq, EventScript_1ACC74
msgbox Text_18D061, 6
end
EventScript_1ACC74:: @ 81ACC74
- trainerbattle 5, 602, 0, Text_1C46D3, Text_18D02A
+ trainerbattle 5, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_1C46D3, Text_18D02A
msgbox Text_18D061, 6
end
SevenIsland_TanobyRuins_EventScript_1ACC8B:: @ 81ACC8B
- trainerbattle 0, 603, 0, Text_18D0D9, Text_18D108
+ trainerbattle 0, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_18D0D9, Text_18D108
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACCB2
+ goto_if eq, EventScript_1ACCB2
msgbox Text_18D125, 6
end
EventScript_1ACCB2:: @ 81ACCB2
- trainerbattle 5, 603, 0, Text_1C470A, Text_18D108
+ trainerbattle 5, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_1C470A, Text_18D108
msgbox Text_18D125, 6
end
SevenIsland_TanobyRuins_EventScript_1ACCC9:: @ 81ACCC9
- trainerbattle 0, 604, 0, Text_18D18F, Text_18D1B5
+ trainerbattle 0, TRAINER_PAINTER_EDNA, 0, Text_18D18F, Text_18D1B5
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACCF0
+ goto_if eq, EventScript_1ACCF0
msgbox Text_18D1E3, 6
end
EventScript_1ACCF0:: @ 81ACCF0
- trainerbattle 5, 604, 0, Text_1C4739, Text_18D1B5
+ trainerbattle 5, TRAINER_PAINTER_EDNA, 0, Text_1C4739, Text_18D1B5
msgbox Text_18D1E3, 6
end
SevenIsland_TanobyRuins_EventScript_1ACD07:: @ 81ACD07
- trainerbattle 0, 605, 0, Text_18D22F, Text_18D26D
+ trainerbattle 0, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_18D22F, Text_18D26D
specialvar VAR_RESULT, sub_810CD4C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1ACD2E
+ goto_if eq, EventScript_1ACD2E
msgbox Text_18D284, 6
end
EventScript_1ACD2E:: @ 81ACD2E
- trainerbattle 5, 605, 0, Text_1C476A, Text_18D26D
+ trainerbattle 5, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_1C476A, Text_18D26D
msgbox Text_18D284, 6
end
@@ -7668,12 +7574,8 @@ Text_1ACD45:: @ 81ACD45
ViridianCity_House2_EventScript_1ACD65:: @ 81ACD65
lock
faceplayer
- setvar VAR_0x8004, 0
- setvar VAR_0x8005, 3
- special SetFlavorTextFlagFromSpecialVars
- setvar VAR_0x8004, 1
- setvar VAR_0x8005, 3
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_OAK, 3
+ famechecker FAMECHECKER_DAISY, 3
textcolor 3
msgbox gUnknown_81B1AB9
release
@@ -7682,12 +7584,8 @@ ViridianCity_House2_EventScript_1ACD65:: @ 81ACD65
EventScript_1ACD8D:: @ 81ACD8D
lock
faceplayer
- setvar VAR_0x8004, 1
- setvar VAR_0x8005, 1
- special SetFlavorTextFlagFromSpecialVars
- setvar VAR_0x8004, 0
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_DAISY, 1
+ famechecker FAMECHECKER_OAK, 4
textcolor 3
msgbox gUnknown_81B1AB9
release
@@ -7696,9 +7594,7 @@ EventScript_1ACD8D:: @ 81ACD8D
EventScript_1ACDB5:: @ 81ACDB5
lock
faceplayer
- setvar VAR_0x8004, 1
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_DAISY, 4
textcolor 3
msgbox gUnknown_81B1AB9
release
@@ -7706,9 +7602,7 @@ EventScript_1ACDB5:: @ 81ACDB5
FourIsland_PokemonCenter_1F_EventScript_1ACDD0:: @ 81ACDD0
lockall
- setvar VAR_0x8004, 1
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_DAISY, 5
textcolor 3
msgbox gUnknown_81B1B3D
releaseall
@@ -7717,9 +7611,7 @@ FourIsland_PokemonCenter_1F_EventScript_1ACDD0:: @ 81ACDD0
Route4_EventScript_1ACDEA:: @ 81ACDEA
lock
faceplayer
- setvar VAR_0x8004, 2
- setvar VAR_0x8005, 3
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_BROCK, 3
msgbox Text_183D26
release
end
@@ -7727,18 +7619,14 @@ Route4_EventScript_1ACDEA:: @ 81ACDEA
MtMoon_1F_EventScript_1ACE03:: @ 81ACE03
lock
faceplayer
- setvar VAR_0x8004, 2
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_BROCK, 4
msgbox Text_172B00
release
end
PewterCity_Museum_1F_EventScript_1ACE1C:: @ 81ACE1C
lockall
- setvar VAR_0x8004, 2
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_BROCK, 5
textcolor 3
msgbox gUnknown_81B146A
releaseall
@@ -7747,9 +7635,7 @@ PewterCity_Museum_1F_EventScript_1ACE1C:: @ 81ACE1C
Route20_EventScript_1ACE36:: @ 81ACE36
lock
faceplayer
- setvar VAR_0x8004, 3
- setvar VAR_0x8005, 3
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_MISTY, 3
msgbox Text_1882E1
release
end
@@ -7757,9 +7643,7 @@ Route20_EventScript_1ACE36:: @ 81ACE36
Route25_EventScript_1ACE4F:: @ 81ACE4F
lock
faceplayer
- setvar VAR_0x8004, 3
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_MISTY, 4
msgbox Text_189569
release
end
@@ -7767,9 +7651,7 @@ Route25_EventScript_1ACE4F:: @ 81ACE4F
CeruleanCity_PokemonCenter_1F_EventScript_1ACE68:: @ 81ACE68
lock
faceplayer
- setvar VAR_0x8004, 3
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_MISTY, 5
textcolor 3
msgbox gUnknown_81B14E8
release
@@ -7777,9 +7659,7 @@ CeruleanCity_PokemonCenter_1F_EventScript_1ACE68:: @ 81ACE68
VermilionCity_PokemonCenter_1F_EventScript_1ACE83:: @ 81ACE83
lockall
- setvar VAR_0x8004, 4
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LTSURGE, 5
textcolor 3
msgbox gUnknown_81B1558
releaseall
@@ -7788,9 +7668,7 @@ VermilionCity_PokemonCenter_1F_EventScript_1ACE83:: @ 81ACE83
CeladonCity_Condominiums_2F_EventScript_1ACE9D:: @ 81ACE9D
lock
faceplayer
- setvar VAR_0x8004, 5
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_ERIKA, 5
textcolor 3
msgbox gUnknown_81B161B
release
@@ -7799,9 +7677,7 @@ CeladonCity_Condominiums_2F_EventScript_1ACE9D:: @ 81ACE9D
FuchsiaCity_Building1_EventScript_1ACEB8:: @ 81ACEB8
lock
faceplayer
- setvar VAR_0x8004, 6
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_KOGA, 4
textcolor 3
msgbox gUnknown_81B16A8
release
@@ -7810,9 +7686,7 @@ FuchsiaCity_Building1_EventScript_1ACEB8:: @ 81ACEB8
SafariZone_Building3_EventScript_1ACED3:: @ 81ACED3
lock
faceplayer
- setvar VAR_0x8004, 6
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_KOGA, 5
msgbox Text_177C47
release
end
@@ -7820,9 +7694,7 @@ SafariZone_Building3_EventScript_1ACED3:: @ 81ACED3
SaffronCity_PokemonCenter_1F_EventScript_1ACEEC:: @ 81ACEEC
lock
faceplayer
- setvar VAR_0x8004, 7
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_SABRINA, 4
textcolor 3
msgbox gUnknown_81B1753
release
@@ -7830,21 +7702,15 @@ SaffronCity_PokemonCenter_1F_EventScript_1ACEEC:: @ 81ACEEC
CinnabarIsland_Gym_EventScript_1ACF07:: @ 81ACF07
lockall
- setvar VAR_0x8004, 8
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
- setvar VAR_0x8004, 14
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_BLAINE, 4
+ famechecker FAMECHECKER_MRFUJI, 4
msgbox Text_199E8A
releaseall
end
FiveIsland_ResortGorgeous_House_EventScript_1ACF2C:: @ 81ACF2C
lockall
- setvar VAR_0x8004, 8
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_BLAINE, 5
textcolor 3
msgbox gUnknown_81B17E9
releaseall
@@ -7853,9 +7719,7 @@ FiveIsland_ResortGorgeous_House_EventScript_1ACF2C:: @ 81ACF2C
FourIsland_Mart_EventScript_1ACF46:: @ 81ACF46
lock
faceplayer
- setvar VAR_0x8004, 9
- setvar VAR_0x8005, 2
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LORELEI, 2
msgbox Text_1A3A60
release
end
@@ -7863,9 +7727,7 @@ FourIsland_Mart_EventScript_1ACF46:: @ 81ACF46
FiveIsland_PokemonCenter_1F_EventScript_1ACF5F:: @ 81ACF5F
lock
faceplayer
- setvar VAR_0x8004, 9
- setvar VAR_0x8005, 3
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LORELEI, 3
textcolor 3
msgbox gUnknown_81B187F
release
@@ -7874,9 +7736,7 @@ FiveIsland_PokemonCenter_1F_EventScript_1ACF5F:: @ 81ACF5F
SaffronCity_PokemonTrainerFanClub_EventScript_1ACF7A:: @ 81ACF7A
lock
faceplayer
- setvar VAR_0x8004, 10
- setvar VAR_0x8005, 2
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_BRUNO, 2
textcolor 3
msgbox gUnknown_81B1913
release
@@ -7885,9 +7745,7 @@ SaffronCity_PokemonTrainerFanClub_EventScript_1ACF7A:: @ 81ACF7A
SevenIsland_SevaultCanyon_EventScript_1ACF95:: @ 81ACF95
lock
faceplayer
- setvar VAR_0x8004, 10
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_BRUNO, 5
msgbox Text_18CF4D
release
end
@@ -7895,12 +7753,8 @@ SevenIsland_SevaultCanyon_EventScript_1ACF95:: @ 81ACF95
IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE:: @ 81ACFAE
lock
faceplayer
- setvar VAR_0x8004, 11
- setvar VAR_0x8005, 1
- special SetFlavorTextFlagFromSpecialVars
- setvar VAR_0x8004, 11
- setvar VAR_0x8005, 2
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_AGATHA, 1
+ famechecker FAMECHECKER_AGATHA, 2
msgbox Text_19A9E7
release
end
@@ -7908,9 +7762,7 @@ IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE:: @ 81ACFAE
SevenIsland_PokemonCenter_1F_EventScript_1ACFD4:: @ 81ACFD4
lock
faceplayer
- setvar VAR_0x8004, 11
- setvar VAR_0x8005, 3
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_AGATHA, 3
textcolor 3
msgbox gUnknown_81B19A8
release
@@ -7919,9 +7771,7 @@ SevenIsland_PokemonCenter_1F_EventScript_1ACFD4:: @ 81ACFD4
SixIsland_Mart_EventScript_1ACFEF:: @ 81ACFEF
lock
faceplayer
- setvar VAR_0x8004, 11
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_AGATHA, 5
msgbox Text_1A41CA
release
end
@@ -7929,9 +7779,7 @@ SixIsland_Mart_EventScript_1ACFEF:: @ 81ACFEF
EventScript_1AD008:: @ 81AD008
lock
faceplayer
- setvar VAR_0x8004, 12
- setvar VAR_0x8005, 0
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LANCE, 0
msgbox gFameCheckerFlavorText_Lance0
release
end
@@ -7939,9 +7787,7 @@ EventScript_1AD008:: @ 81AD008
EventScript_1AD021:: @ 81AD021
lock
faceplayer
- setvar VAR_0x8004, 12
- setvar VAR_0x8005, 1
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LANCE, 1
msgbox Text_181569
release
end
@@ -7949,9 +7795,7 @@ EventScript_1AD021:: @ 81AD021
SaffronCity_EventScript_1AD03A:: @ 81AD03A
lock
faceplayer
- setvar VAR_0x8004, 12
- setvar VAR_0x8005, 2
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LANCE, 2
msgbox Text_181569
release
end
@@ -7959,9 +7803,7 @@ SaffronCity_EventScript_1AD03A:: @ 81AD03A
CeladonCity_DepartmentStore_2F_EventScript_1AD053:: @ 81AD053
lock
faceplayer
- setvar VAR_0x8004, 12
- setvar VAR_0x8005, 3
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LANCE, 3
msgbox Text_19566B
release
end
@@ -7969,9 +7811,7 @@ CeladonCity_DepartmentStore_2F_EventScript_1AD053:: @ 81AD053
IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C:: @ 81AD06C
lock
faceplayer
- setvar VAR_0x8004, 12
- setvar VAR_0x8005, 4
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LANCE, 4
textcolor 3
msgbox gUnknown_81B1A31
release
@@ -7980,9 +7820,7 @@ IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C:: @ 81AD06C
IndigoPlateau_PokemonCenter_1F_EventScript_1AD087:: @ 81AD087
lock
faceplayer
- setvar VAR_0x8004, 12
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_LANCE, 5
msgbox Text_19AB16
release
end
@@ -7990,9 +7828,7 @@ IndigoPlateau_PokemonCenter_1F_EventScript_1AD087:: @ 81AD087
LavenderTown_PokemonCenter_1F_EventScript_1AD0A0:: @ 81AD0A0
lock
faceplayer
- setvar VAR_0x8004, 14
- setvar VAR_0x8005, 3
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_MRFUJI, 3
msgbox Text_19358E
release
end
@@ -8000,9 +7836,7 @@ LavenderTown_PokemonCenter_1F_EventScript_1AD0A0:: @ 81AD0A0
CinnabarIsland_PokemonCenter_1F_EventScript_1AD0B9:: @ 81AD0B9
lock
faceplayer
- setvar VAR_0x8004, 14
- setvar VAR_0x8005, 5
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_MRFUJI, 5
textcolor 3
msgbox gUnknown_81B1BD1
release
@@ -8011,18 +7845,15 @@ CinnabarIsland_PokemonCenter_1F_EventScript_1AD0B9:: @ 81AD0B9
SilphCo_5F_EventScript_1AD0D4:: @ 81AD0D4
lock
faceplayer
- setvar VAR_0x8004, 15
- setvar VAR_0x8005, 1
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_GIOVANNI, 1
msgbox Text_175E99
release
end
+
SilphCo_8F_EventScript_1AD0ED:: @ 81AD0ED
lock
faceplayer
- setvar VAR_0x8004, 15
- setvar VAR_0x8005, 2
- special SetFlavorTextFlagFromSpecialVars
+ famechecker FAMECHECKER_GIOVANNI, 2
msgbox Text_176ACB
release
end
@@ -8034,10 +7865,10 @@ CeladonCity_GameCorner_EventScript_1B2867:: @ 81B2867
showmoneybox 0, 0, 0
msgbox gUnknown_81B1D7D, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1B2926
+ goto_if eq, EventScript_1B2926
checkmoney 50, 0
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1B292B
+ goto_if eq, EventScript_1B292B
playse SE_SHOP
takemoney 50, 0
updatemoneybox 0, 0, 0
@@ -8045,15 +7876,11 @@ CeladonCity_GameCorner_EventScript_1B2867:: @ 81B2867
message gUnknown_81B1E24
waitmessage
multichoice 21, 0, 2, 1
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1B28DB
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B28E6
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1B28F1
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1B28FC
+ switch VAR_RESULT
+ case 0, EventScript_1B28DB
+ case 1, EventScript_1B28E6
+ case 2, EventScript_1B28F1
+ case 3, EventScript_1B28FC
end
EventScript_1B28DB:: @ 81B28DB
@@ -8116,14 +7943,14 @@ EventScript_1B292B:: @ 81B292B
FourIsland_House2_EventScript_1B2938:: @ 81B2938
lock
specialvar VAR_0x8008, sub_80CC3CC
- checkflag FLAG_0x290
- goto_if 0, EventScript_1B2951
- checkflag FLAG_0x290
- goto_if 1, EventScript_1B2994
+ checkflag FLAG_MET_STICKER_LADY
+ goto_if FALSE, EventScript_1B2951
+ checkflag FLAG_MET_STICKER_LADY
+ goto_if TRUE, EventScript_1B2994
end
EventScript_1B2951:: @ 81B2951
- setflag FLAG_0x290
+ setflag FLAG_MET_STICKER_LADY
msgbox gUnknown_81B1EB3
applymovement 1, Movement_1A75E1
waitmovement 0
@@ -8133,7 +7960,7 @@ EventScript_1B2951:: @ 81B2951
applymovement 1, Movement_1A75DD
waitmovement 0
compare_var_to_value VAR_0x8008, 0
- goto_if 1, EventScript_1B2B8E
+ goto_if eq, EventScript_1B2B8E
message gUnknown_81B1EF8
waitmessage
goto EventScript_1B29D0
@@ -8146,10 +7973,10 @@ EventScript_1B2994:: @ 81B2994
waitmovement 0
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
compare_var_to_value VAR_0x8008, 0
- goto_if 1, EventScript_1B29C6
+ goto_if eq, EventScript_1B29C6
message gUnknown_81B2025
waitmessage
goto EventScript_1B29D0
@@ -8163,108 +7990,75 @@ EventScript_1B29C6:: @ 81B29C6
end
EventScript_1B29D0:: @ 81B29D0
- copyvar VAR_0x8000, VAR_0x8008
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B2A23
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1B2A4F
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1B2A7B
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1B2AA7
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1B2ADE
- compare_var_to_value VAR_0x8000, 6
- goto_if 1, EventScript_1B2B15
- compare_var_to_value VAR_0x8000, 7
- goto_if 1, EventScript_1B2B4C
+ switch VAR_0x8008
+ case 1, EventScript_1B2A23
+ case 2, EventScript_1B2A4F
+ case 4, EventScript_1B2A7B
+ case 3, EventScript_1B2AA7
+ case 5, EventScript_1B2ADE
+ case 6, EventScript_1B2B15
+ case 7, EventScript_1B2B4C
end
EventScript_1B2A23:: @ 81B2A23
multichoice 15, 8, 3, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1B2B98
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B2DF6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1B2DF6
+ switch VAR_RESULT
+ case 0, EventScript_1B2B98
+ case 1, EventScript_1B2DF6
+ case 127, EventScript_1B2DF6
end
EventScript_1B2A4F:: @ 81B2A4F
multichoice 16, 8, 4, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1B2C62
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B2DF6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1B2DF6
+ switch VAR_RESULT
+ case 0, EventScript_1B2C62
+ case 1, EventScript_1B2DF6
+ case 127, EventScript_1B2DF6
end
EventScript_1B2A7B:: @ 81B2A7B
multichoice 15, 8, 5, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1B2D2C
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B2DF6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1B2DF6
+ switch VAR_RESULT
+ case 0, EventScript_1B2D2C
+ case 1, EventScript_1B2DF6
+ case 127, EventScript_1B2DF6
end
EventScript_1B2AA7:: @ 81B2AA7
multichoice 15, 6, 6, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1B2B98
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B2C62
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1B2DF6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1B2DF6
+ switch VAR_RESULT
+ case 0, EventScript_1B2B98
+ case 1, EventScript_1B2C62
+ case 2, EventScript_1B2DF6
+ case 127, EventScript_1B2DF6
end
EventScript_1B2ADE:: @ 81B2ADE
multichoice 15, 6, 7, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1B2B98
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B2D2C
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1B2DF6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1B2DF6
+ switch VAR_RESULT
+ case 0, EventScript_1B2B98
+ case 1, EventScript_1B2D2C
+ case 2, EventScript_1B2DF6
+ case 127, EventScript_1B2DF6
end
EventScript_1B2B15:: @ 81B2B15
multichoice 15, 6, 8, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1B2C62
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B2D2C
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1B2DF6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1B2DF6
+ switch VAR_RESULT
+ case 0, EventScript_1B2C62
+ case 1, EventScript_1B2D2C
+ case 2, EventScript_1B2DF6
+ case 127, EventScript_1B2DF6
end
EventScript_1B2B4C:: @ 81B2B4C
multichoice 15, 5, 9, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1B2B98
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1B2C62
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1B2D2C
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1B2DF6
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1B2DF6
+ switch VAR_RESULT
+ case 0, EventScript_1B2B98
+ case 1, EventScript_1B2C62
+ case 2, EventScript_1B2D2C
+ case 3, EventScript_1B2DF6
+ case 127, EventScript_1B2DF6
end
EventScript_1B2B8E:: @ 81B2B8E
@@ -8274,19 +8068,19 @@ EventScript_1B2B8E:: @ 81B2B8E
EventScript_1B2B98:: @ 81B2B98
compare_var_to_value VAR_0x8004, 39
- goto_if 3, EventScript_1B2BC5
+ goto_if le, EventScript_1B2BC5
compare_var_to_value VAR_0x8004, 99
- goto_if 3, EventScript_1B2BE3
+ goto_if le, EventScript_1B2BE3
compare_var_to_value VAR_0x8004, 199
- goto_if 3, EventScript_1B2C01
+ goto_if le, EventScript_1B2C01
compare_var_to_value VAR_0x8004, 200
- goto_if 4, EventScript_1B2C1F
+ goto_if ge, EventScript_1B2C1F
end
EventScript_1B2BC5:: @ 81B2BC5
- compare_var_to_value VAR_BIRCH_STATE, 1
- goto_if 1, EventScript_1B2C3D
- setvar VAR_BIRCH_STATE, 1
+ compare_var_to_value VAR_HOF_BRAG_STATE, 1
+ goto_if eq, EventScript_1B2C3D
+ setvar VAR_HOF_BRAG_STATE, 1
msgbox gUnknown_81B206E
goto EventScript_1B2C51
@@ -8294,9 +8088,9 @@ EventScript_1B2BE2:: @ 81B2BE2
end
EventScript_1B2BE3:: @ 81B2BE3
- compare_var_to_value VAR_BIRCH_STATE, 2
- goto_if 1, EventScript_1B2C3D
- setvar VAR_BIRCH_STATE, 2
+ compare_var_to_value VAR_HOF_BRAG_STATE, 2
+ goto_if eq, EventScript_1B2C3D
+ setvar VAR_HOF_BRAG_STATE, 2
msgbox gUnknown_81B20CF
goto EventScript_1B2C51
@@ -8304,9 +8098,9 @@ EventScript_1B2C00:: @ 81B2C00
end
EventScript_1B2C01:: @ 81B2C01
- compare_var_to_value VAR_BIRCH_STATE, 3
- goto_if 1, EventScript_1B2C3D
- setvar VAR_BIRCH_STATE, 3
+ compare_var_to_value VAR_HOF_BRAG_STATE, 3
+ goto_if eq, EventScript_1B2C3D
+ setvar VAR_HOF_BRAG_STATE, 3
msgbox gUnknown_81B2133
goto EventScript_1B2C51
@@ -8314,9 +8108,9 @@ EventScript_1B2C1E:: @ 81B2C1E
end
EventScript_1B2C1F:: @ 81B2C1F
- compare_var_to_value VAR_BIRCH_STATE, 4
- goto_if 1, EventScript_1B2C47
- setvar VAR_BIRCH_STATE, 4
+ compare_var_to_value VAR_HOF_BRAG_STATE, 4
+ goto_if eq, EventScript_1B2C47
+ setvar VAR_HOF_BRAG_STATE, 4
msgbox gUnknown_81B21C4
goto EventScript_1B2C51
@@ -8345,19 +8139,19 @@ EventScript_1B2C51:: @ 81B2C51
EventScript_1B2C62:: @ 81B2C62
compare_var_to_value VAR_0x8005, 99
- goto_if 3, EventScript_1B2C8F
+ goto_if le, EventScript_1B2C8F
compare_var_to_value VAR_0x8005, 199
- goto_if 3, EventScript_1B2CAD
+ goto_if le, EventScript_1B2CAD
compare_var_to_value VAR_0x8005, 299
- goto_if 3, EventScript_1B2CCB
+ goto_if le, EventScript_1B2CCB
compare_var_to_value VAR_0x8005, 300
- goto_if 4, EventScript_1B2CE9
+ goto_if ge, EventScript_1B2CE9
end
EventScript_1B2C8F:: @ 81B2C8F
- compare_var_to_value VAR_CRUISE_STEP_COUNT, 1
- goto_if 1, EventScript_1B2D07
- setvar VAR_CRUISE_STEP_COUNT, 1
+ compare_var_to_value VAR_EGG_BRAG_STATE, 1
+ goto_if eq, EventScript_1B2D07
+ setvar VAR_EGG_BRAG_STATE, 1
msgbox gUnknown_81B2308
goto EventScript_1B2D1B
@@ -8365,9 +8159,9 @@ EventScript_1B2CAC:: @ 81B2CAC
end
EventScript_1B2CAD:: @ 81B2CAD
- compare_var_to_value VAR_CRUISE_STEP_COUNT, 2
- goto_if 1, EventScript_1B2D07
- setvar VAR_CRUISE_STEP_COUNT, 2
+ compare_var_to_value VAR_EGG_BRAG_STATE, 2
+ goto_if eq, EventScript_1B2D07
+ setvar VAR_EGG_BRAG_STATE, 2
msgbox gUnknown_81B2372
goto EventScript_1B2D1B
@@ -8375,9 +8169,9 @@ EventScript_1B2CCA:: @ 81B2CCA
end
EventScript_1B2CCB:: @ 81B2CCB
- compare_var_to_value VAR_CRUISE_STEP_COUNT, 3
- goto_if 1, EventScript_1B2D07
- setvar VAR_CRUISE_STEP_COUNT, 3
+ compare_var_to_value VAR_EGG_BRAG_STATE, 3
+ goto_if eq, EventScript_1B2D07
+ setvar VAR_EGG_BRAG_STATE, 3
msgbox gUnknown_81B23E0
goto EventScript_1B2D1B
@@ -8385,9 +8179,9 @@ EventScript_1B2CE8:: @ 81B2CE8
end
EventScript_1B2CE9:: @ 81B2CE9
- compare_var_to_value VAR_CRUISE_STEP_COUNT, 4
- goto_if 1, EventScript_1B2D11
- setvar VAR_CRUISE_STEP_COUNT, 4
+ compare_var_to_value VAR_EGG_BRAG_STATE, 4
+ goto_if eq, EventScript_1B2D11
+ setvar VAR_EGG_BRAG_STATE, 4
msgbox gUnknown_81B2448
goto EventScript_1B2D1B
@@ -8416,19 +8210,19 @@ EventScript_1B2D1B:: @ 81B2D1B
EventScript_1B2D2C:: @ 81B2D2C
compare_var_to_value VAR_0x8006, 19
- goto_if 3, EventScript_1B2D59
+ goto_if le, EventScript_1B2D59
compare_var_to_value VAR_0x8006, 49
- goto_if 3, EventScript_1B2D77
+ goto_if le, EventScript_1B2D77
compare_var_to_value VAR_0x8006, 99
- goto_if 3, EventScript_1B2D95
+ goto_if le, EventScript_1B2D95
compare_var_to_value VAR_0x8006, 100
- goto_if 4, EventScript_1B2DB3
+ goto_if ge, EventScript_1B2DB3
end
EventScript_1B2D59:: @ 81B2D59
- compare_var_to_value VAR_POKELOT_RND1, 1
- goto_if 1, EventScript_1B2DD1
- setvar VAR_POKELOT_RND1, 1
+ compare_var_to_value VAR_LINK_WIN_BRAG_STATE, 1
+ goto_if eq, EventScript_1B2DD1
+ setvar VAR_LINK_WIN_BRAG_STATE, 1
msgbox gUnknown_81B25A7
goto EventScript_1B2DE5
@@ -8436,9 +8230,9 @@ EventScript_1B2D76:: @ 81B2D76
end
EventScript_1B2D77:: @ 81B2D77
- compare_var_to_value VAR_POKELOT_RND1, 2
- goto_if 1, EventScript_1B2DD1
- setvar VAR_POKELOT_RND1, 2
+ compare_var_to_value VAR_LINK_WIN_BRAG_STATE, 2
+ goto_if eq, EventScript_1B2DD1
+ setvar VAR_LINK_WIN_BRAG_STATE, 2
msgbox gUnknown_81B2609
goto EventScript_1B2DE5
@@ -8446,9 +8240,9 @@ EventScript_1B2D94:: @ 81B2D94
end
EventScript_1B2D95:: @ 81B2D95
- compare_var_to_value VAR_POKELOT_RND1, 3
- goto_if 1, EventScript_1B2DD1
- setvar VAR_POKELOT_RND1, 3
+ compare_var_to_value VAR_LINK_WIN_BRAG_STATE, 3
+ goto_if eq, EventScript_1B2DD1
+ setvar VAR_LINK_WIN_BRAG_STATE, 3
msgbox gUnknown_81B267B
goto EventScript_1B2DE5
@@ -8456,9 +8250,9 @@ EventScript_1B2DB2:: @ 81B2DB2
end
EventScript_1B2DB3:: @ 81B2DB3
- compare_var_to_value VAR_POKELOT_RND1, 4
- goto_if 1, EventScript_1B2DDB
- setvar VAR_POKELOT_RND1, 4
+ compare_var_to_value VAR_LINK_WIN_BRAG_STATE, 4
+ goto_if eq, EventScript_1B2DDB
+ setvar VAR_LINK_WIN_BRAG_STATE, 4
msgbox gUnknown_81B26F6
goto EventScript_1B2DE5
@@ -8516,12 +8310,12 @@ ViridianCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
EventScript_1BB1BA:: @ 81BB1BA
specialvar VAR_RESULT, ValidateReceivedWonderCard
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB1CE
- clearflag FLAG_0x070
+ goto_if eq, EventScript_1BB1CE
+ clearflag FLAG_HIDE_MG_DELIVERYMEN
return
EventScript_1BB1CE:: @ 81BB1CE
- setflag FLAG_0x070
+ setflag FLAG_HIDE_MG_DELIVERYMEN
return
CeruleanCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
@@ -8546,7 +8340,7 @@ LavenderTown_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
ViridianCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
execram
@@ -8586,7 +8380,7 @@ ViridianCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
EventScript_1BB227:: @ 81BB227
compare_var_to_value VAR_0x8007, 0
- goto_if 1, EventScript_1BB236
+ goto_if eq, EventScript_1BB236
turnobject VAR_0x8007, 3
EventScript_1BB236:
end
@@ -8612,19 +8406,19 @@ TwoIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
VermilionCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
ViridianCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
compare_var_to_value VAR_0x406F, 1
- goto_if 1, EventScript_1BB285
+ goto_if eq, EventScript_1BB285
compare_var_to_value VAR_0x406F, 2
- goto_if 1, EventScript_1BB285
+ goto_if eq, EventScript_1BB285
compare_var_to_value VAR_0x406F, 5
- goto_if 1, EventScript_1BB285
+ goto_if eq, EventScript_1BB285
compare_var_to_value VAR_0x406F, 3
- goto_if 1, EventScript_1BB28B
+ goto_if eq, EventScript_1BB28B
compare_var_to_value VAR_0x406F, 6
- goto_if 1, EventScript_1BB291
+ goto_if eq, EventScript_1BB291
compare_var_to_value VAR_0x406F, 7
- goto_if 1, EventScript_1BB297
+ goto_if eq, EventScript_1BB297
compare_var_to_value VAR_0x406F, 8
- goto_if 1, EventScript_1BB29D
+ goto_if eq, EventScript_1BB29D
end
EventScript_1BB285:: @ 81BB285
@@ -8666,7 +8460,7 @@ ThreeIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
TwoIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
VermilionCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
ViridianCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
- map_script_2 VAR_0x407C, 1, EventScript_1BB415
+ map_script_2 VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 1, EventScript_1BB415
map_script_2 VAR_0x406F, 1, EventScript_1BB2E5
map_script_2 VAR_0x406F, 2, EventScript_1BB2E5
map_script_2 VAR_0x406F, 5, EventScript_1BB2E5
@@ -8703,7 +8497,7 @@ EventScript_1BB315:: @ 81BB315
setvar VAR_0x406F, 0
textcolor 1
compare_var_to_value VAR_0x8007, 0
- goto_if 1, EventScript_1BB40A
+ goto_if eq, EventScript_1BB40A
applymovement VAR_0x8007, Movement_1BB88F
waitmovement 0
applymovement 255, Movement_1BB891
@@ -8729,7 +8523,7 @@ EventScript_1BB367:: @ 81BB367
setvar VAR_0x406F, 0
textcolor 1
compare_var_to_value VAR_0x8007, 0
- goto_if 1, EventScript_1BB40A
+ goto_if eq, EventScript_1BB40A
applymovement 255, Movement_1BB8A0
waitmovement 0
applymovement VAR_0x8007, Movement_1BB88F
@@ -8753,7 +8547,7 @@ EventScript_1BB3B4:: @ 81BB3B4
setvar VAR_0x406F, 0
textcolor 1
compare_var_to_value VAR_0x8007, 0
- goto_if 1, EventScript_1BB40A
+ goto_if eq, EventScript_1BB40A
applymovement 255, Movement_1BB8A0
waitmovement 0
applymovement VAR_0x8007, Movement_1BB88F
@@ -8789,7 +8583,7 @@ EventScript_1BB415:: @ 81BB415
waitmovement 0
delay 30
msgbox gUnknown_81BD966
- setvar VAR_0x407C, 2
+ setvar VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 2
releaseall
end
@@ -8813,15 +8607,11 @@ EventScript_1BB459:: @ 81BB459
EventScript_1BB467:: @ 81BB467
setvar VAR_0x8004, 0
multichoice 0, 0, 39, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BB6AB
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BB4A3
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BB6AB
+ case 1, EventScript_1BB4A3
+ case 2, EventScript_1BB82F
+ case 127, EventScript_1BB82F
end
EventScript_1BB4A3:: @ 81BB4A3
@@ -8835,19 +8625,13 @@ EventScript_1BB4AE:: @ 81BB4AE
message Text_1BD338
waitmessage
multichoice 0, 0, 17, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BB50F
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BB51A
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB541
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1BB501
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BB50F
+ case 1, EventScript_1BB51A
+ case 2, EventScript_1BB541
+ case 3, EventScript_1BB501
+ case 4, EventScript_1BB82F
+ case 127, EventScript_1BB82F
end
EventScript_1BB501:: @ 81BB501
@@ -8867,7 +8651,7 @@ EventScript_1BB519:: @ 81BB519
EventScript_1BB51A:: @ 81BB51A
special CheckForAlivePartyMons
compare_var_to_value VAR_RESULT, 0
- goto_if 5, EventScript_1BB533
+ goto_if ne, EventScript_1BB533
setvar VAR_0x8004, 2
goto EventScript_1BB54C
@@ -8891,7 +8675,7 @@ EventScript_1BB54B:: @ 81BB54B
EventScript_1BB54C:: @ 81BB54C
call EventScript_1A4EAF
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
message gUnknown_81BC4AC
waitmessage
special HelpSystem_Disable
@@ -8900,17 +8684,17 @@ EventScript_1BB54C:: @ 81BB54C
waitstate
call EventScript_1A6675
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BB5B3
+ goto_if eq, EventScript_1BB5B3
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1BB80F
+ goto_if eq, EventScript_1BB80F
compare_var_to_value VAR_RESULT, 3
- goto_if 1, EventScript_1BB81F
+ goto_if eq, EventScript_1BB81F
compare_var_to_value VAR_RESULT, 4
- goto_if 1, EventScript_1BB63C
+ goto_if eq, EventScript_1BB63C
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
compare_var_to_value VAR_RESULT, 6
- goto_if 1, EventScript_1BB7FF
+ goto_if eq, EventScript_1BB7FF
end
EventScript_1BB5B3:: @ 81BB5B3
@@ -8938,7 +8722,7 @@ EventScript_1BB5B3:: @ 81BB5B3
waitdooranim
release
compare_var_to_value VAR_0x8004, 5
- goto_if 1, EventScript_1BB62C
+ goto_if eq, EventScript_1BB62C
special SetCableClubWarp
warp MAP_UNKNOWN_MAP_00_00, 255, 6, 8
special sub_807E654
@@ -8958,13 +8742,10 @@ EventScript_1BB62C:: @ 81BB62C
end
EventScript_1BB63C:: @ 81BB63C
- copyvar VAR_0x8000, VAR_0x8004
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BB68A
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB679
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1BB668
+ switch VAR_0x8004
+ case 1, EventScript_1BB68A
+ case 2, EventScript_1BB679
+ case 5, EventScript_1BB668
goto EventScript_1BB857
EventScript_1BB667:: @ 81BB667
@@ -9005,10 +8786,10 @@ EventScript_1BB6AB:: @ 81BB6AB
copyvar VAR_0x8007, VAR_LAST_TALKED
call EventScript_1BB79C
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
call EventScript_1A4EAF
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
message gUnknown_81BC4AC
waitmessage
special HelpSystem_Disable
@@ -9017,21 +8798,21 @@ EventScript_1BB6AB:: @ 81BB6AB
waitstate
call EventScript_1A6675
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BB73D
+ goto_if eq, EventScript_1BB73D
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1BB80F
+ goto_if eq, EventScript_1BB80F
compare_var_to_value VAR_RESULT, 3
- goto_if 1, EventScript_1BB81F
+ goto_if eq, EventScript_1BB81F
compare_var_to_value VAR_RESULT, 4
- goto_if 1, EventScript_1BB857
+ goto_if eq, EventScript_1BB857
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
compare_var_to_value VAR_RESULT, 6
- goto_if 1, EventScript_1BB7FF
+ goto_if eq, EventScript_1BB7FF
compare_var_to_value VAR_RESULT, 7
- goto_if 1, EventScript_1BB7DF
+ goto_if eq, EventScript_1BB7DF
compare_var_to_value VAR_RESULT, 9
- goto_if 1, EventScript_1BB7EF
+ goto_if eq, EventScript_1BB7EF
end
EventScript_1BB73D:: @ 81BB73D
@@ -9065,10 +8846,10 @@ EventScript_1BB73D:: @ 81BB73D
EventScript_1BB79C:: @ 81BB79C
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare_var_to_value VAR_RESULT, 2
- goto_if 0, EventScript_1BB7C2
+ goto_if lt, EventScript_1BB7C2
specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BB7D0
+ goto_if eq, EventScript_1BB7D0
setvar VAR_RESULT, 1
return
@@ -9215,7 +8996,7 @@ Movement_1BB8A2:: @ 81BB8A2
gUnknown_81BB8A7:: @ 81BB8A7
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
fadescreen 1
setvar VAR_0x8004, 0
@@ -9246,7 +9027,7 @@ UnknownMap_00_03_EventScript_1BB8DB:: @ 81BB8DB
special sub_80A0334
waitstate
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB94F
+ goto_if eq, EventScript_1BB94F
setvar VAR_0x8005, 0
textcolor 3
special sub_80819C8
@@ -9259,7 +9040,7 @@ UnknownMap_00_03_EventScript_1BB8F8:: @ 81BB8F8
special sub_80A0334
waitstate
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB94F
+ goto_if eq, EventScript_1BB94F
setvar VAR_0x8005, 1
textcolor 3
special sub_80819C8
@@ -9272,7 +9053,7 @@ UnknownMap_00_03_EventScript_1BB915:: @ 81BB915
special sub_80A0334
waitstate
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB94F
+ goto_if eq, EventScript_1BB94F
setvar VAR_0x8005, 2
textcolor 3
special sub_80819C8
@@ -9285,7 +9066,7 @@ UnknownMap_00_03_EventScript_1BB932:: @ 81BB932
special sub_80A0334
waitstate
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB94F
+ goto_if eq, EventScript_1BB94F
setvar VAR_0x8005, 3
textcolor 3
special sub_80819C8
@@ -9374,7 +9155,7 @@ gUnknown_81BB9D4:: @ 81BB9D4
textcolor 3
msgbox gUnknown_81BC7A1, 5
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BB9F0
+ goto_if eq, EventScript_1BB9F0
erasebox 0, 0, 29, 19
releaseall
end
@@ -9395,19 +9176,19 @@ gUnknown_81BB9FC:: @ 81BB9FC
EventScript_1BBA04:: @ 81BBA04
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
lock
faceplayer
- checkflag FLAG_0x829
- goto_if 0, EventScript_1BB877
+ checkflag FLAG_SYS_POKEDEX_GET
+ goto_if FALSE, EventScript_1BB877
specialvar VAR_RESULT, sub_80CD034
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BB867
+ goto_if eq, EventScript_1BB867
copyvar VAR_0x8007, VAR_LAST_TALKED
specialvar VAR_RESULT, IsWirelessAdapterConnected
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BBB60
+ goto_if eq, EventScript_1BBB60
message Text_1BD65B
waitmessage
goto EventScript_1BBA51
@@ -9417,15 +9198,11 @@ EventScript_1BBA50:: @ 81BBA50
EventScript_1BBA51:: @ 81BBA51
multichoice 18, 6, 16, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BBA94
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BBA88
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BBA94
+ case 1, EventScript_1BB82F
+ case 2, EventScript_1BBA88
+ case 127, EventScript_1BB82F
end
EventScript_1BBA88:: @ 81BBA88
@@ -9439,10 +9216,10 @@ EventScript_1BBA93:: @ 81BBA93
EventScript_1BBA94:: @ 81BBA94
call EventScript_1BBB1E
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
call EventScript_1A4EAF
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
msgbox gUnknown_81BD86A
closemessage
special sp000_heal_pokemon
@@ -9475,10 +9252,10 @@ EventScript_1BBA94:: @ 81BBA94
EventScript_1BBB1E:: @ 81BBB1E
specialvar VAR_RESULT, CountPartyNonEggMons
compare_var_to_value VAR_RESULT, 2
- goto_if 0, EventScript_1BBB44
+ goto_if lt, EventScript_1BBB44
specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BBB52
+ goto_if eq, EventScript_1BBB52
setvar VAR_RESULT, 1
return
@@ -9504,11 +9281,11 @@ EventScript_1BBB60:: @ 81BBB60
EventScript_1BBB6A:: @ 81BBB6A
lock
faceplayer
- checkflag FLAG_0x829
- goto_if 0, EventScript_1BB877
+ checkflag FLAG_SYS_POKEDEX_GET
+ goto_if FALSE, EventScript_1BB877
msgbox gUnknown_81BDB85, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BBB92
+ goto_if eq, EventScript_1BBB92
msgbox gUnknown_81BDBF8
release
return
@@ -9521,18 +9298,18 @@ EventScript_1BBB92:: @ 81BBB92
EventScript_1BBB9C:: @ 81BBB9C
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
lock
faceplayer
- checkflag FLAG_0x829
- goto_if 0, EventScript_1BB877
+ checkflag FLAG_SYS_POKEDEX_GET
+ goto_if FALSE, EventScript_1BB877
specialvar VAR_RESULT, sub_80CD034
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BB867
+ goto_if eq, EventScript_1BB867
specialvar VAR_RESULT, IsWirelessAdapterConnected
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB44A
+ goto_if eq, EventScript_1BB44A
message Text_1BD28D
waitmessage
delay 15
@@ -9542,42 +9319,33 @@ EventScript_1BBBE6:: @ 81BBBE6
end
EventScript_1BBBE7:: @ 81BBBE7
- checkflag FLAG_0x2BB
- goto_if 0, EventScript_1BBC32
+ checkflag FLAG_GOT_POWDER_JAR
+ goto_if FALSE, EventScript_1BBC32
multichoice 0, 0, 47, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BBC69
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BBC97
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BBD35
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BBC69
+ case 1, EventScript_1BBC97
+ case 2, EventScript_1BBD35
+ case 3, EventScript_1BB82F
+ case 127, EventScript_1BB82F
end
EventScript_1BBC32:: @ 81BBC32
multichoice 0, 0, 50, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BBC69
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BBC97
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BBC69
+ case 1, EventScript_1BBC97
+ case 2, EventScript_1BB82F
+ case 127, EventScript_1BB82F
end
EventScript_1BBC69:: @ 81BBC69
msgbox gUnknown_81BD317, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
call EventScript_1BB79C
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
setvar VAR_0x8004, 3
goto EventScript_1BBD6F
@@ -9588,19 +9356,13 @@ EventScript_1BBC97:: @ 81BBC97
message Text_1BD338
waitmessage
multichoice 0, 0, 17, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BBCEA
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BBCF5
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BBD1C
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1BBD27
- compare_var_to_value VAR_0x8000, 4
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BBCEA
+ case 1, EventScript_1BBCF5
+ case 2, EventScript_1BBD1C
+ case 3, EventScript_1BBD27
+ case 4, EventScript_1BB82F
+ case 127, EventScript_1BB82F
end
EventScript_1BBCEA:: @ 81BBCEA
@@ -9613,7 +9375,7 @@ EventScript_1BBCF4:: @ 81BBCF4
EventScript_1BBCF5:: @ 81BBCF5
special CheckForAlivePartyMons
compare_var_to_value VAR_RESULT, 0
- goto_if 5, EventScript_1BBD0E
+ goto_if ne, EventScript_1BBD0E
setvar VAR_0x8004, 1
goto EventScript_1BBD6F
@@ -9644,10 +9406,10 @@ EventScript_1BBD34:: @ 81BBD34
EventScript_1BBD35:: @ 81BBD35
msgbox gUnknown_81BD362, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
+ goto_if eq, EventScript_1BB82F
special CheckHasAtLeastOneBerry
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BBD61
+ goto_if eq, EventScript_1BBD61
setvar VAR_0x8004, 5
goto EventScript_1BBD6F
@@ -9664,18 +9426,13 @@ EventScript_1BBD6E:: @ 81BBD6E
EventScript_1BBD6F:: @ 81BBD6F
call EventScript_1A4EAF
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB82F
- copyvar VAR_0x8000, VAR_0x8004
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1BBDBC
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BBDBC
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BBDBC
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BBE50
- compare_var_to_value VAR_0x8000, 5
- goto_if 1, EventScript_1BBEE4
+ 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
@@ -9684,36 +9441,32 @@ EventScript_1BBDBC:: @ 81BBDBC
waitmessage
call EventScript_1A6675
multichoice 13, 6, 63, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BBE28
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BBE00
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BBE28
+ case 1, EventScript_1BBE00
+ case 2, EventScript_1BB82F
+ case 127, EventScript_1BB82F
end
EventScript_1BBE00:: @ 81BBE00
call EventScript_1BBF78
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BBF88
+ goto_if eq, EventScript_1BBF88
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BBDBC
+ goto_if eq, EventScript_1BBDBC
compare_var_to_value VAR_RESULT, 8
- goto_if 1, EventScript_1BBE00
+ goto_if eq, EventScript_1BBE00
release
return
EventScript_1BBE28:: @ 81BBE28
call EventScript_1BBF80
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BBF88
+ goto_if eq, EventScript_1BBF88
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BBDBC
+ goto_if eq, EventScript_1BBDBC
compare_var_to_value VAR_RESULT, 8
- goto_if 1, EventScript_1BBE28
+ goto_if eq, EventScript_1BBE28
release
return
@@ -9723,36 +9476,32 @@ EventScript_1BBE50:: @ 81BBE50
waitmessage
call EventScript_1A6675
multichoice 13, 6, 63, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BBEBC
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BBE94
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BBEBC
+ case 1, EventScript_1BBE94
+ case 2, EventScript_1BB82F
+ case 127, EventScript_1BB82F
end
EventScript_1BBE94:: @ 81BBE94
call EventScript_1BBF78
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BBF88
+ goto_if eq, EventScript_1BBF88
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BBE50
+ goto_if eq, EventScript_1BBE50
compare_var_to_value VAR_RESULT, 8
- goto_if 1, EventScript_1BBE94
+ goto_if eq, EventScript_1BBE94
release
return
EventScript_1BBEBC:: @ 81BBEBC
call EventScript_1BBF80
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BBF88
+ goto_if eq, EventScript_1BBF88
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BBE50
+ goto_if eq, EventScript_1BBE50
compare_var_to_value VAR_RESULT, 8
- goto_if 1, EventScript_1BBEBC
+ goto_if eq, EventScript_1BBEBC
release
return
@@ -9762,36 +9511,32 @@ EventScript_1BBEE4:: @ 81BBEE4
waitmessage
call EventScript_1A6675
multichoice 13, 6, 63, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BBF50
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BBF28
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB82F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB82F
+ switch VAR_RESULT
+ case 0, EventScript_1BBF50
+ case 1, EventScript_1BBF28
+ case 2, EventScript_1BB82F
+ case 127, EventScript_1BB82F
end
EventScript_1BBF28:: @ 81BBF28
call EventScript_1BBF78
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BBF88
+ goto_if eq, EventScript_1BBF88
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BBEE4
+ goto_if eq, EventScript_1BBEE4
compare_var_to_value VAR_RESULT, 8
- goto_if 1, EventScript_1BBF28
+ goto_if eq, EventScript_1BBF28
release
return
EventScript_1BBF50:: @ 81BBF50
call EventScript_1BBF80
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BBF88
+ goto_if eq, EventScript_1BBF88
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BBEE4
+ goto_if eq, EventScript_1BBEE4
compare_var_to_value VAR_RESULT, 8
- goto_if 1, EventScript_1BBF50
+ goto_if eq, EventScript_1BBF50
release
return
@@ -9836,13 +9581,13 @@ EventScript_1BBF88:: @ 81BBF88
gUnknown_81BBFD8:: @ 81BBFD8
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
- checkflag FLAG_0x829
- goto_if 0, EventScript_1BB881
+ checkflag FLAG_SYS_POKEDEX_GET
+ goto_if FALSE, EventScript_1BB881
specialvar VAR_RESULT, IsWirelessAdapterConnected
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BC016
+ goto_if eq, EventScript_1BC016
special HelpSystem_Disable
fadescreen 1
special sub_814F1D4
@@ -9906,22 +9651,18 @@ ViridianCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
EventScript_1BC060:: @ 81BC060
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
lock
faceplayer
message Text_1BCCFF
waitmessage
multichoice 0, 0, 49, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BC0B0
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BC0BA
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BC0C4
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BC0C4
+ switch VAR_RESULT
+ case 0, EventScript_1BC0B0
+ case 1, EventScript_1BC0BA
+ case 2, EventScript_1BC0C4
+ case 127, EventScript_1BC0C4
end
EventScript_1BC0B0:: @ 81BC0B0
@@ -9942,7 +9683,7 @@ EventScript_1BC0C4:: @ 81BC0C4
EventScript_1BC0CE:: @ 81BC0CE
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
lock
faceplayer
@@ -9950,37 +9691,33 @@ EventScript_1BC0CE:: @ 81BC0CE
waitmessage
specialvar VAR_RESULT, IsWirelessAdapterConnected
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BC29C
+ goto_if eq, EventScript_1BC29C
delay 60
special HelpSystem_Disable
message Text_1BD02D
waitmessage
multichoice 0, 0, 49, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BC13A
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BC184
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB83F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB83F
+ switch VAR_RESULT
+ case 0, EventScript_1BC13A
+ case 1, EventScript_1BC184
+ case 2, EventScript_1BB83F
+ case 127, EventScript_1BB83F
end
EventScript_1BC13A:: @ 81BC13A
setvar VAR_0x8005, 0
special sub_8149A18
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BC2A6
+ goto_if eq, EventScript_1BC2A6
msgbox gUnknown_81BD059
setvar VAR_0x8005, 0
special sub_8127888
waitstate
compare_var_to_value VAR_0x8004, 6
- goto_if 4, EventScript_1BB83F
+ goto_if ge, EventScript_1BB83F
call EventScript_1A4EAF
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB83F
+ goto_if eq, EventScript_1BB83F
setvar VAR_0x8004, 4
goto EventScript_1BC1CE
@@ -9991,16 +9728,16 @@ EventScript_1BC184:: @ 81BC184
setvar VAR_0x8005, 1
special sub_81537C0
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BC2A6
+ goto_if eq, EventScript_1BC2A6
msgbox gUnknown_81BD059
setvar VAR_0x8005, 1
special sub_8127888
waitstate
compare_var_to_value VAR_0x8004, 6
- goto_if 4, EventScript_1BB83F
+ goto_if ge, EventScript_1BB83F
call EventScript_1A4EAF
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB83F
+ goto_if eq, EventScript_1BB83F
setvar VAR_0x8004, 6
goto EventScript_1BC1CE
@@ -10013,36 +9750,32 @@ EventScript_1BC1CE:: @ 81BC1CE
waitmessage
call EventScript_1A6675
multichoice 13, 6, 63, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BC23A
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BC212
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BB83F
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BB83F
+ switch VAR_RESULT
+ case 0, EventScript_1BC23A
+ case 1, EventScript_1BC212
+ case 2, EventScript_1BB83F
+ case 127, EventScript_1BB83F
end
EventScript_1BC212:: @ 81BC212
call EventScript_1BBF78
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BC262
+ goto_if eq, EventScript_1BC262
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BC1CE
+ goto_if eq, EventScript_1BC1CE
compare_var_to_value VAR_RESULT, 8
- goto_if 1, EventScript_1BC212
+ goto_if eq, EventScript_1BC212
release
return
EventScript_1BC23A:: @ 81BC23A
call EventScript_1BBF80
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BC262
+ goto_if eq, EventScript_1BC262
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_1BC1CE
+ goto_if eq, EventScript_1BC1CE
compare_var_to_value VAR_RESULT, 8
- goto_if 1, EventScript_1BC23A
+ goto_if eq, EventScript_1BC23A
release
return
@@ -10074,11 +9807,11 @@ EventScript_1BC29C:: @ 81BC29C
EventScript_1BC2A6:: @ 81BC2A6
msgbox gUnknown_81BD0CF, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BB83F
+ goto_if eq, EventScript_1BB83F
compare_var_to_value VAR_0x8005, 0
- call_if 1, EventScript_1BC2D5
+ call_if eq, EventScript_1BC2D5
compare_var_to_value VAR_0x8005, 1
- call_if 1, EventScript_1BC2DE
+ call_if eq, EventScript_1BC2DE
goto EventScript_1BB83F
EventScript_1BC2D4:: @ 81BC2D4
@@ -10095,7 +9828,7 @@ EventScript_1BC2DE:: @ 81BC2DE
TwoIsland_JoyfulGameCorner_EventScript_1BC2E7:: @ 81BC2E7
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
special sub_814B504
waitstate
@@ -10105,7 +9838,7 @@ TwoIsland_JoyfulGameCorner_EventScript_1BC2E7:: @ 81BC2E7
TwoIsland_JoyfulGameCorner_EventScript_1BC2FC:: @ 81BC2FC
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
special sub_8153810
waitstate
@@ -10566,43 +10299,22 @@ gUnknown_81BDEDF:: @ 81BDEDF
.string "I hope you enjoy the Wireless\n"
.string "Communication System.$"
-CeladonCity_EventScript_1BDF13:: @ 81BDF13
-CeladonCity_Gym_EventScript_1BDF13:: @ 81BDF13
-FiveIsland_Meadow_EventScript_1BDF13:: @ 81BDF13
-PewterCity_EventScript_1BDF13:: @ 81BDF13
-Route10_EventScript_1BDF13:: @ 81BDF13
-Route12_EventScript_1BDF13:: @ 81BDF13
-Route14_EventScript_1BDF13:: @ 81BDF13
-Route16_EventScript_1BDF13:: @ 81BDF13
-Route25_EventScript_1BDF13:: @ 81BDF13
-Route2_EventScript_1BDF13:: @ 81BDF13
-Route8_EventScript_1BDF13:: @ 81BDF13
-ThreeIsland_BerryForest_EventScript_1BDF13:: @ 81BDF13
-ThreeIsland_BondBridge_EventScript_1BDF13:: @ 81BDF13
-ThreeIsland_EventScript_1BDF13:: @ 81BDF13
-Route9_EventScript_1BDF13:: @ 81BDF13
-Route13_EventScript_1BDF13:: @ 81BDF13
-TwoIsland_EventScript_1BDF13:: @ 81BDF13
-FuchsiaCity_EventScript_1BDF13:: @ 81BDF13
-VermilionCity_EventScript_1BDF13:: @ 81BDF13
-VermilionCity_EventScript_1BDF13:: @ 81BDF13
-CeruleanCity_EventScript_1BDF13:: @ 81BDF13
-ViridianCity_EventScript_1BDF13:: @ 81BDF13
+EventScript_InteractWithCutTreeObject:: @ 81BDF13
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
- checkflag FLAG_0x821
- goto_if 0, EventScript_1BDF87
+ checkflag FLAG_BADGE02_GET
+ goto_if FALSE, EventScript_1BDF87
checkpartymove MOVE_CUT
compare_var_to_value VAR_RESULT, 6
- goto_if 1, 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_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BDF91
+ goto_if eq, EventScript_1BDF91
msgbox gUnknown_81BDFD7
closemessage
dofieldeffect FLDEFF_USE_CUT_ON_TREE
@@ -10650,37 +10362,22 @@ gUnknown_81BDFE3:: @ 81BDFE3
.string "This tree looks like it can be CUT\n"
.string "down!$"
-CeruleanCave_2F_EventScript_1BE00C:: @ 81BE00C
-MtEmber_Exterior_EventScript_1BE00C:: @ 81BE00C
-MtEmber_RubyPath_B1F_Stairs_EventScript_1BE00C:: @ 81BE00C
-MtEmber_RubyPath_B2F_EventScript_1BE00C:: @ 81BE00C
-MtEmber_SummitPath_2F_EventScript_1BE00C:: @ 81BE00C
-MtEmber_RubyPath_1F_EventScript_1BE00C:: @ 81BE00C
-SevenIsland_SevaultCanyon_EventScript_1BE00C:: @ 81BE00C
-FourIsland_EventScript_1BE00C:: @ 81BE00C
-OneIsland_KindleRoad_EventScript_1BE00C:: @ 81BE00C
-MtEmber_RubyPath_B2F_Stairs_EventScript_1BE00C:: @ 81BE00C
-MtEmber_RubyPath_B3F_EventScript_1BE00C:: @ 81BE00C
-MtEmber_RubyPath_B1F_EventScript_1BE00C:: @ 81BE00C
-MtEmber_RubyPath_B1F_EventScript_1BE00C:: @ 81BE00C
-RockTunnel_B1F_EventScript_1BE00C:: @ 81BE00C
-CeruleanCave_B1F_EventScript_1BE00C:: @ 81BE00C
-CeruleanCave_1F_EventScript_1BE00C:: @ 81BE00C
+EventScript_InteractWithRockSmashRockObject:: @ 81BE00C
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
- checkflag FLAG_0x825
- goto_if 0, EventScript_1BE091
+ checkflag FLAG_BADGE06_GET
+ goto_if FALSE, EventScript_1BE091
checkpartymove MOVE_ROCK_SMASH
compare_var_to_value VAR_RESULT, 6
- goto_if 1, 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_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BE09A
+ goto_if eq, EventScript_1BE09A
msgbox gUnknown_81BDFD7
closemessage
dofieldeffect FLDEFF_USE_ROCK_SMASH
@@ -10699,9 +10396,9 @@ EventScript_1BE06F:: @ 81BE06F
applymovement VAR_LAST_TALKED, Movement_1BE08F
waitmovement 0
removeobject VAR_LAST_TALKED
- special sub_8082E54
+ special Special_RockSmashEncounter
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BE08D
+ goto_if eq, EventScript_1BE08D
waitstate
releaseall
end
@@ -10731,37 +10428,22 @@ gUnknown_81BE0E2:: @ 81BE0E2
.string "It's a rugged rock, but a POKéMON\n"
.string "may be able to smash it.$"
-MtEmber_Exterior_EventScript_1BE11D:: @ 81BE11D
-MtEmber_RubyPath_B2F_EventScript_1BE11D:: @ 81BE11D
-MtEmber_Summit_EventScript_1BE11D:: @ 81BE11D
-SeafoamIslands_1F_EventScript_1BE11D:: @ 81BE11D
-SeafoamIslands_B2F_EventScript_1BE11D:: @ 81BE11D
-SevenIsland_SevaultCanyon_EventScript_1BE11D:: @ 81BE11D
-VictoryRoad_1F_EventScript_1BE11D:: @ 81BE11D
-VictoryRoad_3F_EventScript_1BE11D:: @ 81BE11D
-SixIsland_RuinValley_EventScript_1BE11D:: @ 81BE11D
-FuchsiaCity_Building1_EventScript_1BE11D:: @ 81BE11D
-SevenIsland_SeavaultCanyon_TanobyKey_EventScript_1BE11D:: @ 81BE11D
-MtEmber_RubyPath_B3F_EventScript_1BE11D:: @ 81BE11D
-SeafoamIslands_B3F_EventScript_1BE11D:: @ 81BE11D
-SeafoamIslands_B3F_EventScript_1BE11D:: @ 81BE11D
-SeafoamIslands_B1F_EventScript_1BE11D:: @ 81BE11D
-VictoryRoad_2F_EventScript_1BE11D:: @ 81BE11D
+EventScript_InteractWithStrengthBoulderObject:: @ 81BE11D
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
- checkflag FLAG_0x823
- goto_if 0, EventScript_1BE185
- checkflag FLAG_0x805
- goto_if 1, EventScript_1BE18E
+ checkflag FLAG_BADGE04_GET
+ goto_if FALSE, EventScript_1BE185
+ checkflag FLAG_SYS_STRENGTH_ACTIVE
+ goto_if TRUE, EventScript_1BE18E
checkpartymove MOVE_STRENGTH
compare_var_to_value VAR_RESULT, 6
- goto_if 1, EventScript_1BE185
+ goto_if eq, EventScript_1BE185
setfieldeffectarg 0, VAR_RESULT
msgbox gUnknown_81BE19A, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BE197
+ goto_if eq, EventScript_1BE197
closemessage
dofieldeffect FLDEFF_USE_STRENGTH
waitstate
@@ -10776,7 +10458,7 @@ EventScript_FldEffStrength:: @ 81BE16E
end
EventScript_1BE179:: @ 81BE179
- setflag FLAG_0x805
+ setflag FLAG_SYS_STRENGTH_ACTIVE
msgbox gUnknown_81BE1FA, 3
end
@@ -10814,16 +10496,16 @@ gUnknown_81BE284:: @ 81BE284
gUnknown_81BE2B7:: @ 81BE2B7
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lockall
checkpartymove MOVE_WATERFALL
compare_var_to_value VAR_RESULT, 6
- goto_if 1, EventScript_1BE300
+ goto_if eq, EventScript_1BE300
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
msgbox gUnknown_81BE33F, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BE308
+ goto_if eq, EventScript_1BE308
msgbox gUnknown_81BE378
dofieldeffect FLDEFF_USE_WATERFALL
goto EventScript_1BE308
@@ -10847,17 +10529,18 @@ gUnknown_81BE33F:: @ 81BE33F
gUnknown_81BE378:: @ 81BE378
.string "{STR_VAR_1} used WATERFALL.$"
+@ Unused leftover from R/S
EventScript_1BE38B:: @ 81BE38B
lockall
checkpartymove MOVE_DIVE
compare_var_to_value VAR_RESULT, 6
- goto_if 1, EventScript_1BE3CA
+ goto_if eq, EventScript_1BE3CA
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
setfieldeffectarg 1, 1
msgbox gUnknown_81BE469, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BE3D2
+ goto_if eq, EventScript_1BE3D2
msgbox gUnknown_81BE49B
dofieldeffect FLDEFF_USE_DIVE
goto EventScript_1BE3D2
@@ -10874,13 +10557,13 @@ EventScript_1BE3D4:: @ 81BE3D4
lockall
checkpartymove MOVE_DIVE
compare_var_to_value VAR_RESULT, 6
- goto_if 1, EventScript_1BE412
+ goto_if eq, EventScript_1BE412
getpartymonname 0, VAR_RESULT
setfieldeffectarg 0, VAR_RESULT
setfieldeffectarg 1, 1
msgbox gUnknown_81BE4EF, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BE429
+ goto_if eq, EventScript_1BE429
msgbox gUnknown_81BE49B
dofieldeffect FLDEFF_USE_DIVE
goto EventScript_1BE429
@@ -10928,1020 +10611,684 @@ Text_1BE56D:: @ 81BE56D
.string "Looks like there's nothing here…$"
Route2_EventScript_1BE58E:: @ 81BE58E
- setorcopyvar VAR_0x8000, 34
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ETHER, 1, 1
end
Route2_EventScript_1BE59B:: @ 81BE59B
- setorcopyvar VAR_0x8000, 18
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PARALYZE_HEAL, 1, 1
end
ViridianForest_EventScript_1BE5A8:: @ 81BE5A8
- setorcopyvar VAR_0x8000, 4
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_POKE_BALL, 1, 1
end
ViridianForest_EventScript_1BE5B5:: @ 81BE5B5
- setorcopyvar VAR_0x8000, 14
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ANTIDOTE, 1, 1
end
ViridianForest_EventScript_1BE5C2:: @ 81BE5C2
- setorcopyvar VAR_0x8000, 13
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_POTION, 1, 1
end
MtMoon_1F_EventScript_1BE5CF:: @ 81BE5CF
- setorcopyvar VAR_0x8000, 18
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PARALYZE_HEAL, 1, 1
end
MtMoon_1F_EventScript_1BE5DC:: @ 81BE5DC
- setorcopyvar VAR_0x8000, 297
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM09, 1, 1
end
MtMoon_1F_EventScript_1BE5E9:: @ 81BE5E9
- setorcopyvar VAR_0x8000, 13
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_POTION, 1, 1
end
MtMoon_1F_EventScript_1BE5F6:: @ 81BE5F6
- setorcopyvar VAR_0x8000, 68
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_RARE_CANDY, 1, 1
end
MtMoon_1F_EventScript_1BE603:: @ 81BE603
- setorcopyvar VAR_0x8000, 85
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ESCAPE_ROPE, 1, 1
end
MtMoon_1F_EventScript_1BE610:: @ 81BE610
- setorcopyvar VAR_0x8000, 94
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MOON_STONE, 1, 1
end
MtMoon_B2F_EventScript_1BE61D:: @ 81BE61D
- setorcopyvar VAR_0x8000, 109
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_STAR_PIECE, 1, 1
end
MtMoon_B2F_EventScript_1BE62A:: @ 81BE62A
- setorcopyvar VAR_0x8000, 334
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM46, 1, 1
end
Route4_EventScript_1BE637:: @ 81BE637
- setorcopyvar VAR_0x8000, 293
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM05, 1, 1
end
Route24_EventScript_1BE644:: @ 81BE644
- setorcopyvar VAR_0x8000, 333
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM45, 1, 1
end
Route25_EventScript_1BE651:: @ 81BE651
- setorcopyvar VAR_0x8000, 331
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM43, 1, 1
end
SSAnne_1F_Room2_EventScript_1BE65E:: @ 81BE65E
- setorcopyvar VAR_0x8000, 319
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM31, 1, 1
end
SSAnne_2F_Room2_EventScript_1BE66B:: @ 81BE66B
- setorcopyvar VAR_0x8000, 108
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_STARDUST, 1, 1
end
SSAnne_2F_Room4_EventScript_1BE678:: @ 81BE678
- setorcopyvar VAR_0x8000, 75
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_X_ATTACK, 1, 1
end
SSAnne_B1F_Room2_EventScript_1BE685:: @ 81BE685
- setorcopyvar VAR_0x8000, 332
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM44, 1, 1
end
SSAnne_B1F_Room3_EventScript_1BE692:: @ 81BE692
- setorcopyvar VAR_0x8000, 34
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ETHER, 1, 1
end
SSAnne_B1F_Room5_EventScript_1BE69F:: @ 81BE69F
- setorcopyvar VAR_0x8000, 22
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_SUPER_POTION, 1, 1
end
SSAnne_Kitchen_EventScript_1BE6AC:: @ 81BE6AC
- setorcopyvar VAR_0x8000, 3
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_GREAT_BALL, 1, 1
end
Route9_EventScript_1BE6B9:: @ 81BE6B9
- setorcopyvar VAR_0x8000, 328
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM40, 1, 1
end
RocketHideout_B1F_EventScript_1BE6C6:: @ 81BE6C6
- setorcopyvar VAR_0x8000, 85
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ESCAPE_ROPE, 1, 1
end
RocketHideout_B1F_EventScript_1BE6D3:: @ 81BE6D3
- setorcopyvar VAR_0x8000, 21
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_HYPER_POTION, 1, 1
end
RocketHideout_B2F_EventScript_1BE6E0:: @ 81BE6E0
- setorcopyvar VAR_0x8000, 77
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_X_SPEED, 1, 1
end
RocketHideout_B2F_EventScript_1BE6ED:: @ 81BE6ED
- setorcopyvar VAR_0x8000, 94
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MOON_STONE, 1, 1
end
RocketHideout_B2F_EventScript_1BE6FA:: @ 81BE6FA
- setorcopyvar VAR_0x8000, 300
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM12, 1, 1
end
RocketHideout_B2F_EventScript_1BE707:: @ 81BE707
- setorcopyvar VAR_0x8000, 22
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_SUPER_POTION, 1, 1
end
RocketHideout_B3F_EventScript_1BE714:: @ 81BE714
- setorcopyvar VAR_0x8000, 68
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_RARE_CANDY, 1, 1
end
RocketHideout_B3F_EventScript_1BE721:: @ 81BE721
- setorcopyvar VAR_0x8000, 309
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM21, 1, 1
end
RocketHideout_B4F_EventScript_1BE72E:: @ 81BE72E
- setorcopyvar VAR_0x8000, 337
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM49, 1, 1
end
RocketHideout_B4F_EventScript_1BE73B:: @ 81BE73B
- setorcopyvar VAR_0x8000, 35
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_ETHER, 1, 1
end
RocketHideout_B4F_EventScript_1BE748:: @ 81BE748
- setorcopyvar VAR_0x8000, 67
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_CALCIUM, 1, 1
end
PokemonTower_3F_EventScript_1BE755:: @ 81BE755
- setorcopyvar VAR_0x8000, 85
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ESCAPE_ROPE, 1, 1
end
PokemonTower_4F_EventScript_1BE762:: @ 81BE762
- setorcopyvar VAR_0x8000, 36
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ELIXIR, 1, 1
end
PokemonTower_4F_EventScript_1BE76F:: @ 81BE76F
- setorcopyvar VAR_0x8000, 17
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_AWAKENING, 1, 1
end
PokemonTower_4F_EventScript_1BE77C:: @ 81BE77C
- setorcopyvar VAR_0x8000, 3
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_GREAT_BALL, 1, 1
end
PokemonTower_5F_EventScript_1BE789:: @ 81BE789
- setorcopyvar VAR_0x8000, 110
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_NUGGET, 1, 1
end
PokemonTower_6F_EventScript_1BE796:: @ 81BE796
- setorcopyvar VAR_0x8000, 68
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_RARE_CANDY, 1, 1
end
PokemonTower_6F_EventScript_1BE7A3:: @ 81BE7A3
- setorcopyvar VAR_0x8000, 78
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_X_ACCURACY, 1, 1
end
Route12_EventScript_1BE7B0:: @ 81BE7B0
- setorcopyvar VAR_0x8000, 336
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM48, 1, 1
end
Route12_EventScript_1BE7BD:: @ 81BE7BD
- setorcopyvar VAR_0x8000, 65
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_IRON, 1, 1
end
Route15_EventScript_1BE7CA:: @ 81BE7CA
- setorcopyvar VAR_0x8000, 306
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM18, 1, 1
end
SafariZone_Center_EventScript_1BE7D7:: @ 81BE7D7
- setorcopyvar VAR_0x8000, 110
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_NUGGET, 1, 1
end
SafariZone_East_EventScript_1BE7E4:: @ 81BE7E4
- setorcopyvar VAR_0x8000, 20
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_POTION, 1, 1
end
SafariZone_East_EventScript_1BE7F1:: @ 81BE7F1
- setorcopyvar VAR_0x8000, 19
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_RESTORE, 1, 1
end
SafariZone_East_EventScript_1BE7FE:: @ 81BE7FE
- setorcopyvar VAR_0x8000, 299
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM11, 1, 1
end
SafariZone_East_EventScript_1BE80B:: @ 81BE80B
- setorcopyvar VAR_0x8000, 98
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_LEAF_STONE, 1, 1
end
SafariZone_North_EventScript_1BE818:: @ 81BE818
- setorcopyvar VAR_0x8000, 64
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PROTEIN, 1, 1
end
SafariZone_North_EventScript_1BE825:: @ 81BE825
- setorcopyvar VAR_0x8000, 335
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM47, 1, 1
end
SafariZone_West_EventScript_1BE832:: @ 81BE832
- setorcopyvar VAR_0x8000, 320
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM32, 1, 1
end
SafariZone_West_EventScript_1BE83F:: @ 81BE83F
- setorcopyvar VAR_0x8000, 353
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_GOLD_TEETH, 1, 1
end
SafariZone_West_EventScript_1BE84C:: @ 81BE84C
- setorcopyvar VAR_0x8000, 20
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_POTION, 1, 1
end
SafariZone_West_EventScript_1BE859:: @ 81BE859
- setorcopyvar VAR_0x8000, 25
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_REVIVE, 1, 1
end
SilphCo_3F_EventScript_1BE866:: @ 81BE866
- setorcopyvar VAR_0x8000, 21
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_HYPER_POTION, 1, 1
end
SilphCo_4F_EventScript_1BE873:: @ 81BE873
- setorcopyvar VAR_0x8000, 25
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_REVIVE, 1, 1
end
SilphCo_4F_EventScript_1BE880:: @ 81BE880
- setorcopyvar VAR_0x8000, 85
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ESCAPE_ROPE, 1, 1
end
SilphCo_4F_EventScript_1BE88D:: @ 81BE88D
- setorcopyvar VAR_0x8000, 23
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_HEAL, 1, 1
end
SilphCo_5F_EventScript_1BE89A:: @ 81BE89A
- setorcopyvar VAR_0x8000, 64
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PROTEIN, 1, 1
end
SilphCo_5F_EventScript_1BE8A7:: @ 81BE8A7
- setorcopyvar VAR_0x8000, 289
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM01, 1, 1
end
SilphCo_5F_EventScript_1BE8B4:: @ 81BE8B4
- setorcopyvar VAR_0x8000, 355
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_CARD_KEY, 1, 1
end
SilphCo_6F_EventScript_1BE8C1:: @ 81BE8C1
- setorcopyvar VAR_0x8000, 63
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_HP_UP, 1, 1
end
SilphCo_6F_EventScript_1BE8CE:: @ 81BE8CE
- setorcopyvar VAR_0x8000, 79
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_X_SPECIAL, 1, 1
end
SilphCo_7F_EventScript_1BE8DB:: @ 81BE8DB
- setorcopyvar VAR_0x8000, 67
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_CALCIUM, 1, 1
end
SilphCo_7F_EventScript_1BE8E8:: @ 81BE8E8
- setorcopyvar VAR_0x8000, 296
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM08, 1, 1
end
SilphCo_10F_EventScript_1BE8F5:: @ 81BE8F5
- setorcopyvar VAR_0x8000, 66
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_CARBOS, 1, 1
end
SilphCo_10F_EventScript_1BE902:: @ 81BE902
- setorcopyvar VAR_0x8000, 2
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ULTRA_BALL, 1, 1
end
SilphCo_10F_EventScript_1BE90F:: @ 81BE90F
- setorcopyvar VAR_0x8000, 68
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_RARE_CANDY, 1, 1
end
PowerPlant_EventScript_1BE91C:: @ 81BE91C
- setorcopyvar VAR_0x8000, 20
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_POTION, 1, 1
end
PowerPlant_EventScript_1BE929:: @ 81BE929
- setorcopyvar VAR_0x8000, 305
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM17, 1, 1
end
PowerPlant_EventScript_1BE936:: @ 81BE936
- setorcopyvar VAR_0x8000, 313
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM25, 1, 1
end
PowerPlant_EventScript_1BE943:: @ 81BE943
- setorcopyvar VAR_0x8000, 96
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_THUNDER_STONE, 1, 1
end
PowerPlant_EventScript_1BE950:: @ 81BE950
- setorcopyvar VAR_0x8000, 36
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ELIXIR, 1, 1
end
PokemonMansion_1F_EventScript_1BE95D:: @ 81BE95D
- setorcopyvar VAR_0x8000, 66
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_CARBOS, 1, 1
end
PokemonMansion_1F_EventScript_1BE96A:: @ 81BE96A
- setorcopyvar VAR_0x8000, 85
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ESCAPE_ROPE, 1, 1
end
PokemonMansion_2F_EventScript_1BE977:: @ 81BE977
- setorcopyvar VAR_0x8000, 67
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_CALCIUM, 1, 1
end
PokemonMansion_3F_EventScript_1BE984:: @ 81BE984
- setorcopyvar VAR_0x8000, 20
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_POTION, 1, 1
end
PokemonMansion_3F_EventScript_1BE991:: @ 81BE991
- setorcopyvar VAR_0x8000, 65
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_IRON, 1, 1
end
PokemonMansion_B1F_EventScript_1BE99E:: @ 81BE99E
- setorcopyvar VAR_0x8000, 302
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM14, 1, 1
end
PokemonMansion_B1F_EventScript_1BE9AB:: @ 81BE9AB
- setorcopyvar VAR_0x8000, 19
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_RESTORE, 1, 1
end
PokemonMansion_B1F_EventScript_1BE9B8:: @ 81BE9B8
- setorcopyvar VAR_0x8000, 310
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM22, 1, 1
end
PokemonMansion_B1F_EventScript_1BE9C5:: @ 81BE9C5
- setorcopyvar VAR_0x8000, 351
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_SECRET_KEY, 1, 1
end
VictoryRoad_1F_EventScript_1BE9D2:: @ 81BE9D2
- setorcopyvar VAR_0x8000, 68
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_RARE_CANDY, 1, 1
end
VictoryRoad_1F_EventScript_1BE9DF:: @ 81BE9DF
- setorcopyvar VAR_0x8000, 290
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM02, 1, 1
end
VictoryRoad_2F_EventScript_1BE9EC:: @ 81BE9EC
- setorcopyvar VAR_0x8000, 73
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_GUARD_SPEC, 1, 1
end
VictoryRoad_2F_EventScript_1BE9F9:: @ 81BE9F9
- setorcopyvar VAR_0x8000, 295
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM07, 1, 1
end
VictoryRoad_2F_EventScript_1BEA06:: @ 81BEA06
- setorcopyvar VAR_0x8000, 23
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_HEAL, 1, 1
end
VictoryRoad_2F_EventScript_1BEA13:: @ 81BEA13
- setorcopyvar VAR_0x8000, 325
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM37, 1, 1
end
VictoryRoad_3F_EventScript_1BEA20:: @ 81BEA20
- setorcopyvar VAR_0x8000, 25
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_REVIVE, 1, 1
end
VictoryRoad_3F_EventScript_1BEA2D:: @ 81BEA2D
- setorcopyvar VAR_0x8000, 338
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM50, 1, 1
end
CeruleanCave_1F_EventScript_1BEA3A:: @ 81BEA3A
- setorcopyvar VAR_0x8000, 37
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_ELIXIR, 1, 1
end
CeruleanCave_1F_EventScript_1BEA47:: @ 81BEA47
- setorcopyvar VAR_0x8000, 110
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_NUGGET, 1, 1
end
CeruleanCave_1F_EventScript_1BEA54:: @ 81BEA54
- setorcopyvar VAR_0x8000, 19
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_RESTORE, 1, 1
end
CeruleanCave_2F_EventScript_1BEA61:: @ 81BEA61
- setorcopyvar VAR_0x8000, 19
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_RESTORE, 1, 1
end
CeruleanCave_2F_EventScript_1BEA6E:: @ 81BEA6E
- setorcopyvar VAR_0x8000, 69
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PP_UP, 1, 1
end
CeruleanCave_2F_EventScript_1BEA7B:: @ 81BEA7B
- setorcopyvar VAR_0x8000, 2
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ULTRA_BALL, 1, 1
end
CeruleanCave_B1F_EventScript_1BEA88:: @ 81BEA88
- setorcopyvar VAR_0x8000, 25
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_REVIVE, 1, 1
end
CeruleanCave_B1F_EventScript_1BEA95:: @ 81BEA95
- setorcopyvar VAR_0x8000, 2
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ULTRA_BALL, 1, 1
end
FuchsiaCity_Building1_EventScript_1BEAA2:: @ 81BEAA2
- setorcopyvar VAR_0x8000, 68
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_RARE_CANDY, 1, 1
end
TwoIsland_EventScript_1BEAAF:: @ 81BEAAF
- setorcopyvar VAR_0x8000, 24
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_REVIVE, 1, 1
end
ThreeIsland_EventScript_1BEABC:: @ 81BEABC
- setorcopyvar VAR_0x8000, 70
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ZINC, 1, 1
end
ViridianForest_EventScript_1BEAC9:: @ 81BEAC9
- setorcopyvar VAR_0x8000, 13
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_POTION, 1, 1
end
MtMoon_B2F_EventScript_1BEAD6:: @ 81BEAD6
- setorcopyvar VAR_0x8000, 24
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_REVIVE, 1, 1
end
MtMoon_B2F_EventScript_1BEAE3:: @ 81BEAE3
- setorcopyvar VAR_0x8000, 14
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ANTIDOTE, 1, 1
end
Route11_EventScript_1BEAF0:: @ 81BEAF0
- setorcopyvar VAR_0x8000, 76
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_X_DEFEND, 1, 1
end
Route9_EventScript_1BEAFD:: @ 81BEAFD
- setorcopyvar VAR_0x8000, 15
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_BURN_HEAL, 1, 1
end
RockTunnel_1F_EventScript_1BEB0A:: @ 81BEB0A
- setorcopyvar VAR_0x8000, 86
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_REPEL, 1, 1
end
RockTunnel_1F_EventScript_1BEB17:: @ 81BEB17
- setorcopyvar VAR_0x8000, 106
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PEARL, 1, 1
end
RockTunnel_1F_EventScript_1BEB24:: @ 81BEB24
- setorcopyvar VAR_0x8000, 85
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ESCAPE_ROPE, 1, 1
end
RockTunnel_B1F_EventScript_1BEB31:: @ 81BEB31
- setorcopyvar VAR_0x8000, 24
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_REVIVE, 1, 1
end
RockTunnel_B1F_EventScript_1BEB3E:: @ 81BEB3E
- setorcopyvar VAR_0x8000, 35
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_ETHER, 1, 1
end
SilphCo_8F_EventScript_1BEB4B:: @ 81BEB4B
- setorcopyvar VAR_0x8000, 65
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_IRON, 1, 1
end
SilphCo_11F_EventScript_1BEB58:: @ 81BEB58
- setorcopyvar VAR_0x8000, 70
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ZINC, 1, 1
end
PokemonMansion_1F_EventScript_1BEB65:: @ 81BEB65
- setorcopyvar VAR_0x8000, 64
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PROTEIN, 1, 1
end
PokemonMansion_2F_EventScript_1BEB72:: @ 81BEB72
- setorcopyvar VAR_0x8000, 70
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ZINC, 1, 1
end
PokemonMansion_2F_EventScript_1BEB7F:: @ 81BEB7F
- setorcopyvar VAR_0x8000, 63
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_HP_UP, 1, 1
end
ViridianCity_EventScript_1BEB8C:: @ 81BEB8C
- setorcopyvar VAR_0x8000, 13
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_POTION, 1, 1
end
Route11_EventScript_1BEB99:: @ 81BEB99
- setorcopyvar VAR_0x8000, 3
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_GREAT_BALL, 1, 1
end
Route11_EventScript_1BEBA6:: @ 81BEBA6
- setorcopyvar VAR_0x8000, 17
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_AWAKENING, 1, 1
end
PokemonTower_5F_EventScript_1BEBB3:: @ 81BEBB3
- setorcopyvar VAR_0x8000, 190
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_CLEANSE_TAG, 1, 1
end
CeladonCity_EventScript_1BEBC0:: @ 81BEBC0
- setorcopyvar VAR_0x8000, 34
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ETHER, 1, 1
end
RocketHideout_B3F_EventScript_1BEBCD:: @ 81BEBCD
- setorcopyvar VAR_0x8000, 206
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_BLACK_GLASSES, 1, 1
end
SafariZone_North_EventScript_1BEBDA:: @ 81BEBDA
- setorcopyvar VAR_0x8000, 183
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_QUICK_CLAW, 1, 1
end
SeafoamIslands_1F_EventScript_1BEBE7:: @ 81BEBE7
- setorcopyvar VAR_0x8000, 16
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ICE_HEAL, 1, 1
end
SeafoamIslands_B1F_EventScript_1BEBF4:: @ 81BEBF4
- setorcopyvar VAR_0x8000, 97
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_WATER_STONE, 1, 1
end
SeafoamIslands_B1F_EventScript_1BEC01:: @ 81BEC01
- setorcopyvar VAR_0x8000, 24
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_REVIVE, 1, 1
end
SeafoamIslands_B2F_EventScript_1BEC0E:: @ 81BEC0E
- setorcopyvar VAR_0x8000, 107
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_BIG_PEARL, 1, 1
end
SeafoamIslands_B4F_EventScript_1BEC1B:: @ 81BEC1B
- setorcopyvar VAR_0x8000, 2
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ULTRA_BALL, 1, 1
end
FourIsland_EventScript_1BEC28:: @ 81BEC28
- setorcopyvar VAR_0x8000, 109
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_STAR_PIECE, 1, 1
end
FourIsland_EventScript_1BEC35:: @ 81BEC35
- setorcopyvar VAR_0x8000, 108
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_STARDUST, 1, 1
end
OneIsland_KindleRoad_EventScript_1BEC42:: @ 81BEC42
- setorcopyvar VAR_0x8000, 34
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ETHER, 1, 1
end
OneIsland_KindleRoad_EventScript_1BEC4F:: @ 81BEC4F
- setorcopyvar VAR_0x8000, 84
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_REPEL, 1, 1
end
OneIsland_KindleRoad_EventScript_1BEC5C:: @ 81BEC5C
- setorcopyvar VAR_0x8000, 66
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_CARBOS, 1, 1
end
FiveIsland_Meadow_EventScript_1BEC69:: @ 81BEC69
- setorcopyvar VAR_0x8000, 20
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_POTION, 1, 1
end
FiveIsland_Meadow_EventScript_1BEC76:: @ 81BEC76
- setorcopyvar VAR_0x8000, 69
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PP_UP, 1, 1
end
FiveIsland_MemorialPillar_EventScript_1BEC83:: @ 81BEC83
- setorcopyvar VAR_0x8000, 199
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_METAL_COAT, 1, 1
end
SixIsland_OutcastIsland_EventScript_1BEC90:: @ 81BEC90
- setorcopyvar VAR_0x8000, 69
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PP_UP, 1, 1
end
SixIsland_WaterPath_EventScript_1BEC9D:: @ 81BEC9D
- setorcopyvar VAR_0x8000, 36
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ELIXIR, 1, 1
end
SixIsland_WaterPath_EventScript_1BECAA:: @ 81BECAA
- setorcopyvar VAR_0x8000, 201
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_DRAGON_SCALE, 1, 1
end
SixIsland_RuinValley_EventScript_1BECB7:: @ 81BECB7
- setorcopyvar VAR_0x8000, 19
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_RESTORE, 1, 1
end
SixIsland_RuinValley_EventScript_1BECC4:: @ 81BECC4
- setorcopyvar VAR_0x8000, 63
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_HP_UP, 1, 1
end
SixIsland_RuinValley_EventScript_1BECD1:: @ 81BECD1
- setorcopyvar VAR_0x8000, 93
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_SUN_STONE, 1, 1
end
SevenIsland_SevaultCanyon_EventScript_1BECDE:: @ 81BECDE
- setorcopyvar VAR_0x8000, 187
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_KINGS_ROCK, 1, 1
end
SevenIsland_SevaultCanyon_EventScript_1BECEB:: @ 81BECEB
- setorcopyvar VAR_0x8000, 37
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_ELIXIR, 1, 1
end
SevenIsland_SevaultCanyon_EventScript_1BECF8:: @ 81BECF8
- setorcopyvar VAR_0x8000, 110
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_NUGGET, 1, 1
end
ThreeIsland_BerryForest_EventScript_1BED05:: @ 81BED05
- setorcopyvar VAR_0x8000, 35
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_ETHER, 1, 1
end
ThreeIsland_BerryForest_EventScript_1BED12:: @ 81BED12
- setorcopyvar VAR_0x8000, 23
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_HEAL, 1, 1
end
ThreeIsland_BerryForest_EventScript_1BED1F:: @ 81BED1F
- setorcopyvar VAR_0x8000, 37
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_ELIXIR, 1, 1
end
MtEmber_Exterior_EventScript_1BED2C:: @ 81BED2C
- setorcopyvar VAR_0x8000, 2
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ULTRA_BALL, 1, 1
end
MtEmber_Exterior_EventScript_1BED39:: @ 81BED39
- setorcopyvar VAR_0x8000, 95
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FIRE_STONE, 1, 1
end
MtEmber_Exterior_EventScript_1BED46:: @ 81BED46
- setorcopyvar VAR_0x8000, 74
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_DIRE_HIT, 1, 1
end
FourIsland_IcefallCave_1F_EventScript_1BED53:: @ 81BED53
- setorcopyvar VAR_0x8000, 2
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_ULTRA_BALL, 1, 1
end
FourIsland_IcefallCave_1F_EventScript_1BED60:: @ 81BED60
- setorcopyvar VAR_0x8000, 345
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_HM07, 1, 1
end
FourIsland_IcefallCave_B1F_EventScript_1BED6D:: @ 81BED6D
- setorcopyvar VAR_0x8000, 19
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_FULL_RESTORE, 1, 1
end
FourIsland_IcefallCave_B1F_EventScript_1BED7A:: @ 81BED7A
- setorcopyvar VAR_0x8000, 212
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_NEVER_MELT_ICE, 1, 1
end
FiveIsland_RocketWarehouse_EventScript_1BED87:: @ 81BED87
- setorcopyvar VAR_0x8000, 107
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_BIG_PEARL, 1, 1
end
FiveIsland_RocketWarehouse_EventScript_1BED94:: @ 81BED94
- setorcopyvar VAR_0x8000, 324
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM36, 1, 1
end
FiveIsland_RocketWarehouse_EventScript_1BEDA1:: @ 81BEDA1
- setorcopyvar VAR_0x8000, 106
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_PEARL, 1, 1
end
FiveIsland_RocketWarehouse_EventScript_1BEDAE:: @ 81BEDAE
- setorcopyvar VAR_0x8000, 218
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_UP_GRADE, 1, 1
end
FiveIsland_LostCave_Room10_EventScript_1BEDBB:: @ 81BEDBB
- setorcopyvar VAR_0x8000, 217
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_SILK_SCARF, 1, 1
end
FiveIsland_LostCave_Room11_EventScript_1BEDC8:: @ 81BEDC8
- setorcopyvar VAR_0x8000, 221
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_LAX_INCENSE, 1, 1
end
FiveIsland_LostCave_Room12_EventScript_1BEDD5:: @ 81BEDD5
- setorcopyvar VAR_0x8000, 220
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_SEA_INCENSE, 1, 1
end
FiveIsland_LostCave_Room13_EventScript_1BEDE2:: @ 81BEDE2
- setorcopyvar VAR_0x8000, 25
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_MAX_REVIVE, 1, 1
end
FiveIsland_LostCave_Room14_EventScript_1BEDEF:: @ 81BEDEF
- setorcopyvar VAR_0x8000, 68
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_RARE_CANDY, 1, 1
end
SevenIsland_SevaultCanyon_House_EventScript_1BEDFC:: @ 81BEDFC
- setorcopyvar VAR_0x8000, 222
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_LUCKY_PUNCH, 1, 1
end
SilphCo_4F_EventScript_1BEE09:: @ 81BEE09
- setorcopyvar VAR_0x8000, 329
- setorcopyvar VAR_0x8001, 1
- callstd 1
+ giveitem ITEM_TM41, 1, 1
end
PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16
lock
faceplayer
compare_var_to_value VAR_0x4001, 1
- goto_if 1, EventScript_1BEE3A
- checkflag 2093
- goto_if 1, EventScript_1BEECD
+ goto_if eq, EventScript_1BEE3A
+ checkflag FLAG_SYS_SET_TRAINER_CARD_PROFILE
+ goto_if TRUE, EventScript_1BEECD
msgbox Text_1BEF88
goto EventScript_1BEE44
end
@@ -11955,15 +11302,11 @@ EventScript_1BEE44:: @ 81BEE44
message Text_1BF017
waitmessage
multichoice 18, 6, 18, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BEE8F
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BEEC3
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BEE81
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BEEC3
+ switch VAR_RESULT
+ case 0, EventScript_1BEE8F
+ case 1, EventScript_1BEEC3
+ case 2, EventScript_1BEE81
+ case 127, EventScript_1BEEC3
end
EventScript_1BEE81:: @ 81BEE81
@@ -12006,15 +11349,11 @@ EventScript_1BEEDB:: @ 81BEEDB
message Text_1BF1FB
waitmessage
multichoice 18, 6, 18, 0
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1BEF26
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1BEF35
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1BEF18
- compare_var_to_value VAR_0x8000, 127
- goto_if 1, EventScript_1BEF35
+ switch VAR_RESULT
+ case 0, EventScript_1BEF26
+ case 1, EventScript_1BEF35
+ case 2, EventScript_1BEF18
+ case 127, EventScript_1BEF35
end
EventScript_1BEF18:: @ 81BEF18
@@ -12049,11 +11388,11 @@ EventScript_1BEF5A:: @ 81BEF5A
lock
faceplayer
compare_var_to_value VAR_0x8004, 0
- goto_if 1, EventScript_1BEF3F
+ goto_if eq, EventScript_1BEF3F
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BEE9E
+ goto_if eq, EventScript_1BEE9E
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BEEA8
+ goto_if eq, EventScript_1BEEA8
end
Text_1BEF88:: @ 81BEF88
@@ -12127,16 +11466,16 @@ gUnknown_81BF36A:: @ 81BF36A
Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
lock
faceplayer
showmoneybox 0, 0, 0
specialvar VAR_RESULT, IsThereMonInRoute5Daycare
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BF46E
+ goto_if eq, EventScript_1BF46E
msgbox Text_19DD66, 5
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BF3DD
+ goto_if eq, EventScript_1BF3DD
msgbox Text_19DDB2
goto EventScript_1BF541
end
@@ -12144,7 +11483,7 @@ Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398
EventScript_1BF3DD:: @ 81BF3DD
specialvar VAR_RESULT, CountPartyNonEggMons
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BF452
+ goto_if eq, EventScript_1BF452
msgbox Text_19DDBE
fadescreen 1
hidemoneybox
@@ -12154,10 +11493,10 @@ EventScript_1BF3DD:: @ 81BF3DD
waitstate
showmoneybox 0, 0, 0
compare_var_to_value VAR_0x8004, 6
- goto_if 4, EventScript_1BF444
+ goto_if ge, EventScript_1BF444
specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1BF460
+ goto_if eq, EventScript_1BF460
specialvar VAR_0x8005, GetSelectedMonNickAndSpecies
msgbox Text_19DDF9
waitse
@@ -12188,13 +11527,13 @@ EventScript_1BF46E:: @ 81BF46E
setvar VAR_0x8004, 0
specialvar VAR_RESULT, GetNumLevelsGainedForRoute5DaycareMon
compare_var_to_value VAR_RESULT, 0
- call_if 5, EventScript_1BF4AA
+ call_if ne, EventScript_1BF4AA
compare_var_to_value VAR_RESULT, 0
- call_if 1, EventScript_1BF4B3
+ call_if eq, EventScript_1BF4B3
special GetCostToWithdrawRoute5DaycareMon
msgbox Text_19DE80, 5
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BF4BC
+ goto_if eq, EventScript_1BF4BC
goto EventScript_1BF444
end
@@ -12209,10 +11548,10 @@ EventScript_1BF4B3:: @ 81BF4B3
EventScript_1BF4BC:: @ 81BF4BC
specialvar VAR_RESULT, CalculatePlayerPartyCount
compare_var_to_value VAR_RESULT, 6
- goto_if 1, EventScript_1BF533
+ goto_if eq, EventScript_1BF533
specialvar VAR_RESULT, IsEnoughForCostInVar0x8005
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BF4EA
+ goto_if eq, EventScript_1BF4EA
msgbox Text_19E001
goto EventScript_1BF541
end
@@ -12415,7 +11754,7 @@ EventScript_SafariRetire:: @ 81BFBAA
lockall
msgbox Text_1BFBE9, 5
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1BFBC0
+ goto_if eq, EventScript_1BFBC0
releaseall
end
@@ -14073,20 +13412,20 @@ Text_1C476A:: @ 81C476A
VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE
lock
faceplayer
- checkflag FLAG_0x2C0
- goto_if 1, EventScript_1C480C
+ checkflag FLAG_TUTOR_DOUBLE_EDGE
+ goto_if TRUE, EventScript_1C480C
msgbox Text_1749F9, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4802
+ goto_if eq, EventScript_1C4802
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4802
+ goto_if eq, EventScript_1C4802
msgbox Text_174AE2
- setvar VAR_0x8005, 4
+ setvar VAR_0x8005, MOVETUTOR_DOUBLE_EDGE
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4802
- setflag FLAG_0x2C0
+ goto_if eq, EventScript_1C4802
+ setflag FLAG_TUTOR_DOUBLE_EDGE
goto EventScript_1C480C
end
@@ -14103,20 +13442,20 @@ EventScript_1C480C:: @ 81C480C
EventScript_1C4816:: @ 81C4816
lock
faceplayer
- checkflag FLAG_0x2C1
- goto_if 1, EventScript_1C4874
+ checkflag FLAG_TUTOR_THUNDER_WAVE
+ goto_if TRUE, EventScript_1C4874
msgbox Text_175711, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C486A
+ goto_if eq, EventScript_1C486A
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C486A
+ goto_if eq, EventScript_1C486A
msgbox Text_1757C1
- setvar VAR_0x8005, 11
+ setvar VAR_0x8005, MOVETUTOR_THUNDER_WAVE
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C486A
- setflag FLAG_0x2C1
+ goto_if eq, EventScript_1C486A
+ setflag FLAG_TUTOR_THUNDER_WAVE
goto EventScript_1C4874
end
@@ -14133,20 +13472,20 @@ EventScript_1C4874:: @ 81C4874
RockTunnel_B1F_EventScript_1C487E:: @ 81C487E
lock
faceplayer
- checkflag FLAG_0x2C2
- goto_if 1, EventScript_1C48DC
+ checkflag FLAG_TUTOR_ROCK_SLIDE
+ goto_if TRUE, EventScript_1C48DC
msgbox Text_1799E0, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C48D2
+ goto_if eq, EventScript_1C48D2
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C48D2
+ goto_if eq, EventScript_1C48D2
msgbox Text_179AE1
- setvar VAR_0x8005, 13
+ setvar VAR_0x8005, MOVETUTOR_ROCK_SLIDE
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C48D2
- setflag FLAG_0x2C2
+ goto_if eq, EventScript_1C48D2
+ setflag FLAG_TUTOR_ROCK_SLIDE
goto EventScript_1C48DC
end
@@ -14163,20 +13502,20 @@ EventScript_1C48DC:: @ 81C48DC
MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6
lock
faceplayer
- checkflag FLAG_0x2C3
- goto_if 1, EventScript_1C4944
+ checkflag FLAG_TUTOR_EXPLOSION
+ goto_if TRUE, EventScript_1C4944
msgbox Text_17A642, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C493A
+ goto_if eq, EventScript_1C493A
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C493A
+ goto_if eq, EventScript_1C493A
msgbox Text_17A717
- setvar VAR_0x8005, 12
+ setvar VAR_0x8005, MOVETUTOR_EXPLOSION
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C493A
- setflag FLAG_0x2C3
+ goto_if eq, EventScript_1C493A
+ setflag FLAG_TUTOR_EXPLOSION
goto EventScript_1C4944
end
@@ -14193,20 +13532,20 @@ EventScript_1C4944:: @ 81C4944
Route4_EventScript_1C494E:: @ 81C494E
lock
faceplayer
- checkflag FLAG_0x2C4
- goto_if 1, EventScript_1C49AC
+ checkflag FLAG_TUTOR_META_PUNCH
+ goto_if TRUE, EventScript_1C49AC
msgbox Text_1839D5, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C49A2
+ goto_if eq, EventScript_1C49A2
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C49A2
+ goto_if eq, EventScript_1C49A2
msgbox Text_183ABF
- setvar VAR_0x8005, 0
+ setvar VAR_0x8005, MOVETUTOR_MEGA_PUNCH
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C49A2
- setflag FLAG_0x2C4
+ goto_if eq, EventScript_1C49A2
+ setflag FLAG_TUTOR_META_PUNCH
goto EventScript_1C49AC
end
@@ -14223,20 +13562,20 @@ EventScript_1C49AC:: @ 81C49AC
Route4_EventScript_1C49B6:: @ 81C49B6
lock
faceplayer
- checkflag FLAG_0x2C5
- goto_if 1, EventScript_1C4A14
+ checkflag FLAG_TUTOR_MEGA_KICK
+ goto_if TRUE, EventScript_1C4A14
msgbox Text_183B74, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4A0A
+ goto_if eq, EventScript_1C4A0A
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4A0A
+ goto_if eq, EventScript_1C4A0A
msgbox Text_183C68
- setvar VAR_0x8005, 2
+ setvar VAR_0x8005, MOVETUTOR_MEGA_KICK
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4A0A
- setflag FLAG_0x2C5
+ goto_if eq, EventScript_1C4A0A
+ setflag FLAG_TUTOR_MEGA_KICK
goto EventScript_1C4A14
end
@@ -14253,20 +13592,20 @@ EventScript_1C4A14:: @ 81C4A14
EventScript_1C4A1E:: @ 81C4A1E
lock
faceplayer
- checkflag FLAG_0x2C6
- goto_if 1, EventScript_1C4A7C
+ checkflag FLAG_TUTOR_DREAM_EATER
+ goto_if TRUE, EventScript_1C4A7C
msgbox Text_17E316, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4A72
+ goto_if eq, EventScript_1C4A72
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4A72
+ goto_if eq, EventScript_1C4A72
msgbox Text_17E3F1
- setvar VAR_0x8005, 10
+ setvar VAR_0x8005, MOVETUTOR_DREAM_EATER
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4A72
- setflag FLAG_0x2C6
+ goto_if eq, EventScript_1C4A72
+ setflag FLAG_TUTOR_DREAM_EATER
goto EventScript_1C4A7C
end
@@ -14283,20 +13622,20 @@ EventScript_1C4A7C:: @ 81C4A7C
EventScript_1C4A86:: @ 81C4A86
lock
faceplayer
- checkflag FLAG_0x2C7
- goto_if 1, EventScript_1C4AE4
+ checkflag FLAG_TUTOR_SOFT_BOILED
+ goto_if TRUE, EventScript_1C4AE4
msgbox Text_180388, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4ADA
+ goto_if eq, EventScript_1C4ADA
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4ADA
+ goto_if eq, EventScript_1C4ADA
msgbox Text_180484
- setvar VAR_0x8005, 9
+ setvar VAR_0x8005, MOVETUTOR_SOFT_BOILED
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4ADA
- setflag FLAG_0x2C7
+ goto_if eq, EventScript_1C4ADA
+ setflag FLAG_TUTOR_SOFT_BOILED
goto EventScript_1C4AE4
end
@@ -14313,20 +13652,20 @@ EventScript_1C4AE4:: @ 81C4AE4
FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE
lock
faceplayer
- checkflag FLAG_0x2C8
- goto_if 1, EventScript_1C4B4C
+ checkflag FLAG_TUTOR_SUBSTITUTE
+ goto_if TRUE, EventScript_1C4B4C
msgbox Text_180948, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4B42
+ goto_if eq, EventScript_1C4B42
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4B42
+ goto_if eq, EventScript_1C4B42
msgbox Text_180A57
- setvar VAR_0x8005, 14
+ setvar VAR_0x8005, MOVETUTOR_SUBSTITUTE
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4B42
- setflag FLAG_0x2C8
+ goto_if eq, EventScript_1C4B42
+ setflag FLAG_TUTOR_SUBSTITUTE
goto EventScript_1C4B4C
end
@@ -14343,20 +13682,20 @@ EventScript_1C4B4C:: @ 81C4B4C
SevenIsland_EventScript_1C4B56:: @ 81C4B56
lock
faceplayer
- checkflag FLAG_0x2C9
- goto_if 1, EventScript_1C4BB4
+ checkflag FLAG_TUTOR_SWORDS_DANCE
+ goto_if TRUE, EventScript_1C4BB4
msgbox Text_182F01, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4BAA
+ goto_if eq, EventScript_1C4BAA
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4BAA
+ goto_if eq, EventScript_1C4BAA
msgbox Text_182FD9
- setvar VAR_0x8005, 1
+ setvar VAR_0x8005, MOVETUTOR_SWORDS_DANCE
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4BAA
- setflag FLAG_0x2C9
+ goto_if eq, EventScript_1C4BAA
+ setflag FLAG_TUTOR_SWORDS_DANCE
goto EventScript_1C4BB4
end
@@ -14373,20 +13712,20 @@ EventScript_1C4BB4:: @ 81C4BB4
PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE
lock
faceplayer
- checkflag FLAG_0x2CA
- goto_if 1, EventScript_1C4C1C
+ checkflag FLAG_TUTOR_SEISMIC_TOSS
+ goto_if TRUE, EventScript_1C4C1C
msgbox Text_1909A3, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4C12
+ goto_if eq, EventScript_1C4C12
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4C12
+ goto_if eq, EventScript_1C4C12
msgbox Text_190AD5
- setvar VAR_0x8005, 6
+ setvar VAR_0x8005, MOVETUTOR_SEISMIC_TOSS
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4C12
- setflag FLAG_0x2CA
+ goto_if eq, EventScript_1C4C12
+ setflag FLAG_TUTOR_SEISMIC_TOSS
goto EventScript_1C4C1C
end
@@ -14403,20 +13742,20 @@ EventScript_1C4C1C:: @ 81C4C1C
EventScript_1C4C26:: @ 81C4C26
lock
faceplayer
- checkflag FLAG_0x2CB
- goto_if 1, EventScript_1C4C84
+ checkflag FLAG_TUTOR_COUNTER
+ goto_if TRUE, EventScript_1C4C84
msgbox Text_195928, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4C7A
+ goto_if eq, EventScript_1C4C7A
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4C7A
+ goto_if eq, EventScript_1C4C7A
msgbox Text_195A08
- setvar VAR_0x8005, 5
+ setvar VAR_0x8005, MOVETUTOR_COUNTER
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4C7A
- setflag FLAG_0x2CB
+ goto_if eq, EventScript_1C4C7A
+ setflag FLAG_TUTOR_COUNTER
goto EventScript_1C4C84
end
@@ -14433,20 +13772,20 @@ EventScript_1C4C84:: @ 81C4C84
EventScript_1C4C8E:: @ 81C4C8E
lock
faceplayer
- checkflag FLAG_0x2CC
- goto_if 1, EventScript_1C4CEC
+ checkflag FLAG_TUTOR_METRONOME
+ goto_if TRUE, EventScript_1C4CEC
msgbox Text_19A137, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4CE2
+ goto_if eq, EventScript_1C4CE2
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4CE2
+ goto_if eq, EventScript_1C4CE2
msgbox Text_19A1EA
- setvar VAR_0x8005, 8
+ setvar VAR_0x8005, MOVETUTOR_METRONOME
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4CE2
- setflag FLAG_0x2CC
+ goto_if eq, EventScript_1C4CE2
+ setflag FLAG_TUTOR_METRONOME
goto EventScript_1C4CEC
end
@@ -14461,23 +13800,23 @@ EventScript_1C4CEC:: @ 81C4CEC
end
EventScript_1C4CF6:: @ 81C4CF6
- checkflag FLAG_0x2CD
- goto_if 1, EventScript_1C4D59
+ checkflag FLAG_TUTOR_MIMIC
+ goto_if TRUE, EventScript_1C4D59
msgbox Text_19AD85, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4D4F
+ goto_if eq, EventScript_1C4D4F
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4D4F
+ goto_if eq, EventScript_1C4D4F
msgbox Text_19ADEE
- setvar VAR_0x8005, 7
+ setvar VAR_0x8005, MOVETUTOR_MIMIC
call EventScript_1C4F30
lock
faceplayer
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4D4F
+ goto_if eq, EventScript_1C4D4F
removeitem ITEM_POKE_DOLL, 1
- setflag FLAG_0x2CD
+ setflag FLAG_TUTOR_MIMIC
goto EventScript_1C4D59
end
@@ -14489,9 +13828,9 @@ EventScript_1C4D4F:: @ 81C4D4F
EventScript_1C4D59:: @ 81C4D59
checkplayergender
compare_var_to_value VAR_RESULT, 0
- call_if 1, EventScript_1C4D72
+ call_if eq, EventScript_1C4D72
compare_var_to_value VAR_RESULT, 1
- call_if 1, EventScript_1C4D7B
+ call_if eq, EventScript_1C4D7B
release
end
@@ -14506,20 +13845,20 @@ EventScript_1C4D7B:: @ 81C4D7B
FourIsland_House1_EventScript_1C4D84:: @ 81C4D84
lock
faceplayer
- checkflag FLAG_0x2CE
- goto_if 1, EventScript_1C4DE2
+ checkflag FLAG_TUTOR_BODY_SLAM
+ goto_if TRUE, EventScript_1C4DE2
msgbox Text_1A3505, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4DD8
+ goto_if eq, EventScript_1C4DD8
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4DD8
+ goto_if eq, EventScript_1C4DD8
msgbox Text_1A35DA
- setvar VAR_0x8005, 3
+ setvar VAR_0x8005, MOVETUTOR_BODY_SLAM
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4DD8
- setflag FLAG_0x2CE
+ goto_if eq, EventScript_1C4DD8
+ setflag FLAG_TUTOR_BODY_SLAM
goto EventScript_1C4DE2
end
@@ -14536,34 +13875,34 @@ EventScript_1C4DE2:: @ 81C4DE2
TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if eq, EventScript_1A7AE0
special sub_8112364
lock
faceplayer
- checkflag FLAG_0x2E1
- goto_if 1, EventScript_1C4EA1
- checkflag FLAG_0x002
- goto_if 1, EventScript_1C4E97
+ checkflag FLAG_LEARNED_MOVE_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, sub_80CCB94
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4F26
+ goto_if eq, EventScript_1C4F26
copyvar VAR_0x8009, VAR_0x8005
compare_var_to_value VAR_FACING, 2
- call_if 1, EventScript_1C4EF0
+ call_if eq, EventScript_1C4EF0
compare_var_to_value VAR_FACING, 1
- call_if 1, EventScript_1C4EFB
+ call_if eq, EventScript_1C4EFB
compare_var_to_value VAR_FACING, 4
- call_if 1, EventScript_1C4F06
+ call_if eq, EventScript_1C4F06
compare_var_to_value VAR_FACING, 3
- call_if 1, EventScript_1C4F11
+ call_if eq, EventScript_1C4F11
msgbox Text_1A4751, 5
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4F1C
+ goto_if eq, EventScript_1C4F1C
call EventScript_1C4F37
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4F1C
+ goto_if eq, EventScript_1C4F1C
msgbox Text_1A4814
closemessage
fadescreen 1
@@ -14588,22 +13927,22 @@ EventScript_1C4EAB:: @ 81C4EAB
copyvar VAR_0x8005, VAR_0x8009
specialvar VAR_RESULT, sub_80CCCF8
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1C4ECD
+ goto_if eq, EventScript_1C4ECD
msgbox Text_1A4865
- setflag FLAG_0x002
+ setflag FLAG_TEMP_2
release
end
EventScript_1C4ECD:: @ 81C4ECD
msgbox Text_1A48F3
- setflag FLAG_0x2E1
+ setflag FLAG_LEARNED_MOVE_AT_CAPE_BRINK
release
end
EventScript_1C4EDA:: @ 81C4EDA
call EventScript_1C4F30
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C4F1C
+ goto_if eq, EventScript_1C4F1C
goto EventScript_1C4EAB
end
@@ -14694,38 +14033,35 @@ SevenIsland_TrainerTower_7F_MapScript2_1C4F62:: @ 81C4F62
SevenIsland_TrainerTower_8F_MapScript2_1C4F62:: @ 81C4F62
setvar VAR_0x8004, 0
special sub_815D9E8
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C4FA7
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C4FC5
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C5019
- setflag FLAG_0x002
- setflag FLAG_0x003
- setflag FLAG_0x004
- setflag FLAG_0x005
+ 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_0x002
- setflag FLAG_0x004
- setflag FLAG_0x005
+ 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_0x003
- setflag FLAG_0x004
+ setflag FLAG_TEMP_3
+ setflag FLAG_TEMP_4
setvar VAR_0x400E, 1
setvar VAR_0x8004, 5
special sub_815D9E8
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1C4FFE
+ goto_if eq, EventScript_1C4FFE
setobjectxyperm 2, 10, 12
setobjectmovementtype 2, 9
setobjectxyperm 5, 10, 13
@@ -14740,7 +14076,7 @@ EventScript_1C4FFE:: @ 81C4FFE
goto EventScript_1C5042
EventScript_1C5019:: @ 81C5019
- setflag FLAG_0x005
+ setflag FLAG_TEMP_5
setvar VAR_0x400F, 1
setobjectxyperm 2, 10, 10
setobjectmovementtype 2, 8
@@ -14749,7 +14085,7 @@ EventScript_1C5019:: @ 81C5019
setobjectxyperm 4, 10, 16
setobjectmovementtype 4, 7
EventScript_1C5042:
- setflag FLAG_0x006
+ setflag FLAG_TEMP_6
end
SevenIsland_TrainerTower_1F_MapScript3_1C5046:: @ 81C5046
@@ -14770,14 +14106,14 @@ EventScript_1C5050:: @ 81C5050
setvar VAR_0x8004, 5
special sub_815D9E8
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_1C5072
+ goto_if eq, EventScript_1C5072
setvar VAR_0x400E, 1
setvar VAR_0x400F, 1
EventScript_1C5072:
setvar VAR_0x8004, 18
special sub_815D9E8
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_1C5086
+ goto_if eq, EventScript_1C5086
end
EventScript_1C5086:: @ 81C5086
@@ -14787,13 +14123,10 @@ EventScript_1C508F::
setvar VAR_0x8004, 3
setvar VAR_0x8005, 0
special sub_815D9E8
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C50C2
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C510D
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C515C
+ switch VAR_RESULT
+ case 0, EventScript_1C50C2
+ case 1, EventScript_1C510D
+ case 2, EventScript_1C515C
EventScript_1C50C2:
setvar VAR_0x8004, 19
special sub_815D9E8
@@ -14822,7 +14155,7 @@ EventScript_1C510D:: @ 81C510D
setvar VAR_0x8005, 2
addvar VAR_0x4003, 1
compare_var_to_value VAR_0x4003, 1
- goto_if 1, EventScript_1C5146
+ goto_if eq, EventScript_1C5146
setvar VAR_0x4003, 0
EventScript_1C5146:
copyvar VAR_0x8006, VAR_0x4003
@@ -14832,13 +14165,10 @@ EventScript_1C5146:
goto EventScript_1C5219
EventScript_1C515C:: @ 81C515C
- copyvar VAR_0x8000, VAR_0x4001
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C5182
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C51AD
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C51D8
+ switch VAR_0x4001
+ case 0, EventScript_1C5182
+ case 1, EventScript_1C51AD
+ case 2, EventScript_1C51D8
EventScript_1C5182:
setvar VAR_0x8004, 19
special sub_815D9E8
@@ -14882,32 +14212,23 @@ EventScript_1C5219:
setvar VAR_0x8005, 0
special sub_815D9E8
waitstate
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C524D
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C52E0
- compare_var_to_value VAR_0x8000, 3
- goto_if 1, EventScript_1C52E0
+ 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
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C52D7
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C52BA
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C5280
+ switch VAR_RESULT
+ case 0, EventScript_1C52D7
+ case 1, EventScript_1C52BA
+ case 2, EventScript_1C5280
EventScript_1C5280:
- copyvar VAR_0x8000, VAR_0x4001
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C52A6
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C52B0
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C52D0
+ switch VAR_0x4001
+ case 0, EventScript_1C52A6
+ case 1, EventScript_1C52B0
+ case 2, EventScript_1C52D0
EventScript_1C52A6:
addvar VAR_0x4001, 1
goto EventScript_1C515C
@@ -14940,13 +14261,10 @@ EventScript_1C52F4:: @ 81C52F4
setvar VAR_0x8004, 3
setvar VAR_0x8005, 0
special sub_815D9E8
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C5327
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C5327
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C5331
+ switch VAR_RESULT
+ case 0, EventScript_1C5327
+ case 1, EventScript_1C5327
+ case 2, EventScript_1C5331
EventScript_1C5327:
setvar VAR_0x8006, 0
goto EventScript_1C5391
@@ -14959,13 +14277,10 @@ EventScript_1C533B:: @ 81C533B
setvar VAR_0x8004, 3
setvar VAR_0x8005, 0
special sub_815D9E8
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C536E
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C536E
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C5378
+ switch VAR_RESULT
+ case 0, EventScript_1C536E
+ case 1, EventScript_1C536E
+ case 2, EventScript_1C5378
EventScript_1C536E:
setvar VAR_0x8006, 0
goto EventScript_1C5391
@@ -14995,25 +14310,19 @@ EventScript_1C53AA:: @ 81C53AA
faceplayer
setvar VAR_0x8004, 7
special sub_815D9E8
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C53DA
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C53E2
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C5492
+ 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
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C5410
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C543A
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C544F
+ switch VAR_RESULT
+ case 0, EventScript_1C5410
+ case 1, EventScript_1C543A
+ case 2, EventScript_1C544F
EventScript_1C5410:
msgbox Text_17CB09
textcolor 3
@@ -15034,13 +14343,10 @@ EventScript_1C543A:: @ 81C543A
EventScript_1C544F:: @ 81C544F
setvar VAR_0x8004, 9
special sub_815D9E8
- copyvar VAR_0x8000, VAR_RESULT
- compare_var_to_value VAR_0x8000, 0
- goto_if 1, EventScript_1C547D
- compare_var_to_value VAR_0x8000, 1
- goto_if 1, EventScript_1C548A
- compare_var_to_value VAR_0x8000, 2
- goto_if 1, EventScript_1C5492
+ switch VAR_RESULT
+ case 0, EventScript_1C547D
+ case 1, EventScript_1C548A
+ case 2, EventScript_1C5492
EventScript_1C547D:
msgbox Text_17CB1A
goto EventScript_1C5492
@@ -15082,7 +14388,7 @@ SevenIsland_TrainerTower_1F_EventScript_1C54B4:: @ 81C54B4
setvar VAR_0x8004, 16
special sub_815D9E8
compare_var_to_value VAR_RESULT, 0
- goto_if 5, EventScript_1C5528
+ goto_if ne, EventScript_1C5528
setvar VAR_0x8004, 19
special sub_815D9E8
applymovement 2, Movement_1A75DB
@@ -15102,7 +14408,7 @@ SevenIsland_TrainerTower_1F_EventScript_1C54EA:: @ 81C54EA
setvar VAR_0x8004, 16
special sub_815D9E8
compare_var_to_value VAR_RESULT, 0
- goto_if 5, EventScript_1C5528
+ goto_if ne, EventScript_1C5528
setvar VAR_0x8004, 19
special sub_815D9E8
applymovement 5, Movement_1A75DB