diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-03-10 15:31:59 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-03-10 16:00:19 -0400 |
| commit | e002b536af8423f420e13e93d6c0e59f94ee5044 (patch) | |
| tree | b5bd658c777fca9e7d464d776a7f438deed61386 /maps/Route37.asm | |
| parent | 6393ecb7e5d1f105db65cb831964b925db2bb2e8 (diff) | |
Rename more script commands for consistency and predictability
Fixes #540
Diffstat (limited to 'maps/Route37.asm')
| -rw-r--r-- | maps/Route37.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maps/Route37.asm b/maps/Route37.asm index 98cf05d20..326e0a870 100644 --- a/maps/Route37.asm +++ b/maps/Route37.asm @@ -14,7 +14,7 @@ Route37_MapScripts: callback MAPCALLBACK_OBJECTS, .Sunny .Sunny: - checkcode VAR_WEEKDAY + readvar VAR_WEEKDAY ifequal SUNDAY, .SunnyAppears disappear ROUTE37_SUNNY return @@ -61,7 +61,7 @@ SunnyScript: opentext checkevent EVENT_GOT_MAGNET_FROM_SUNNY iftrue SunnySundayScript - checkcode VAR_WEEKDAY + readvar VAR_WEEKDAY ifnotequal SUNDAY, SunnyNotSundayScript checkevent EVENT_MET_SUNNY_OF_SUNDAY iftrue .MetSunny |
