• 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 Request Thread

Status
Not open for further replies.
146
Posts
11
Years
    • CO
    • Seen Mar 16, 2023
    Thanks! also, how do i make the pokeball disappear?


    Hello,
    Now I am not the best scripter...At all >_<

    but I may be able to help...

    First this is how I wrote my "Choice Starter Script"...
    Code:
    #dynamic 0x800000
    #org @start
    lock
    compare 0x40F0 0x0
    if 0x2 goto @snippet1
    showpokepic 0x4 0xA 0x3
    msgbox @string1 0x5
    compare 0x800D 0x1
    if 0x1 goto @snippet2
    msgbox @string2 0x2
    hidepokepic
    release
    end
    #org @snippet1
    msgbox @string3 0x2
    end
    #org @snippet2
    hidesprite 0x5
    hidepokepic
    fanfare 0x13E
    msgbox @string4 0x6
    givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
    waitfanfare
    setflag 0x201
    setflag 0x828
    setvar 0x40F0 0x3
    msgbox @nickname 0x6
    release
    end
    #org @nickname
    call 0x1A74EB
    return
    #org @string1
    = Do you want the Fire Pokemon\nCharmander?
    #org @string2
    = Take another pick then.
    #org @string3
    = Hope this helped1.
    #org @string4
    = [player] recieved Charmander!

    Now that one is for Charmander if you want to change it to something else then just change
    "showpokepic 0x4 0xA 0x3" to the appropriate Pokémon you would like.
    Then change "givepokemon 0x4 0x5 0x0 0x0 0x0 0x0" to again the appropriate Pokémon you would like.
    Then in A-Map where it says "Person ID:" add "201" and this will make the Pokéball disappear...

    Now here is one for Squirtle (just change to Pokémon you want like above)
    Code:
    #dynamic 0x800000
    #org @start
    lock
    compare 0x40F0 0x0
    if 0x2 goto @snippet1
    showpokepic 0x7 0xA 0x3
    msgbox @string1 0x5
    compare 0x800D 0x1
    if 0x1 goto @snippet2
    msgbox @string2 0x2
    hidepokepic
    release
    end
    #org @snippet1
    msgbox @string3 0x2
    end
    #org @snippet2
    hidesprite 0x4
    hidepokepic
    fanfare 0x13E
    msgbox @string4 0x6
    givepokemon 0x7 0x5 0x0 0x0 0x0 0x0
    waitfanfare
    setflag 0x202
    setflag 0x828
    setvar 0x40F0 0x2
    msgbox @nickname 0x6
    release
    end
    #org @nickname
    call 0x1A74EB
    return
    #org @string1
    = Do you want the Water Pokemon\nSquirtle?
    #org @string2
    = Take another pick then.
    #org @string3
    = Hope this helped1.
    #org @string4
    = [player] recieved Squirtle!

    Just do the same thing as above but with "202" in the A-Map "Person ID:"

    Now for Bulbasaur ( or again what ever Pokémon you would like)
    Code:
    #dynamic 0x800000
    #org @start
    lock
    compare 0x40F0 0x0
    if 0x2 goto @snippet1
    showpokepic 0x1 0xA 0x3
    msgbox @string1 0x5
    compare 0x800D 0x1
    if 0x1 goto @snippet2
    msgbox @string2 0x2
    hidepokepic
    release
    end
    #org @snippet1
    msgbox @string3 0x2
    end
    #org @snippet2
    hidesprite 0x3
    hidepokepic
    fanfare 0x13E
    msgbox @string4 0x6
    givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
    waitfanfare
    setflag 0x203
    setflag 0x828
    setvar 0x40F0 0x1
    msgbox @nickname 0x6
    release
    end
    #org @nickname
    call 0x1A74EB
    return
    #org @string1
    = Do you want the Grass Pokemon\nBulbasuar?
    #org @string2
    = Take another pick then.
    #org @string3
    = Hope this helped1.
    #org @string4
    = [player] recieved Bulbasaur!

    Just do the same thing with this one as the other two...

    If you have any problems just let me know...
    Also this is for Fire Red only...

    Edit* I forgot to mention that you must also change "hidesprite 0x__" to the "Person event no:" in your A-map to the proper person event number...
     
    Last edited:

    Sefuree

    Canada Goose
    3,183
    Posts
    9
    Years
  • Spoiler:

    OMG!!!!!!!!!!!!!!!

    Thanks sooo much!
     
    146
    Posts
    11
    Years
    • CO
    • Seen Mar 16, 2023
    What is the person event no?

    When in Advance-Map, Click on one of the "people" or "pokeballs" then look to the right of A-map editor and you will see it says: "Person event".... Now look right underneath the button: "Delete event" and you will see: "Person event no:"....
    That is the Person Event Number...
    When changing "hidesprite 0x??" just change the "??" to what ever person event number your pokeballs are...
     
    Last edited by a moderator:

    Sefuree

    Canada Goose
    3,183
    Posts
    9
    Years
  • When in Advance-Map, Click on one of the "people" or "pokeballs" then look to the right of A-map editor and you will see it says: "Person event".... Now look right underneath the button: "Delete event" and you will see: "Person event no:"....
    That is the Person Event Number...
    When changing "hidesprite 0x??" just change the "??" to what ever person event number your pokeballs are...

    Alright, how is the script tile coming along?
     
    Last edited by a moderator:
    146
    Posts
    11
    Years
    • CO
    • Seen Mar 16, 2023
    Alright, how is the script tile coming along?
    I mean this in the most sincere way but saying
    "Alright, how is the script tile coming along?"

    Almost made me not want to help...

    You must first understand that no one in the community is obligated to help you, or even me for that matter. To get help you must show you are at least trying to do these your self, cause no one is going to do every script for you...

    I sat here and just relearned how to do this using diegoisawesome XSE tutorial, So I would really advise taking some time an reading that over a few times...
    There are some good tutorials on youtube as well...
    But anyway no hard feelings an here is the script...

    Make sure to use the "green script tiles"
    and in A-map to the right set the "Unknown:" that is right above "Var number:" to "0300" and then change "Var number:" to "4050"....
    *Note that this will make you turn around and move down one space until you set flag 0x828
    use more than one if needed...

    Code:
    #dynamic 0x800000
     
    #org @start
    checkflag 0x828
    if 0x1 goto @done
    msgbox @no 0x6
    applymovement 0xFF @moveback
    waitmovement 0xFF
    release
    end
     
    #org @done
    release
    end
     
    #org @no
    = It's too dangerous!!!
     
    #org @moveback
    #raw 0x0
    #raw 0x10
    #raw 0xFE
     
    Last edited by a moderator:

    Sefuree

    Canada Goose
    3,183
    Posts
    9
    Years
  • I mean this in the most sincere way but saying
    "Alright, how is the script tile coming along?"

    Almost made me not want to help...

    You must first understand that no one in the community is obligated to help you, or even me for that matter. To get help you must show you are at least trying to do these your self, cause no one is going to do every script for you...

    I sat here and just relearned how to do this using diegoisawesome XSE tutorial, So I would really advise taking some time an reading that over a few times...
    There are some good tutorials on youtube as well...
    But anyway no hard feelings an here is the script...

    Make sure to use the "green script tiles"
    and in A-map to the right set the "Unknown:" that is right above "Var number:" to "0300" and then change "Var number:" to "4050"....
    *Note that this will make you turn around and move down one space until you set flag 0x828
    use more than one if needed...

    Code:
    #dynamic 0x800000
     
    #org @start
    checkflag 0x828
    if 0x1 goto @done
    msgbox @no 0x6
    applymovement 0xFF @moveback
    waitmovement 0xFF
    release
    end
     
    #org @done
    release
    end
     
    #org @no
    = It's too dangerous!!!
     
    #org @moveback
    #raw 0x0
    #raw 0x10
    #raw 0xFE
    I'm so sorry about that and i hope you can forgive me.

    Thanks again for the script!
     
    Last edited by a moderator:
    3,044
    Posts
    9
    Years
  • DarkPsychic thanks for helping! Do you mind if you make some scripts that the other members requested? I'm really busy tonight.
     
    8
    Posts
    9
    Years
    • Age 30
    • Seen May 19, 2018
    I Also need bit of help i want to design following scripts can u help me...

    1) a quiz where u answer correctly and get a item or pokemon

    2)person blocking road and disappear when u get 2 badges

    3)2nd rival

    4) more pokemon to be given as starters

    5)how to change in battle sprites and intro sprites for trainer and oak

    Thank You :D
     
    3,044
    Posts
    9
    Years
  • The thread's first post is a little updated :D
    We now make scripts for Ruby and Emerald!

    I Also need bit of help i want to design following scripts can u help me...

    1) a quiz where u answer correctly and get a item or pokemon

    2)person blocking road and disappear when u get 2 badges

    3)2nd rival

    4) more pokemon to be given as starters

    5)how to change in battle sprites and intro sprites for trainer and oak

    Thank You :D

    1. I'll just make a quiz where you get items, 'kay?
    Spoiler:


    2.
    Spoiler:


    The rest will be later.
     
    Last edited:
    8
    Posts
    9
    Years
    • Age 30
    • Seen May 19, 2018
    The thread's first post is a little updated :D
    We now make scripts for Ruby and Emerald!



    1. I'll just make a quiz where you get items, 'kay?
    Spoiler:


    The rest will be later...
    We need to go to church :D

    thank you for this still waiting for rest :D
     
    117
    Posts
    10
    Years
  • Name: 64SM3DS
    Game: Emerald
    Info: A trainer battle script that plays the FR/LG Trainer Battle music inbattle.
    Script tools: XSE
    Additional Comment: Could you please make one for Gym Battles and Legendary Encounter.
     
    4
    Posts
    9
    Years
    • Age 27
    • Seen Mar 9, 2015
    C-Can you help me? I know its a bit late, but I want to make multichoices boxes D:
    Poketch
    Fire red
    XSE

    The first selection is Store (I know how to do it XD)
    The second one is Town Map
    The third one i will add later
    The fourth is FindPoke (I will add it later, i have the code)

    BTW: The player needs to press L (Or R) to open the box (LiquidCrystal have it)

    Thanks
     
    Last edited:
    4
    Posts
    9
    Years
    • Age 27
    • Seen Mar 9, 2015
    Name: 64SM3DS
    Game: Emerald
    Info: A trainer battle script that plays the FR/LG Trainer Battle music inbattle.
    Script tools: XSE
    Additional Comment: Could you please make one for Gym Battles and Legendary Encounter.

    You can't do that XD The FR/LG music isn't included in emerald D: Unless you insert it XD
     
    Status
    Not open for further replies.
    Back
    Top