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

Script Requests/Sharing/Discussion

Status
Not open for further replies.

cooley

///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    can anyone post a basic traine script or perhaps a tut on how to make one?

    thanks in advance

    There is A tool For Scripting named "ESM" aka Easy Script maker, I have it and it is Super Easy to make Scripts, all you have to do is click the buttons and type in what you want to do(Wild battle=Type the pokemon, level and Item) and it does the Rest for you.
    If you Want it then I'll PM you.
     
  • 190
    Posts
    16
    Years
    • Seen Jan 28, 2021
    I made this one quickly, but it's for ScriptED. You can change the offsets if you used those.

    Code:
    #org 0x800000
    message 0x800100
    boxset 0x5
    compare LASTRESULT 0x0
    if 0x0 goto 0x800200
    release
    end
    
    #org 0x800200
    applymovement 0x[TR People number] 0x800300
    pause 0x70
    message 0x800400
    boxset 0x6
    #raw 0x53
    #raw 0x[Pokéball's People number]
    #raw 0x0
    applymovement 0x[TR People number] 0x800500
    pause 0x50
    #raw 0x53
    #raw 0x[TR People number]
    release
    end
    
    #org 0x800100
    = It's a POKéBALL. Take it?
    
    #org 0x800400
    = ...
    
    #org 0x800300
    #raw 0x11
    #raw 0x11
    #raw 0x11
    #raw 0x12
    #raw 0x11
    #raw 0x11
    #raw 0x13
    #raw 0xFE
    
    #org 0x800500
    #raw 0x1E
    #raw 0x1E
    #raw 0x1E
    #raw 0x1E
    #raw 0x1E
    #raw 0xFE

    Okay, thanks. ScriptED it is then.

    I have a few questions, though.

    1) Would I need a separate TR Member script? If so, could you help me with that? I mostly use PokeScript, so I'm not familiar with ScriptED.
    2) Which script offsets would go where in AdvanceMap? Could you possibly create this script on a copy of a ROM and show me which offset goes where?
    3) I also have a script outline for a trainer battle for ScriptED, but I was wondering if it was possible to add a "givepokemon" command for a level 5 Eevee after the battle, and to make him disappear.

    I'm sorry this is so complicated. D:

    ...Aaaaaaaaand I can't find ScriptED. I know it's probably wrong to ask, but since it's not in the Toolbox forum nor on Google...

    D:
     
    Last edited:

    Quilava's Master

    Shattered Dreams '13
  • 694
    Posts
    16
    Years
    • Seen Aug 14, 2023
    Can anybody give me a script for a suicune just a normal everyday script. You talk to suicune it cries you battle
     
  • 6,355
    Posts
    18
    Years
    • Seen Apr 16, 2020
    Okay, thanks. ScriptED it is then.

    I have a few questions, though.

    1) Would I need a separate TR Member script? If so, could you help me with that? I mostly use PokeScript, so I'm not familiar with ScriptED.
    2) Which script offsets would go where in AdvanceMap? Could you possibly create this script on a copy of a ROM and show me which offset goes where?
    3) I also have a script outline for a trainer battle for ScriptED, but I was wondering if it was possible to add a "givepokemon" command for a level 5 Eevee after the battle, and to make him disappear.

    I'm sorry this is so complicated. D:

    ...Aaaaaaaaand I can't find ScriptED. I know it's probably wrong to ask, but since it's not in the Toolbox forum nor on Google...

    D:

    Just replace the offsets in the scripts so that you can compile it with PokeScript. "800000" is the main offset.
    And for the TR member you just have to put it in the right place in the map so that it will move and take the pokeball.
     

    WindBlows

    It's been a long time!
  • 749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    Hey I need a simple script for ScriptED, please!!


    I need a person that tell to you:

    Huh?
    What are you doing here?!?!
    Oh.... you are gonna battle me?!
    Nah, you are too weak....
    See you!


    then he run 2 block to the right, then 5 down and dissapears!!
    and if its possible while he says his text, I'd like the TeamRocket music!

    Thanks!
     

    destinedjagold

    I do not exist.
  • 8,593
    Posts
    17
    Years
    • Seen May 26, 2024
    Hi, it's me again!
    Can anyone check my script please...

    Spoiler:


    The script won't work...

    Thanks in advance...
     

    Hedgehogger

    Learning ASM, but struggling
  • 204
    Posts
    17
    Years
    Hey I need a simple script for ScriptED, please!!


    I need a person that tell to you:

    Huh?
    What are you doing here?!?!
    Oh.... you are gonna battle me?!
    Nah, you are too weak....
    See you!


    then he run 2 block to the right, then 5 down and dissapears!!
    and if its possible while he says his text, I'd like the TeamRocket music!

    Thanks!

    Spoiler:


    Just make sure to put the people ID in Advance Map to be the same as the number for the flag you choose.
     

    BOH

  • 31
    Posts
    16
    Years
    • Seen Jul 20, 2013
    There were a few problems with this script, I corrected it a few posts earlier.
    Code:
    #org $legendcelebi
    lock
    faceplayer
    cry 251
    message $celebicry
    $celebicry 1 = CELEBI: Brrriii...
    boxset 6
    wildbattle 251 30 3
    setflag 0x200
    fadescreen 0
    release
    end
    
    #org $endbattle
    $endbattle 1 ; 0x54(for RS)(0x60 for FR LG) 0x(Get it out of the way.) 0xFE

    in get it out of the way what must i write?
     
  • 24
    Posts
    16
    Years
    Script not working?

    How come this script doesn't work? It's supposed to make someone walk up to me when i walk on a certain spot then say hi I'm an ape (it was a practice script for me) but I tried and tried and couldn't figure out what I was doing wrong. All that happens is i walk on a square then screen turns red. But when I take out the pausemove 0, the guy actually walks up to me but doesn't say anything.

    Thanks ahead of time.

    #org $MoveStart
    applymovement 0x1 $Moove1
    $Moove1 ; #Binary 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0xfe
    pausemove 0
    message $hi
    $hi 1 = Hi I'm an ape!!!
    boxset 6
    end
     
  • 24
    Posts
    16
    Years
    *For pokescript* How come this script doesn't work? It's supposed to make someone walk up to me when i walk on a certain spot then say hi I'm an ape (it was a practice script for me) but I tried and tried and couldn't figure out what I was doing wrong. All that happens is i walk on a square then screen turns red. But when I take out the pausemove 0, the guy actually walks up to me but doesn't say anything.

    Thanks ahead of time.

    Code:
    #org $MoveStart
    applymovement 0x1 $Moove1
    $Moove1 ; #Binary 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0xfe
    pausemove 0
    message $hi
    $hi 1 = Hi I'm an ape!!!
    boxset 6
    end
     

    EarthsVisitor

    Jolly Good
  • 385
    Posts
    18
    Years
    *For pokescript* How come this script doesn't work? It's supposed to make someone walk up to me when i walk on a certain spot then say hi I'm an ape (it was a practice script for me) but I tried and tried and couldn't figure out what I was doing wrong. All that happens is i walk on a square then screen turns red. But when I take out the pausemove 0, the guy actually walks up to me but doesn't say anything.

    Thanks ahead of time.

    Code:
    #org $MoveStart
    applymovement 0x1 $Moove1
    $Moove1 ; #Binary 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0xfe
    pausemove 0
    message $hi
    $hi 1 = Hi I'm an ape!!!
    boxset 6
    end

    Go into AdvanceMap and click on the "script"
    This is what you should see...

    Unknown: 00 00
    Var Number: 00 00
    Var Value: 00 00

    Change it to this...

    Unknown: 03 00
    Var Number: 00 40
    Var Value: 00 00

    :)
    Try it again with the pausemove

    destinedajgold said:
    Hi, it's me again!
    Can anyone check my script please...
    spoiler
    Display spoiler

    Spoiler:



    The script won't work...

    Thanks in advance...

    Try this.
    Also if this is a "Trigger Script" look at what I said above.

    Spoiler:
     

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    Is the Program Irish Witch Developed That is called "Pokemon G/S"(Or something like that) A Scripting Program for Gold? If so How come it doesn't work.
     

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    Is the Program Irish Witch Developed That is called "Pokemon G/S"(Or something like that) A Scripting Program for Gold? If so How come it doesn't work.
    Qeustion? Answered?

    I just need a wild battle script that works just a sample would be nice
    Code:
    #org $StartWild
    lock
    faceplayer
    cry 5
    message $CelCry
    $Celcry 1 = Celebi: Biiiii
    boxset 6
    checkflag 0x808
    if 0x1 goto $WildBatt
    release
    end
    
    #org $Wildbatt
    lock
    wildbattle 251 5 1
    release
    setflag 0x500
    fadescreen 0
    end

    Legendary battle.
     

    EarthsVisitor

    Jolly Good
  • 385
    Posts
    18
    Years
    Yes, "Poke G/S" is a silver and gold compatible script editor.

    Keep in mind that many of the commands and things you must do for Gold and Silver are highly different with the Advance Games though.

    You'll need to learn new commands and change how you make scripts.

    I suggest waiting for a tutorial, from Irish.
    :)
     

    WindBlows

    It's been a long time!
  • 749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    Qeustion? Answered?

    LOL you quote your own message.... :/

    BTW I need a pokescript script.




    I need that when you step in a stair a guy comes to you from the up. Then she tells you:

    Hi! I'm proffesor Mollie, I live at Ch....
    .........
    ............
    ..............
    Oh no!!! Go down!!!
    (here begins an earthquake)
    (after earthquake)

    Mollie: Uff! That was so close...
    Sorry, I have to go investigate what is
    happening with these earthquakes..
    See you!

    then she walks 3 squares down and 8 left and disappears!

    thanks in advance!
     
  • 24
    Posts
    16
    Years
    Code:
    #org $MoveStart
    applymovement 0x1 $Moove1
    $Moove1 ; #Binary 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0xfe
    pausemove 0
    message $hi
    $hi 1 = Hi I'm an ape!!!
    boxset 6
    end

    Go into AdvanceMap and click on the "script"
    This is what you should see...

    Unknown: 00 00
    Var Number: 00 00
    Var Value: 00 00

    Change it to this...

    Unknown: 03 00
    Var Number: 00 40
    Var Value: 00 00


    Try it again with the pausemove

    Well when I did exactly what you said, what happens is the guy walks up to me then stops, but while the guy is walking up to me the box appears already and has these random text like "e[]e][e][e][" and stuff like that that keeps on going and going and going. So basically it results in me being stuck in one spot with the guy in front of me and the random text keep scrolling... I also tried to put release before end for some reason but it still doesn't work... Dangit lol I hate this!!! :D


    EDIT: WOOOOT I FIXED IT
    I had to do
    "$Moove1 1 ; #Binary 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0xfe"
    instead of
    "$Moove1 ; #Binary 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0xfe"


    Though I'm very sure the var number and unkown made it work also, so thank you very much!
     
    Last edited:
    Status
    Not open for further replies.
    Back
    Top