mirror of https://github.com/pret/pokecrystal.git
Support old one-argument sound_duty macro, similar to callab/callba legacy support
This commit is contained in:
parent
c66d195089
commit
10a1e6c860
|
@ -72,7 +72,11 @@ soundinput: macro
|
|||
enum sound_duty_cmd ; $de
|
||||
sound_duty: macro
|
||||
db sound_duty_cmd
|
||||
if _NARG == 4
|
||||
db \1 | (\2 << 2) | (\3 << 4) | (\4 << 6) ; duty sequence
|
||||
else
|
||||
db \1 ; one-byte duty value for legacy support
|
||||
endc
|
||||
endm
|
||||
|
||||
enum togglesfx_cmd ; $df
|
||||
|
|
Loading…
Reference in New Issue