You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
rgbds supports 'X - 1' instead of 'X + -1'
This commit is contained in:
@@ -1294,7 +1294,7 @@ GetNoiseSample:
|
||||
; load ptr to sample header in wNoiseSampleAddress
|
||||
; are we on the last channel?
|
||||
ld a, [wCurChannel]
|
||||
and NUM_MUSIC_CHANS + -1
|
||||
and NUM_MUSIC_CHANS - 1
|
||||
cp CHAN4
|
||||
; ret if not
|
||||
ret nz
|
||||
|
Reference in New Issue
Block a user