aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r--engines/dreamweb/stubs.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index e75c7cde4f..637df6019a 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -3872,4 +3872,25 @@ void DreamGenContext::selectLocation() {
deallocateMem(data.word(kTraveltext));
}
+
+void DreamGenContext::examineInventory() {
+ if (data.byte(kCommandtype) != 249) {
+ data.byte(kCommandtype) = 249;
+ commandOnly(32);
+ }
+
+ if (!(data.word(kMousebutton) & 1))
+ return;
+
+ createPanel();
+ showPanel();
+ showMan();
+ showExit();
+ examIcon();
+ data.byte(kPickup) = 0;
+ data.byte(kInvopen) = 2;
+ openInv();
+ workToScreenM();
+}
+
} // End of namespace DreamGen