aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/constants.h1
-rw-r--r--engines/fullpipe/scenes/scene27.cpp5
2 files changed, 5 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 451cc9caf7..4d63031153 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -1108,6 +1108,7 @@ namespace Fullpipe {
#define QU_DRV_PUSHBUTTON 2056
#define QU_DRV_PUSHBUTTON_NOVENT 4578
#define QU_MID_CLEANVENT 4583
+#define QU_MID_SWITCHBACK 2044
#define QU_SC27_RESTARTBETS 3370
#define QU_SC27_SHOWBET 3368
#define SND_27_026 4127
diff --git a/engines/fullpipe/scenes/scene27.cpp b/engines/fullpipe/scenes/scene27.cpp
index ba18c906fc..20e6850721 100644
--- a/engines/fullpipe/scenes/scene27.cpp
+++ b/engines/fullpipe/scenes/scene27.cpp
@@ -458,7 +458,10 @@ void sceneHandler27_driverPushButton() {
}
void sceneHandler27_maidSwitchback() {
- warning("STUB: sceneHandler27_maidSwitchback()");
+ if (g_fp->getObjectState(sO_Maid) == g_fp->getObjectEnumState(sO_Maid, sO_WithSwab)) {
+ g_vars->scene27_maid->changeStatics2(ST_MID_SWAB);
+ g_vars->scene27_maid->startMQIfIdle(QU_MID_SWITCHBACK, 1);
+ }
}
void sceneHandler27_batLogic() {