mirror of https://github.com/pret/pokecrystal.git
Only engine/decorations.asm uses PadCoords_de
This commit is contained in:
parent
5aac8afae7
commit
cbde91d7ed
|
@ -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
|
||||
|
|
10
main.asm
10
main.asm
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue