aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-03-15 04:16:25 +0000
committerTravis Howell2005-03-15 04:16:25 +0000
commitaf87d515f5edf950e320fd25fcf50cb19d583b80 (patch)
treedf3c4e5747510f7d0e63a4e46b8f687c5ed52a74
parent6974025542bc226e3700bdd9465b07c7efba6f5d (diff)
downloadscummvm-rg350-af87d515f5edf950e320fd25fcf50cb19d583b80.tar.gz
scummvm-rg350-af87d515f5edf950e320fd25fcf50cb19d583b80.tar.bz2
scummvm-rg350-af87d515f5edf950e320fd25fcf50cb19d583b80.zip
Fix verbs position in NES maniac for now.
svn-id: r17146
-rw-r--r--scumm/script_v2.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index a8a25ad65d..6532999659 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -818,8 +818,10 @@ void ScummEngine_v2::o2_verbOps() {
slot = getVarOrDirectByte(PARAM_1) + 1;
int prep = fetchScriptByte(); // Only used in V1?
// V1 Maniac verbs are relative to the 'verb area' - under the sentence
- if ((_gameId == GID_MANIAC) && (_version == 1))
- y+=8;
+ if (_features & GF_NES)
+ y -= 16;
+ else if ((_gameId == GID_MANIAC) && (_version == 1))
+ y += 8;
//printf("o2_verbOps: verb = %d, slot = %d, x = %d, y = %d, unk = %d, name = %s\n",
// verb, slot, x, y, prep, _scriptPointer);