Hi Anthroyd, I'm asking your help cause I'm stuck on my hack rom scripts (I've also left a comment on your tutorial on YouTube, ep. 13, my nick is Rouje)
My huge problem is that regular scripts (those displayed on Advance Map with the 'S') don't work as they should, instead person event scripts (those with 'P' on A-Map) work perfectly.
I've made a lot of tests in these days, even with simple and basic scripts like these one I've posted on pastebin:
- Person Event Script (P) :
https://pastebin.com/M46jZADt
- Regular Script (S) :
https://pastebin.com/PB5XeYEU
As I said before, the person event works fine, so no problem on it.
Even if it's identical at the person event (except for "faceplayer") the regular script doesn't work. What happens is that when I step on the square with the script, this starts it's execution but it stops at "lock" instruction. The player can't move but the game is still running because music still going as normal.
I've made also a test without the "lock" instruction. The result is that the game load the msgbox offset but again nothing is happening, the music still going and the player can't move again.
Any idea to fix this strange problem?