Moved to graphical word bubbles

This commit is contained in:
2014-06-12 01:49:02 -07:00
parent 0ea8e52378
commit 640ddb2058

View File

@@ -571,7 +571,8 @@ var AISprite = function(game, x, y, spritetype) {
}
var mylines = moonlightDialog['status'][this.sprite_group][aistate];
this.bubble = new Phaser.Sprite(game, this.x, this.y, mylines[game.rnd.integerInRange(0, mylines.length)]);
var myline = mylines[game.rnd.integerInRange(0, mylines.length)]
this.bubble = new Phaser.Sprite(game, this.x, this.y, myline);
game.physics.arcade.enable(this.bubble);
timer = game.time.create(false);