pokegold-spaceworld/constants/patch_constants.asm
obskyr 3e8800f447 Implement hack pointcut system
Ported from Sanqui's Harvest Moon 3 translation project!

Also puts a pointcut in place to keep patch WRAM uncleared when starting a new game.
2018-08-16 03:20:27 -06:00

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