diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/constants.h | 4 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene14.cpp | 25 |
2 files changed, 27 insertions, 2 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index f44b39760d..d75d6b7af1 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -599,6 +599,10 @@ namespace Fullpipe { #define MV_BAL14_SPIN 1247 #define MV_MAN14_KICK 1237 #define MV_MAN14_STEPFW 1240 +#define ST_GMA_SIT 1229 +#define QU_GMA_BLINK 1252 +#define QU_GMA_THROW 1255 + #define QU_SC14_ENTERLIFT 1225 #define QU_SC14_EXITLIFT 1226 diff --git a/engines/fullpipe/scenes/scene14.cpp b/engines/fullpipe/scenes/scene14.cpp index 7433a91457..385f926e30 100644 --- a/engines/fullpipe/scenes/scene14.cpp +++ b/engines/fullpipe/scenes/scene14.cpp @@ -32,7 +32,7 @@ #include "fullpipe/interaction.h" #include "fullpipe/behavior.h" - +#include "fullpipe/input.h" namespace Fullpipe { @@ -168,7 +168,28 @@ void sceneHandler14_startArcade() { } void sceneHandler14_endArcade() { - warning("STUB: sceneHandler14_endArcade()"); + g_vars->scene14_var03 = 0; + + setInputDisabled(0); + + getGameLoaderInteractionController()->enableFlag24(); + getCurrSceneSc2MotionController()->setEnabled(); + + BehaviorEntryInfo *beh = g_fp->_behaviorManager->getBehaviorEntryInfoByMessageQueueDataId(g_vars->scene14_grandma, ST_GMA_SIT, QU_GMA_BLINK); + if (beh) + beh->_percent = 327; + + beh = g_fp->_behaviorManager->getBehaviorEntryInfoByMessageQueueDataId(g_vars->scene14_grandma, ST_GMA_SIT, QU_GMA_THROW); + if (beh) + beh->_percent = 0; + + g_vars->scene14_var01 = 200; + g_vars->scene14_var02 = 200; + + g_fp->_aniMan2 = g_fp->_aniMan; + + g_vars->scene14_var07 = 300; + g_vars->scene14_var08 = 300; } void sceneHandler14_sub01() { |