aboutsummaryrefslogtreecommitdiff
path: root/map/loading.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 /map/loading.gbasm
parent48f765802fc16071d1d605b1fd940bda4562d472 (diff)
Use new relative label thingy
Diffstat (limited to 'map/loading.gbasm')
-rw-r--r--map/loading.gbasm12
1 files changed, 6 insertions, 6 deletions
diff --git a/map/loading.gbasm b/map/loading.gbasm
index ca1e3f4..0fa66db 100644
--- a/map/loading.gbasm
+++ b/map/loading.gbasm
@@ -9,8 +9,8 @@ Load_Map:
LD B, A
ADD $10
LD D, A
- Load_Map.For_Y:
- Load_Map.For_X:
+ .For_Y:
+ .For_X:
LD A, C
CALL =Load_Block
CALL =Display_Prepared_Block
@@ -18,12 +18,12 @@ Load_Map:
INC C
LD A, C
CP E
- JR NZ, =Load_Map.For_X
+ JR NZ, =.For_X
INC B
LD A, B
CP D
- JR NZ, =Load_Map.For_Y
+ JR NZ, =.For_Y
RET
@@ -258,7 +258,7 @@ Display_Prepared_Block:
LD A, $mem_map_loading_flags
BIT 2, A
- JR Z, =Display_Prepared_Block.End
+ JR Z, =.End
LD A, $mem_map_loading_flags
RES 2, A
@@ -291,7 +291,7 @@ Display_Prepared_Block:
OR $01
LD (DE), A
- Display_Prepared_Block.End:
+ .End:
POP DE
POP BC