diff options
Diffstat (limited to 'engine/overworld')
-rw-r--r-- | engine/overworld/scripting.asm | 2 | ||||
-rw-r--r-- | engine/overworld/time.asm | 4 | ||||
-rw-r--r-- | engine/overworld/variables.asm | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm index 9291192d7..c933c610c 100644 --- a/engine/overworld/scripting.asm +++ b/engine/overworld/scripting.asm @@ -2450,7 +2450,7 @@ Script_warpfacing: set PLAYERSPRITESETUP_CUSTOM_FACING_F, a or c ld [wPlayerSpriteSetupFlags], a -; fall through +; fallthrough Script_warp: ; script command 0x3c diff --git a/engine/overworld/time.asm b/engine/overworld/time.asm index afc7d3b2d..da6d6745a 100644 --- a/engine/overworld/time.asm +++ b/engine/overworld/time.asm @@ -244,7 +244,7 @@ _CheckLuckyNumberShowFlag: DoMysteryGiftIfDayHasPassed: ld a, BANK(sMysteryGiftTimer) - call GetSRAMBank + call OpenSRAM ld hl, sMysteryGiftTimer ld a, [hli] ld [wBuffer1], a @@ -262,7 +262,7 @@ DoMysteryGiftIfDayHasPassed: .not_timed_out ld a, BANK(sMysteryGiftTimer) - call GetSRAMBank + call OpenSRAM ld hl, wBuffer1 ld a, [hli] ld [sMysteryGiftTimer], a diff --git a/engine/overworld/variables.asm b/engine/overworld/variables.asm index c98b9cc56..329a2f9f2 100644 --- a/engine/overworld/variables.asm +++ b/engine/overworld/variables.asm @@ -126,7 +126,7 @@ _GetVarAction:: .BoxFreeSpace: ; Remaining slots in the current box. ld a, BANK(sBoxCount) - call GetSRAMBank + call OpenSRAM ld hl, sBoxCount ld a, MONS_PER_BOX sub [hl] |