summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-15 23:59:24 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-15 23:59:24 -0500
commitcbde91d7edb4be3c8773d71ef814fb599ee7e7f3 (patch)
treee7c55b2ce844b623661265ee19cff53c7a2f4bfa /engine
parent5aac8afae7a3514b76f684237f3de59e6a27977e (diff)
Only engine/decorations.asm uses PadCoords_de
Diffstat (limited to 'engine')
-rwxr-xr-xengine/decorations.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/decorations.asm b/engine/decorations.asm
index b69f4f3c3..160022b93 100755
--- a/engine/decorations.asm
+++ b/engine/decorations.asm
@@ -1374,3 +1374,13 @@ _GetDecorationSprite: ; 27085
ld a, c
ret
; 27092
+
+PadCoords_de: ; 27092
+ ld a, d
+ add 4
+ ld d, a
+ ld a, e
+ add 4
+ ld e, a
+ call GetBlockLocation
+ ret