1st Tree's AI:
Code:
EventHandler ATTACKED
...
SayInt(myself.i_quest1);
if (myself.i_quest0 == 0) {
...
Others' AIs:
Code:
EventHandler ATTACKED
...
//do not have this line, but it works anyway.
if (myself.i_quest0 == 0) {
...
btw, in 3rd Tree's, you have to remove this line:
Code:
DeleteItem1(attacker.master, @q0421_fairy_leaf, 1);
Dont ask me for AIdec or nasc, since all others are the property of their respective owners.
Thanks for the share.