diff options
author | Vladimir Menshakov | 2009-09-03 22:41:15 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-09-03 22:41:15 +0000 |
commit | d4923071c1b9a3a8c1ab117fdf9349a354e18ca7 (patch) | |
tree | 43600d5c509eb9bc0eb37e37397ac2725f2c6810 /engines/teenagent/callbacks.cpp | |
parent | a59f5231fe7907bb26d1cd1c811e34b7138e05ca (diff) | |
download | scummvm-rg350-d4923071c1b9a3a8c1ab117fdf9349a354e18ca7.tar.gz scummvm-rg350-d4923071c1b9a3a8c1ab117fdf9349a354e18ca7.tar.bz2 scummvm-rg350-d4923071c1b9a3a8c1ab117fdf9349a354e18ca7.zip |
implemented switch in cellar callback
svn-id: r43928
Diffstat (limited to 'engines/teenagent/callbacks.cpp')
-rw-r--r-- | engines/teenagent/callbacks.cpp | 17 |
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); |