diff options
author | Eugene Sandulenko | 2013-12-18 15:41:05 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-18 15:41:05 +0200 |
commit | 4bc2f258a4b5b320a3176071bc2948b987ff00f9 (patch) | |
tree | 7e9984a84811947fe4a85243309c1bf0301a3d13 /engines/fullpipe/scenes | |
parent | fa94808e31dbcb21175a63e896c1aff90f61caec (diff) | |
download | scummvm-rg350-4bc2f258a4b5b320a3176071bc2948b987ff00f9.tar.gz scummvm-rg350-4bc2f258a4b5b320a3176071bc2948b987ff00f9.tar.bz2 scummvm-rg350-4bc2f258a4b5b320a3176071bc2948b987ff00f9.zip |
FULLPIPE: Implement sceneHandler06_sub03()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene06.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp index 3b72030e15..f1a6e77b52 100644 --- a/engines/fullpipe/scenes/scene06.cpp +++ b/engines/fullpipe/scenes/scene06.cpp @@ -223,7 +223,18 @@ void sceneHandler06_throwBall() { } void sceneHandler06_sub03() { - warning("STUB: sceneHandler06_sub03()"); + if (15 - g_vars->scene06_numBallsGiven >= 4 && !g_fullpipe->_rnd->getRandomNumber(9)) { + StaticANIObject *ani = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_EGGIE, -1); + if (!ani || !(ani->_flags & 4)) { + if (g_vars->scene06_var15) + chainQueue(QU_EGG6_GOR, 0); + else + chainQueue(QU_EGG6_GOL, 0); + + g_vars->scene06_var14 = 0; + g_vars->scene06_var15 = (g_vars->scene06_var15 == 0); + } + } } void sceneHandler06_sub10() { |