mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
Merge pull request #2593 from gamerbross/feature/legacy-healthicon-winning
[FEATURE] Add Winning support to Legacy Health Icons
This commit is contained in:
commit
b167e485a1
1 changed files with 4 additions and 0 deletions
|
@ -373,6 +373,10 @@ class HealthIcon extends FunkinSprite
|
||||||
// Don't flip BF's icon here! That's done later.
|
// Don't flip BF's icon here! That's done later.
|
||||||
this.animation.add(Idle, [0], 0, false, false);
|
this.animation.add(Idle, [0], 0, false, false);
|
||||||
this.animation.add(Losing, [1], 0, false, false);
|
this.animation.add(Losing, [1], 0, false, false);
|
||||||
|
if (animation.numFrames >= 3)
|
||||||
|
{
|
||||||
|
this.animation.add(Winning, [2], 0, false, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function correctCharacterId(charId:Null<String>):String
|
function correctCharacterId(charId:Null<String>):String
|
||||||
|
|
Loading…
Reference in a new issue