aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v90he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v90he.cpp')
-rw-r--r--scumm/script_v90he.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index 1abbddeacd..16150f8b6b 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -1512,11 +1512,17 @@ void ScummEngine_v90he::o90_paletteOps() {
void ScummEngine_v90he::o90_unknownA5() {
+ byte string[80];
+ int a;
+
int subOp = fetchScriptByte();
switch (subOp) {
case 42:
- if (pop() - 1 == 0)
+ a = pop();
+ if (a == 2)
+ copyScriptString(string);
+ else if (a == 1)
pop();
break;
case 57: