Play danceLeft anim for alternating characters

This commit is contained in:
ComedyLost
2026-03-04 15:25:16 -07:00
committed by Hundrec
parent b8a7189e24
commit 05032e3126
@@ -448,7 +448,8 @@ class DebugBoundingState extends FlxState
// Plays the idle animation
if (FlxG.keys.justPressed.SPACE)
{
offsetAnimationDropdown.value = {id: 'idle', text: 'idle'};
if (swagChar?.hasAnimation('danceLeft')) offsetAnimationDropdown.value = {id: 'danceLeft', text: 'danceLeft'};
else offsetAnimationDropdown.value = {id: 'idle', text: 'idle'};
playCharacterAnimation(currentAnimationName, true);
}