aboutsummaryrefslogtreecommitdiff
path: root/utils.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-01-10 16:08:06 +0900
committerAstatin <[email protected]>2025-01-10 16:08:06 +0900
commitdc5a9431bf4438000dcd028aa6b9c17c9ca492d8 (patch)
tree8a63e04d017dc58d8c88f9842e2cd2ca7273ab05 /utils.gbasm
parent48f765802fc16071d1d605b1fd940bda4562d472 (diff)
Use new relative label thingy
Diffstat (limited to 'utils.gbasm')
-rw-r--r--utils.gbasm10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils.gbasm b/utils.gbasm
index 5063f83..8291ac2 100644
--- a/utils.gbasm
+++ b/utils.gbasm
@@ -135,7 +135,7 @@ Print_8bit: ; Number in A, Memory Tilemap position in HL
AND $0f
OR $80
LD (HL+), A
-
+
LD A, C
AND $0f ; Then the lowest
OR $80
@@ -233,12 +233,12 @@ VBlank_Wait:
PUSH AF
LD A, $reg_lcd_controller
BIT 7, A
- JR Z, =VBlank_Wait.End
- VBlank_Wait.loop:
+ JR Z, =.End
+ .loop:
LD A, $reg_lcd_status
AND $03
CP $01
- JR NZ, =VBlank_Wait.loop
- VBlank_Wait.End:
+ JR NZ, =.loop
+ .End:
POP AF
RET