Word bubbles
This commit is contained in:
@@ -337,11 +337,7 @@ var AISprite = function(game, x, y, spritetype) {
|
|||||||
game.physics.arcade.enable(this);
|
game.physics.arcade.enable(this);
|
||||||
this.body.collideWorldBounds = true;
|
this.body.collideWorldBounds = true;
|
||||||
|
|
||||||
if ( spritetype >= 9 ) {
|
this.sprite_group = 1 + (spritetype / 4);
|
||||||
this.sprite_group = 3;
|
|
||||||
} else {
|
|
||||||
this.sprite_group = spritetype / 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
addAnimation(this, 'bipedwalkleft');
|
addAnimation(this, 'bipedwalkleft');
|
||||||
addAnimation(this, 'bipedwalkright');
|
addAnimation(this, 'bipedwalkright');
|
||||||
|
|||||||
Reference in New Issue
Block a user