You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
use "x + -1" not "x +- 1"
(TODO: use "x - 1" once rgbds allows it)
This commit is contained in:
@@ -1320,7 +1320,7 @@ GetNoiseSample: ; e86c5
|
||||
; load ptr to sample header in NoiseSampleAddress
|
||||
; are we on the last channel?
|
||||
ld a, [CurChannel]
|
||||
and NUM_MUSIC_CHANS +- 1
|
||||
and NUM_MUSIC_CHANS + -1
|
||||
cp CHAN4
|
||||
; ret if not
|
||||
ret nz
|
||||
@@ -2102,7 +2102,7 @@ Music_Volume: ; e89d2
|
||||
; e89e1
|
||||
|
||||
Music_TempoRelative: ; e89e1
|
||||
; set global tempo to current channel tempo +- param
|
||||
; set global tempo to current channel tempo +/- param
|
||||
; params: 1 signed
|
||||
call GetMusicByte
|
||||
ld e, a
|
||||
|
Reference in New Issue
Block a user