I mean behaviour bytes from the spritebehave command. Sorry if I didn't make myself clear.@Andre: Behaviour Bytes have hardly anything to do with scripting. Behaviour Bytes are what make certain tiles do what.
Well it should be something like this:I've been trying to create a yes/no warp script.
When I play it, however, It stops at the Yes/No message, and when I click, either Yes or No, it releases and stops the script.
#org @start
lock
faceplayer
message @ready
boxset 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end
#org @ready
= Are you ready to go?
#org @yes
= OK let's go.
warp 0x2 0x31 0x0B 0x0E
#org @no
= Need some more time?
#org @start
lock
faceplayer
message @ready
boxset 0x5
compare LASTRESULT 0x1
if 0x1 goto @yes
msgbox @no
callstd 0x2
release
end
#org @ready
= Are you ready to go?
#org @yes
msgbox @yes2
callstd 0x2
warp 0x2 0x31 0x0B 0x0E
release
end
#org @yes2
= OK let's go.
#org @no
= Need some more time?
Well it should be something like this:
Code:#org @start lock faceplayer message @ready boxset 0x5 compare LASTRESULT 0x1 if 0x1 goto @yes msgbox @no callstd 0x2 release end #org @ready = Are you ready to go? #org @yes msgbox @yes2 callstd 0x2 warp 0x2 0x31 0x0B 0x0E release end #org @yes2 = OK let's go. #org @no = Need some more time?