View Single Post
  #801    
Old August 9th, 2012 (10:19 PM). Edited August 9th, 2012 by UberUmbreon.
UberUmbreon's Avatar
UberUmbreon UberUmbreon is offline
 
Join Date: Aug 2012
Gender: Male
Posts: 18
I'm sorry but it tried your give pokemon script a shot, it went horribly wrong.

I even fixed some part of the script though so no worry's, some parts are misleading.


Here's the script i have so far:

Code:
#dynamic 0x34EEC1

#org @start
checkflag 0x900
msgbox @1 0x5
if 0x0 goto @take
compare LASTRESULT 0x1
if 0x1 goto @done
msgbox @2 0x6
release
end

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

#org @name
call 0x1A74EB
return

#org @done
msgbox @2 0x6
release
end

#org @1
= Oh you don't have a strong\npokemon to take on the trainers?

#org @2
= Nevermind then.

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

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

#org @5
= Have fun!

#org @6
= Did you beat them yet?

I just need some help with clearing the flag, whenever i talk to the person i got the Charizard from, i can get more of them, in other words it keeps repeating the script.

Any advice on how to stop the script after i got the Charizard?
Reply With Quote