aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-26 12:04:15 +0000
committerMartin Kiewitz2010-06-26 12:04:15 +0000
commitcb5d9f6af5f2c44907215490dff0ace4b2b134c6 (patch)
tree58b485a9436d9645e500eb50afefca9fafaa90bf
parente4153044d42ec976699389956441020cc52d9005 (diff)
downloadscummvm-rg350-cb5d9f6af5f2c44907215490dff0ace4b2b134c6.tar.gz
scummvm-rg350-cb5d9f6af5f2c44907215490dff0ace4b2b134c6.tar.bz2
scummvm-rg350-cb5d9f6af5f2c44907215490dff0ace4b2b134c6.zip
SCI: added workaround for island of dr. brain elements puzzle
svn-id: r50317
-rw-r--r--engines/sci/engine/vm.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index d1fcbbd1f9..9565c82f16 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -198,10 +198,11 @@ static const UninitializedReadWorkaround uninitializedReadWorkarounds[] = {
{ GID_FREDDYPHARKAS, 24, "gcWin", "open", -1, 5, 0xf }, // is used as priority for game menu
{ GID_FREDDYPHARKAS, 31, "quitWin", "open", -1, 5, 0xf }, // is used as priority for game menu
{ GID_LSL1, 720, "rm720", "init", -1, 0, 0 }, // age check room
- { GID_ISLANDBRAIN, 140, "piece", "init", -1, 3, 1 }, // some initialization variable. bnt is done on it, and it should be non-0
+ { GID_ISLANDBRAIN, 140, "piece", "init", -1, 3, 1 }, // first puzzle right at the start, some initialization variable. bnt is done on it, and it should be non-0
+ { GID_ISLANDBRAIN, 268, "anElement", "select", -1, 0, 0 }, // elements puzzle, gets used before super TextIcon
{ GID_SQ1, 703, "", "export 1", -1, 0, 0 }, // sub that's called from several objects
{ GID_SQ1, 703, "firePulsar", "changeState", 0x18a, 0, 0 }, // export 1, but called locally
- { GID_SQ1, 703, "", "export 1", -1, 0, 0 }, // export 1 sub, but called locally
+ { GID_SQ1, 703, "", "export 1", -1, 0, 0 }, // export 1 sub, but called locally (when shooting at aliens)
{ GID_SQ4, 928, "Narrator", "startText", -1, 1000, 1 }, // sq4cd: method returns this to the caller
{ (SciGameId)0, -1, NULL, NULL, -1, 0, 0 }
};