[Scummvm-tracker] [ScummVM :: Bugs] #6867: TOON: Missing Flux animation when asking him to open cupboard
ScummVM :: Bugs
trac at scummvm.org
Tue Feb 2 11:16:46 UTC 2021
#6867: TOON: Missing Flux animation when asking him to open cupboard
-------------------------+---------------------------
Reporter: eriktorbjorn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Toon
Version: | Resolution:
Keywords: | Game: Toonstruck
-------------------------+---------------------------
Comment (by eriktorbjorn):
The sys_Cmd_Play_Flux_Anim() apparently takes two parameters. This is what
I see if I turn on script debugging:
{{{
[0x00001E28] EMCInterpreter::op_push([12/12])
[0x00001E2C] EMCInterpreter::op_push([38/38])
[0x00001E30] EMCInterpreter::op_sysCall([72/72])
[0x00001E34] EMCInterpreter::op_addSP([2/2])
}}}
On a hunch, I tried this:
{{{
int32 ScriptFunc::sys_Cmd_Play_Flux_Anim(EMCState *state) {
_vm->getFlux()->playAnim(stackPos(0), 0, stackPos(1));
return 0;
}
}}}
That does seem to start the correct animation. Unfortunately, the
animation never stops.
(It's very easy to compare this behavior to the original in DOSBox,
because the bug happens in the very first room of the game. All you have
to do is walk down the stairs and then use Flux on the cupboard.)
--
Ticket URL: <https://bugs.scummvm.org/ticket/6867#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list