mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
documented flags and misc. fixes
This commit is contained in:
parent
1a987d1e1a
commit
b6a7e5e9cf
12 changed files with 96 additions and 54 deletions
|
|
@ -1190,8 +1190,8 @@ IsSpriteInFrontOfPlayer2:: ; 0b6d (0:0b6d)
|
|||
ld a,l
|
||||
and a,$f0
|
||||
inc a
|
||||
ld l,a
|
||||
set 7,[hl]
|
||||
ld l,a ; hl = $c1x1
|
||||
set 7,[hl] ; set flag to make the sprite face the player
|
||||
ld a,e
|
||||
ld [hSpriteIndexOrTextID],a
|
||||
ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue