[Scummvm-tracker] [ScummVM :: Bugs] #14009: SCUMM: Problems in Lou's Loans in ZAK

ScummVM :: Bugs trac at scummvm.org
Thu Feb 23 13:22:18 UTC 2023


#14009: SCUMM: Problems in Lou's Loans in ZAK
-------------------------+----------------------------
Reporter:  GermanTribun  |       Owner:  AndywinXp
    Type:  defect        |      Status:  closed
Priority:  normal        |   Component:  Engine: SCUMM
 Version:                |  Resolution:  invalid
Keywords:                |        Game:  Zak McKracken
-------------------------+----------------------------
Comment (by dwatteau):

 For the first thing you're reporting (i.e. character placement), it's
 maybe a mistake when they ported the game from SCUMM v2 to v3, but it's
 hard to tell. The characters are set up in a different way, but I don't
 think we can say we're sure it's an obvious mistake.

 We may fix some original stuff with the Enhancements when several of us
 agree that a behavior was very likely intended to be different (i.e. we
 see an obvious script error, or a big continuity mistake or a very buggy
 behavior). But we tend to avoid fulfilling what's only a matter of
 personal preferences, because well they're personal and so it'd be endless
 and more akin to modding.

 On the other hand, the second thing you're reporting (Lou not walking to
 the windows when you don't have your CashCard) may be a script bug. Script
 7-211 does this:

 {{{
 Script# 211
 [0000] (80) breakHere();
 [0001] (28) unless (!Var[56]) goto 0000;
 [0006] (AE) WaitForMessage();
 [0008] (68) VAR_RESULT = isScriptRunning(209);
 [000C] (28) if (!VAR_RESULT) {
 [0011] (B4)   VAR_RESULT = getDist(VAR_EGO,181);
 [0018] (78)   if (VAR_RESULT < 20) {
 [001F] (08)     if (Var[58] != 181) {
 [0026] (1A)       Var[58] = 181;
 [002B] (1E)       walkActorTo(10,176,94);
 [0031] (AE)       WaitForActor(10);
 [0034] (11)       animateCostume(10,246);
 [0037] (AE)       WaitForActor(10);
 [003A] (AE)       WaitForMessage();
 [003C] (B4)       VAR_RESULT = getDist(VAR_EGO,181);
 [0043] (78)       if (VAR_RESULT < 20) {
 [004A] (A8)         if (Bit[896 + Var[1]]) {
 [0051] (14)           print(10,[Text("I told ya, no card, no bizness.")]);
 [0074] (18)           goto 0137;
 [0077] (**)         }
 [0077] (14)         print(10,[Text("Show me what ya wanna buy.")]);
 [0095] (**)       }
 [0095] (**)     }
 [0095] (**)   }
 [0095] (**) }
 }}}

 and for some reason, `Var[56]` doesn't have the expected value if you
 don't have the CashCard. I can't say why or whether this is intentional,
 yet.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14009#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list