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?" },
this.back_notice.drawRect(0, 0, game.width, 30);
this.back_notice.endFill();
this.add(this.back_notice);
- this.text_notice = new Phaser.Text(game, 0, this.back_notice.y, null, { align: 'left', fill: 'white', font: 'Ubuntu Mono', fontSize: 18, fontWeight: 'bold' });
- this.text_notice.anchor.setTo(-0.5, -0.2);
+ this.text_notice = new Phaser.Text(game, 125, this.back_notice.y + 5, null, { align: 'left', fill: 'white', font: 'Ubuntu Mono', fontSize: 18, fontWeight: 'bold' });
this.add(this.text_notice);
this.clearNotice();