Opened 14 years ago

Closed 13 years ago

Last modified 6 years ago

#9238 closed patch (outdated)

MMC64: use stamps with envelope

Reported by: SF/tobigun Owned by: Kirben
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Maniac Mansion

Description

This patch addresses bug "MMC64: Bug while getting the stamps from the parcel - ID: 3072094".

Seems as if in ScummEngine_v0::o_setOwnerOf() should be _activeObject instead of _activeInventory. This patch fixes the problem but it still needs some testing as it might break other things.

The reverse command "use envelope in stamps" does not work yet as ScummEngine_v0::o_doSentence() does not handle the special objects 255 and 254 correctly in the call doSentence(11,255,254) performed by script-81 to swap the position of envelope and stamp in the sentence (resulting in "use stamps on envelope"). A warning "Code for object 255 not in room 7!" is caused by this. I guess that object 255 is activeObject2 and 254 is activeObject, so both will be swapped. But there are also calls to doSentence(1,254,255) (roomobj-1-18) which would result in an endless loop so its not that easy.

Ticket imported from: #3095595. Ticket imported from: patches/1343.

Attachments (1)

stamp.patch (321 bytes ) - added by SF/tobigun 14 years ago.

Download all attachments as: .zip

Change History (4)

by SF/tobigun, 14 years ago

Attachment: stamp.patch added

comment:1 by bluegr, 13 years ago

Owner: set to Kirben
Resolution: outdated
Status: newclosed

comment:2 by bluegr, 13 years ago

After speaking with kirben, I'm closing this one as outdated, as there have been major changes to the relevant code not long ago.

comment:3 by digitall, 6 years ago

Component: Engine: SCUMM
Game: Maniac Mansion
Note: See TracTickets for help on using tickets.