also how do i change line 5 so that its if the whole party dies the loop ends.
Thanks
Thanks
$gameTroop.members()[0].isStateAffected(0) && $gameTroop.members()[1].isStateAffected(0);
$gameParty.aliveMembers().length === 0
Sorry I realised just now I should’ve given more context to it.
Thanks for the idea I honestly think just having a variable that increases for every kill until it matches the total enemies if a good idea.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-this-if-and-else-statement-work.165221/