View Single Post
  #24436    
Old March 31st, 2013, 12:41 AM
kearnseyboy6's Avatar
kearnseyboy6
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Quote:
Originally Posted by robin22gongon View Post
Okay fixed it. Thanks miksy91!

Question again.
If this code was used
Code:
msgbox @sample 0x5
a yes or no box will come up.
If I want the script to continue when player says yes, I put
Code:
if 0x1 goto @sample1
right?
But what if I want the script to continue when player says
NO?
Not quite try something similar to this:

[CODE]
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @1 0x5
compare 0x800D 0x1
if 0x1 goto @yes
release
end
#org @yes
msgbox @2 0x6
release
end

#org @1
= Is today Sunday?

#org @2
= You selected YES.[CODE]

For the best scripting tutorial, highly suggest DIEGOISAWESOME's tuts

http: //www.poke community.com/showthread.php?t=164276

Try this out and if it doesn't work let us know.