View Single Post
  #1320    
Old June 9th, 2009 (5:16 PM).
Teh_PingasYTP's Avatar
Teh_PingasYTP Teh_PingasYTP is offline
PINGAS!
     
    Join Date: May 2009
    Location: Valley Springs
    Gender:
    Nature: Relaxed
    Posts: 3
    i made a givepokemon script and it works, but after i get it and talk to him again, he gives it to me again, and again and i can't get it to work! i want him to say something else after i get it and talk to him again.

    Script:
    Spoiler:
    #dynamic 0x71AA20
    #org @start
    lock
    faceplayer
    checkflag 0x829
    if 0x0 goto @notyet
    if 0x1 goto @give
    release
    end
    #org @notyet
    msgbox @sorry 0x6
    end

    #org @give
    givepokemon 0x7E 0x7 0x0 0x0 0x0 0x0
    fanfare 0x13E
    waitfanfare
    setflag 0x829
    msgbox @yay 0x6
    release
    end
    #org @sorry
    = Hello!\pMy name is Teh_PingasYTP!\pYou're in my hack!\pI'll tell you what.\pIf you come back to me\nafter you get the POK\h1BDEX,\pI'll give you something special!
    #org @yay
    = [player] obtained MAGMAR!\nCongradulations!\pIt's a very rare POK\h1BMON!\nTrain it well!


    I am using XSE.