PLEASE WORK PLEASE WORK PLEASEEEE
This commit is contained in:
@@ -17,7 +17,7 @@ class CharacterGhostsHandler extends FlxTypedGroup<Character> {
|
||||
}
|
||||
|
||||
public function createGhost(anim:String) {
|
||||
var ghost:Character = new Character(0,0, character.curCharacter);
|
||||
var ghost:Character = new Character(0,0, character.curCharacter, false, false);
|
||||
ghost.applyXML(character.xml); // apply cur character stuff
|
||||
ghost.playAnim(anim);
|
||||
ghost.stopAnimation();
|
||||
|
||||
@@ -108,6 +108,7 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
|
||||
switchOffset('singLEFTmiss', 'singRIGHTmiss');
|
||||
|
||||
__swappedLeftRightAnims = true;
|
||||
trace("fuck");
|
||||
}
|
||||
|
||||
@:noCompletion var __baseFlipped:Bool = false;
|
||||
@@ -190,7 +191,7 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
|
||||
}
|
||||
|
||||
public function isFlippedOffsets()
|
||||
return (isPlayer != playerOffsets) != (flipX != __baseFlipped);
|
||||
return __switchAnims && ((isPlayer != playerOffsets) != (flipX != __baseFlipped));
|
||||
|
||||
public override function draw() {
|
||||
if (isFlippedOffsets()) {
|
||||
@@ -312,6 +313,7 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
|
||||
if (!characterProperties.contains(attribute))
|
||||
extra[attribute] = xml.x.get(attribute);
|
||||
|
||||
trace(__switchAnims);
|
||||
fixChar(__switchAnims, !hasInterval);
|
||||
dance();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user