Only engine/decorations.asm uses PadCoords_de

This commit is contained in:
Remy Oukaour 2017-12-15 23:59:24 -05:00
parent 5aac8afae7
commit cbde91d7ed
2 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -238,16 +238,6 @@ INCLUDE "engine/trainer_card.asm"
INCLUDE "engine/prof_oaks_pc.asm"
INCLUDE "engine/decorations.asm"
PadCoords_de: ; 27092
ld a, d
add 4
ld d, a
ld a, e
add 4
ld e, a
call GetBlockLocation
ret
LevelUpHappinessMod: ; 2709e
ld a, [CurPartyMon]
ld hl, PartyMon1CaughtLocation