diff options
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 2279d9ffbe..fb5fba8d9c 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -3927,7 +3927,6 @@ void DreamGenContext::talk() { } } - void DreamGenContext::discOps() { if (data.byte(kCommandtype) != 249) { data.byte(kCommandtype) = 249; @@ -4564,4 +4563,17 @@ void DreamGenContext::lookAtCard() { putBackObStuff(); } +void DreamGenContext::showSlots() { + showFrame(tempGraphics(), kOpsx + 7, kOpsy + 8, 2, 0); + + uint16 y = kOpsy + 11; + + for (int slot = 0; slot < 7; slot++) { + if (slot == data.byte(kCurrentslot)) + showFrame(tempGraphics(), kOpsx + 10, y, 3, 0); + + y += 10; + } +} + } // End of namespace DreamGen |