summaryrefslogtreecommitdiff
path: root/data/maps/SixIsland_WaterPath_House1/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/SixIsland_WaterPath_House1/scripts.inc')
-rw-r--r--data/maps/SixIsland_WaterPath_House1/scripts.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/data/maps/SixIsland_WaterPath_House1/scripts.inc b/data/maps/SixIsland_WaterPath_House1/scripts.inc
index d38e40aac..1561e5c36 100644
--- a/data/maps/SixIsland_WaterPath_House1/scripts.inc
+++ b/data/maps/SixIsland_WaterPath_House1/scripts.inc
@@ -5,28 +5,28 @@ SixIsland_WaterPath_House1_EventScript_17206D:: @ 817206D
lock
faceplayer
special sub_8110AB4
- compare_var_to_value VAR_RESULT, 2
+ compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
special sub_8112364
setvar VAR_0x8004, SPECIES_HERACROSS
specialvar VAR_RESULT, Special_PlayerPartyContainsSpecies
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_1720E5
special GetHeracrossSizeRecordInfo
msgbox gUnknown_81A4A3F
special Special_ChooseMonFromParty
waitstate
copyvar VAR_RESULT, VAR_0x8004
- compare_var_to_value VAR_RESULT, 6
+ compare VAR_RESULT, 6
goto_if ge, EventScript_1720EF
special CompareHeracrossSize
- compare_var_to_value VAR_RESULT, 1
+ compare VAR_RESULT, 1
goto_if eq, EventScript_1720F1
- compare_var_to_value VAR_RESULT, 2
+ compare VAR_RESULT, 2
goto_if eq, EventScript_1720FB
- compare_var_to_value VAR_RESULT, 3
+ compare VAR_RESULT, 3
goto_if eq, EventScript_172121
- compare_var_to_value VAR_RESULT, 4
+ compare VAR_RESULT, 4
goto_if eq, EventScript_17210E
release
end
@@ -63,7 +63,7 @@ EventScript_172121:: @ 8172121
setflag FLAG_GOT_NEST_BALL_FROM_WATER_PATH_HOUSE_1
msgbox gUnknown_81A4A88
giveitem ITEM_NEST_BALL
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_17214D
msgbox gUnknown_81A4AD9
release