summaryrefslogtreecommitdiff
path: root/data/maps/PowerPlant/scripts.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-05-14 17:35:04 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-05-14 17:35:04 -0400
commit9a464931d207da83d3fb582e35821ba50ced6afc (patch)
treeb68876fba8f847b3f81b4bd65f40fcd55997f85e /data/maps/PowerPlant/scripts.inc
parent15c153273b5e643bf049a941c0ec0ceb5a9b54d6 (diff)
Replace some hardcoded flags/vars
Diffstat (limited to 'data/maps/PowerPlant/scripts.inc')
-rw-r--r--data/maps/PowerPlant/scripts.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/maps/PowerPlant/scripts.inc b/data/maps/PowerPlant/scripts.inc
index 988c84fa0..5567d8ec8 100644
--- a/data/maps/PowerPlant/scripts.inc
+++ b/data/maps/PowerPlant/scripts.inc
@@ -4,7 +4,7 @@ PowerPlant_MapScripts:: @ 8163764
.byte 0
PowerPlant_MapScript1_16376F:: @ 816376F
- checkflag 2055
+ checkflag FLAG_0x807
call_if 1, EventScript_163779
end
@@ -53,10 +53,10 @@ PowerPlant_EventScript_1637B8:: @ 81637B8
delay 10
playbgm BGM_FRLG_LEADER_EYE, 0
waitbuttonpress
- setflag 2055
+ setflag FLAG_0x807
special sub_807F9D8
waitstate
- clearflag 2055
+ clearflag FLAG_0x807
specialvar VAR_RESULT, sub_80CA74C
compare_var_to_value VAR_RESULT, 1
goto_if 1, EventScript_16381B
@@ -89,9 +89,9 @@ PowerPlant_EventScript_16382F:: @ 816382F
playmoncry SPECIES_ELECTRODE, 2
delay 40
waitmoncry
- setflag 2055
+ setflag FLAG_0x807
dowildbattle
- clearflag 2055
+ clearflag FLAG_0x807
special sub_8112364
specialvar VAR_RESULT, sub_80CA74C
compare_var_to_value VAR_RESULT, 1
@@ -120,9 +120,9 @@ PowerPlant_EventScript_16388D:: @ 816388D
playmoncry SPECIES_ELECTRODE, 2
delay 40
waitmoncry
- setflag 2055
+ setflag FLAG_0x807
dowildbattle
- clearflag 2055
+ clearflag FLAG_0x807
special sub_8112364
specialvar VAR_RESULT, sub_80CA74C
compare_var_to_value VAR_RESULT, 1