diff options
author | Travis Howell | 2004-10-24 13:43:36 +0000 |
---|---|---|
committer | Travis Howell | 2004-10-24 13:43:36 +0000 |
commit | d591de9ab3c28a5179cb498732c960f57ad3d95d (patch) | |
tree | bddb362a7b6de48e79d12785535148d720f215da /scumm | |
parent | 7b8469312553d20999e4ae50566716f6ccb7a7a6 (diff) | |
download | scummvm-rg350-d591de9ab3c28a5179cb498732c960f57ad3d95d.tar.gz scummvm-rg350-d591de9ab3c28a5179cb498732c960f57ad3d95d.tar.bz2 scummvm-rg350-d591de9ab3c28a5179cb498732c960f57ad3d95d.zip |
Fun shops start.
svn-id: r15680
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v90he.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp index c4c7e306d1..1042ef75be 100644 --- a/scumm/script_v90he.cpp +++ b/scumm/script_v90he.cpp @@ -1619,6 +1619,7 @@ void ScummEngine_v90he::o90_paletteOps() { void ScummEngine_v90he::o90_unknownA5() { + // Font related byte string[80]; int a; @@ -1627,18 +1628,24 @@ void ScummEngine_v90he::o90_unknownA5() { switch (subOp) { case 42: a = pop(); - if (a == 2) + if (a == 2) { copyScriptString(string); - else if (a == 1) + push(-1); + } else if (a == 1) { pop(); + writeVar(0, 0); + defineArray(0, kStringArray, 0, 0, 0, 0); + writeArray(0, 0, 0, 0); + push(readVar(0)); + } break; case 57: + push(1); break; default: error("o90_unknownA5: Unknown case %d", subOp); } - push(0); debug(1,"o90_unknownA5 stub (%d)", subOp); } |