From 918a222553317eef893486069585413ea716aba2 Mon Sep 17 00:00:00 2001 From: MegaBrutal Date: Tue, 2 Oct 2018 21:40:00 +0200 Subject: [PATCH 1/1] 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 --- wgj58.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?" }, -- 2.34.1