aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
authorJames Brown2003-07-14 06:00:17 +0000
committerJames Brown2003-07-14 06:00:17 +0000
commit9b55abbf49f3ea4d3cdbecb9898838283f59fcf1 (patch)
tree4dd692c88659236a09a64b17424b257907ca2762 /scumm/script_v2.cpp
parent59ac07dcd6db57e6a63739f78b09189759e9e921 (diff)
downloadscummvm-rg350-9b55abbf49f3ea4d3cdbecb9898838283f59fcf1.tar.gz
scummvm-rg350-9b55abbf49f3ea4d3cdbecb9898838283f59fcf1.tar.bz2
scummvm-rg350-9b55abbf49f3ea4d3cdbecb9898838283f59fcf1.zip
V1 Zak fixes and hacks. (Woo, it rhymes! :)
svn-id: r8996
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 821c5a7f3d..3492163b52 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -689,6 +689,12 @@ void Scumm_v2::o2_actorSet() {
i = fetchScriptByte();
a->palette[i] = arg;
a->needRedraw = true;
+
+ // FIXME: Hack for V1 Zak
+ if ((_gameId == GID_ZAK) && (_version == 1)) {
+ fetchScriptByte();
+ fetchScriptByte();
+ }
break;
case 3: // Actor Name
@@ -815,8 +821,9 @@ void Scumm_v2::o2_verbOps() {
int y = fetchScriptByte() << 3;
slot = getVarOrDirectByte(0x80) + 1;
/* int unk = */ fetchScriptByte(); // ?
-
- if (_version == 1) // V1 Verbs are positioned relative to the 'verb area' - under the sentence
+
+ // V1 Maniac verbs are relative to the 'verb area' - under the sentence
+ if ((_gameId == GID_MANIAC) && (_version == 1))
y+=9;
//printf("o2_verbOps: verb = %d, slot = %d, x = %d, y = %d, unk = %d, name = %s\n",