I could see from your script that it was being activated by a script tile in Advance Map, rather than when you interected with a person. 0x800F is reserved for the person who last talked to - Since you activated them by script rather than interaction, that is why you should be using their Person Event Number instead.
I'm glad to hear that everything worked out but it is a shame that XSE loves to malfunction on your computer :<