Moved to graphical word bubbles

This commit is contained in:
2014-06-12 01:48:04 -07:00
parent bd2894fe87
commit 0ea8e52378

View File

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