rgbds supports 'X - 1' instead of 'X + -1'
This commit is contained in:
@@ -1472,7 +1472,7 @@ BillsPC_UpdateSelectionCursor:
|
||||
inc hl
|
||||
ld [de], a ; y
|
||||
inc de
|
||||
rept SPRITEOAMSTRUCT_LENGTH + -1
|
||||
rept SPRITEOAMSTRUCT_LENGTH - 1
|
||||
ld a, [hli]
|
||||
ld [de], a
|
||||
inc de
|
||||
@@ -1520,7 +1520,7 @@ BillsPC_UpdateInsertCursor:
|
||||
inc hl
|
||||
ld [de], a ; y
|
||||
inc de
|
||||
rept SPRITEOAMSTRUCT_LENGTH + -1
|
||||
rept SPRITEOAMSTRUCT_LENGTH - 1
|
||||
ld a, [hli]
|
||||
ld [de], a
|
||||
inc de
|
||||
|
Reference in New Issue
Block a user