Opened 11 years ago

Closed 11 years ago

#6219 closed defect (invalid)

AGI FANMADE: conflicting variables and game slowed down

Reported by: SF/f100101ff Owned by: SF/buddha_
Priority: normal Component: Engine: AGI
Version: Keywords: script
Cc: Game: AGI Fanmade


ScummVM 1.5.0 - Windows 7 I\'m going through the fanmade game \'Hank\'s Quest: Victim of Society\" at the moment and I came across the following 2 issues: 1. The following variables seem to be assigned/in use somehow by ScummVM (or at least given a value when the game starts, even when I set the values to something different): v26, v28 & v29. This only happens in Scumm and not in NAGI or any other interperter. 2. Having have.key() during a loop (the command that waits for the player to press any key during a cutscene (e.g.)) slows the game down considerably. It seems like the game speed is slowed down by 1 step (this is controlled with the variable v10), but this might be just the game itself slowing down. Thanks in advance.

Ticket imported from: #3599483. Ticket imported from: bugs/6219.

Change History (5)

comment:1 by SF/buddha_, 11 years ago

About the use of variables v26-v29 by ScummVM:

Variables 0-26 are reserved for internal use by the AGI engine, see:

v26 is used for the monitor type (e.g. Hercules, CGA, EGA), see and

v27-v29 are used by AGI Mouse extension: - v27: Button pressed (0=none, 1=left, 2=right, 3=middle). - v28: The X position of the mouse. - v29: The Y position of the mouse. See

comment:2 by SF/buddha_, 11 years ago

And f100101ff, please submit only one bug per bug report in the future, it's easier that way for the developers (i.e. having the parts 1. and 2. in their own bug reports would've been ideal), thank you.

comment:3 by SF/f100101ff, 11 years ago

Thanks for the thorough reply, buddha: very helpful and informative. Appreciated! I'll post the second question in a new thread.

comment:4 by bluegr, 11 years ago

Closing this one as invalid - the second part of the bug has been resubmitted as bug #3600733:

comment:5 by bluegr, 11 years ago

Owner: set to SF/buddha_
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.