From e485280a8a59e43745d9261b491075e19dbef5f9 Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 9 Dec 2020 11:53:29 -0500 Subject: 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 --- macros/code.asm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'macros/code.asm') diff --git a/macros/code.asm b/macros/code.asm index a5d8c7560..5b3c05eaf 100644 --- a/macros/code.asm +++ b/macros/code.asm @@ -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 -- cgit v1.2.3