Page 1 of 1

Edrin, Siranush, and the Comb of Beauty

Posted: Thu Feb 16, 2017 2:20 pm
by agentorangeguy
I remember this bug(?) in the original game, where when you'd get the dream crystal or whatever and Edrin appears to Siranush, you see the comb of beauty in the middle of them. Pretty sure it happens this way in Exult as well. Always wondered why that was, whether it was some sort of mistake or whether it was some sort of foreshadowing (you need it when you go back to Gorlab and fix Lady Yelinda).

Knight Captain have you found anything out about that? Would be interesting to finally figure that out haha

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Thu Feb 16, 2017 2:38 pm
by Dominus
Hmm, never noticed that (or I've forgotten ;)). Anyone have a savegame for that?

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Thu Feb 16, 2017 9:12 pm
by Knight Captain
I've seen it as well, it is recreate-able. The problem seems to be use the use of this little-used function:
var giveItem 0x996

The variables seem to be:
giver (Avatar, Iolo, or Party)
receiver
count
shape
quality
frame
create_if_not_existing? Reset frame?

This function is used in Siranush, Kylista, Spektor, and Gwenno, and another spot or three, like the Blink Ring. But in all of those other cases, the count is 1 not ANY:
giveItem(AVATAR, SIRANUSH, QUANTITY_ANY, SHAPE_ARTIFACT, QUALITY_ANY, FRAME_DREAM_CRYSTAL, true);

To test from a new game:

Set Flag 230
Set MET on Edrin, NPC 16
Set MET on Siranush, NPC 182
Hack-steal the Dream Crystal, and talk to Siranush

I'm not clear on why the item appears at her feet when she doesn't appear to be carrying anything. Using DEBUG_MODE and a quick code edit, I can make the same line cause the same problem, this time putting the Comb of Beauty at Shamino's feet.

So this is an original Usecode problem, I think, rather than a problem with Exult's handling.

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Thu Feb 16, 2017 9:37 pm
by Knight Captain
Even with the last variable set to false, it doesn't work as expected.

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Thu Feb 16, 2017 9:40 pm
by Knight Captain
Correcting the code to use 1 instead of QUANTITY_ANY makes it work as expected.

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Thu Feb 16, 2017 9:58 pm
by Knight Captain
We should have a bug tracker for these issues.

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Thu Feb 16, 2017 10:27 pm
by Knight Captain
Also, an automation in the House of the Dead, 3AUTO, NPC 229, is the placeholder for the Avatar's gear while he's in the Dream Realm.

I wonder why Sabrina wasn't placed on her bed from the start of the game?

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Fri Feb 17, 2017 3:49 am
by Incriptus
I remember reloading over-and-over again so I could be quick enough to snatch up the Comb. I also remember being able to keep it ... but I can't seem to replicate that part.

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Sun Feb 19, 2017 2:08 am
by agentorangeguy
It was one of those little things that always made this game so mysterious. Hahah thats awesome on being able to snatch it up, I never tried it.

Re: Edrin, Siranush, and the Comb of Beauty

Posted: Fri Mar 31, 2017 11:19 pm
by Knight Captain
Use of 0 instead of QUALITY_ANY was the reason the magic wine press spill would not appear.
extern var createNewShape 0x9AB (var shape, var frame, var quality, var is_temporary, var position);
Of course, both of these are Usecode functions in a rushed-out-the-door game, so it makes sense.