1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-23 23:33:55 +00:00

santa lol

This commit is contained in:
Cameron Taylor 2021-01-19 23:29:18 -05:00
parent 7894b6e6f2
commit 0c892f4b32

View file

@ -95,6 +95,7 @@ class PlayState extends MusicBeatState
var upperBoppers:FlxSprite;
var bottomBoppers:FlxSprite;
var santa:FlxSprite;
var talking:Bool = true;
var songScore:Int = 0;
@ -299,6 +300,12 @@ class PlayState extends MusicBeatState
fgSnow.active = false;
fgSnow.antialiasing = true;
add(fgSnow);
santa = new FlxSprite(-840, 150);
santa.frames = FlxAtlasFrames.fromSparrow('assets/images/christmas/santa.png', 'assets/images/christmas/santa.xml');
santa.animation.addByPrefix('idle', 'santa idle in fear', 24, false);
santa.antialiasing = true;
add(santa);
}
else
{
@ -1782,6 +1789,7 @@ class PlayState extends MusicBeatState
case 'mall':
upperBoppers.animation.play('bop', true);
bottomBoppers.animation.play('bop', true);
santa.animation.play('idle', true);
case 'limo':
grpLimoDancers.forEach(function(dancer:BackgroundDancer)