To give the player the choice to enable or disable the custom mouse at any point in the game.
These two scripts, taken together, enable the game to remember the data when the player restarts the game after quitting entirely, and solve the bug of having both the custom mouse icon and the default mouse icon showing simultaneously if the player has changed their mind and re-enabled the mouse.
How to use
Place under Shaz' Mouse script, with Part One above Part Two.
Designate an appropriate switch
At the beginning of the game, use a script call to enable the mouse
$mouse.enabled = true
To give the player the choice have a mechanism (I use an extra line in the main Menu) which will run these script calls
To enable the mouse:
$mouse.enabled = true
Mouse.shaz?(0)
To disable the mouse
$mouse.enabled = false
Mouse.shaz?(1)
Demo and screenshots
Not applicable.
Scripts
Save Mouse Selection Part One
Spoiler Code:
#Save Mouse selection Part One
#USE: Place under Shaz Super simple Mouse System
#Select a switch and NAME IT. Insert the number at line 11 without
#leading zeros e.g. not switch = 008 but switch = 8
#For further use information see Save Mouse selection Part Two which
I asked for the final fixes, and am posting it publicly because I think that other people may find it useful. These are in no way my work. Engr. Shana is happy for it to be made public. Credit:
Shaz
Engr. Shana
EDIT
Forgot to put this in.
Terms of use
Free for commercial and non-commercial, but credit must be given.