Male
Seen 1 Week Ago
Posted 1 Week Ago
28 posts
1.5 Years
It works in both cases...

1) Without tutorial

#dynamic 0x800000
#org @start
lock
faceplayer
trainerbattle 0x9 0xA 0x0 @vinto @perso
compare LASTRESULT 0x0
if 0x1 goto @YouWin
compare LASTRESULT 0x1
if 0x1 goto @YouAreALooser
release
end

'---------------
#org @YouWin
msgbox @messW 0x6
release
end

'---------------
#org @YouAreALooser
msgbox @messL 0x6
release
end


'---------
' Strings
'---------
#org @vinto
= Ho perso...

#org @perso
= Ho vinto!

#org @messW
= Hai vinto, sei forte!

#org @messL
= Perdente!!!

2) With tutorial

#dynamic 0x800000
#org @start
lock
faceplayer
trainerbattle 0x9 0xA 0x3 @vinto @perso
compare LASTRESULT 0x0
if 0x1 goto @YouWin
compare LASTRESULT 0x1
if 0x1 goto @YouAreALooser
release
end

'---------------
#org @YouWin
msgbox @messW 0x6
release
end

'---------------
#org @YouAreALooser
msgbox @messL 0x6
release
end


'---------
' Strings
'---------
#org @vinto
= Ho perso...

#org @perso
= Ho vinto!

#org @messW
= Hai vinto, sei forte!

#org @messL
= Perdente!!!
Then i dont know why it isn't working... Can you please check my script and tell me what's wrong? The bold underlined script is the important part.

#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
compare LASTRESULT 0x0
if 0x1 goto @nextonechar
compare LASTRESULT 0x1
if 0x1 goto @nextonechar

releaseall
end

#org @nextonechar
special 0x0
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