aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/movement.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm
index 165208eb..e4ff3e05 100644
--- a/engine/overworld/movement.asm
+++ b/engine/overworld/movement.asm
@@ -1,6 +1,9 @@
DEF MAP_TILESET_SIZE EQU $60
UpdatePlayerSprite:
+ ld a, [wSlopNoclip] ; SL0P camera: hide the player sprite while noclipping
+ and a
+ jr nz, .disableSprite
ld a, [wSpritePlayerStateData2WalkAnimationCounter]
and a
jr z, .checkIfTextBoxInFrontOfSprite