I think I'm starting to grasp Events and Conditions, but I'm still having trouble.
What I'm trying to do is make it so that when the player defeats a certain type of enemy, gold is sent straight to his funds (the gold item needs to be sold, or at least from what I can tell, so I'm trying this instead).
So I tried writing something like this:
Assuming that such a code will even work, my question is: where do I put "PirateBooty" so that the game checks to see if 0xD8 has died? Like, what type of event would it be? Even then, I don't think it'd work, because there are multiple 0xD8's on the map simultaneously, and I'm assuming that if it sees one alive, it won't trigger.
Can anyone help me either figure out a way to make this work, or provide some alternative? Thanks in advance.
EDIT/UPDATE: I tried making it an AREA event spanning the whole map, and that didn't even work at all, even when all of the 0xD8's were dead.