aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-09-06 02:39:02 +0000
committerTravis Howell2004-09-06 02:39:02 +0000
commit3bd8642f7321547a4eef31f44b3cf29560539e79 (patch)
tree98982c2ff8325d20d0e9067cb0747873bd9d3768 /scumm
parent60bccf377e2c1cd636b0accc67e179c7a53db301 (diff)
downloadscummvm-rg350-3bd8642f7321547a4eef31f44b3cf29560539e79.tar.gz
scummvm-rg350-3bd8642f7321547a4eef31f44b3cf29560539e79.tar.bz2
scummvm-rg350-3bd8642f7321547a4eef31f44b3cf29560539e79.zip
More stubs for chase
svn-id: r14920
Diffstat (limited to 'scumm')
-rw-r--r--scumm/intern.h1
-rw-r--r--scumm/script_v90he.cpp19
2 files changed, 18 insertions, 2 deletions
diff --git a/scumm/intern.h b/scumm/intern.h
index e60dd1d0f0..3b285a5b78 100644
--- a/scumm/intern.h
+++ b/scumm/intern.h
@@ -804,6 +804,7 @@ protected:
void o90_unknown1C();
void o90_unknown25();
void o90_unknown26();
+ void o90_unknown28();
};
class ScummEngine_v7 : public ScummEngine_v6 {
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index c626e99631..911ced25d9 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -95,7 +95,7 @@ void ScummEngine_v90he::setupOpcodes() {
OPCODE(o90_unknown26),
OPCODE(o6_invalid),
/* 28 */
- OPCODE(o6_invalid),
+ OPCODE(o90_unknown28),
OPCODE(o6_invalid),
OPCODE(o6_invalid),
OPCODE(o6_invalid),
@@ -447,11 +447,26 @@ void ScummEngine_v90he::o90_unknown26() {
int value = fetchScriptByte();
value -= 34;
- if (value == 23) {
+ if (value == 10) {
+ pop();
+ pop();
+ } else if (value == 23) {
pop();
}
debug(1,"o90_unknown26 stub (%d)", value);
}
+void ScummEngine_v90he::o90_unknown28() {
+ // Incomplete
+ int value = fetchScriptByte();
+ value -= 37;
+
+ if (value == 20) {
+ pop();
+ }
+
+ debug(1,"o90_unknown28 stub (%d)", value);
+}
+
} // End of namespace Scumm