|
|
@ -1515,10 +1515,13 @@ function Player(p) {
|
|
|
|
this.sprite.visible = false;
|
|
|
|
this.sprite.visible = false;
|
|
|
|
|
|
|
|
|
|
|
|
this.stopWalkingAnimation = function () {
|
|
|
|
this.stopWalkingAnimation = function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.sprite.getAnimationLabel() == "walk") {
|
|
|
|
this.sprite.changeAnimation("emote");
|
|
|
|
this.sprite.changeAnimation("emote");
|
|
|
|
this.sprite.animation.changeFrame(0);
|
|
|
|
this.sprite.animation.changeFrame(0);
|
|
|
|
this.sprite.animation.stop();
|
|
|
|
this.sprite.animation.stop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.playWalkingAnimation = function () {
|
|
|
|
this.playWalkingAnimation = function () {
|
|
|
|
this.sprite.changeAnimation("walk");
|
|
|
|
this.sprite.changeAnimation("walk");
|
|
|
|