diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-12-02 14:38:49 -0800 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2017-12-02 14:38:49 -0800 |
commit | 79e3d29c29335d7e1fb8478b16d100b1844f2da4 (patch) | |
tree | 8bc428f307b41dfe69284b54bb072a98761b98c3 /data/scripts/maps/DesertRuins.inc | |
parent | 765526b99f50bf6b8c41c69bd6b1dc82471cda2d (diff) |
Use constants for all SYS flags
Diffstat (limited to 'data/scripts/maps/DesertRuins.inc')
-rw-r--r-- | data/scripts/maps/DesertRuins.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/data/scripts/maps/DesertRuins.inc b/data/scripts/maps/DesertRuins.inc index 9f6f7b388..3ca08a6de 100644 --- a/data/scripts/maps/DesertRuins.inc +++ b/data/scripts/maps/DesertRuins.inc @@ -5,7 +5,7 @@ DesertRuins_MapScripts:: @ 815CAF3 .byte 0 DesertRuins_MapScript1_15CB03:: @ 815CB03 - checkflag 2145 + checkflag SYS_CTRL_OBJ_DELETE call_if 1, DesertRuins_EventScript_15CB0D end @@ -14,7 +14,7 @@ DesertRuins_EventScript_15CB0D:: @ 815CB0D return DesertRuins_MapScript1_15CB11:: @ 815CB11 - checkflag 2128 + checkflag SYS_BRAILLE_STRENGTH call_if 0, DesertRuins_EventScript_15CB1B end @@ -33,7 +33,7 @@ DesertRuins_MapScript1_15CB52:: @ 815CB52 DesertRuins_EventScript_15CB56:: @ 815CB56 lockall - checkflag 2128 + checkflag SYS_BRAILLE_STRENGTH goto_if_eq DesertRuins_EventScript_15CB6D braillemessage DesertRuins_Braille_1C54C8 waitbutton @@ -63,9 +63,9 @@ DesertRuins_EventScript_15CB85:: @ 815CB85 waitpokecry setwildbattle SPECIES_REGIROCK, 40, ITEM_NONE setflag 935 - setflag 2145 + setflag SYS_CTRL_OBJ_DELETE special ScrSpecial_StartRegiBattle waitstate - clearflag 2145 + clearflag SYS_CTRL_OBJ_DELETE release end |