So you say that 0x9 only works if you win? That shouldn't be. I'll write out an example for you, maybe you're doing something wrong with it?
#org @start
msgbox @1 0x6
trainerbattle 0x9 0x148 0x3 @defeat @win
msgbox @2 0x6
special 0x0
release
end
#org @1
= Battle me!
#org @2
= This dialogue plays after you\nwin or lose.
#org @defeat
= I lost!
#org @win
= I win!
I don't think there's any difference... The only thing I noticed is that
trainerbattle 0x9 0x148 0x3
ive put 0x0 instead of 0x3. What does 0x3 do ?
Here's the main part of my script. Please help
#org @charm
lockall
applymovement 8 @challenge
waitmovement 8
applymovement 11 @look
applymovement 12 @look
waitmovement 11
waitmovement 12
msgbox @rivalwait 0x6
applymovement 0xFF @accepted
waitmovement 0xFF
msgbox @waitoak 0x6
applymovement 8 @syncrival
applymovement 0xFF @synchero
waitmovement 8
waitmovement 0xFF
trainerbattle 0x9 0x001 0x0 @win @lose
goto @nextonechar
setvar 0x4012 0x1
releaseall
end
#org @nextonechar
msgbox @bye 0x6
applymovement 8 @going
waitmovement 8
msgbox @bluewait 0x6
applymovement 0xFF @surprised
applymovement 8 @surprisedgreen
applymovement 13 @surprised
waitmovement 0xFF
waitmovement 8
waitmovement 13
msgbox @heartattack 0x6
applymovement 11 @challengebluesync
applymovement 12 @challengebluesync
applymovement 0xFF @challengeblueherosync
waitmovement 11
waitmovement 12
waitmovement 0xFF
special 0x0
checkgender
compare 0x800D 0x0
if 0x1 goto @boybluechar
trainerbattle 0x9 0x00D 0x0 @winb @loseb
setvar 0x4012 0x1
release
end
#org @boybluechar
trainerbattle 0x9 0x006 0x0 @winb @loseb
setvar 0x4012 0x1
release
end
the problem is that it does not continue to @nextonechar if you lose, it only gives the @lose message and then you go to your in-game mom for whiting out.