Basically, when you load a game with the "Save Script Slices" thing active, the Slice Layer is in a different place than it is otherwise.
I used this script to demonstrate.
Code: Select all
include, plotscr.hsd
plotscript,NewGame,begin
#This is the New-Game special plotscript
#Create a big red circle on new game
CreateEllipse (320,320,88,88)
end
plotscript,LoadGame,begin
#This is the Load-Game special plotscript and isn't necessary
#Creates a big brown circle on new game
CreateEllipse (320,320,104,104)
end
What's unexpected is the position of the Script-Layer. It's now at the very bottom of the list, meaning that your Scripted Slices are drawn OVER Textboxes and strings. I did a little testing and found that this mis-positioning persists on map changes. Potentially very bad!
I also did some testing and found that with "Save Script/Sprite Layer slices" set to NO, this repositioning doesn't happen.
So to cut it down to the simplest reproduction, you don't even need scripts, just the ability to save the game...
Step 1: In custom, Turn "Save Script/Sprite Layer Slices" to YES
Step 2: Start a new game and hit Ctrl+F4 to open the slice editor. Note the position of the Script Layer.
Step 3: Save game, quit game, load game.
Step 4: Note the position of the Script Layer. It's changed!
I tried fighting battles and changing maps: Neither reverted it to the default behavior.
If I already reported this, I'm sorry.