summaryrefslogtreecommitdiff
path: root/data/maps/TwoIsland_House
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-10-20 20:38:23 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-10-20 20:38:23 -0400
commit6b503e306d73c749794cf7b61126287e3941f12f (patch)
tree9b171c8dec365e1805216aba593091039a248036 /data/maps/TwoIsland_House
parent2aeefdc5de73c630a79b183e7bc2a66ad48ed424 (diff)
script switch/case; name script conditionals
Diffstat (limited to 'data/maps/TwoIsland_House')
-rw-r--r--data/maps/TwoIsland_House/scripts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/TwoIsland_House/scripts.inc b/data/maps/TwoIsland_House/scripts.inc
index 87c9a8583..2ad326b08 100644
--- a/data/maps/TwoIsland_House/scripts.inc
+++ b/data/maps/TwoIsland_House/scripts.inc
@@ -21,10 +21,10 @@ TwoIsland_House_EventScript_171619:: @ 8171619
EventScript_17164F:: @ 817164F
checkitem ITEM_BIG_MUSHROOM, 1
compare_var_to_value VAR_RESULT, 1
- call_if 1, EventScript_1717A8
+ call_if eq, EventScript_1717A8
checkitem ITEM_TINY_MUSHROOM, 2
compare_var_to_value VAR_RESULT, 1
- call_if 1, EventScript_1717AC
+ call_if eq, EventScript_1717AC
checkflag FLAG_TEMP_2
goto_if_eq EventScript_171687
checkflag FLAG_TEMP_3
@@ -34,13 +34,13 @@ EventScript_17164F:: @ 817164F
EventScript_171687:: @ 8171687
checkflag FLAG_TEMP_3
- call_if 1, EventScript_1717B0
+ call_if eq, EventScript_1717B0
goto EventScript_1716A5
end
EventScript_171696:: @ 8171696
checkflag FLAG_TEMP_2
- call_if 1, EventScript_1717B0
+ call_if eq, EventScript_1717B0
goto EventScript_1716A5
end
@@ -56,7 +56,7 @@ EventScript_1716BE:: @ 81716BE
special sub_80BF93C
waitstate
compare_var_to_value VAR_0x8004, 6
- goto_if 4, EventScript_17179E
+ goto_if ge, EventScript_17179E
special sub_80BFC14
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_171790