Well, from what I tested, the script works. Either the problem is:
Most likely:
a)
Problem: You are finding space with @dynamic without erasing the space beforehand, so the script keeps going in free space, wasting the space of the rom and not running the finished code.
Solution: add #org @nothing at the bottem of the script, debug it, copy the offset and subtract the offset with the @start offset. Afterwords, add #erase at the top and put the dynamic offset and the result of the subtraction.
ex. erase 0x71BBA0 0x169
Maybe:
b)
Problem: JPAN's hacked engine is screwed up
Solution: Use JPAN's hacked tool applier on the rom again. Add special 0x6 and special 0x7 to the rom. Doing this wastes rom space, so only use it if the specials arn't working
Unlikely
c)
Problem: Scripts somehow screwed
Solution: Try a different offset, or see if inserting this one would work (worked for me):
Extremly unlikely
d)
Problem: XSE has problems compiling the script correctly
Solution: Try a different XSE. I use 1.1
Extension of a) and c)
e)
Problem: Player event not having correct offset
Solution: Assign player event with new offset.
Try those. If they don't fix it, then you are probably using the wrong rom (using snapshots are a problem sometimes). Hope this helps.