View Single Post
  #1354    
Old June 12th, 2009 (10:08 AM).
Teh_PingasYTP's Avatar
Teh_PingasYTP Teh_PingasYTP is offline
PINGAS!
     
    Join Date: May 2009
    Location: Valley Springs
    Gender:
    Nature: Relaxed
    Posts: 3
    Send a message via Yahoo to Teh_PingasYTP
    Quote:
    Originally Posted by Quickster View Post
    The script below should work.You set the flag for the pokedex after you get the pokemon.Thats the flag it checks for inorder to give the pokemon.Just a small mistake.

    Spoiler:
    #dynamic 0x

    #org @start
    checkflag 0x829
    if 0x1 goto @give
    msgbox @sorry 0x2
    release
    end

    #org @give
    checkflag 0x1000
    if 0x1 goto @done
    givepokemon 0x7E 0x7 0x0 0x0 0x0 0x0
    fanfare 0x13E
    waitfanfare
    setflag 0x1000
    msgbox @yay 0x2
    release
    end

    #org @done
    msgbox @gave 0x2
    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!

    #org @gave
    = text after recieve magmar
    THANK YOU!!!!!!!! =P
    also, i'm getting better at scripting! i've only learned 2 days ago!