View Single Post
  #7204    
Old August 16th, 2012, 11:02 PM
EHero70's Avatar
EHero70
 
Join Date: Jul 2012
Location: Connecticut
Gender: Male
Nature: Bold
EHero70


Ok with this script (Give Pokemon) Everyhting goes well till he aks me if I want to give my Pokemon a nickname. If I say yes the nickname screen doesn't show up and Im stuck with a Pokemon that has no name. If I say no to the nickname the script continues but once again my Pokemon still has absoulutely no name. Any help??

Code:
#dynamic 0x39D4EE
#org @start
checkflag 0x202
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end
#org @take
givepokemon 0xF 0x15 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
setflag 0x202
release
end
#org @name
call 0x1A74EB
return
#org @done
msgbox @6 0x6
release
end
#org @1
= Hello there youngling. Would you\ndo me a kind favor?\pMy Squirtle hasn't been listening\nto me anymore.\pWill you be kind enough to take it\nfor me?
#org @2
= Oh, I see you can't take my\nSquirtle for me.
#org @3
= [black_fr]You received a Squirtle!
#org @4
= [black_fr]Would you like to give a\nnickname to Squirtle?
#org @5
= I trust in you that you will take\ncare of my Squirtle.
#org @6
= You are taking good care of\nSquirtle right?