From 9790dc65026c22f26ea6e247c5506b88f36691a4 Mon Sep 17 00:00:00 2001 From: Astatin Date: Fri, 9 Aug 2024 21:19:36 +0900 Subject: Turn off screen during initialization to be compatible with sameboy --- bunny.gbasm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bunny.gbasm') diff --git a/bunny.gbasm b/bunny.gbasm index c6a06de..04d14a9 100644 --- a/bunny.gbasm +++ b/bunny.gbasm @@ -7,7 +7,7 @@ Initialize_Bunny: LD $reg_viewport_x, A LD A, $50 LD $mem_bunny_x_px, A - LD A, $50 + LD A, $48 LD $mem_bunny_y_px, A RET @@ -178,6 +178,7 @@ Display_Bunny: ; X position in $81, Y position in $80 LD A, B LD (HL+), A LD A, E + INC A LD (HL+), A LD A, D LD (HL+), A @@ -193,6 +194,7 @@ Display_Bunny: ; X position in $81, Y position in $80 LD (HL+), A LD A, E XOR $02 + INC A LD (HL+), A LD A, D LD (HL+), A -- cgit v1.2.3-70-g09d2