aboutsummaryrefslogtreecommitdiff
path: root/script_v2.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-03-06 09:40:21 +0000
committerVincent Hamm2002-03-06 09:40:21 +0000
commit474c9e333b81280e2c450f07e81eb1cc19ea89b5 (patch)
treea1bfb15807fb807855953d385f2313117cdf88a9 /script_v2.cpp
parentc7d58aca8485eff7309af22eefee6398ce136159 (diff)
downloadscummvm-rg350-474c9e333b81280e2c450f07e81eb1cc19ea89b5.tar.gz
scummvm-rg350-474c9e333b81280e2c450f07e81eb1cc19ea89b5.tar.bz2
scummvm-rg350-474c9e333b81280e2c450f07e81eb1cc19ea89b5.zip
Reimplemented the preliminary Dig features. Implemented actor with many direction. Fixed bomp bug
svn-id: r3661
Diffstat (limited to 'script_v2.cpp')
-rw-r--r--script_v2.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/script_v2.cpp b/script_v2.cpp
index 9f0f70d295..e359af629c 100644
--- a/script_v2.cpp
+++ b/script_v2.cpp
@@ -2692,6 +2692,17 @@ void Scumm::o6_kernelFunction() {
a = derefActorSafe(args[1], "o6_kernelFunction:212");
push(a->frame);
break;
+ case 215:
+ if(_extraBoxFlags[args[1]]&0x00FF==0x00C0)
+ {
+ push(_extraBoxFlags[args[1]]);
+ }
+ else
+ {
+ byte* temp = (byte*)getBoxBaseAddr(args[1]);
+ push((byte)(*(temp+17)));
+ }
+ break;
default:
error("o6_kernelFunction: default case %d", args[0]);
}