mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
use "x + -1" not "x +- 1"
(TODO: use "x - 1" once rgbds allows it)
This commit is contained in:
parent
45373ec601
commit
e32e5212af
@ -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
|
||||
|
@ -121,8 +121,7 @@ __enum__ = 0
|
||||
deco GEODUDE_DOLL
|
||||
deco MACHOP_DOLL
|
||||
deco TENTACOOL_DOLL
|
||||
NUM_NON_TROPHY_DECOS = __enum__
|
||||
deco GOLD_TROPHY_DOLL
|
||||
deco SILVER_TROPHY_DOLL
|
||||
|
||||
NUM_DECOS = __enum__
|
||||
NUM_NON_TROPHY_DECOS = NUM_DECOS +- 2
|
||||
|
@ -112,7 +112,7 @@ ENDM
|
||||
|
||||
|
||||
sine_wave: MACRO
|
||||
x = 0
|
||||
x = 0.0
|
||||
rept \1
|
||||
dw (sin(x) + (sin(x) & $ff)) >> 8 ; round up
|
||||
x = x + (32768.0 / \1) ; a circle has 65536.0 "degrees"
|
||||
|
Loading…
Reference in New Issue
Block a user