use "x + -1" not "x +- 1"

(TODO: use "x - 1" once rgbds allows it)
This commit is contained in:
Rangi
2018-02-02 22:55:38 -05:00
parent 45373ec601
commit e32e5212af
27 changed files with 36 additions and 37 deletions

View File

@@ -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