mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
lots of bug fixes
added a log for them in the readme
This commit is contained in:
parent
7c6bbb630f
commit
648289d4a9
12 changed files with 61 additions and 19 deletions
|
|
@ -34,14 +34,20 @@ _UncompressSpriteData::
|
|||
ld [wSpriteLoadFlags], a
|
||||
call ReadNextInputByte ; first byte of input determines sprite width (high nybble) and height (low nybble) in tiles (8x8 pixels)
|
||||
ld b, a
|
||||
and $f
|
||||
and $7 ; this stops the hall of fame from being corrupted by missingno. - PvK
|
||||
jr nz, .skip1
|
||||
inc a
|
||||
.skip1
|
||||
add a
|
||||
add a
|
||||
add a
|
||||
ld [wSpriteHeight], a
|
||||
ld a, b
|
||||
swap a
|
||||
and $f
|
||||
and $7
|
||||
jr nz, .skip2
|
||||
inc a
|
||||
.skip2
|
||||
add a
|
||||
add a
|
||||
add a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue