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

HackMew

Mewtwo Strikes Back
1,314
Posts
17
Years
    • Seen Oct 26, 2011
    That is my problem. Using Fire Red I don't know how to get rid of the event in the Viridian Pokemart. If I could get rid of that I wouldn't have needed the script.

    The Oak's Parcel thingy cannot be removed with a setflag.
    You have to use a setvar instead: setvar 0x4057 0x1.
    After doing that, make sure to edit the clerk's script so it won't check that variable anymore.
     

    linkandzelda

    Ex-rom hacker turned indie game developer
    777
    Posts
    17
    Years
  • The Oak's Parcel thingy cannot be removed with a setflag.
    You have to use a setvar instead: setvar 0x4057 0x1.
    After doing that, make sure to edit the clerk's script so it won't check that variable anymore.

    will that also make your mum give you the running shoes?
     
    24
    Posts
    16
    Years
    • Seen Aug 29, 2015
    I need help. I kinda understand how to script, but pokescript doesn't work on my comp. Can anybody give one of those advance map script things for a Lv. 30 Celebi person. (It looks like $46236F or something and you put it in script offset.) If it's too hard then you don't have to do it, but if it's easy can I also get one for a person who gives you a shiny beldum lv. 5? Or is that too hard?
    Will anybody do this for me? You don't have to I just wanna know.


    EDIT: What's wrong with this script?
    #org $StartChik
    checkflag 0x800
    if B_True goto $NoBall
    message $Chick
    $Chick 1 = *sigh*\lWould you mind.\ptaking my SCYTHER?
    boxset 5
    compare LASTRESULT 1
    if B_False goto $PutBack

    givepokemon 123 10 0
    jingle
    message $GotChick
    $GotChick 1 = You Recieved a SCYTHER!
    boxset 6

    message $NameChick
    $NameChick 1 = Would You like to give SCYTHER\la nickname?
    boxset 5
    compare LASTRESULT 1
    if b_False goto $GiveDex
    Namepokemon

    I tried talking to the person and nothing happened.
     
    Last edited:
    17
    Posts
    16
    Years
    • Seen Feb 12, 2010
    Can anyone tell me what the problem is with this script?
    Spoiler:

    It's supposed to say $Kaseintro, then an exclamation point appears above the person's head (Person 0), and it faces the main character.
    Then it should say $Kasegym and then $Kasegymchoice, which brings up a yes/no box. If yes, the script should continute to KaseYes. If no, the script should run KaseNo and then run KaseYes.

    When I run it, it skips the movement and if I choose No it doesn't sub to the other message first.

    This is on Pokemon Fire Red.
     

    Hedgehogger

    Learning ASM, but struggling
    204
    Posts
    17
    Years
  • Will anybody do this for me? You don't have to I just wanna know.

    Spoiler:


    The answer to your first question (Seems like the 3rd time I've posted that exact script)...and as for making a shiny beldum in a GivePokemon script, that sounds extremely hard...it's already hard enough trying to understand how to do the shiny wildbattle.
     
    1,104
    Posts
    16
    Years
  • EDIT: What's wrong with this script?


    I tried talking to the person and nothing happened.

    The problem with the script was that almost everything was wrong. I'll place my edited script in a spoiler. It's long. If you have any questions about it just ask.
    Spoiler:


    Can anyone tell me what the problem is with this script?
    Spoiler:

    It's supposed to say $Kaseintro, then an exclamation point appears above the person's head (Person 0), and it faces the main character.
    Then it should say $Kasegym and then $Kasegymchoice, which brings up a yes/no box. If yes, the script should continute to KaseYes. If no, the script should run KaseNo and then run KaseYes.

    When I run it, it skips the movement and if I choose No it doesn't sub to the other message first.

    This is on Pokemon Fire Red.

    A few problems with this script. I'll put my edits in bold. Also you can't have 00 as a person because (using advance map) people numbers start at 01. My 06 is an example(you should change this).
    Code:
    #ORG $kasekopf1start
    [B]lock
    faceplayer[/B]
    message $kaseintro
    boxset 6
    applymovement 0x06 $kasewalk
    pause 0x[B]30[/B]
    message $kasegym
    boxset 6
    message $kasegymchoice
    boxset 5
    compare LASTRESULT 1
    if B_False [B]goto[/B] $kaseno
    message $kaseyes
    boxset 6
    release
    end
    
    #org $kaseno
    message $kasenospeach
    boxset 6
    message $kaseyes2
    boxset 6
    return
    
    #org $kaseintro
    $Kaseintro 1 = Potions... Check!\nPokeballs... Check!
    
    #org $kasenospeach
    $KaseNospeach 1 = Why not? Eight Gyms have been scattered\nacross the island in towns.\pAfter you collect all eight badges,\nYou can challenge the POKéMON Leauge\pAnd become the champion!
    
    #org $kasegym
    $Kasegym 1 = Who're you?\p...\pOh, hello \v\h01!\nI'm Kasekopf!\pI'm getting ready to take on\nthe Island Gym challenge!
    
    #org $kasegymchoice
    $Kasegymchoice 1 = Are you doing them as well?
    
    #org $kaseyes
    $KaseYes 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!
    
    #org $kasewalk
    $kasewalk 1 ; #Binary 0x62 [B]0xFE[/B]
    #org $kaseyes2
    $KaseYes2 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!
    Hope this helps.

    Could Somebody help me?
    For some reason the town map won't disappear until I walk out of the room and then walk back in. I'll post my script in case there is something wrong with it. I put 0201 in the people ID.
    Code:
    #org $start
    checkflag 0x828
    if B_true goto $givemap
    lock
    faceplayer
    message $oak
    boxset 6
    release
    end
    
    #org $givemap
    checkflag 0x201
    if B_true goto $done
    lock
    faceplayer
    message $map
    boxset 6
    giveitem 0x169 1
    setflag 0x201
    release
    end
    
    #org $done
    lock
    faceplayer
    message $hi
    boxset 6
    release
    end
    
    #org $oak
    $oak 1 =Prof. Oak wants to see\nyou.
    
    #org $map
    $map 1 =Here take this map.\nYou'll need it.
    
    #org $hi
    $hi 1 =I hope you and \v\h06\nare enjoying yourselves.
     
    Last edited:
    13
    Posts
    16
    Years
    • Seen Jun 14, 2011
    Hi I got a favor to ask anyone who is good at scripting(or willing to help) could you show me a script that when you talk to a person they ask you fiyou would like to join the neutral side and then if you say yes they give you a ticket which you have to have to catch a boat with to the neutral part of the island. To help you with the making of this script ill tell you the idea of my pokemon hack. You get a choice which root to take and once you have boarded the boat you can not come back. There are going to be three fractions in the game i wont go into that bit. But i need it that you can only get on ticket from one of the three fractions but you get to choose which one to join Thanks in advance Michael
     

    BlackRainbow*

    Pokemon Coralo Version ?
    519
    Posts
    17
    Years
  • The problem with the script was that almost everything was wrong. I'll place my edited script in a spoiler. It's long. If you have any questions about it just ask.
    Spoiler:




    A few problems with this script. I'll put my edits in bold. Also you can't have 00 as a person because (using advance map) people numbers start at 01. My 06 is an example(you should change this).
    Code:
    #ORG $kasekopf1start
    [B]lock
    faceplayer[/B]
    message $kaseintro
    boxset 6
    applymovement 0x06 $kasewalk
    pause 0x[B]30[/B]
    message $kasegym
    boxset 6
    message $kasegymchoice
    boxset 5
    compare LASTRESULT 1
    if B_False [B]goto[/B] $kaseno
    message $kaseyes
    boxset 6
    release
    end
    
    #org $kaseno
    message $kasenospeach
    boxset 6
    message $kaseyes2
    boxset 6
    return
    
    #org $kaseintro
    $Kaseintro 1 = Potions... Check!\nPokeballs... Check!
    
    #org $kasenospeach
    $KaseNospeach 1 = Why not? Eight Gyms have been scattered\nacross the island in towns.\pAfter you collect all eight badges,\nYou can challenge the POKéMON Leauge\pAnd become the champion!
    
    #org $kasegym
    $Kasegym 1 = Who're you?\p...\pOh, hello \v\h01!\nI'm Kasekopf!\pI'm getting ready to take on\nthe Island Gym challenge!
    
    #org $kasegymchoice
    $Kasegymchoice 1 = Are you doing them as well?
    
    #org $kaseyes
    $KaseYes 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!
    
    #org $kasewalk
    $kasewalk 1 ; #Binary 0x62 [B]0xFE[/B]
    #org $kaseyes2
    $KaseYes2 1 = Just North of here is an\nentrance to an underground\pmaze of passages. You should\nhead there and explore.\pYou may find a path to\nthe other islands!
    Hope this helps.

    Could Somebody help me?
    For some reason the town map won't disappear until I walk out of the room and then walk back in. I'll post my script in case there is something wrong with it. I put 0201 in the people ID.
    Code:
    #org $start
    checkflag 0x828
    if B_true goto $givemap
    lock
    faceplayer
    message $oak
    boxset 6
    release
    end
    
    #org $givemap
    checkflag 0x201
    if B_true goto $done
    lock
    faceplayer
    message $map
    boxset 6
    giveitem 0x169 1
    setflag 0x201
    release
    end
    
    #org $done
    lock
    faceplayer
    message $hi
    boxset 6
    release
    end
    
    #org $oak
    $oak 1 =Prof. Oak wants to see\nyou.
    
    #org $map
    $map 1 =Here take this map.\nYou'll need it.
    
    #org $hi
    $hi 1 =I hope you and \v\h06\nare enjoying yourselves.


    Try like this:
    Code:
    #org $start
    checkflag 0x828
    if B_true goto $givemap
    lock
    faceplayer
    message $oak
    boxset 6
    setflag 0x828
    release
    end
    
    #org $givemap
    lock
    faceplayer
    message $map
    boxset 6
    giveitem 0x169 1
    release
    end
    
    #org $done
    lock
    faceplayer
    message $hi
    boxset 6
    release
    end
    
    #org $oak
    $oak 1 =Prof. Oak wants to see\nyou.
    
    #org $map
    $map 1 =Here take this map.\nYou'll need it.
    
    #org $hi
    $hi 1 =I hope you and \v\h06\nare enjoying
    and put 0828 in Poeple's ID
     

    Trodx

    That Guy Behind You
    26
    Posts
    16
    Years
    • Seen May 13, 2012
    I'm trying to hack FR, and I run into a problem. I entered a simple script that is supposed to give the player an item but when I talk to the sprite nothing happens. The text box doesn't
    even come up!

    It was one of those beginner scripts to practice with:

    #ORG$gotcookie
    Lock
    Faceplayer
    checkflag 0x200
    if B_TRUE goto $gotcookie
    message $AskMe
    $AskMe 1 = Would you like a Lava Cookie?
    boxset 5
    compare LASTRESUILT B_TRUE
    if B_False goto $DontGet
    giveitem 0x26 1
    setflag 0x200
    Release
    end

    #ORG $gotCookie
    Lock
    Faceplayer
    message $NoCookie
    $NoCookie 1 = I'm not made of cookies!\lYou only get one.
    boxset 6
    release
    end

    #ORG $DontGet
    Lock
    Faceplayer
    message $AllMine
    $AllMine 1 = All the more for me!
    boxset 6
    release
    end

    Oh, and Zel is Scripted a program? Where can I download it?
     

    BlackRainbow*

    Pokemon Coralo Version ?
    519
    Posts
    17
    Years
  • I'm trying to hack FR, and I run into a problem. I entered a simple script that is supposed to give the player an item but when I talk to the sprite nothing happens. The text box doesn't
    even come up!

    It was one of those beginner scripts to practice with:



    Oh, and Zel is Scripted a program? Where can I download it?

    It comes with elitemap. You can download it at WAH
     

    Ivysaur

    Grass dinosaur extraordinaire
    21,082
    Posts
    17
    Years
  • I'm trying to hack FR, and I run into a problem. I entered a simple script that is supposed to give the player an item but when I talk to the sprite nothing happens. The text box doesn't
    even come up!

    It was one of those beginner scripts to practice with:



    Oh, and Zel is Scripted a program? Where can I download it?

    This example is for Pokescript. If you are using it, you should check the program to see if it is correctly installed. And yes, Scripted is a program you can download in the toolbox here.
     
    1,104
    Posts
    16
    Years
  • Try like this:
    Code:
    #org $start
    checkflag 0x828
    if B_true goto $givemap
    lock
    faceplayer
    message $oak
    boxset 6
    setflag 0x828
    release
    end
    
    #org $givemap
    lock
    faceplayer
    message $map
    boxset 6
    giveitem 0x169 1
    release
    end
    
    #org $done
    lock
    faceplayer
    message $hi
    boxset 6
    release
    end
    
    #org $oak
    $oak 1 =Prof. Oak wants to see\nyou.
    
    #org $map
    $map 1 =Here take this map.\nYou'll need it.
    
    #org $hi
    $hi 1 =I hope you and \v\h06\nare enjoying
    and put 0828 in Poeple's ID

    I have a problem with using that script. I'm using Fire Red, checkflag 0x828 is to activate the pokemon menu. So if I put 0x828 in the people ID the map would have disappeared when I picked the first pokemon. That's why I have the other setflag. Thanks anyway.
     

    linkandzelda

    Ex-rom hacker turned indie game developer
    777
    Posts
    17
    Years
  • hi
    i need help with the running shoes. i need to know what the flag is to enable them or the flag for the oringinl script to enable them. this is all for fire red.

    thanks in advance
    link
     

    Gold Tom

    Krazier Than You
    438
    Posts
    19
    Years
  • I need a script for Ruby where a guy says "Here's your Pokemon back." And gives you a Pikachu or a Togepi depending on whether you are a boy or girl(respectively).
     

    Knoxius

    Knoxskorner.com
    14
    Posts
    16
    Years
  • Hi!

    I have a question:

    Whenver I insert a script into the game and talk to the script I get a bunch of weird symbols.

    The program I am using is PokeScript.
    If anyone knows how to fix this I would greatly appreciate it.

    Thanks in advance.
     

    EarthsVisitor

    Jolly Good
    385
    Posts
    17
    Years
  • I'm having a problem with one of my scripts.
    :/

    Maybe my eye is missing something, I would like to see if you guys might be able to pick it up.

    When I walk over the trigger, the screen goes red.

    Code:
    #org $martbattle
    lock
    checflag 0x242
    if 1 goto $already
    applymovement 0x01 $martowner
    $martowner 1 ; 0x03 0x02 0x01 0x04 0x62 0xFE
    pausemove 0
    message $owner
    $owner 1 = AH!! The Rocket is back!\pPolice!!!
    boxset 6
    applymovement 0x02 $police
    $police 1 ; 0x65 0x0C 0x0C 0x0C 0x0C 0xFE
    pausemove 0
    message $threat
    $threat 1 = You are under arrest!
    boxset 6
    trainerbattle 1 100 $before $after $further
    $before 1 = Bring it sucker!
    $after 1 = Hmph!
    release
    end
    
    #org $further
    setflag 0x242
    message  $failure
    $failure 1 = Uhm.. Uh..\pMy name is Joshua! Don't you\nforget it!
    boxset 6
    applymovement 0x02 $policerun
    $policerun 1 ; 0x47 0x02 0x03 0x13 0x10 0x10 0x12 0x04 0x60 0x10 0xFE
    pause 0x10
    release
    applymovement 0xFF $jump
    $jump 1 ; 0x11 0x01 0x01 0x03 0x03 0x04 0xFE
    pausemove 0
    end
    
    #org $already
    release
    end
     

    linkandzelda

    Ex-rom hacker turned indie game developer
    777
    Posts
    17
    Years
  • I'm having a problem with one of my scripts.
    :/

    Maybe my eye is missing something, I would like to see if you guys might be able to pick it up.

    When I walk over the trigger, the screen goes red.

    Code:
    #org $martbattle
    lock
    checflag 0x242
    if 1 goto $already
    applymovement 0x01 $martowner
    $martowner 1 ; 0x03 0x02 0x01 0x04 0x62 0xFE
    pausemove 0
    message $owner
    $owner 1 = AH!! The Rocket is back!\pPolice!!!
    boxset 6
    applymovement 0x02 $police
    $police 1 ; 0x65 0x0C 0x0C 0x0C 0x0C 0xFE
    pausemove 0
    message $threat
    $threat 1 = You are under arrest!
    boxset 6
    trainerbattle 1 100 $before $after $further
    $before 1 = Bring it sucker!
    $after 1 = Hmph!
    release
    end
    
    #org $further
    setflag 0x242
    message  $failure
    $failure 1 = Uhm.. Uh..\pMy name is Joshua! Don't you\nforget it!
    boxset 6
    applymovement 0x02 $policerun
    $policerun 1 ; 0x47 0x02 0x03 0x13 0x10 0x10 0x12 0x04 0x60 0x10 0xFE
    pause 0x10
    release
    applymovement 0xFF $jump
    $jump 1 ; 0x11 0x01 0x01 0x03 0x03 0x04 0xFE
    pausemove 0
    end
    
    #org $already
    release
    end


    i think it might be the top bit. this is untested but change it to this:
    #org $martbattle
    checflag 0x242
    if 0x1 goto $already

    hope that works

    edit: i tried it and it dont work. sorry. do you compile with pokescript or scripted? if its pokescript then i can help.
     
    Last edited:
    1,104
    Posts
    16
    Years
  • I'm having a problem with one of my scripts.
    :/

    Maybe my eye is missing something, I would like to see if you guys might be able to pick it up.

    When I walk over the trigger, the screen goes red.
    I couldn't find much wrong with it but I will put any edits in bold. I haven't tested this. Sorry if it still dosen't work.
    Code:
    #org $martbattle
    [B](remove lock)[/B]
    chec[B]k[/B]flag 0x242
    if 1 goto $already
    applymovement 0x01 $martowner
    $martowner 1 ; [B]#binary[/B] 0x03 0x02 0x01 0x04 0x62 0xFE
    pausemove 0
    message $owner
    $owner 1 = AH!! The Rocket is back!\pPolice!!!
    boxset 6
    applymovement 0x02 $police
    $police 1 ; [B]#binary[/B] 0x65 0x0C 0x0C 0x0C 0x0C 0xFE
    pausemove 0
    message $threat
    $threat 1 = You are under arrest!
    boxset 6
    trainerbattle 1 100 $before $after $further
    $before 1 = Bring it sucker!
    $after 1 = Hmph!
    release
    end
    
    #org $further
    setflag 0x242
    message  $failure
    $failure 1 = Uhm.. Uh..\pMy name is Joshua! Don't you\nforget it!
    boxset 6
    applymovement 0x02 $policerun
    $policerun 1 ; [B]#binary[/B] 0x47 0x02 0x03 0x13 0x10 0x10 0x12 0x04 0x60 0x10 0xFE
    pause 0x[B]120[/B]
    release
    applymovement 0xFF $jump
    $jump 1 ; [B]#binary[/B] 0x11 0x01 0x01 0x03 0x03 0x04 0xFE
    pausemove 0
    release
    end
    
    #org $already
    release
    end
     

    destinedjagold

    You can contact me in PC's discord server...
    8,593
    Posts
    16
    Years
    • Seen Dec 23, 2023
    Sorry for the double post, but noone seems to help me...

    Here's my problem again...

    Well.., I really want to have a script for the legendary dogs.
    I'm hacking Ruby Version...
    It goes like this...


    When the player sets their eyes on the three legendary dogs, the three will growl and then will run away in different directions, just like in POKEMON GOLD, SILVER and SHINY GOLD.

    If anyone can help me, please send me a private message, or email me at [email protected], or visit my site at www.freewebs.com/darkjagold
     
    Status
    Not open for further replies.
    Back
    Top