From 2ce4934ce7d5a58b306e442b498c96a71a6485fb Mon Sep 17 00:00:00 2001 From: Randy Thiemann Date: Sat, 21 Oct 2023 19:09:36 +0200 Subject: [PATCH] Accidental inverted check causing early top out. --- src/field.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field.asm b/src/field.asm index a5c83fc..b719240 100644 --- a/src/field.asm +++ b/src/field.asm @@ -512,7 +512,7 @@ TrySpawnPiece:: ; Otherwise check the rotation, and if it's not zero, try to reset it. ldh a, [hCurrentPieceRotationState] cp a, 0 - ret nz + ret z ; Reset the rotation. xor a, a