Okay, so it's my first time scripting.
I'm using Score_Under's PSKV_UI tool.
And so far, my scripts work except for one.
Below is a script for an "Earthquake" shake that has a strength of 5 both horizontally and vertically.
And has a camera delay of 3.
Code:
#dyn 0x740004
#org @740A4F
lockall
setvar 0x8004 0x3
setvar 0x8005 5
setvar 0x8006 5
setvar 0x8007 6
special 0x136
waitspecial
releaseall
end
Next thing I did was apply the #org offset to the script offset on the script event in Advance Map, as I did with my other scripts that worked.
As for the other script values in Advance Map, I left them as is, at 0, because I thought
the game would just read the var values and numbers from the script itself without changing these in A.M.
Stepping on the tile with the script causes the game to freeze.
It'd be appreciated if someone can correct what is wrong or tell me how to do so myself for future references.
Even if the error is in the script itself or in that I didn't change the values in Advance Map other than the script offset.