mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-03-28 21:15:24 -05:00
8 lines
137 B
NASM
8 lines
137 B
NASM
HackInterrupt EQU $0000
|
|
|
|
; Note that a hack call takes 3 bytes.
|
|
hack: MACRO
|
|
ld a, (Hack\1Entry - HackTable) / 2
|
|
rst HackInterrupt
|
|
ENDM
|