I am trying to make a script that is executed when the player is standing in a certain spot, or when they enter the zone/before the zone loads. I tried to look at example scripts from other parts of the game, but my test script is just freezing the game when I enter the zone.
Here is what I have so far just to see if it is ran at the right spot, I made it the first script in the script order. This is in HG if it matters.
(script)
MecScript
Lockall
CheckHiroPosition 0x4000 0x4001
If 0x4000 354
CheckLR 1 func_1
Message 0
Jump func_2
(func 1)
Message 1
Releaseall
End
(func 2)
Message 2
Releaseall
End