• 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.

RaiRai-kun's XSE Tutorial [Updated Big-Time!]

Status
Not open for further replies.
21
Posts
15
Years
    • Seen Dec 29, 2012
    Probab;y a simple mistake, i made a yes no script for mistys sister, asking her if shes leaving, it works, but when u click yes or no. the message doesnt change, the yes no box dissapears, but the message stays on the screen and doesnt change to the answer
    i did ur script exactly, Help please
     

    Iken

    The OTHER other white meat.
    17
    Posts
    15
    Years
  • Ok, i keep reading scripting tutorials, but i'm still a bit confused.

    i have advanced map and XSE, but i don't know how to apply scripts to a sprite.

    like say i wanted a specific person to walk up to me and tell me something like "don't go out there"

    how would i do that?

    i'm also not sure how to save XSE scripts on my rom..


    Sorry i'm new to this.
     
    Last edited:

    KhaosKnight

    The 1 and only Khaotic Hacker
    355
    Posts
    16
    Years
    • Seen May 28, 2015
    Ok, i keep reading scripting tutorials, but i'm still a bit confused.

    i have advanced map and XSE, but i don't know how to apply scripts to a sprite.

    like say i wanted a specific person to walk up to me and tell me something like "don't go out there"

    how would i do that?

    i'm also not sure how to save XSE scripts on my rom..


    Sorry i'm new to this.

    this should tell you how to put scripts in the ROM

    http://www.pokecommunity.com/showthread.php?t=128125

    and this should tell you about movement scripts

    http://www.pokecommunity.com/showthread.php?t=128887
     

    Iken

    The OTHER other white meat.
    17
    Posts
    15
    Years
  • i'm starting to get this down.

    Does anyone know how to change where you start?

    i'm practicing on Ruby version and i'd like to start elsewhere than the truck, and not have to talk to my mom and so on.

    Please and thankyou ^^
     

    pokemon_hacking

    blah_maker
    24
    Posts
    15
    Years
    • Seen Sep 15, 2012
    hey seth when r u going to make anymore tutorials and also awesome tutorial by the way
     

    timson733333

    Woah.
    135
    Posts
    17
    Years
  • I need some help.

    I tried scripting so some random guy would give me Celebi, and after giving me the Celebi, he would say "Dude, stop cheating and catch some yourself." I talked to him (for the first time), and he did the latter! Can somebody help me?

    #Dynamic 0x800000

    #org @start
    lock
    faceplayer
    checkflag 0x828
    if 0x0 goto @give
    if 0x1 goto @sry
    release
    end

    #org @give
    givepokemon 0x251 0x50 0x0 0x0 0x0 0x0
    fanfare 0x13E
    waitfanfare
    setflag 0x828
    msgbox @yay
    boxset 0x6
    release
    end

    #org @sry
    msgbox @sorry
    boxset 0x6
    end

    #org @yay
    = Whoa! This weird guy gave you a CELEBI!

    #org @sorry
    = Dude, stop cheating and catch some \nyourself.
     

    Iken

    The OTHER other white meat.
    17
    Posts
    15
    Years
  • Bleh.

    Ok, so now i have a very basic grasp on scripting.

    i can make people say things, give me things, move a bit,
    and i can make cutable trees (/rocks/boulders/etc.)

    But i'm still a bit shady... like How do i make a script such as
    when you get the running shoes.

    you don't get it the first couple times you run through, and then suddenly
    your moms waiting for you.

    and then she's back inside and never waiting outside again.

    i don't understand how you would script something like this..
     
    13
    Posts
    15
    Years
    • Seen Aug 31, 2008
    I'm slightly confused on flags.

    Can you use them to check if you've reached/ obtained something? Like after getting your 8th badge someone will say something different or move etc.


    -Garth
     

    Necoris

    Pokemon Researcher
    1
    Posts
    15
    Years
    • Age 34
    • Seen Sep 4, 2008
    When you put checkflag 0x828 it checks if you have your Pokemon menu open. And you have it so that it will skip to the last message if you have your Pokemon menu or otherwise flag 0x828 opened already. Easy form, that script will only work if you don't have your Pokemon menu which you get at the beginning when you obtain your first Pokemon..<br>
     
    Last edited:
    21
    Posts
    15
    Years
    • Seen Dec 29, 2012
    Trying to make a give pokemon script, but i used the hex number for staryu, and it gave me a zigzagoon, so i tryed goldeen, i got torchic, obviously the numbers havnt been done,

    does anyone have the actual pokemon numbers in hex
    thanks
     

    D-Trogh

    Dead
    439
    Posts
    18
    Years
  • See.. that's what's so cool about header files..
    To give a Staryu try:
    givepokemon PKMN_STARYU 5 ITEM_ORANBERRY 0 0 0
    If that doesn't work, there really is something wrong with the compiler..
     
    162
    Posts
    15
    Years
  • This is a great tutorial but if I were to give you the Pokedex would it be the Natonal Dex straight away? If not, how do I give them the National Dex?

    EDIT: Is there a complete list of Pokemon's Hex Numbers anywhere?
     
    Last edited:

    ckk

    23
    Posts
    15
    Years
    • Seen Aug 28, 2009
    ah... i see u've finally added the applymovement part
     

    Binary

    え?
    3,977
    Posts
    16
    Years
    • Age 29
    • Seen Apr 7, 2014
    You've finally added the applymovement. It's a very useful tutorial (well, it's the only "more" advanced tutorial on XSE till now) Nice work. It would be better if you also added compiling.
     

    OutOfOrder

    Saving you from yourself...
    34
    Posts
    15
    Years
    • Seen Oct 9, 2008
    how do you make a trainer battle script for EMERALD version on XSE?

    thanks in advance!
     

    K0k0r0

    Spirit trainer
    3
    Posts
    15
    Years
    • Age 31
    • Seen Aug 17, 2008
    How do I change the starter pokemon? I've searched through the scripting for all 3 of the pokeballs, and all I find is "givepokemon 0x4002 0x5 0x0 0x0 0x0 0x0". What is "4002"?
     
    Last edited:

    X-aveon

    IS BACK!!!!!!!!!!!!!!!!!!!
    233
    Posts
    16
    Years
    • Seen Jun 25, 2012
    i've tried your applymovement script example. it just freezes the game. do you know whats wrong?
     

    ckk

    23
    Posts
    15
    Years
    • Seen Aug 28, 2009
    i've tried your applymovement script example. it just freezes the game. do you know whats wrong?

    Ah! Just recently i had the same problem
    you have to change it to a script in advance map
    and unknown to 0300
    and right under is Var Number change that to 5040
     
    Status
    Not open for further replies.
    Back
    Top