mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-04-04 10:31:45 +13:00
clean up wram aliases
This commit is contained in:
parent
c34156c5fb
commit
04a6c306dc
11 changed files with 124 additions and 93 deletions
|
|
@ -256,7 +256,7 @@ ReadTrainerScreenPosition: ; 5698e (15:698e)
|
|||
; a: distance player to sprite
|
||||
CheckSpriteCanSeePlayer: ; 569af (15:69af)
|
||||
ld b, a
|
||||
ld a, [wTrainerEngageDistance] ; sprite line of sight (engage distance)
|
||||
ld a, [wTrainerEngageDistance] ; how far the trainer can see
|
||||
cp b
|
||||
jr nc, .checkIfLinedUp
|
||||
jr .notInLine ; player too far away
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue