mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 07:02:17 +13:00
more movement stuff
This commit is contained in:
parent
7b676f5851
commit
ac78dda7d8
9 changed files with 192 additions and 137 deletions
|
|
@ -16,10 +16,10 @@ PrepareOAMData:
|
|||
ld [hOAMBufferOffset], a
|
||||
|
||||
.spriteLoop
|
||||
ld [hSpriteDataOffset2], a
|
||||
ld [hSpriteOffset2], a
|
||||
|
||||
ld d, wSpriteStateData1 / $100
|
||||
ld a, [hSpriteDataOffset2]
|
||||
ld a, [hSpriteOffset2]
|
||||
ld e, a
|
||||
ld a, [de] ; c1x0
|
||||
and a
|
||||
|
|
@ -139,7 +139,7 @@ PrepareOAMData:
|
|||
ld [hOAMBufferOffset], a
|
||||
|
||||
.nextSprite
|
||||
ld a, [hSpriteDataOffset2]
|
||||
ld a, [hSpriteOffset2]
|
||||
add $10
|
||||
cp $100 % $100
|
||||
jp nz, .spriteLoop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue