summaryrefslogtreecommitdiff
path: root/data/maps/Route2_EastBuilding/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route2_EastBuilding/scripts.inc')
-rw-r--r--data/maps/Route2_EastBuilding/scripts.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/Route2_EastBuilding/scripts.inc b/data/maps/Route2_EastBuilding/scripts.inc
index de3889bf4..002c928ab 100644
--- a/data/maps/Route2_EastBuilding/scripts.inc
+++ b/data/maps/Route2_EastBuilding/scripts.inc
@@ -8,17 +8,17 @@ Route2_EastBuilding_EventScript_16F67F:: @ 816F67F
checkflag FLAG_GOT_HM05
goto_if TRUE, EventScript_16F701
msgbox gUnknown_819D64F, MSGBOX_YESNO
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_1A7AD1
setvar VAR_0x8004, 0
specialvar VAR_RESULT, Special_GetPokedexCount
getnumberstring 2, VAR_0x8006
call EventScript_16F70B
- compare_var_to_value VAR_0x8006, 10
+ compare VAR_0x8006, 10
goto_if lt, EventScript_1A7ABD
msgbox gUnknown_819D74E
checkitemspace ITEM_HM05, 1
- compare_var_to_value VAR_RESULT, 0
+ compare VAR_RESULT, 0
goto_if eq, EventScript_1A7AC7
additem ITEM_HM05, 1
giveitemfanfaremsg gUnknown_819D7A1, ITEM_HM05