From bcc4605c06e2b36698ae05eeda1f9078bfbcd2c7 Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 1 Jul 2025 15:20:38 +0200 Subject: Load tilemap or generation depending on dungeon flags --- map/loading/dungeontiles.gbasm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'map/loading/dungeontiles.gbasm') 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 -- cgit v1.2.3-70-g09d2