Thread: [Tutorial] XSE Scripting Tutorial
View Single Post
Old January 9th, 2010 (6:33 AM).
deserttwister deserttwister is offline
    Join Date: Jan 2010
    Gender: Male
    Posts: 1
    hello im new here i wanted to make my own hack i have a problem with this scritp
    #dynamic 0x800000

    #org @1
    checkflag 0x828
    if 0x1 goto @done
    msgbox @want 0x5 '"So, you chose Exeggcute?"
    compare LASTRESULT 0x1
    if 0x1 goto @yes

    #org @want
    = So, you chose Exeggcute?

    #org @yes
    givepokemon 0x66 0x5 0x0 0x0 0x0 0x0
    msgbox @take 0x5
    compare LASTRESULT 0x1
    if 0x1 goto @name
    setflag 0x828
    Special 0x16F

    #org @name
    Special 0x166

    #org @done
    msgbox @have 0x2

    #org @have
    = You've already taken a Pokemon!

    #org @take
    = Do you want to give your\nPokemon a name?
    im using xse and it gives me error 13