summaryrefslogtreecommitdiff
path: root/maps/GoldenrodDeptStore5F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/GoldenrodDeptStore5F.asm')
-rw-r--r--maps/GoldenrodDeptStore5F.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/maps/GoldenrodDeptStore5F.asm b/maps/GoldenrodDeptStore5F.asm
index 4734656b3..c0d20b280 100644
--- a/maps/GoldenrodDeptStore5F.asm
+++ b/maps/GoldenrodDeptStore5F.asm
@@ -13,7 +13,7 @@ GoldenrodDeptStore5F_MapScripts:
callback MAPCALLBACK_OBJECTS, .CheckIfSunday
.CheckIfSunday:
- checkcode VAR_WEEKDAY
+ readvar VAR_WEEKDAY
ifequal SUNDAY, .yes
disappear GOLDENRODDEPTSTORE5F_RECEPTIONIST
return
@@ -59,7 +59,7 @@ GoldenrodDeptStore5FClerkScript:
GoldenrodDeptStore5FReceptionistScript:
faceplayer
opentext
- checkcode VAR_WEEKDAY
+ readvar VAR_WEEKDAY
ifnotequal SUNDAY, .EventIsOver
checkflag ENGINE_GOLDENROD_DEPT_STORE_TM27_RETURN
iftrue .EventIsOver