• 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.
209
Posts
17
Years
  • Hello, I was trying to make a script, for a man number 2, to say:

    Hello, we meets again!
    You are really promising
    trainer! I want to give
    you this!
    Obtained the trainer tools.
    Now, I must go, but we
    will meet again soon.

    And to give me Pokedex, running shues, and PokeNav, and then go 3 squares down (GO not jump), and jump into the water with "plum" (like in Mitic Island trailer/okemon Jaspe - Alexmad or Magma members in Team Magma Hideout to submarine), and thisappear, and don't reapear any more time.

    I've tried all, but I really don't know how to do it - please make it for me to work with PokeScript - the base rom is Ruby - I will be very pleased, and after looking on It, I will know how to do it next time ;)

    Does someone know an answer for my question?
    I don't know how to good place command for giving 3 items, and for going (not jumping) , and for "plum", and how to insert so much messeages. When I'm trying to put so much things, I always do many bugs, so I need help with it.
     

    BOH

    31
    Posts
    16
    Years
    • Seen Jul 20, 2013
    tnx now i try, but another question: i usually begin the script with #org 0xOFFSET and not with #org $legendcelebi, because the offset indicates the correct sprites to apply the script....is the same?

    for kazaam: i'm sorry
     

    cooley

    ///Keepin' it simple
    1,148
    Posts
    17
    Years
  • Does anyone know why This Give Pokémon Script, after I get the Pokémon If I talk back to the Person I can keep on getting Eevee's and the start menu is the Safari zones'. The Script also Doesn't Say "Arggghhh" if you Refuse the Pokémon.
    Code:
    #org $begin
    lock
    faceplayer
    checkflag 0x200
    message $person
    boxset 5
    compare LASTRESULT  1
    if B_False goto $notwanted
    givepokemon 133 5 0
    message $gotEevee
    $gotEevee 1 =\v\h01! received Eevee.
    boxset 6
    setflag 0x800
    setflag 0x200
    release
    end
    
    #org $done
    message $doneperson
    boxset 6
    release
    end
    
    #org $person
    $person =Do you\n  Want it.
    
    #org $doneperson
    $doneperson =.............\n.............?!?
    
    #org $notwanted
    message $nwperson
    $nwperson 1 =Arggghhh!!
    release
    end
    Spoiler:


    And this One doesn't do what it's suppose to. If I say no then It will say "you left it there"(this is Right) but if I say Yes then I get Gibberish and don't get the Pokémon Eevee.
    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
    0x800
    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

    Picture of what I Mean
    Spoiler:
     
    Last edited:
    1,104
    Posts
    16
    Years
  • Does anyone know why This Give Pokémon Script, after I get the Pokémon If I talk back to the Person I can keep on getting Eevee's and the start menu is the Safari zones'. The Script also Doesn't Say "Arggghhh" if you Refuse the Pokémon.
    Code:
    #org $begin
    lock
    faceplayer
    checkflag 0x200
    [B]if b_true goto $done[/B]
    message $person
    boxset 5
    compare LASTRESULT  1
    if B_true goto $wanted
    message $nwperson
    $nwperson 1 =Arggghhh!!
    release
    end
    
    #org $done
    message $doneperson
    boxset 6
    release
    end
    
    #org $person
    $person [B]1[/B]=Do you\n  Want it.
    
    #org $doneperson
    $doneperson [B]1[/B]=.............\n.............?!?
    
    #org $wanted
    givepokemon 133 5 0
    message $gotEevee
    $gotEevee 1 =\v\h01! received Eevee.
    boxset 6
    setflag 0x8[B]28[/B]
    setflag 0x200
    release
    end
    Spoiler:


    And this One doesn't do what it's suppose to. If I say no then It will say "you left it there"(this is Right) but if I say Yes then I get Gibberish and don't get the Pokémon Eevee.
    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
    [B]setflag 0x829[/B]
    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

    Picture of what I Mean
    Spoiler:

    Okay I'll edit the scripts in your spoilers. The first one had a couple of mistakes. and the second one, only one. I've changed the setflag 0x800 to 0x829 because 0x800 is for RS and 0x829 is for FR LG.(This flag's to activate pokemon menu.
    For the second script I'd say try putting it onto a different OW and see if it works then. Sometimes, OW's and triggers are the problem.


    And BOH the offset at the beginning depends whether you are writing for pokescript or for scripted. Pokescript assings the offset to it(so you write $start), but in scripted, you have to do it.(so you write 0x800000)
     

    cooley

    ///Keepin' it simple
    1,148
    Posts
    17
    Years
  • The Video:
    https://www.youtube.com/watch?v=Op8MAL3rHC4
    Don't know what went wrong but it might be a little Fast sorry.

    I made a working Script.
    Code:
    #org $start
    lock
    faceplayer 
    message $celebi
    $celebi 1 = Celebi: Bii
    wildbattle 251 59 3
    setflag 0x201
    fadescreen 0
    end

    Pokemon celebi battle test it and see wonders(lol)
     
    Last edited:
    209
    Posts
    17
    Years
  • Please look at spoiler, and answer me, if you can, its very important for me - please.

    Spoiler:
     
    Last edited:

    destinedjagold

    You can contact me in PC's discord server...
    8,593
    Posts
    16
    Years
    • Seen Dec 23, 2023
    The Video:
    https://www.youtube.com/watch?v=Op8MAL3rHC4
    Don't know what went wrong but it might be a little Fast sorry.

    In the video, 1:23, why did a pop-up appeared..? When I do a script using the same method, a pop-up won't appear after I assign offsets... Sometimes, it'll pop-up, but I realized, there is lacking in the script. Also, the People ID is "YES" very important. what's the script..?
     
    190
    Posts
    16
    Years
    • Seen Jan 28, 2021
    I have a complicated script request for Pokescript on Fire Red.

    ----------------------------------

    Could someone help me make a situation in which:
    -There's a Pokeball that you pick up with an Eevee in it.
    -When you say "Yes", a Team Rocket Member steals the Pokeball
    -He moves up three spaces, left one space, up two more spaces, and right once; this leaves him next to the Pokeball
    -He takes the Pokeball, says a few things [what you put in the script doesn't matter], and runs upwards off of the screen.

    ----------------------------------

    Important things bolded since I was ignored last time.

    I know it's a complicated script, but I know someone out there can help me.

    Sorry for quoting this again, but I posted it before the major scripters were on, so it kind of fell back and died.
     

    BOH

    31
    Posts
    16
    Years
    • Seen Jul 20, 2013
    And BOH the offset at the beginning depends whether you are writing for pokescript or for scripted. Pokescript assings the offset to it(so you write $start), but in scripted, you have to do it.(so you write 0x800000)

    when i compile a rbc file appear this error:

    "error runtime 6: overflow"

    what can i do?
     
    Last edited:

    destinedjagold

    You can contact me in PC's discord server...
    8,593
    Posts
    16
    Years
    • Seen Dec 23, 2023
    Hey all! It's me again! ^^

    Culd someone give me a list of all items in Ruby with their offsets...?

    Ex.., MASTERBALL - 0x01

    Thanks in advance... (though I feel like I already asked this one... Don't know.., I always forget some things I already done in the past... Oh well...)

    Good day!!! ^^
     

    BOH

    31
    Posts
    16
    Years
    • Seen Jul 20, 2013
    What database have you in the pokewitch directory?

    maybe i haven't installed all datebase
     
    6,355
    Posts
    18
    Years
    • Seen Apr 16, 2020
    Sorry for quoting this again, but I posted it before the major scripters were on, so it kind of fell back and died.

    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
     

    cooley

    ///Keepin' it simple
    1,148
    Posts
    17
    Years
  • Please look at spoiler, and answer me, if you can, its very important for me - please.

    Spoiler:
    If someone could answer it, don't you think they would. There is no such Item entitled "Trainer
    Tools" but you can substitute the Item, for Something else, like Vs Seeker, and Rename it to "Trainer Tools".
     

    BOH

    31
    Posts
    16
    Years
    • Seen Jul 20, 2013
    ok, now my pokescript go perfectly.

    I use this script and the wild pokemon after cathc do not rebattle but his sprite remains, why? is not the end of the world but i prefer if he go awy

    this is the script

    Code:
    #org $legendcelebi
    lock
    faceplayer
    cry 251
    message $celebicry
    $celebicry 1 = CELEBI: Brrriii...
    boxset 6
    checkflag 0x200
    if B_TRUE goto $endbattle
    wildbattle 251 30 3
    setflag 0x200
    release
    end
    
    #org $endbattle
    $endbattle 1 ; 0x54 0xFE
     

    boon

    Normal Trainer
    26
    Posts
    16
    Years
    • Seen Dec 28, 2007
    can sombody help me?
    I insterted script and when I touch it the screen turns pink(?)
    Do I have to set some thing in A-map that will make it work?
    thanks in advance
     

    the-ben

    A bit of a nerd
    22
    Posts
    16
    Years
    • Seen Jun 16, 2010
    can anyone post a basic traine script or perhaps a tut on how to make one?

    thanks in advance
     
    1,104
    Posts
    16
    Years
  • If someone could answer it, don't you think they would. There is no such Item entitled "Trainer
    Tools" but you can substitute the Item, for Something else, like Vs Seeker, and Rename it to "Trainer Tools".

    I think he's using Trainer Tools as a group. Instead of saying take this pokedex, running shoes, and pokaballs, I think it was easier to say trainer tools.

    ok, now my pokescript go perfectly.

    I use this script and the wild pokemon after cathc do not rebattle but his sprite remains, why? is not the end of the world but i prefer if he go awy

    this is the script

    Code:
    #org $legendcelebi
    lock
    faceplayer
    cry 251
    message $celebicry
    $celebicry 1 = CELEBI: Brrriii...
    boxset 6
    checkflag 0x200
    if B_TRUE goto $endbattle
    wildbattle 251 30 3
    setflag 0x200
    release
    end
    
    #org $endbattle
    $endbattle 1 ; 0x54 0xFE

    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

    can anyone post a basic traine script or perhaps a tut on how to make one?

    thanks in advance

    Yeh here it is.
    #org $start
    checkflag 0x208
    if B_true goto $done
    trainerbattle 1 0x002 $before $after $further
    release
    end

    #org $further
    setflag 0x208
    release
    end

    #org $done
    message $boo
    boxset 6
    release
    end

    #org $before
    $before 1 =Check out my bugs

    #org $after
    $after 1 =Oh no!

    #org $boo
    $boo 1 =I'll get you back for this.
     
    Status
    Not open for further replies.
    Back
    Top