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

.Seth

.explorer.
1,644
Posts
15
Years
  • Jordy San, that's a compiled script. It's in a different format because it is inside of the rom.

    Yes, you do need @start, but it's in there. XSE converted the script into the rom's language, so that's why it looks like that.
     

    Full Metal

    C(++) Developer.
    810
    Posts
    16
    Years
  • dude, that's kind of the point of having XSE is to compile your scripts, I believe it is the little "gear" icon around the debug icon
     

    0m3GA ARS3NAL

    Im comin' home...
    1,816
    Posts
    16
    Years
  • There is another way to compile the scripts you know... It i in Tools-->Batch Compiler


    This allows you to select many scripts in one folder at a time and insert them into a chosen rom all at the same time, then you just open A-Map and copy the offsets that start each script!
     

    rescuecp

    Redhead :P
    34
    Posts
    15
    Years
  • hi, can someone help me with a script.
    I'm looking for a script that's needed for my hack.
    I need to change the hatching from only 1 egg from hatching by steps, to hatching by clearing an event.

    Does someone know a script for that????
    You need to use YAPE 09 or Pokemon Amplifier to change the number of egg steps.
    I don't know how to do it in SCRIPTING though.
     

    FlameShocker

    C++/ASM Programmer
    64
    Posts
    15
    Years
  • dude, that's kind of the point of having XSE is to compile your scripts, I believe it is the little "gear" icon around the debug icon

    There is another way to compile the scripts you know... It i in Tools-->Batch Compiler


    This allows you to select many scripts in one folder at a time and insert them into a chosen rom all at the same time, then you just open A-Map and copy the offsets that start each script!
    Thx. This will help me a lot.
     

    Jordy San

    The fire-breathing Dutch-Boy
    292
    Posts
    15
    Years
  • Stupid question, but here goes: How do you insert the scripts in FireRed???
    Thanks alot! ;)
     

    rescuecp

    Redhead :P
    34
    Posts
    15
    Years
  • To insert a script:
    1.) Compile it and save it as whatever you want
    2.) After saved, it should say on the compile bar: "New offset"
    -FIRST ONE THAT SAYS NEW OFFSET.
    Copy that onto the personds offset on advance map.
    example: Fat man's offset.

    How do I make it so when you hit a script on the map it says stuff, ect.

    Ok. I will make my own XSE tut once I know how.
    ANY HELP WILL DO COMMENT IN MY COMMENTS OR WHATEVER IT'S CALLED
    THANKS!
     
    Last edited:
    32
    Posts
    15
    Years
    • Seen Feb 2, 2012
    When i Try to Compile it says

    Too less parameters on line 6. the Correct Number is 2

    What does that mean i need help !!!

    please some1 help


    ( Edit :Dont mind my Sig. the tournament is over im just to lazy to take it out)
     
    32
    Posts
    15
    Years
    • Seen Feb 2, 2012
    it means that there is a problem with the 6th line of code.

    (Next time, post your script so I can see what is wrong and fix the problem silly!)


    This is just a Tester Script cause i wanted to see if it works


    #dynamic 0x800000
    #org @start
    lock
    faceplayer
    msgbox @text
    boxset 0x6
    release
    end
    #org @text
    = Hello.\nI love Matthew
     

    0m3GA ARS3NAL

    Im comin' home...
    1,816
    Posts
    16
    Years
  • Well, if you are using the newest XSE, you need to merge 'message' and 'boxset' together.

    [assistance=Boxset Update]
    Spoiler:
    [/assistance]
     
    32
    Posts
    15
    Years
    • Seen Feb 2, 2012
    Well, if you are using the newest XSE, you need to merge 'message' and 'boxset' together.

    [assistance=Boxset Update]
    Spoiler:
    [/assistance]
    [assistance=Boxset Update]
    Spoiler:
    [/assistance]

    Where Can i download the NEwest Version

    cause it works but then when i put the Compiled Script in it doesnt work -_-
     
    32
    Posts
    15
    Years
    • Seen Feb 2, 2012
    Well, you could either go to tools (in XSE) and then live update, or get it from Hackmew's tools in the toolbox section.


    i did that and it still does the Same thing

    Like When i Press Debug

    The Compiler Output Comes out Put the Finishing code is

    just

    800000

    theres no $ infront of it or anything

    and every single Script i Press Debug then the Compiler Output comes it always

    800000 Every single 1!! please help
     
    32
    Posts
    15
    Years
    • Seen Feb 2, 2012
    Ya but when i Press Batch Compile then i click on it then i press COmpile it says
    "Error 13 type Mismatch on line 1 file C:\users\Matt\desktop\New.rbc

    il show you The Script im using


    #Dynamic 0x800000

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

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

    #org @sry
    msgbox @sorry
    boxset 0x6
    end

    #org @yay
    = You got Bulbasaur!

    #org @sorry
    = I can't give you anymore.



    i was just using this one as a Tester btw im not really gonna but a Person that gives a Bulbasaur away
     
    Last edited:

    0m3GA ARS3NAL

    Im comin' home...
    1,816
    Posts
    16
    Years
  • I just said to reag the guide that comes with XSE, it is a very usefull guide that teaches you everything you need to know about how to use the program correctly, press F2 while XSE is open to read it.
     
    32
    Posts
    15
    Years
    • Seen Feb 2, 2012
    kk il read it but if it still doesnt work il right down the problem and post it here :)


    Edit: its not letting me ReaD the Guide when i go to help i cant click on Guide

    Thx Omega Arsenal you Help me alot Now every thing is Working fine :) Thx!!!!
     
    Last edited:
    41
    Posts
    16
    Years
    • Seen Jul 25, 2023
    Apply Movement Script

    I have this script so you can't leave a town unless you have the badge, but if you step on the square that the script is on it just freezes. What should I do? It is a FireRed Script.
    Code:
    #dynamic 0x27679C
    
    #org @cant
    checkflag 0x820
    if 0x0 goto @nono
    if 0x1 goto @pass
    end
    
    #org @nono
    lock
    message @nogo
    boxset 0x6
    applymovement 0xFF @back
    waitmovement 0x0
    release
    end
    
    #org @pass
    release
    end
    
    #org @back
    #raw 0x11 0xFE
    
    #org @nogo
    = [player]: I should try to beat the\ngym.
     
    Status
    Not open for further replies.
    Back
    Top