aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index b542f3d1ec..15c7b0a75b 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -2200,11 +2200,13 @@ void ScummEngine_v5::o5_startScript() {
getWordVararg(data);
- // Method used by original games to skip copy protection scheme
- //if (_gameId == GID_LOOM && _currentRoom == 69 && script == 201)
- // script = 205;
- //else if ((_gameId == GID_MONKEY_VGA || _gameId == GID_MONKEY_EGA) && script == 152)
- // return;
+ if (!_copyProtection) {
+ // Method used by original games to skip copy protection scheme
+ if (_gameId == GID_LOOM && _currentRoom == 69 && script == 201)
+ script = 205;
+ else if ((_gameId == GID_MONKEY_VGA || _gameId == GID_MONKEY_EGA) && script == 152)
+ return;
+ }
runScript(script, (op & 0x20) != 0, (op & 0x40) != 0, data);
}