1
SCI Syntax Help / solitary vaules in QfGIV changeStage switch statement
« on: January 07, 2026, 06:27:37 PM »
What's the purpose of the solitary vaules such as this from QfGIV rm340:
I've looked at 'setScript' and some other possibilities and maybe it's setting the register value or something, but found nothing conclusive. Honestly, it just doesn't make sense to me.
They appear in both EO's and Sluice's decompile repos, so I don't think it's a mistake. Anyone know?
Code: [Select]
(method (changeState newState)
(switch (= state newState)
(0
0 ; THE VALUE IN QUESTION
(theGame handsOff:)
(if (and (== (barrel x?) 116) (not (Btst 254)))
(self changeState: 6)
else
(= cycles 1)
)
)
...
I've looked at 'setScript' and some other possibilities and maybe it's setting the register value or something, but found nothing conclusive. Honestly, it just doesn't make sense to me.
They appear in both EO's and Sluice's decompile repos, so I don't think it's a mistake. Anyone know?




