This commit is contained in:
MtH 2022-05-07 22:07:09 +02:00
parent 8e2eefb605
commit 8bd876ed1c

View file

@ -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);