summaryrefslogtreecommitdiff
path: root/data/maps/PowerPlant/scripts.inc
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/PowerPlant/scripts.inc
parent2aeefdc5de73c630a79b183e7bc2a66ad48ed424 (diff)
script switch/case; name script conditionals
Diffstat (limited to 'data/maps/PowerPlant/scripts.inc')
-rw-r--r--data/maps/PowerPlant/scripts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/PowerPlant/scripts.inc b/data/maps/PowerPlant/scripts.inc
index c749b4227..d4222d23a 100644
--- a/data/maps/PowerPlant/scripts.inc
+++ b/data/maps/PowerPlant/scripts.inc
@@ -5,24 +5,24 @@ PowerPlant_MapScripts:: @ 8163764
PowerPlant_MapScript1_16376F:: @ 816376F
checkflag FLAG_0x807
- call_if 1, EventScript_163779
+ call_if eq, EventScript_163779
end
EventScript_163779:: @ 8163779
specialvar VAR_RESULT, sub_80CA74C
compare_var_to_value VAR_RESULT, 7
- goto_if 5, EventScript_1A77A9
+ goto_if ne, EventScript_1A77A9
removeobject VAR_LAST_TALKED
return
PowerPlant_MapScript2_16378D:: @ 816378D
setworldmapflag FLAG_WORLD_MAP_POWER_PLANT
checkflag FLAG_0x2BF
- call_if 0, EventScript_1637AC
+ call_if lt, EventScript_1637AC
checkflag FLAG_0x2D0
- call_if 0, EventScript_1637B0
+ call_if lt, EventScript_1637B0
checkflag FLAG_0x2D1
- call_if 0, EventScript_1637B4
+ call_if lt, EventScript_1637B4
end
EventScript_1637AC:: @ 81637AC