From 6f0a76fccce2bd8cbe74975623b28f0201b2610a Mon Sep 17 00:00:00 2001 From: Astatin Date: Thu, 26 Sep 2024 20:17:33 +0900 Subject: [WIP and completely broken] Reworking the bunny movements & display to decorelate the bunny from moving animation --- utils.gbasm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'utils.gbasm') diff --git a/utils.gbasm b/utils.gbasm index e6dba4c..857acbc 100644 --- a/utils.gbasm +++ b/utils.gbasm @@ -23,6 +23,14 @@ bzero: ; dest = HL, n = BC JR NZ =bzero.loop RET +.MACRODEF ABS + BIT 7, A + JR Z, =$end + XOR $ff + INC A + $end: +.END + Print_8bit: ; Number in A, Memory Tilemap position in HL PUSH AF PUSH BC -- cgit v1.2.3-70-g09d2