You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
rgbds supports 'X - 1' instead of 'X + -1'
This commit is contained in:
@@ -1796,16 +1796,16 @@ endr
|
||||
hue = 31
|
||||
rept 8
|
||||
RGB hue, hue, hue
|
||||
hue = hue + -1
|
||||
hue = hue - 1
|
||||
RGB hue, hue, hue
|
||||
hue = hue + -2
|
||||
hue = hue - 2
|
||||
endr
|
||||
|
||||
.SlowFadePalettes:
|
||||
hue = 31
|
||||
rept 16
|
||||
RGB hue, hue, hue
|
||||
hue = hue + -1
|
||||
hue = hue - 1
|
||||
endr
|
||||
|
||||
Intro_LoadTilemap:
|
||||
|
@@ -339,7 +339,7 @@ EvolutionAnimation:
|
||||
ld a, [hl]
|
||||
or b
|
||||
ld [hli], a ; attributes
|
||||
rept SPRITEOAMSTRUCT_LENGTH + -1
|
||||
rept SPRITEOAMSTRUCT_LENGTH - 1
|
||||
inc hl
|
||||
endr
|
||||
dec c
|
||||
|
@@ -356,7 +356,7 @@ AnimateTitleCrystal:
|
||||
ld a, [hl]
|
||||
add 2
|
||||
ld [hli], a ; y
|
||||
rept SPRITEOAMSTRUCT_LENGTH + -1
|
||||
rept SPRITEOAMSTRUCT_LENGTH - 1
|
||||
inc hl
|
||||
endr
|
||||
dec c
|
||||
|
Reference in New Issue
Block a user