fix indents & headbop no longer overwrites confirm
This commit is contained in:
parent
c23f9738e3
commit
a78d82e65f
@ -93,12 +93,14 @@ class MenuCharacter extends FlxSprite
|
|||||||
if (character == 'gf' || character == 'spooky') {
|
if (character == 'gf' || character == 'spooky') {
|
||||||
danceLeft = !danceLeft;
|
danceLeft = !danceLeft;
|
||||||
|
|
||||||
if (danceLeft)
|
if (danceLeft)
|
||||||
animation.play(character + "-left", true);
|
animation.play(character + "-left", true);
|
||||||
else
|
else
|
||||||
animation.play(character + "-right", true);
|
animation.play(character + "-right", true);
|
||||||
} else {
|
} else {
|
||||||
//no spooky nor girlfriend so we do da normal animation
|
//no spooky nor girlfriend so we do da normal animation
|
||||||
|
if (animation.name == "bfConfirm")
|
||||||
|
return;
|
||||||
animation.play(character, true);
|
animation.play(character, true);
|
||||||
}
|
}
|
||||||
if (LastFrame) {
|
if (LastFrame) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user