Ashley the data I store in WebStorage is only from arrays, so I'm thinking of a way to migrate.
When the game start load array data from webstorage and then destroy localkey and save data to Local Storage.
Next time when game start again - if localkey does not exist look and load data from Local Storage.
That this sounds about right?
— functions are best used especially when you have parameters, so you can replace the value of an parameter with a variable. (any variable; sprite, text, global variable, local variable ...) Also, if you have a group of actions that get repeated through out your project, functions are the best way to go about.
What I like to do is have an Event Sheet called "functions" that I import into all the other Event Sheets of my project.