[0.69.420-PUBLIC#1648] Xotchi Tzall "blow steam" scene text glitches

one_two

Well-Known Member
Jan 20, 2022
457
130
Scene text contains string [xotchiName] which the text parser doesn't recognize, by the looks of it. Included one such instance on the screenshot as example, but there's a good handful of these throughout, including subsequent scenes accessed with "More!" button.

1648081092284.png

There's similar problem with[xotchiPCName] in the subsquent scenes:

1648081316835.png
 

one_two

Well-Known Member
Jan 20, 2022
457
130
Still exists in [0.69.420-PUBLIC#1911] although in slightly different form -- now it's all instances of

ERROR: COULD NOT FIND OBJECT "xotchi"

Digging around the files a bit, the fix seems pretty simple, as documented in xotchiExpansion.js:

JavaScript:
// Replace [xotchi.name]
function xotchiName()
{
    return flags["XOTCHI_STAGE"] == 4 ? "Mistress" : "Xotchi";
}

// Replace [xotchi.pcName]
function xotchiPCName()
{
    return flags["XOTCHI_STAGE"] == 4 ? "Painslut" : pc.nameDisplay();
}

guessing it was part of the expansion that didn't get hooked up in the scenes text before the port happened. So the old variables are still referenced in text, but no longer defined.
 
Last edited: