diff options
-rw-r--r-- | engines/fullpipe/constants.h | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene14.cpp | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index d75d6b7af1..68c5b67dcf 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -601,6 +601,8 @@ namespace Fullpipe { #define MV_MAN14_STEPFW 1240 #define ST_GMA_SIT 1229 #define QU_GMA_BLINK 1252 +#define QU_GMA_JUMPBK 1251 +#define QU_GMA_JUMPFW 1249 #define QU_GMA_THROW 1255 #define QU_SC14_ENTERLIFT 1225 diff --git a/engines/fullpipe/scenes/scene14.cpp b/engines/fullpipe/scenes/scene14.cpp index e596c2118c..88f4e8e58d 100644 --- a/engines/fullpipe/scenes/scene14.cpp +++ b/engines/fullpipe/scenes/scene14.cpp @@ -139,7 +139,16 @@ void sceneHandler14_showBallFly() { } void sceneHandler14_grandmaJump() { - warning("STUB: sceneHandler14_grandmaJump()"); + BehaviorEntryInfo *beh1 = g_fp->_behaviorManager->getBehaviorEntryInfoByMessageQueueDataId(g_vars->scene14_grandma, ST_GMA_SIT, QU_GMA_JUMPFW); + BehaviorEntryInfo *beh2 = g_fp->_behaviorManager->getBehaviorEntryInfoByMessageQueueDataId(g_vars->scene14_grandma, ST_GMA_SIT, QU_GMA_JUMPBK); + + if (beh1) { + if (beh2) { + int p = beh1->_percent; + beh1->_percent = beh2->_percent; + beh2->_percent = p; + } + } } void sceneHandler14_winArcade() { |