mirror of
https://github.com/pret/pokegold.git
synced 2026-04-26 01:47:27 -05:00
Fix octave argument assertion
This commit is contained in:
parent
ea59f5ee47
commit
b2332f27f0
|
|
@ -50,7 +50,7 @@ FIRST_MUSIC_CMD EQU const_value
|
|||
|
||||
const octave_cmd ; $d0
|
||||
octave: MACRO
|
||||
assert 0 < (\1) && (\1) < 8, "octave must be 1-8"
|
||||
assert 1 <= (\1) && (\1) <= 8, "octave must be 1-8"
|
||||
db octave_cmd + 8 - (\1) ; octave
|
||||
ENDM
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user