• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] Need rewrite to XSE!

9
Posts
9
Years
    • Seen Aug 12, 2014
    I can't seem to figure it out, can someone rewrite it for me?

    #org 0x800036
    #org $start
    lock
    faceplayer
    checkflag 0x828
    if 0x01 goto $done
    #raw 0x76
    #raw 0x75 0x01 0x00 0x0A 0x03
    message $grass
    $grass 1 = Psst, hey kid. Do you want a\nPOKéMON? Do you want Bulbasaur?

    boxset 5
    compare 0x800D 0x0001
    if 0x00 goto $start1
    #raw 0x76
    givepokemon 1 5 0x8B
    setflag 0x828
    release
    end

    #org $start1
    #raw 0x76
    #raw 0x75 0x07 0x00 0x0A 0x03
    message $water
    $water 1 = Do you like Squirtle?
    boxset 5
    compare 0x800D 0x0001
    if 0x00 goto $start2
    #raw 0x76
    givepokemon 7 5 0x8B
    setflag 0x828
    release
    end

    #org $start2
    #raw 0x76
    #raw 0x75 0x04 0x00 0x0A 0x03
    message $fire
    $fire 1 = Do you like charmander?
    boxset 5
    compare 0x800D 0x0001
    if 0x00 goto $start
    #raw 0x76
    givepokemon 4 5 0x8B
    setflag 0x828
    release
    end

    #org $done
    message $given
    $given 1 = Hey I am only allowed to give you \none Pokemon.
    boxset 6
    release
    end
     

    Renegade

    Time for real life...
    995
    Posts
    12
    Years
  • I can't seem to figure it out, can someone rewrite it for me?
    What can't you figure out? Having someone 'rewrite' (which doesn't make sense in the first place) the script won't do anything if you don't understand how it works.

    If you're looking for someone to explain the script to you, then you should first go look up some scripting tutorials.
    Although, that might not even help in this case because the script that you posted is very ugly and unorganized.
     
    9
    Posts
    9
    Years
    • Seen Aug 12, 2014
    It's a one time script for the starter, I understand the scripts but the starter script doesn't work for me. Soo, I don't need to understand this one, it's only once that I need this one.
     

    N7

    8
    Posts
    9
    Years
    • Seen Aug 17, 2014
    Trust me, just give learning XSE a try. Like you, I started on PokeScript. I can't even imagine going back. XSE is so much easier to understand, and it's a lot easier to find errors, etc.
     
    Back
    Top