From: MegaBrutal Date: Tue, 2 Oct 2018 19:40:00 +0000 (+0200) Subject: Peter should check for Saiki alive condition X-Git-Url: http://git.megabrutal.com/?a=commitdiff_plain;ds=inline;h=918a222553317eef893486069585413ea716aba2;p=wgj58.git Peter should check for Saiki alive condition Due to a mistake, Peter was checking for Carlos being alive instead of Saiki. At this point it didn't matter because Carlos dies when Saiki dies, but I might change this behaviour later, and I don't want headaches in the future. modified: wgj58.js --- diff --git a/wgj58.js b/wgj58.js index 42f0485..ff020d1 100644 --- a/wgj58.js +++ b/wgj58.js @@ -528,7 +528,7 @@ class NPC_Saiki extends GameNPC { class NPC_Peter extends GameNPC { actionTalk() { - if (logic.carlos.alive) { + if (logic.saiki.alive) { switch (this.talkcount) { case 0: logic.gameinterface.talk(new Dialogue( [ { actor: logic.player, text: "Hi Peter! What's up?" },