aboutsummaryrefslogtreecommitdiff
path: root/map/loading/dungeontiles.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-07-01 15:20:38 +0200
committerAstatin <[email protected]>2025-07-01 15:20:38 +0200
commitbcc4605c06e2b36698ae05eeda1f9078bfbcd2c7 (patch)
tree5c312652e6659ed8c5cc292590f4d4a0e3937133 /map/loading/dungeontiles.gbasm
parentfe3bd75e5844c90a0d82c32d7c08782d5bf32f52 (diff)
Load tilemap or generation depending on dungeon flags
Diffstat (limited to 'map/loading/dungeontiles.gbasm')
-rw-r--r--map/loading/dungeontiles.gbasm7
1 files changed, 3 insertions, 4 deletions
diff --git a/map/loading/dungeontiles.gbasm b/map/loading/dungeontiles.gbasm
index 5f91197..ad02ff1 100644
--- a/map/loading/dungeontiles.gbasm
+++ b/map/loading/dungeontiles.gbasm
@@ -166,11 +166,10 @@ Construct_Tile_Address: ; Construct Tile Map address from A and B in DE
RET
-Load_Block:
Load_Block_From_Solid: ; X in A, Y in B
- PUSH BC
- PUSH AF
- .After_AF_BC_Push:
+ .AF_AF_BC_Push:
+ POP AF
+ .AF_BC_Push:
PUSH DE