View Single Post
  #20329    
Old January 10th, 2012, 07:56 AM
SKRoy
Pokémon Hacker
 
Join Date: Mar 2010
Gender: Male
I made this script:

#dynamic 0x800000

#org @start
checkflag 0x1016
if 0x1 goto @done
applymovement 0x05 @move
waitmovement 0x0
trainerbattle 0x0 0x149 0x0 @before @after
message @1
callstd 0x6
applymovement 0x05 @move2
waitmovement 0x0
setflag 0x1016
hidesprite 0x5
release
end

#org @1
= I must go now. I'm gonna train my\nEspeon. Next time I win! Bye!

#org @before
= Hey stupid! I trade my starter\nPOKéMON for a Espeon! I want to\ptry my new Espeon. Let's fight!

#org @after
= Noooo! How can I lose?

#org @done
release
end

#org @move
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE

The meaning of this script is that when the fight is over that he talks to you and walk away, but after the fight you must talk to him again before he talk and go away. How can I fix this?