{ actor: logic.player, text: "Would you go out on a date with me?" },
{ actor: this, text: "..." },
{ actor: this, text: "No." } ] ));
- // FIXME: Clara should have another happy condition.
- this.makeHappy();
break;
default:
logic.gameinterface.talk(new Dialogue( [ { actor: this, text: "..." } ] ));
{ actor: this, text: "You should know it's against the company etiquette..." },
{ actor: this, text: "Regardless, I don't think she's really mad. You're a cool guy." },
{ actor: logic.player, text: "I hope this will be sorted out... I totally accept her answer, but I wouldn't like her to have negative feelings towards me." } ] ));
+ this.offscreenTeleportation(new Phaser.Point(logic.clara.x - 160, logic.clara.y), this.tpDone, this);
}
else {
logic.gameinterface.talk(new Dialogue( [ { actor: this, text: "I'm kind of busy, man." } ] ));
endTalk() {
return (logic.saiki.alive) && (this.talkcount < 3);
}
+
+ tpDone(value) {
+ console.log("Woot-woot! Teleport complete:", value);
+ value.makeHappy();
+ logic.clara.makeHappy();
+ // FIXME: Need to find a prettier way than this.
+ logic.clara.update = function() { }; // Disable Clara's interaction. (Peter will talk for him.)
+ }
}
class NPC_Bianca extends GameNPC {