Hey again guys,
I posted a script yesterday and you guys helped me a lot, anyways started trying to move on to more advanced scripts and i've ran into another problem.
Iv made a script for a random NPC to give a pokemon to you, im following a tutorial and even though iv followed his script something went wrong, I think its something to do with the flags, but no matter how much a tinker with them the character continues to talk like hes already given you the pokemon.
Im using XSE 1.1.1 so thats not the problem.
Anyways heres the code, any help at all would be really appreciated!
if 0x1 goto @done
msgbox @question 0x5
compare LASTRESULT 0x1
if 0x1 goto @givepokemon
msgbox @nothanks 0x6
msgbox @checkup 0x6
msgbox @thanks 0x6
givepokemon 0x19 0xA 0xD 0x0 0x0 0x0
msgbox @recieved 0x6
msgbox @thanks2 0x6
= Hey there!\pYou seem like a nice person.\nWould you like this Pikachu?
= Oh, that's too bad.\pCome back if you change your mind.
= Oh, thats great!\pHere you go!
= Thanks again.\pTake goo care of Pikachu!
= \v\h01 recieved PIKACHU!
= Hey again.\pHow's my Pikachu doing with you?