mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-14 19:25:16 -05:00
flipx
This commit is contained in:
parent
8e2eefb605
commit
8bd876ed1c
1 changed files with 5 additions and 0 deletions
|
@ -263,6 +263,9 @@ class Stage extends FlxSpriteGroup implements IHook implements IPlayStateScripte
|
|||
case BF:
|
||||
this.characters.set("bf", character);
|
||||
charData = _data.characters.bf;
|
||||
character.flipX = !character.flipX;
|
||||
if (character.flipX)
|
||||
character.flipAnimationOffsets();
|
||||
character.initHealthIcon(false);
|
||||
case GF:
|
||||
this.characters.set("gf", character);
|
||||
|
@ -270,6 +273,8 @@ class Stage extends FlxSpriteGroup implements IHook implements IPlayStateScripte
|
|||
case DAD:
|
||||
this.characters.set("dad", character);
|
||||
charData = _data.characters.dad;
|
||||
if (character.flipX)
|
||||
character.flipAnimationOffsets();
|
||||
character.initHealthIcon(true);
|
||||
default:
|
||||
this.characters.set(character.characterId, character);
|
||||
|
|
Loading…
Reference in a new issue