[Scummvm-tracker] [ScummVM :: Bugs] #15288: SCI: CAMELOT: Counting your money incorrectly reports your purse as empty
ScummVM :: Bugs
trac at scummvm.org
Mon Jul 22 11:45:11 UTC 2024
#15288: SCI: CAMELOT: Counting your money incorrectly reports your purse as empty
-------------------------+-----------------------------------
Reporter: eriktorbjorn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCI
Version: | Resolution:
Keywords: | Game: Conquests of Camelot
-------------------------+-----------------------------------
Comment (by eriktorbjorn):
No, wait, it's ''not'' global132 that keeps track of your money. It's
globals 120 through 123, isn't it? From Rm5.sc, when taking back your
purse:
{{{
((and (== global122 0) (==
global121 0) (== global120 0))
(Talk 5 41) ; "Here you
are, m'lord, but the purse is empty. I beg you to let me fill it for you
ere you go."
(gEgo get: 3) ; purse
(SetMenu 1281 112 1)
)
((!= global123 3)
(Talk 5 42) ; "There is
room for more, m'lord, but here it is, as you command."
(gEgo get: 3) ; purse
(SetMenu 1281 112 1)
(SetFlag 0)
)
(else
(Talk 5 43) ; "Here it is,
m'lord, as you command."
(gEgo get: 3) ; purse
(SetMenu 1281 112 1)
(SetFlag 0)
)
}}}
From what I understand:
||= Variable =||= Meaning =||
|| global120 || Number of copper coins in your purse ||
|| global121 || Number of silver coins in your purse ||
|| global122 || Number of gold coins in your purse ||
|| global123 || Number of types of coins that you've picked up from your
treasury ||
Does that mean that DoPurse should return global123 instead? Or is it
possible to gain money without using the treasury?
--
Ticket URL: <https://bugs.scummvm.org/ticket/15288#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list