Opened 20 years ago

Closed 20 years ago

Last modified 5 years ago

#1674 closed defect

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

Reported by: eriktorbjorn Owned by: sev-
Priority: normal Component: Engine: SCUMM
Version: 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 20 years ago.
Patch against a July 2 CVS snapshot

Download all attachments as: .zip

Change History (5)

by eriktorbjorn, 20 years ago

Attachment: costume-hack.diff added

Patch against a July 2 CVS snapshot

comment:1 by sev-, 20 years ago

Status: newclosed

comment:2 by sev-, 20 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, 20 years ago

Owner: set to sev-

comment:4 by digitall, 5 years ago

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