So if you're going to make sure Flag 99 is off if you teleport to TA from the hub, does this mean that the bonus trinket MUST be collected at the first possible opportunity? There must be a better solution.
My solution would be to set a permanent flag upon collecting the bonus trinket, and check this flag before awarding this bonus trinket.
Incidentally, why do you end up with four lines of internal script in a visible text box if you collect 21 trinkets before going to the Polar Dimension PS for the first time? What causes the internal script to end up being displayed?
Oh yeah, don't forget about that thing where if you do Platform Arena third and Life Factory fourth, you'll see Vitellary and Vita together, then if you warp out and back in you'll see Vita again before being automatically sent to T1. I don't know whether this is because it saves the Platform Arena congratulatory message or not, but it could be part of the reason.
EDIT: Unfortunately I can only upload ZIP files. So anyway, here's a zip containing a picture of the glitch along with a save so you can trigger it yourself. Simply go up to the PS and use it. I've got 21 trinkets with the glitch, and this is my first visit to the Polar Dimension; I've skipped the whole destabilisation thing. I want to know why this text box appears!
Text:
customposition(center)
speak_active
squeak(terminal)
text(gray,0,114,4)
Ah. I think I've got it! The script "diyvirepair_done" has a customifflag(41,diyvirepair_done2) command, but if flag 41 isn't set then the script ends. Since it's still in internal scripting mode, those four commands (which aren't in any script in the game) are displayed as text due to the lack of a loadscript(stop) command, I think. Is that right?
My solution would be to set a permanent flag upon collecting the bonus trinket, and check this flag before awarding this bonus trinket.
Incidentally, why do you end up with four lines of internal script in a visible text box if you collect 21 trinkets before going to the Polar Dimension PS for the first time? What causes the internal script to end up being displayed?
Oh yeah, don't forget about that thing where if you do Platform Arena third and Life Factory fourth, you'll see Vitellary and Vita together, then if you warp out and back in you'll see Vita again before being automatically sent to T1. I don't know whether this is because it saves the Platform Arena congratulatory message or not, but it could be part of the reason.
EDIT: Unfortunately I can only upload ZIP files. So anyway, here's a zip containing a picture of the glitch along with a save so you can trigger it yourself. Simply go up to the PS and use it. I've got 21 trinkets with the glitch, and this is my first visit to the Polar Dimension; I've skipped the whole destabilisation thing. I want to know why this text box appears!
Text:
customposition(center)
speak_active
squeak(terminal)
text(gray,0,114,4)
Ah. I think I've got it! The script "diyvirepair_done" has a customifflag(41,diyvirepair_done2) command, but if flag 41 isn't set then the script ends. Since it's still in internal scripting mode, those four commands (which aren't in any script in the game) are displayed as text due to the lack of a loadscript(stop) command, I think. Is that right?