More splitting of main.asm; remove unneeded rept 2

This commit is contained in:
pikalaxalt
2016-05-04 11:46:23 -04:00
parent 82f1534925
commit 3713b71d9e
107 changed files with 1222 additions and 1610 deletions

View File

@@ -28,9 +28,8 @@ GetSpriteVTile:: ; 180e
.loop
cp [hl]
jr z, .found
rept 2
inc hl
endr
inc hl
dec c
jr nz, .loop
ld a, [UsedSprites + 1]
@@ -503,9 +502,8 @@ rept SPRITEMOVEDATA_FIELDS
endr
ld a, BANK(SpriteMovementData)
call GetFarByte
rept 2
add a
endr
add a
and $c
pop de
pop bc