From 2b0c6081d8a2c48c1f8412aefdcec6c2222e716c Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 17 Dec 2024 18:42:11 +0900 Subject: Respawn enemies in other rooms when less than 5 enemies alive --- entity/actions.gbasm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'entity/actions.gbasm') diff --git a/entity/actions.gbasm b/entity/actions.gbasm index 5bc8200..2616e49 100644 --- a/entity/actions.gbasm +++ b/entity/actions.gbasm @@ -182,6 +182,9 @@ Fox_Turn: LD L, A LD (HL), $00 + LD A, $mem_enemies_alive_count + DEC A + LD $mem_enemies_alive_count, A JP NZ, =Fox_Turn.Skip_turn Fox_Turn.Health_check.end: -- cgit v1.2.3-70-g09d2