• 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.
  • 1,104
    Posts
    16
    Years
    Never mind about that last request. Right now I need a really important givepokemon script. You talk to a Lapras and it says "Lapraaas." Then it joins your party if your party isn't full and it disappears from view.

    Yeh, here it is, all you have to do is, add the people number and the level and item.
    Code:
    #org $start
    lock
    faceplayer
    message $lapras
    boxset 6
    countpokemon
    compare LASTRESULT 6
    if b_true goto $error
    givepokemon 131 <level> <item>
    #raw 53
    #raw <people no.(hex)>
    #raw 00
    setflag 0x200
    release
    end
    
    #org $error
    release
    end
     
  • 209
    Posts
    17
    Years
    Helo, can someone make me a script for a people no 3 in pallet town (the base is Fire Red), to say:
    Heloo, do you have a ticket?
    and check, if you have chickorita/totodile/cyndaquil in your party, If you have - she says, "oh you have", and then she moves 1 square right and 4 squares down and dissappear.
    If you don't have, she stay, were she is, and say, "Oh, you haven't".

    If, its possible - she also upgrades your pokedex, to national dex, if you have one of this pkmn in your party, if she can't check 3 pokemons, she check, that you have any pokemon.
    lease - somebody who can - do it for me.
     
  • 1,104
    Posts
    16
    Years
    Helo, can someone make me a script for a people no 3 in pallet town (the base is Fire Red), to say:
    Heloo, do you have a ticket?
    and check, if you have chickorita/totodile/cyndaquil in your party, If you have - she says, "oh you have", and then she moves 1 square right and 4 squares down and dissappear.
    If you don't have, she stay, were she is, and say, "Oh, you haven't".

    If, its possible - she also upgrades your pokedex, to national dex, if you have one of this pkmn in your party, if she can't check 3 pokemons, she check, that you have any pokemon.
    lease - somebody who can - do it for me.

    Okay here is a script, I've never tried putting more than 1 checkpokemon command lines(don't know what to call it) so I'm not sure whether it'll work or not. I'll post one with just a check if you have any pokemon underneath it in the spoiler.
    Code:
    #org $start
    lock
    faceplayer
    message $ticket
    boxset 6
    setvar 0x4036 0x98
    copyvar 0x8004 0x4036
    special2 LASTRESULT 0x17C
    compare LASTRESULT 1
    if b_true goto $have
    setvar 0x4037 0x9B
    copyvar 0x8004 0x4037
    special2 LASTRESULT 0x17C
    compare LASTRESULT 1
    if b_true goto $have
    setvar 0x4038 0x9E
    copyvar 0x8004 0x4038
    special2 LASTRESULT 0x17C
    compare LASTRESULT 1
    if b_true goto $have
    message $havent
    boxset 6
    release
    end
    
    #org $have
    setflag 0x16F
    message $have
    boxset 6
    applymovement 0x03 $move
    pausemove 0
    #raw 53
    #raw 03
    #raw 00
    release
    end
    
    #org $move
    $move 1 ; #binary 0x13 0x10 0x10 0x10 0x10 0x10 0xFE
    
    #org $ticket
    $ticket 1 =Hello, do you have a ticket?
    
    #org $havent
    $havent 1 =Oh, you haven't.
    
    #org $have
    $have 1 =Oh, you have.
    Spoiler:
     
  • 190
    Posts
    16
    Years
    • Seen Jan 28, 2021
    I have some scripting questions.

    1) I have attempted to view the scripts for Rock Smash rocks, Cut trees, and the guy that takes the Sapphire before you do in Dotted Hole [the sapphire contains the whole script]. My only problem is attempting to view them. I've tried Ctrl+Right Clicking on the rock/tree/Sapphire in EliteMap, as well as opening the ROM in ScriptED with the [...] setting and entering the script number, but the script always comes out like so [this example is the Rock Smash rock's script]:

    Code:
    '-----------------------
    #org 0x1BE00C
    
    
    
    
    
    
    end

    I just can't figure it out.

    2) ScriptED's configure button won't become clickable. I have the ROM in the same folder, unspaced, and the script, unspaced. It's just not working.

    3) I have a scripting problem for Pokescript...well, it's not really a problem.

    Code:
    #org $start
    lock
    faceplayer
    message $hi
    boxset 6
    givepokemon 133 5 66
    jingle
    message $rec
    boxset 6
    message $oops
    boxset 6
    applymovement 0x01 $move
    pausemove 0
    setflag 0x200
    release
    end
    
    #org $move
    $move 1 ; #binary 0x55 0x1F 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0x1F 0x1F 0x1F 0x1F 0x60 0xFE
    
    #org $hi
    $hi 1 =Here, take this...
    
    #org $rec
    $rec 1 =\v\h01 recieved an EEVEE!
    
    #org $oops
    $oops 1 =Oh, snap! The fuzz! Seeya!

    It plays out fine, but the jingle doesn't sound no matter where I place it in the script [and believe me, I placed it in every possible place]. Is there a certain way the jingle can/must be placed and such?

    A little help, if you may.
     

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    Is something wrong with this:
    Code:
    #org
    lock
    faceplayer
    message $Geek
    $Geek 1 = You are a Geek!
    boxset 6
    release
    end
    I just did it right now.

    And When I compile this one all it says is the Text, I don't even get the pokeball :(
    Code:
    #org $start
    faceplayer
    message $take
    boxset 5
    compare LASTRESULT 1
    if b_true goto $yes
    message $leave
    boxset 6
    release
    end
    
    #org $yes
    givepokemon 133 5 0
    message $recieve
    boxset 6
    release
    end
    
    #org $take
    $take 1 =Should I take it?
    
    #org $leave
    $leave 1 =You left it there.
    
    
    #org $recieve
    $receive 1 =You recieved an EEVEE!

    Maybe I'm not meant to script.


    How do I make a "STEP ON THE SPOT" Script(The Green "S" in A-Map), Could Someone give me a Sample of one.
     

    Ripper

    The Dark Knight
  • 495
    Posts
    17
    Years
    I need to make some scripts for my hack... I want someone to make a speech (after you talk to them) and then in the middle of it it says "You received the Running Shoes" and then the person's speech continues. After finishing your conversation with them I then want there speech to change. How do I do it?

    I also need one where, after talking to Professor in his lab he says
    "Ah! (name) Good to see you, I have a small task for you. One of my friends, Sylvia has just moved into her new house on Route 103 and she's been having some trouble with some Team Aqua grunts. I need you to go help her out as she doesn't have any Pokemon on her. On my table there are three Pokemon all native to the Hoehn region. You can have one for your small quest. So go on, pick one!
    If you try to leave he says
    "Hey, don't leave!" And you walk two square up.
    When you click on the Pokeballs (which are on a table) it comes up with a picture of either Mudkip, Treecko or Torchic and says
    "So, you want (Pokemon), the Water/Grass/Fire Pokemon?"
    If you say yes it says
    "That's a great choice!"
    If you say no, nothing happens.
    You then walk back over to Prof. who says
    "Sylvia's house is on Route 103, head north of Littleroot Town and you'll get there eventually (the same thing happens if you talk top him again)
    Thankyou!!!
    Thanks!
     
    Last edited:
  • 1,104
    Posts
    16
    Years
    Okay here is a script, I've never tried putting more than 1 checkpokemon command lines(don't know what to call it) so I'm not sure whether it'll work or not. I'll post one with just a check if you have any pokemon underneath it in the spoiler.
    Code:
    #org $start
    faceplayer
    message $ticket
    boxset 6
    setvar 0x4036 0x98
    copyvar 0x8004 0x4036
    special2 LASTRESULT 0x17C
    compare LASTRESULT 1
    if b_true goto $have
    setvar 0x4037 0x9B
    copyvar 0x8004 0x4037
    special2 LASTRESULT 0x17C
    compare LASTRESULT 1
    if b_true goto $have
    setvar 0x4038 0x9E
    copyvar 0x8004 0x4038
    special2 LASTRESULT 0x17C
    compare LASTRESULT 1
    if b_true goto $have
    message $havent
    boxset 6
    release
    end
    
    #org $have
    setflag 0x16F
    message $have
    boxset 6
    applymovement 0x03 $move
    pausemove 0
    #raw 53
    #raw 03
    #raw 00
    release
    end
    
    #org $move
    $move 1 ; #binary 0x13 0x10 0x10 0x10 0x10 0x10 0xFE
    
    #org $ticket
    $ticket 1 =Hello, do you have a ticket?
    
    #org $havent
    $havent 1 =Oh, you haven't.
    
    #org $have
    $have 1 =Oh, you have.
    Spoiler:

    Well, the script should have worked, the only problems I can find with it is if the people number is wrong and maybe it will work if you remove the lock. Does everything else work?

    Is something wrong with this:
    Code:
    #org [B]start[/B]
    lock
    faceplayer
    message $Geek
    $Geek 1 = You are a Geek!
    boxset 6
    release
    end
    I just did it right now.

    And When I compile this one all it says is the Text, I don't even get the pokeball :(
    Code:
    #org $start
    faceplayer
    message $take
    boxset 5
    compare LASTRESULT 1
    if b_true goto $yes
    message $leave
    boxset 6
    release
    end
    
    #org $yes
    givepokemon 133 5 0
    message $recieve
    boxset 6
    release
    end
    
    #org $take
    $take 1 =Should I take it?
    
    #org $leave
    $leave 1 =You left it there.
    
    
    #org $recieve
    $receive 1 =You recieved an EEVEE!

    Maybe I'm not meant to script.


    How do I make a "STEP ON THE SPOT" Script(The Green "S" in A-Map), Could Someone give me a Sample of one.

    The only problem I can find with the second script is that if it's your first pokemon, you have to put 0x828(FR), 0x800(R/S)

    And the Trigger Script(Green S) is pretty much the same as any other script, the only differences are that you don't need lock/faceplayer like a signpost script, and you have to have a
    goto $done
    ....
    #org $done
    release
    end
    . It can have anything that any other script can have. for example,
    #org $start
    checkflag 0x828
    if b_true goto $done
    message $the
    boxset 6
    release
    end

    #org $done
    release
    end

    #org $the
    $the 1 =(Text here)
     

    MHERO

    Pokemon Master/ Novice Hacker
  • 7
    Posts
    16
    Years
    • Seen Mar 5, 2009
    If you don't mind, could you make me a script of a Pikachu following you when you choose him, just like in pkmn yellow. And when you talk to him, sounds a cry I will put on the game.

    And, finally, that particular Pikachu have its own cry and can't evolve just like in yellow.

    Sorry for my bad english.

    Thank you.
     
  • 209
    Posts
    17
    Years
    Can someone check this script?:
    #org Start$cript
    applymovement 1
    #binary 0x09 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x4A 0xFE
    pausemove 0
    message $NeedFast
    $NeedFast 1 = Brendan:Helo \n We need to move\n fast - they will be\n here after minute!\n Ash:Who will be here?\n Brendan:No time to\n talk! Keep moving!
    boxset 6
    givepokemon 22 5 0x0
    warp 3 2 0
    release
    end
    And, if possible, correct it, and say, whatshould I put in vars commands in Advance map, Oh and I don't want any messeage for obtaining Pokemon.
     

    Death_Mande

    Avenged Sevenfold.
  • 195
    Posts
    16
    Years
    Can anybody show me a working followme script? I was using foulloump's followme as a base but it didnt seem to work. Well it did but it only worked if i talked to it. I can make a vid of it if you need any more info. Thanks in advance!
     

    Quilava's Master

    Shattered Dreams '13
  • 694
    Posts
    16
    Years
    • Seen Aug 14, 2023
    Can anyone write a gym leader script for me. Gym number one when you win you get tm01
     
  • 1,104
    Posts
    16
    Years
    Can someone check this script?:
    Code:
    #org [B]$Startscript[/B]
    applymovement 1 [B]$move[/B]
    [B]$move 1 ; [/B]#binary 0x09 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x4A 0xFE
    pausemove 0
    message $NeedFast
    $NeedFast 1 = Brendan:Helo \n We need to move\n fast - they will be\n here after minute!\n Ash:Who will be here?\n Brendan:No time to\n talk! Keep moving!
    boxset 6
    givepokemon 22 5 0
    warp 3 2 0
    release
    end
    And, if possible, correct it, and say, whatshould I put in vars commands in Advance map, Oh and I don't want any messeage for obtaining Pokemon.

    Okay, I think that's it. And I'd put a setflag and checkflag in there (unless you are unable to return to the script).

    Can anybody show me a working followme script? I was using foulloump's followme as a base but it didnt seem to work. Well it did but it only worked if i talked to it. I can make a vid of it if you need any more info. Thanks in advance!

    Well, here is one. This goes down and then brings the player back up.
    Code:
    #org $dont
    checkflag 0x828
    if b_true goto $done
    applymovement 0x11 $move
    pausemove 0
    message $wait
    boxset 6
    applymovement 0x11 $move1
    applymovement 0xFF $move1
    pausemove 0
    release
    end
    
    #org $done
    release
    end
    
    #org $move
    $move 1 ; #binary 0x1D 0x1D 0x1D 0x1D 0xFE
    
    #org $move1
    $move1 1 ; #binary 0x11 0x11 0x11 0x11 0xFE
    
    #org $wait
    $wait 1 =Wait there. You don't have a\npokemon yet. There are dangerous\ppokemon out there that can\nharm you if you don't have\pyour own pokemon. Please come\nback to the town.

    wrere do u get Zapdos in pokemon shinygold

    This isn't the place to ask these questions. That is what the walkthrough is for.
    Spoiler:
     

    ♠εx

    Working on my hack, busy also.
  • 299
    Posts
    17
    Years
    • Seen Aug 15, 2008
    Alright, I cant make this simply because it deactivates 2 other scripts.

    Description
    I need a script that when you land on the tile says:
    "Theres something wierd going on..."

    BUT! This is made to say that before entering a cave, there are 3 different scripts of these saying the same thing making sure you have to land on one, but one you go on one the others don't work.

    Thanks, whoever understood that :P
     
  • 1,104
    Posts
    16
    Years
    Alright, I cant make this simply because it deactivates 2 other scripts.

    Description
    I need a script that when you land on the tile says:
    "Theres something wierd going on..."

    BUT! This is made to say that before entering a cave, there are 3 different scripts of these saying the same thing making sure you have to land on one, but one you go on one the others don't work.

    Thanks, whoever understood that :P

    Just use this script for all three. You may need to change the flags tjat i used.
    Code:
    #org $start
    checkflag 0x200
    if b_true goto $done
    message $weird
    boxset 6
    setflag 0x200
    release
    end
    
    #org $weird
    $weird 1 =There's something wierd going\non....
     

    Dark_porygon

    Banned
  • 53
    Posts
    17
    Years
    • Seen Apr 22, 2014
    what's wrong with this script. when I try it the game freezes
    Code:
    #org $start
    setflag 0x1200
    message $cry
    $cry 1 = Groooohgh
    callstd 6
    applymovement 0x1 $walk
    $walk 1 ; #binary 0x10 0x10 0x10 0x10 0x10 0xFE
    pausemove 0
    faceplayer 
    wildbattle 32 8 1
    setflag 0x200
    fadesreen 0
    checkflag 0x1200
    end
     
  • 1,104
    Posts
    16
    Years
    what's wrong with this script. when I try it the game freezes
    Code:
    #org $start
    setflag 0x1200
    message $cry
    $cry 1 = Groooohgh
    callstd 6
    applymovement 0x1 $walk
    $walk 1 ; #binary 0x10 0x10 0x10 0x10 0x10 0xFE
    pausemove 0
    faceplayer 
    wildbattle 32 8 1
    setflag 0x200
    fadesreen 0
    checkflag 0x1200
    end

    Why would you checkflag at the bottom and setflag at the top and also have a setflag 0x200 there aswell? Is this a person or a trigger? When does it freeze before the script or after the script?
    If it's a person, I have no idea.
    If it's a trigger, it could be because of the var numbers.
    put 03 00 in the first
    and 50 40 in the second and 00 in the rest.
     
  • 8
    Posts
    16
    Years
    • Seen May 31, 2010
    do you know how to tell me how come this script doesn't work??
    do I have him you can correct?
    thanks


    #org 0x123445
    applymovement 0x09 0x123444
    setflag 0x0123
    setflag 0x222
    clearflag 0x222
    pause 0x30
    end

    #org 0x123444
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0x5
    #raw 0xFE
     
    Status
    Not open for further replies.
    Back
    Top