Opened 10 years ago

Closed 10 years ago

Last modified 12 months ago

#9146 closed patch

MM: V0 Descumm

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

Description

opcode 'o_setActorBitVar '

was outputting

setActorBitVar(95,Var[64],1)

instead of
setActorBitVar(Var[95],64,1);

this was because the wrong byte/var selector was being used (0x80 is arg1, 0x40 is arg2, 0x20 is arg3), argument 2 was being used with 0x80, causing descumm to identify the value as a variable (as arg1 is a variable)

Ticket imported from: #2970485. Ticket imported from: patches/1251.

Attachments (1)

descumm_v0_SetBitVar.patch (474 bytes ) - added by SF/segra 10 years ago.

Download all attachments as: .zip

Change History (4)

by SF/segra, 10 years ago

Attachment: descumm_v0_SetBitVar.patch added

comment:1 by Kirben, 10 years ago

Owner: set to Kirben
Status: newclosed

comment:2 by Kirben, 10 years ago

Thanks, I added the patch to ScummVM Tools SVN.

comment:3 by digitall, 12 months ago

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