diff options
author | D G Turner | 2012-08-02 09:35:17 +0100 |
---|---|---|
committer | D G Turner | 2012-08-02 09:35:17 +0100 |
commit | 5c03af4a7647be6d185ed5fdaea7df7fc52b1420 (patch) | |
tree | c82b20cb615ee3322ee27351406baf384b18b75f | |
parent | 21d7db65787807250c55d3492f7ccaea66aec4a4 (diff) | |
download | scummvm-rg350-5c03af4a7647be6d185ed5fdaea7df7fc52b1420.tar.gz scummvm-rg350-5c03af4a7647be6d185ed5fdaea7df7fc52b1420.tar.bz2 scummvm-rg350-5c03af4a7647be6d185ed5fdaea7df7fc52b1420.zip |
TEENAGENT: Implement missing callback for talking to Bird in Act 1.
-rw-r--r-- | engines/teenagent/callbacks.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/teenagent/callbacks.cpp b/engines/teenagent/callbacks.cpp index 182546bcf3..e7fe0e8e8c 100644 --- a/engines/teenagent/callbacks.cpp +++ b/engines/teenagent/callbacks.cpp @@ -545,6 +545,12 @@ bool TeenAgentEngine::processCallback(uint16 addr) { displayMessage(dsAddr_notWantToSleepMsg); // "I don't want to sleep" break; + case 0x4056: + // FIXME - This is the bird use callback in the first act at + // the mudpool. Current Code based on behaviour. Need to analyse cseg data. + dialog->popMark(scene, 0xdb7a); + break; + case 0x4060: loadScene(2, Common::Point(28, 180)); scene->setOrientation(2); @@ -4920,10 +4926,6 @@ bool TeenAgentEngine::processCallback(uint16 addr) { default: warning("unknown callback %04x called", addr); - // FIXME - unknown non-trivial callback 0x4056 called! - // This is the bird use callback in the first act at - // the mudpool. Need to analyse cseg data. - // try decoding trivial callbacks by cseg if not in switch byte *code = res->cseg.ptr(addr); if (code[0] == 0xbb && code[3] == 0xe8 && code[6] == 0xc3) { |