aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script.cpp6
-rw-r--r--scumm/script_c64.cpp2
2 files changed, 6 insertions, 2 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index dcaef1b1d1..3ad32ea13a 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -988,7 +988,11 @@ void ScummEngine::runInputScript(int a, int cmd, int mode) {
int args[24];
int verbScript;
- if (_version <= 2) {
+ if (_gameId == GID_MANIAC && _platform == Common::kPlatformC64) {
+ verbScript = 3;
+ //_scummVars[9] = cmd;
+
+ } else if (_version <= 2) {
verbScript = 4;
_scummVars[VAR_CLICK_AREA] = a;
switch (a) {
diff --git a/scumm/script_c64.cpp b/scumm/script_c64.cpp
index 8cf9682b6b..0094dcfabb 100644
--- a/scumm/script_c64.cpp
+++ b/scumm/script_c64.cpp
@@ -182,7 +182,7 @@ void ScummEngine_c64::setupOpcodes() {
OPCODE(o_getObjectOwner),
/* 74 */
OPCODE(o5_getDist),
- OPCODE(o2_findObject),
+ OPCODE(o5_printEgo),
OPCODE(o2_walkActorToObject),
OPCODE(o2_clearState01),
/* 78 */