Require rgbds 0.4.2

This allows [\1] to work when \1 is hl, bc, or de

The object file format has changed along with the version number
This commit is contained in:
Rangi
2020-12-09 11:53:29 -05:00
parent 6f226f584c
commit e485280a8a
5 changed files with 37 additions and 20 deletions

View File

@ -11,11 +11,7 @@ ENDM
; Design patterns
jumptable: MACRO
if !STRCMP("\2", "hl")
ld a, [hl]
else
ld a, [\2]
endc
ld e, a
ld d, 0
ld hl, \1