From 401b85eb214e6980e8d030cf36bd55d78371d732 Mon Sep 17 00:00:00 2001 From: uruk Date: Thu, 20 Feb 2014 22:31:03 +0100 Subject: AVALANCHE: Implement ShootEmUp::check321(). --- engines/avalanche/shootemup.cpp | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp index e1a6280dc1..51bc714c28 100644 --- a/engines/avalanche/shootemup.cpp +++ b/engines/avalanche/shootemup.cpp @@ -619,7 +619,25 @@ void ShootEmUp::escapeCheck() { } void ShootEmUp::check321() { - warning("STUB: ShootEmUp::check321()"); + if (_count321 == 0) + return; + + _count321--; + + switch (_count321) { + case 84: + define(320, 60, 16, 2, 1, 94, false, true); + break; + case 169: + define(320, 60, 15, 0, 1, 94, false, true); + break; + case 254: + define(320, 60, 14, -2, 1, 94, false, true); + define(0, 100, 18, 2, 0, 254, false, true); + break; + default: + break; + } } } // End of namespace Avalanche -- cgit v1.2.3