- 1,104
- Posts
- 17
- Years
- Melbourne, Australia
- Seen Oct 12, 2010
Also How come this script won't work?
It is a simple Trigger script for the rival. The "$further" won't work, and after the battle the rival just stands there. Anyone, preferably good at scripting?Code:#org $start checkflag 0x207 if b_true goto $done applymovement 0x01 $move pausemove 0 message $battle boxset 6 trainerbattle 0x00 0x015 $before $after $further release end #org $move $move 1 ; 0x10 0x10 0x10 0x10 0x10 0xFE #org $battle $battle 1 = Hey \v\h01, Hows it going?\nLets Check our pokemon! #org $before $before 1 = Don't Be Scared now. #org $after after 1 = I've underestimated you. Oh Well. #org $further message $battle1 boxset 6 applymovement 0x01 $go pausemove 0 #raw 53 #raw 01 nop setflag 0x207 release end #org $done release end #org $go $go 1 ; 0x11 0x11 0x11 0x11 0x11 0xFE #org $battle1 $battle1 1 = Looks like I have to practice,\nsee yah!
I'm not sure about the first one. I might look into it. There should be something becasue if you lose to Gary in the opening battle in FR, the script still continues. I'll let you know if I find anything.
Someone had this problem a couple of posts up. I'll quote the answer..
I did this a while ago as well, and I kept checking throught it and I couldn't find anything wrong with my script. You've done exactly what I did. I've put the problem in bold. 0 tells the command that it doesn't continue onto further. If it is a "1" it will continue.
Code:#org $starthisscript checkflag 0x799 if 1 goto $done applymovement 0x7 $moverival2 $moverival2 1 ; #binary ---REMOVED--- pausemove 0 trainerbattle [b]0[/b] 0x146 $before $after2 $further $before = ---REMOVED--- $after2 = ---REMOVED--- release end #org $done release end #org $further applymovement 0x7 $moverival111 $moverival111 1 ; #binary ---REMOVED--- pausemove 0 setflag 0x799 #raw 53 #raw 07 #raw 00 release end
You have the same problem as Krisitan's Script. Change the 0x00 in the trainerbattle to 0x01 and it should work.