mirror of
https://github.com/pret/pokered.git
synced 2026-10-01 06:20:24 -04:00
9878f01e29
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.
10 lines
154 B
NASM
Executable File
10 lines
154 B
NASM
Executable File
; Syntactic sugar macros
|
|
|
|
lb: MACRO ; r, hi, lo
|
|
ld \1, ((\2) & $ff) << 8 + ((\3) & $ff)
|
|
ENDM
|
|
|
|
ldPal: MACRO
|
|
ld \1, \2 << 6 | \3 << 4 | \4 << 2 | \5
|
|
ENDM
|