diff options
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index b302bce18b..9efb49b873 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -3769,4 +3769,23 @@ void DreamGenContext::edensFlatReminders() { data.byte(kProgresspoints)++; // got card } +void DreamGenContext::incRyanPage() { + if (data.byte(kCommandtype) != 222) { + data.byte(kCommandtype) = 222; + commandOnly(31); + } + + if (data.word(kMousebutton) == data.word(kOldbutton) || (data.word(kMousebutton) & 1)) + return; + + data.byte(kRyanpage) = (data.word(kMousex) - (kInventx + 167)) / 18; + + delPointer(); + fillRyan(); + readMouse(); + showPointer(); + workToScreenCPP(); + delPointer(); + +} } // End of namespace DreamGen |