View Single Post
Old May 9th, 2010 (12:16 PM).
Collen Collen is offline
I have returned.
    Join Date: Jul 2009
    Posts: 71
    Originally Posted by Nikolai Fox View Post
    Ok, fixed that, now I'm having a problem further down the script.

    #org @yes
    trainerbattle 0x0 0x004 0x0 @choseyes @after
    msgbox @youwon 0x6
    givepokemon 0xF 0x8 0x0 0x0 0x0 0x0
    setflag 0x105
    preparemsg @gotpokemon
    fanfare 0x13E
    msgbox @nickname MSG_YESNO
    compare LASTRESULT 0x1
    if 0x1 goto @nicknameyes
    compare LASTRESULT 0x0
    if 0x1 goto @nicknameno

    After the battle, the script just ends. What do I need to have it carry on with the script, initiating the give pokemon part?
    Change "trainerbattle 0x0" to "trainerbattle 0x1".
    Make sure that the trainer and veiw radius boxes aren't filled in.