diff options
Diffstat (limited to 'engines/dreamweb/use.cpp')
-rw-r--r-- | engines/dreamweb/use.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp index 39423b392c..4421134f9b 100644 --- a/engines/dreamweb/use.cpp +++ b/engines/dreamweb/use.cpp @@ -287,5 +287,30 @@ void DreamGenContext::wheelSound() { putBackObStuff(); } +void DreamGenContext::callHotelLift() { + playChannel1(12); + showFirstUse(); + data.byte(kCounttoopen) = 8; + data.byte(kGetback) = 1; + data.byte(kDestination) = 5; + data.byte(kFinaldest) = 5; + autoSetWalk(); + turnPathOn(4); +} + +void DreamGenContext::useShield() { + if (data.byte(kReallocation) != 20 || data.byte(kCombatcount) == 0) { + // Not in Sart room + showFirstUse(); + putBackObStuff(); + } else { + data.byte(kLastweapon) = 3; + showSecondUse(); + data.byte(kGetback) = 1; + data.byte(kProgresspoints) = data.byte(kProgresspoints) + 1; + removeObFromInv(); + } +} + } /*namespace dreamgen */ |