View Single Post
  #261    
Old May 31st, 2010 (10:08 AM).
metapod23's Avatar
metapod23 metapod23 is offline
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Posts: 667
Quote originally posted by diegoisawesome:
Try setting 0x8004 to the party Pokémon number before using the special 0x6. Saying that, there was a much simpler way of making that script:

Code:
#org 0x836DD2
countpokemon
compare LASTRESULT 0x6
if 0x1 goto 0x8836E87
fanfare 0x101
msgbox 0x8836E65 MSG_KEEPOPEN '"You adopted the abused RATTATA!"
closeonkeypress
setflag 0x1119
hidesprite 0x4
givepokemon 0x13 0x5 0x0 0x0 0x0 0x0
countpokemon
subvar LASTRESULT 0x1
copyvar 0x8004 LASTRESULT
special 0x6
setvar 0x8005 0x13C
special 0x13
special 0x6
end
It worked! Thanks! And thanks for the simpler script - I used it and it works fine.
__________________
Reply With Quote