From cbde91d7edb4be3c8773d71ef814fb599ee7e7f3 Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Fri, 15 Dec 2017 23:59:24 -0500 Subject: Only engine/decorations.asm uses PadCoords_de --- engine/decorations.asm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engine') 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 -- cgit v1.2.3