HAIR AND MOD SUPPORT SHIT IN PROGRESS

This commit is contained in:
Cameron Taylor
2021-01-14 23:33:12 -05:00
parent 447f638001
commit b85855d8ef
27 changed files with 536 additions and 36 deletions

View File

@ -18,21 +18,24 @@ class Boyfriend extends Character
override function update(elapsed:Float)
{
if (animation.curAnim.name.startsWith('sing'))
if (!debugMode)
{
holdTimer += elapsed;
}
else
holdTimer = 0;
if (animation.curAnim.name.startsWith('sing'))
{
holdTimer += elapsed;
}
else
holdTimer = 0;
if (animation.curAnim.name.endsWith('miss') && animation.curAnim.finished && !debugMode)
{
playAnim('idle', true, false, 10);
}
if (animation.curAnim.name.endsWith('miss') && animation.curAnim.finished && !debugMode)
{
playAnim('idle', true, false, 10);
}
if (animation.curAnim.name == 'firstDeath' && animation.curAnim.finished)
{
playAnim('deathLoop');
if (animation.curAnim.name == 'firstDeath' && animation.curAnim.finished)
{
playAnim('deathLoop');
}
}
super.update(elapsed);