diff options
-rw-r--r-- | engines/fullpipe/constants.h | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene06.cpp | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 159b296ca4..6bd80a3d4b 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -258,6 +258,7 @@ namespace Fullpipe { #define QU_PNK_CLICK 550 #define QU_SC3_ENTERLIFT 2779 #define QU_SC3_EXITLIFT 2808 +#define QU_SC6_FALLHANDLE 2995 #define QU_SC4_GOCLOCK 595 #define QU_SC4_MANFROMBOTTLE 2851 #define QU_SC4_MANTOBOTTLE 2850 @@ -335,6 +336,7 @@ namespace Fullpipe { #define ST_EGTR_SLIM 336 #define ST_HDL_BROKEN 3342 #define ST_HDL_DOWN 625 +#define ST_HDL_PLUGGED 2397 #define ST_HDL_UP 624 #define ST_HND_EMPTY 603 #define ST_IN1MAN_SLEEP 5112 diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp index ecccd7844d..73f38e4cf6 100644 --- a/engines/fullpipe/scenes/scene06.cpp +++ b/engines/fullpipe/scenes/scene06.cpp @@ -107,7 +107,13 @@ void sceneHandler06_uPipeClick() { } void sceneHandler06_buttonPush() { - warning("STUB: sceneHandler06_buttonPush()"); + g_vars->scene06_invHandle = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_INV_HANDLE, -1); + + if (g_vars->scene06_invHandle) + if (g_vars->scene06_invHandle->_flags & 4) + if (g_vars->scene06_invHandle->_statics) + if (g_vars->scene06_invHandle->_statics->_staticsId == ST_HDL_PLUGGED) + chainQueue(QU_SC6_FALLHANDLE, 1); } void sceneHandler06_showNextBall() { |