View Single Post
  #439    
Old July 29th, 2009 (07:54 PM).
techie775 techie775 is offline
 
Join Date: Jul 2009
Gender: Male
Posts: 20
I Finally got it! I forgot for some stuff you have to go to another area and return to the area you want to test your Script to let everything set in. Sudowoodo leaves the area whether you win the battle or not. Thanks for all the help! Here's the code in case someone wants to use it as a reference for a legendary pokemon.

Spoiler:
#org 0x88013BF
'-----------------------------------
lock
faceplayer
checkflag 0x225
if true jump 0x88013E7 ' Flag is set
checksound
cry SUDOWOODO 0x3828
nop0 ' #raw 0x0
msgbox 0x88013EC ' GYAOOOO!!!!
callstd MSG_LOCK ' Built-in lock command
battle SUDOWOODO 40 NONE
special BATTLE_WIPE
disappear LASTTALKED
setflag 0x6C25
end

#org 0x88013E7
'-----------------------------------
release
end


#org 0x88013EC
= GYAOOOO!!!!