From b06cc7b10568e84528f8aaeb32592c4163deb09e Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Thu, 8 Apr 2021 21:52:21 -0400 Subject: [PATCH] pico asset re export --- source/PlayState.hx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 0e720aba8..5a72ff013 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -123,6 +123,7 @@ class PlayState extends MusicBeatState var tankmanRun:FlxTypedGroup; var gfCutsceneLayer:FlxGroup; + var tankWatchtower:BGSprite; var talking:Bool = true; var songScore:Int = 0; @@ -533,7 +534,7 @@ class PlayState extends MusicBeatState var smokeRight:BGSprite = new BGSprite('smokeRight', 1100, -100, 0.4, 0.4, ['SmokeRight'], true); add(smokeRight); - var tankWatchtower:BGSprite = new BGSprite('tankWatchtower', 100, 50, 0.5, 0.5); + tankWatchtower = new BGSprite('tankWatchtower', 100, 50, 0.5, 0.5, ['watchtower gradient color']); add(tankWatchtower); var tankGround:BGSprite = new BGSprite('tankGround', -420, -150); @@ -2841,6 +2842,8 @@ class PlayState extends MusicBeatState trainCooldown = FlxG.random.int(-4, 0); trainStart(); } + case 'tank': + tankWatchtower.dance(); } if (isHalloween && FlxG.random.bool(10) && curBeat > lightningStrikeBeat + lightningOffset)