mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-05-21 10:12:12 -04: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:
|
case BF:
|
||||||
this.characters.set("bf", character);
|
this.characters.set("bf", character);
|
||||||
charData = _data.characters.bf;
|
charData = _data.characters.bf;
|
||||||
|
character.flipX = !character.flipX;
|
||||||
|
if (character.flipX)
|
||||||
|
character.flipAnimationOffsets();
|
||||||
character.initHealthIcon(false);
|
character.initHealthIcon(false);
|
||||||
case GF:
|
case GF:
|
||||||
this.characters.set("gf", character);
|
this.characters.set("gf", character);
|
||||||
|
@ -270,6 +273,8 @@ class Stage extends FlxSpriteGroup implements IHook implements IPlayStateScripte
|
||||||
case DAD:
|
case DAD:
|
||||||
this.characters.set("dad", character);
|
this.characters.set("dad", character);
|
||||||
charData = _data.characters.dad;
|
charData = _data.characters.dad;
|
||||||
|
if (character.flipX)
|
||||||
|
character.flipAnimationOffsets();
|
||||||
character.initHealthIcon(true);
|
character.initHealthIcon(true);
|
||||||
default:
|
default:
|
||||||
this.characters.set(character.characterId, character);
|
this.characters.set(character.characterId, character);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue