Fix check for overlord (which fixes boomerang chest guard)

This commit is contained in:
2026-01-17 13:30:37 -06:00
parent 9e2b148a57
commit e2614b6f75

View File

@@ -327,7 +327,9 @@ CheckEnemies:
JMP .done
+
LDA.b [$04], Y
BIT.w #$8000 : BNE .overlord
AND.w #$E000
CMP.w #$E000
BEQ .overlord
INY : INY
LDA.b [$04], Y
AND.w #$00FF
@@ -385,7 +387,7 @@ CheckEnemies:
BCS +
PLX
PLA
BRA .next_enemy
JMP .next_enemy
+
LDA.b $CA