mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use more screen dimension constants
This commit is contained in:
parent
e25a7148d0
commit
ef9e59101e
18 changed files with 88 additions and 85 deletions
|
|
@ -690,8 +690,8 @@ getTileSpriteStandsOn: ; 5207 (1:5207)
|
|||
ld a, [hl] ; c1x6: screen Y position
|
||||
srl a
|
||||
srl a
|
||||
srl a ; screen X tile
|
||||
add $14 ; screen X tile + 20
|
||||
srl a ; screen X tile
|
||||
add SCREEN_WIDTH ; screen X tile + 20
|
||||
ld d, $0
|
||||
ld e, a
|
||||
hlCoord 0, 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue