summaryrefslogtreecommitdiff
path: root/engine/overworld/player_step.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld/player_step.asm')
-rwxr-xr-xengine/overworld/player_step.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/overworld/player_step.asm b/engine/overworld/player_step.asm
index 70947346..36698ed8 100755
--- a/engine/overworld/player_step.asm
+++ b/engine/overworld/player_step.asm
@@ -39,12 +39,12 @@ ScrollScreen::
ld d, a
ld a, [wPlayerStepVectorY]
ld e, a
- ld a, [hSCX]
+ ldh a, [hSCX]
add d
- ld [hSCX], a
- ld a, [hSCY]
+ ldh [hSCX], a
+ ldh a, [hSCY]
add e
- ld [hSCY], a
+ ldh [hSCY], a
ret
Functiond4f2: ; d4f2 (3:54f2)