Just because the scripts compile without error doesn't mean SCICompanion hasn't introduced a bug. Take a look at all the assembly code SC failed to decompile in script 990. That can be a red flag when looking for bugs introduced from decompilation, though ASM doesn't always mean a new bug has been created.
Searching for "save" with
EDIT > Find In Files or in the
game.ini file points to 990 as the culprit. You can verify 990.src is the problem by exporting a patch from an unmodified LSL5, which fixes the save issue SCICompanion unfortunately introduced.
If you need script 990 to compile correctly, try replacing the ASM with code from
Sluicebox's SCI-Scripts (Or do like in the dark ages of 2022 and reverse the assembly by hand). The
SCI Decompile Archive is another invaluable resource.
Watch out because they use different naming conventions. One of the biggest issues with converting between the multiple code versions is
[SC install DIR]>include>sci.sh file, which seems to differ from the one used by Sluice's SCI-Scripts, meaning the Kernel define numbers can be wrong and crash the game when triggered in-game. You will also likely need to change the global variable names before the pasted code will compile.
Also, just a heads up, it looks like you're deleting dsAlign when you add theRest to the procedure in Main. I'm guessing that might have been just a mistake in the video, but something to be aware of. Oh, and double-click on those errors in the bottom window to go directly to the problem.