When you open the spreadsheet, go to "File" and "Make a Copy"
This should give you your own copy you can freely edit.
Also, I have not tested this on actual hardware yet, only an emulator. I'll test it on an actual action replay soon
Edit: I put the code on an AR, and found a small bug in my...