View Single Post
  #1345    
Old June 11th, 2009 (10:05 AM).
dimitriguy dimitriguy is offline
 
Join Date: Jun 2009
Gender: Male
Posts: 5
Quote originally posted by Quickster:
Spoiler:
#dynamic 0x801000

#org @start
checkflag 0x828
if 0x1 goto @done
lock
faceplayer
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x2
release
end

#org @take
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x2
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end

#org @name
call 0x1A74EB
return

#org @done
msgbox @6 0x2
release
end

#org @1
= Hello.\nSorry to trouble you.\lI can't take care of my\lCharmander.\pCan you take care of\nit for me?

#org @2
= That's okay.\pI'm sure someone else will\ntake it.

#org @3
= [black_fr]You received a Charmander!

#org @4
= [black_fr]Would you like to give a\nnickname to Charmander?

#org @5
= Please take care of\nCharmander.

#org @6
= Are you taking good care\nof Charmander?


This should work,yours worked fine for me but i fixed up the text a bit.
just to point out that im doing this on emerald s i might have used a wrong hexnumber/code thing (sorry im new to scripting).

thanks for the help btw.