View Single Post
  #7165    
Old August 7th, 2012 (11:40 AM).
SpadeEdge16's Avatar
SpadeEdge16 SpadeEdge16 is offline
     
    Join Date: May 2012
    Gender: Male
    Posts: 154
    can someone tell me whats wrong here? I'm trying to make it so if they player selects "no" he just ends the script, but if they player chooses "yes" they warp directly into the lab. but when i talk to oak, the correct thing happens when i choose "no", but when i choose "yes" he also goes to the no part of the script. I dunno why? :/

    #dynamic 0x0034EBA2
    #org @start
    lock
    faceplayer
    msgbox @1 0x5
    compare 0x1 0x0
    if 0x1 goto @warp

    msgbox @2 0x6
    release
    end

    #org @warp
    msgbox @3 0x6
    closeonkeypress
    warp 0x4 0x3 0x0 0x6 0xC
    setvar 0x4055 0x2
    release
    end

    #org @1
    = Oh! For once a trainer that\ndoesn't run off without me! Would\lyou like to follow me to my lab?

    #org @2
    = Very well then, just don't try and\ngo running off on your own!

    #org @3
    = Excellent! Let's go!