summaryrefslogtreecommitdiff
path: root/engine/overworld/ledges.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2016-06-11 16:16:56 -0500
committerdannye <corrnondacqb@yahoo.com>2016-06-11 16:16:56 -0500
commitc979b3bb03b121dd03a800df74144cd69a74601a (patch)
tree0d6bb48125efe6f6215347967383ba4c3b7da391 /engine/overworld/ledges.asm
parent269f2c3ba72776e975f5b00d9a1361cadbda42a7 (diff)
parent6e8c3883e430b567f7aa8f9230e366e03610bd5a (diff)
Merge branch 'master' of https://github.com/pret/pokeyellow
Diffstat (limited to 'engine/overworld/ledges.asm')
-rwxr-xr-xengine/overworld/ledges.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/ledges.asm b/engine/overworld/ledges.asm
index a6ebd9be..5d95cb18 100755
--- a/engine/overworld/ledges.asm
+++ b/engine/overworld/ledges.asm
@@ -6,7 +6,7 @@ HandleLedges: ; 1a7f4 (6:67f4)
and a ; OVERWORLD
ret nz
predef GetTileAndCoordsInFrontOfPlayer
- ld a, [wSpriteStateData1 + 9]
+ ld a, [wPlayerFacingDirection]
ld b, a
aCoord 8, 9
ld c, a