aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/teenagent/callbacks.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/engines/teenagent/callbacks.cpp b/engines/teenagent/callbacks.cpp
index 6f7c065489..2b2f9b85f7 100644
--- a/engines/teenagent/callbacks.cpp
+++ b/engines/teenagent/callbacks.cpp
@@ -1170,7 +1170,6 @@ bool TeenAgentEngine::processCallback(uint16 addr) {
playSound(28, 3);
playAnimation(596);
setOns(1, 30);
- //loadScene(24, 100, 100);//TODO: Extend and fix the coords
SET_FLAG(0xDBA3, 1);
enableObject(8);
} else {
@@ -1274,6 +1273,22 @@ bool TeenAgentEngine::processCallback(uint16 addr) {
}
return true;
+ case 0x6176:
+ if (CHECK_FLAG(0xDBA4, 1)) {
+ displayMessage(0x3801);
+ return true;
+ }
+ playSound(71, 6);
+ playAnimation(598);
+ setOns(2, 0);
+ playAnimation(660, 1);
+ disableObject(1);
+ setLan(1, 0);
+ SET_FLAG(0xDBA4, 1);
+ loadScene(24, scene->getPosition());
+
+ return true;
+
case 0x6480: //flips
if (CHECK_FLAG(0xDB96, 1)) {
setOns(3, 36);