Here, this might help:
Then put the script in:
(Don't add the "(People#)" beside the hidesprite)
Next, press the gear looking button.
Or press Ctrl+Shift+C to compile.
That should appear. (Remember to copy the offset!)
Close XSE and open your ROM in A-map.
Then put the data in: (in red)
Then save and test it in-game.
Hope it solves your problem!