Fix compass compare

This commit is contained in:
aerinon
2022-05-17 13:05:34 -06:00
parent ed3ce6af6f
commit db2fe4cf39

View File

@@ -14,7 +14,7 @@ DrawDungeonCompassCounts:
CPX.b #$1B : BCC + ; Skip if not in a valid dungeon ID
JMP .done
+
CMP.w #$0002 : BEQ ++ ; if CompassMode==2, we don't check for the compass
BIT.w #$0002 : BNE ++ ; if CompassMode==2, we don't check for the compass
TXY : TXA : LSR : TAX : LDA.l ExistsTransfer, X : TAX : LDA CompassExists, X : BEQ ++
TYX : LDA CompassField : AND.l DungeonItemMasks, X ; Load compass values to A, mask with dungeon item masks
BNE ++