Opened 16 years ago

Closed 16 years ago

Last modified 16 months ago

#1674 closed defect

FBEAR: Invalid costume in "Mr. Veggie Head" mini-game

Reported by: eriktorbjorn Owned by: sev-
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Fatty Bear's Birthday Surprise

Description

Fatty Bear's Birthday Surprise (DOS version) Latest ScummVM CVS snapshot

The Mr. Veggie Head mini-game crashes repeatably to the debugger when clicking on some of the items to the left. The error message is "(4:212:0x78E4): costume 32799 undefined 253 1!". The actual number depends on which of the items you clicked on, of course.

I did notice that the costume number is actually a quite sensible 16-bit number, except that the most significant bit is set. At first, I thought that this had some sort of meaning, like "load a mirror version of this costume", but simply clearing the bit seems to work fine. I just don't dare to commit that change without discussing it with anyone.

Ticket imported from: #984258. Ticket imported from: bugs/1674.

Attachments (1)

costume-hack.diff (671 bytes ) - added by eriktorbjorn 16 years ago.
Patch against a July 2 CVS snapshot

Download all attachments as: .zip

Change History (5)

by eriktorbjorn, 16 years ago

Attachment: costume-hack.diff added

Patch against a July 2 CVS snapshot

comment:1 by sev-, 16 years ago

Status: newclosed

comment:2 by sev-, 16 years ago

Attached partially. It appeared that original zeroed whole high byte, not just high bit. And it applies to all v6.0 games.

comment:3 by Kirben, 16 years ago

Owner: set to sev-

comment:4 by digitall, 16 months ago

Component: Engine: SCUMM
Game: Fatty Bear's Birthday Surprise
Note: See TracTickets for help on using tickets.