You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
pitchoffset macro to replace forceoctave
This commit is contained in:
@@ -37,10 +37,10 @@ notetype: macro
|
||||
endc
|
||||
endm
|
||||
|
||||
enum forceoctave_cmd
|
||||
forceoctave: macro
|
||||
db forceoctave_cmd
|
||||
db \1 ; octave
|
||||
enum pitchoffset_cmd
|
||||
pitchoffset: macro
|
||||
db pitchoffset_cmd
|
||||
dn \1, \2 - 1 ; octave, key
|
||||
endm
|
||||
|
||||
enum tempo_cmd
|
||||
@@ -81,7 +81,7 @@ togglesfx: macro
|
||||
enum slidepitchto_cmd
|
||||
slidepitchto: macro
|
||||
db slidepitchto_cmd
|
||||
db \1 ; unknown
|
||||
db \1 - 1 ; duration
|
||||
dn \2, \3 ; octave, pitch
|
||||
endm
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ channel_struct: MACRO
|
||||
\1FrequencyHi:: db
|
||||
\1Pitch:: db ; 0:rest 1-c:note
|
||||
\1Octave:: db ; 7-0 (0 is highest)
|
||||
\1StartingOctave:: db ; raises existing octaves (to repeat phrases)
|
||||
\1PitchOffset:: db ; raises existing octaves (to repeat phrases)
|
||||
\1NoteDuration:: db ; frames remaining for the current note
|
||||
\1Field0x16:: ds 1 ; c117
|
||||
ds 1 ; c118
|
||||
|
||||
Reference in New Issue
Block a user