Thread: [Tutorial] Scripting Tutorial - PokeScript
View Single Post
  #18    
Old January 31st, 2008 (7:50 PM).
derv1205's Avatar
derv1205 derv1205 is offline
Trade/Battle/Breed/Clone (X,B2,D)
     
    Join Date: Dec 2007
    Location: Florida, USA
    Gender: Male
    Nature: Adamant
    Posts: 267
    Quote:
    Originally Posted by hayvan999 View Post
    ok i rlly need help with the yes and no boxes plz! ok i put the thing like its shown in tutorial:

    #org $begin
    lock
    faceplayer
    message $blah
    $blah 1 = hello
    boxset 5
    compare LASTRESULT 1
    if 1 goto $yes
    message $no
    $no 1 = no way
    boxset 6
    release
    end
    #org $yes
    = yes way


    and when i play the game only the no button works! can some1 tell me what im doing wrong with the yes button and can u show me how to fix it?
    Uhmm, put this:
    #org $begin
    lock
    faceplayer
    message $blah
    $blah 1 = hello
    boxset 5
    compare LASTRESULT 1
    if 1 goto $yes
    message $no
    $no 1 = no way
    boxset 6
    release
    end

    #org $yes
    message $yeah
    $yeah 1 = yes way
    boxset 6
    release
    end

    That should work, is because first, in the "YES" you didnt put the message, also
    you forget about the boxset 6, well, you forget almos everything in the "YES" xD
    __________________
    FC 3DS: 1821 - 8876 - 6418 , Playing Pokemon X & Omega Ruby - Add me and let me know please!
    FS: Flying type - Swanna, Doduo, Hawlucha
    TSV: 2631 - if needed contact me.

    Derv1205's Shop! <- Several IV, Shiny, Legendary, Event Pokemon! Come in take a look

    Trader Review thread <- If we've traded a review is much appreciated. Thank you!

    "Trade. Breed. Train. Battle."