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)