First of all: Great that you compiled this :D
But I have a question.... I set a flag in my script, 0x01. It's for a script that i'm testing. When you talk to someone you get something and if you talk to them again you won't get it. That's what the Flag is for. Now when I leave the room where the event happens and come back in, I get the item again... So that must mean that the flag is unchecked again. Why does this happen?
EDIT: Nvm... seems that using flag 0x01 doesn't work but other flags like 0x200 do work...