I have tried changing this script in many ways; however, every time, the game freezes upon activation. If you have any ideas to help me fix it, that would be greatly appreciated.
Script:
#dynamic 0x800000
#org @start
checkflag 0x201
if 0x0 goto @movement
end
#org @movement
lock
applymovement...