View Single Post
Old 24th October 2012, 03:49 AM   #2
Naruto200
Neophyte
 
Naruto200's Avatar
 
Join Date: Oct 2012
Location: sleeping hapily inside every :) you see on the internet.
Posts: 18
Naruto200 is on a distinguished road
Default

Okay I want to make a trainer only battle someone if they answer yes to a question.

would this script work properly (Person number will be fixed when the trainer is made) I want to be able to talk to the person again if I win and if I lose I want to be able to challenge the person again at a later time.

Spoiler:
#org $script
lock
faceplayer
message $question
$question 1 = Do you like Mysteries?
boxset 5
compare 0x800D 0x001
if 0x01 goto $yes
message $no
$no 1 = I see, come back later then...
box set 6
release
end

#org $yes
#org $script
trainerbattle 0x03 0x00 $win
$win 1 = dang you're tough!
message $after
$after 1 = good thing I'm just a spirit thanks to her.
boxset 6
release
end
Naruto200 is offline   Reply With Quote