lots of bug fixes

added a log for them in the readme
This commit is contained in:
May Evans 2022-08-31 15:18:16 +01:00
parent 7c6bbb630f
commit 648289d4a9
12 changed files with 61 additions and 19 deletions

View file

@ -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