aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene16.cpp14
2 files changed, 15 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index aefe91ff23..8b8664f2d2 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -663,11 +663,13 @@ namespace Fullpipe {
#define MV_GRL_FALL 3115
#define MV_GRL_LAUGH_POPA 3278
#define PIC_SC16_TUMBA 1368
+#define QU_SC16_GIRLLAUGH 1375
#define QU_SC16_SHOWMUG 1361
#define SND_16_034 3854
#define SND_16_035 3855
#define SND_16_037 3857
#define ST_GRL_LAUGH 1342
+#define ST_GRL_STAND 1337
#define ST_MUG_EMPTY 1298
#define ST_MUG_FULL 1360
diff --git a/engines/fullpipe/scenes/scene16.cpp b/engines/fullpipe/scenes/scene16.cpp
index 818b479a3b..8129b2752b 100644
--- a/engines/fullpipe/scenes/scene16.cpp
+++ b/engines/fullpipe/scenes/scene16.cpp
@@ -159,7 +159,19 @@ void sceneHandler16_fillMug() {
}
void sceneHandler16_startLaugh() {
- warning("STUB: sceneHandler16_startLaugh()");
+ StaticANIObject *girl = g_fp->_currentScene->getStaticANIObject1ById(ANI_GIRL, -1);
+
+ girl->changeStatics2(ST_GRL_STAND);
+
+ MessageQueue *mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GIRLLAUGH), 0, 1);
+
+ mq->replaceKeyCode(-1, girl->_okeyCode);
+ mq->setFlags(mq->getFlags() | 1);
+ mq->chain(0);
+
+ g_fp->getGameLoaderGameVar()->getSubVarByName("OBJSTATES")->setSubVarAsInt(sO_DudeSwinged, 0);
+
+ g_vars->scene16_var09 = 1;
}
void sceneHandler16_sub02() {