summaryrefslogtreecommitdiff
path: root/maps/RuinsOfAlphResearchCenter.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/RuinsOfAlphResearchCenter.asm')
-rw-r--r--maps/RuinsOfAlphResearchCenter.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/maps/RuinsOfAlphResearchCenter.asm b/maps/RuinsOfAlphResearchCenter.asm
index d455ebf64..4c9ee01c4 100644
--- a/maps/RuinsOfAlphResearchCenter.asm
+++ b/maps/RuinsOfAlphResearchCenter.asm
@@ -60,7 +60,7 @@ RuinsOfAlphResearchCenter_MapScripts:
RuinsOfAlphResearchCenterScientist3Script:
faceplayer
opentext
- checkcode VAR_UNOWNCOUNT
+ readvar VAR_UNOWNCOUNT
ifequal NUM_UNOWN, .PrinterAvailable
writetext RuinsOfAlphResearchCenterScientist3Text
waitbutton
@@ -76,7 +76,7 @@ RuinsOfAlphResearchCenterScientist3Script:
RuinsOfAlphResearchCenterScientist1Script:
faceplayer
opentext
- checkcode VAR_UNOWNCOUNT
+ readvar VAR_UNOWNCOUNT
ifequal NUM_UNOWN, .GotAllUnown
checkflag ENGINE_UNOWN_DEX
iftrue .GotUnownDex
@@ -109,7 +109,7 @@ RuinsOfAlphResearchCenterScientist1Script:
RuinsOfAlphResearchCenterScientist2Script:
faceplayer
opentext
- checkcode VAR_UNOWNCOUNT
+ readvar VAR_UNOWNCOUNT
ifequal NUM_UNOWN, .GotAllUnown
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
iftrue .UnownAppeared
@@ -134,7 +134,7 @@ RuinsOfAlphResearchCenterComputer:
opentext
checkevent EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
iftrue .SkipChecking
- checkcode VAR_UNOWNCOUNT
+ readvar VAR_UNOWNCOUNT
ifequal NUM_UNOWN, .GotAllUnown
.SkipChecking:
writetext RuinsOfAlphResearchCenterComputerText
@@ -152,7 +152,7 @@ RuinsOfAlphResearchCenterPrinter:
opentext
checkevent EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
iftrue .SkipChecking
- checkcode VAR_UNOWNCOUNT
+ readvar VAR_UNOWNCOUNT
ifequal NUM_UNOWN, .PrinterAvailable
.SkipChecking:
writetext RuinsOfAlphResearchCenterPrinterText_DoesntWork