Add constants for checkcodes.

From PikalaxALT.
This commit is contained in:
IIMarckus
2015-07-09 20:08:03 -06:00
parent e79f04e32d
commit 6f3b2d6de8
79 changed files with 265 additions and 237 deletions

View File

@@ -10,7 +10,7 @@ Route37_MapScriptHeader: ; 0x1a8d72
dbw 2, SunnyCallback
SunnyCallback:
checkcode $b
checkcode VAR_WEEKDAY
if_equal SUNDAY, .SunnyAppears
disappear $6
return
@@ -111,7 +111,7 @@ SunnyScript:
loadfont
checkevent EVENT_GOT_MAGNET_FROM_SUNNY
iftrue SunnySundayScript
checkcode $b
checkcode VAR_WEEKDAY
if_not_equal SUNDAY, SunnyNotSundayScript
checkevent EVENT_MET_SUNNY_OF_SUNDAY
iftrue .MetSunny