mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use macros for predef calls/jumps instead of static ids.
This commit is contained in:
parent
d10108a066
commit
b36f793667
122 changed files with 360 additions and 719 deletions
|
|
@ -458,8 +458,7 @@ InitializeSpriteScreenPosition: ; 50bd (1:50bd)
|
|||
|
||||
; tests if sprite is off screen or otherwise unable to do anything
|
||||
CheckSpriteAvailability: ; 50dc (1:50dc)
|
||||
ld a, $12
|
||||
call Predef
|
||||
predef IsObjectHidden
|
||||
ld a, [$ffe5]
|
||||
and a
|
||||
jp nz, .spriteInvisible
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue