aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v1.cpp
diff options
context:
space:
mode:
authorJames Brown2002-11-09 16:56:20 +0000
committerJames Brown2002-11-09 16:56:20 +0000
commitd232d518bbcf68a2135de034e251930b7885b161 (patch)
tree1e4c85535ec2ea218310307b3e17dfec3d21cee9 /scumm/script_v1.cpp
parent4fd2497a21e740856b741a8036dc07fae865008a (diff)
downloadscummvm-rg350-d232d518bbcf68a2135de034e251930b7885b161.tar.gz
scummvm-rg350-d232d518bbcf68a2135de034e251930b7885b161.tar.bz2
scummvm-rg350-d232d518bbcf68a2135de034e251930b7885b161.zip
Apart from broke actor costumes, and the random catacomb crashes -
Indy3-256 is completable. (Will not be labeled as such in the compatability table until the catacomb crashes are fixed!) svn-id: r5475
Diffstat (limited to 'scumm/script_v1.cpp')
-rw-r--r--scumm/script_v1.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/scumm/script_v1.cpp b/scumm/script_v1.cpp
index 214d795b8f..4058958725 100644
--- a/scumm/script_v1.cpp
+++ b/scumm/script_v1.cpp
@@ -974,9 +974,16 @@ void Scumm::o5_getActorY()
int a;
getResultPos();
- if (_gameId == GID_INDY3_256)
+ if (_gameId == GID_INDY3_256) {
a = getVarOrDirectByte(0x80);
- else
+
+ // Indy3 hack to cheat the 'Leap of Faith' grail test
+ // This test is so damn annoying, I'm leaving this in.
+ if (_roomResource == 85) {
+ setResult(94);
+ return;
+ }
+ } else
a = getVarOrDirectWord(0x80);
setResult(getObjY(a));