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

linkandzelda

Ex-rom hacker turned indie game developer
  • 777
    Posts
    17
    Years
    i have a problem enableing the national dex in fire red. i setflag 0x829 and setflag 0x16F but it still dosent work. my totodile in the summury has pokedex number ???.

    if somebody can help it would be good. thanks in advance
    link
     
    Last edited:
  • 41
    Posts
    17
    Years
    • Seen Dec 25, 2007
    How can I place an item on a table (say a pokeball) and make the player pick it off the table. Say for instance in the beginning of the game in your room and there is an item on your table. And when you walk out of the door it stops and tells you that you cannot leace without getting the pokeballs?
     

    The Shadow Knight

    Roaming Kanto
  • 195
    Posts
    17
    Years
    • Seen Jun 26, 2022
    How can I place an item on a table (say a pokeball) and make the player pick it off the table. Say for instance in the beginning of the game in your room and there is an item on your table. And when you walk out of the door it stops and tells you that you cannot leace without getting the pokeballs?
    Not to very hard.
    the script would be something like:
    Spoiler:

    The script for the item you have to take has to set(0x200 in this case) the flag this script checks,so after you've taken the item the scipts doesn't do anything anymore.
     

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    Can anybody show me on how to make a working followme and trainerbattle? Thanks in advance
    Documents and tutorials. This is not the place for that.


    Not to very hard.
    the script would be something like:
    Spoiler:

    The script for the item you have to take has to set(0x200 in this case) the flag this script checks,so after you've taken the item the scipts doesn't do anything anymore.

    Good job TSK. you forgot to space out the:
    Spoiler:

    and forgot to add the '#' to binary.
    PM me a script for a trainer battle pet ID= 002[takes these steps after battle: 0x12 0x10(left, down)] and doesn't matter what he says, just make it so that he disapears after you go to the next map.(that is your first job)lol.
     

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    Can anybody show me on how to make a working followme and trainerbattle? Thanks in advance
    Documents and tutorials. This is not the place for that.


    Not to very hard.
    the script would be something like:
    Spoiler:

    The script for the item you have to take has to set(0x200 in this case) the flag this script checks,so after you've taken the item the scipts doesn't do anything anymore.

    Good job TSK. you forgot to space out the:
    Spoiler:

    and forgot to add the '#' to binary.
    PM me a script for a trainer battle pet ID= 002[takes these steps after battle: 0x12 0x10(left, down)] and doesn't matter what he says, just make it so that he disapears after you go to the next map.(that is your first job)lol.
     

    Quilava's Master

    Shattered Dreams '13
  • 694
    Posts
    16
    Years
    • Seen Aug 14, 2023
    If i put the same check flag for two people but 2 different setflags, does that mean after one of those is done the other can also be done?
     

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    If i put the same check flag for two people but 2 different setflags, does that mean after one of those is done the other can also be done?
    Make sure you put the same setflag(200) as the checkflag in the begining:
    Code:
    #org $example
    checkflag 0x200
    applymovement 0x01 $exam
    pause 0x30
    $message $ex
    $ex 1 =This is an example\nsetflag script.
    boxset 6
    setflag 0x200
    release
    end
    
    #org $exam
    $exam 1 ; 0x13 0x13 0x13 0xFE
    That should work. I really don't know. try and tell me.
    My problem is that when I compile my script, I get errors like "invalid command: setflag" and such...

    You probably spelled wrong:
    Code:
    setflag 0x200 not setflag 200,etc.
     

    WindBlows

    It's been a long time!
  • 749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    I would like a give pokémon script please, with this text:

    MYSTERiOUS GUY: Hi, how
    are you?
    I'm here to tell you two news.
    One is a bad new and the
    other is a good one.

    Which one you want first?

    [Player]: Hm.... The bad one!

    MYSTERIOUS GUY: Ok, the bad one is
    that this BETA finished....

    [PLAYER]:Hey!! Come on!!

    MYSTERIOUS GUY: But the good
    one is about giving you a gift!
    Want to know what is ?!?!

    [PLAYER]:Yup!

    MYSTERIOUS GUY: Ok!
    It's a mysterious egg
    from other region!
    Do you want it? (Please don't use Yes or No option, you must recieve the egg)

    [PLAYER]: Yes!

    [PLAYER] has recieved mysterious
    egg!

    Mysterious Guy: Take care of it!
    (And then he dissapears like using a Escape Rope= Optional)

    If that can be done only he walk 8 steps left and dissapears!

    The pokémon egg should be a treecko please!

    I'll be bery happy if you write this

    Thanks n_n
     
  • 1,104
    Posts
    16
    Years
    I would like a give pokémon script please, with this text:

    XX is people number.
    I thought I'd just make him dissapear and put a message saying he used an escape rope.

    I take it from the script that this means a beta for Pokemon Phazon is close.

    Code:
    #org $start
    lock
    faceplayer
    message $hi
    boxset 6
    message $player
    boxset 6
    call $egg
    message $recieve
    boxset 6
    message $rope
    #raw 53
    #raw XX
    #raw 00
    setflag 0x200
    release
    end
    
    #org $egg
    #binary 31 72 00 67 EA C2 16 08 32 66 7A 15 01
    return
    
    #org $hi
    $hi 1 =Hi, how are you?\pI'm here to tell you good and\nbad news. Which one do you\pwant to here first?
    
    #org $player
    $player 1 =\v\h01: Hmmm...\pThe bad news!\pMYSTERIOUS GUY: Ok, the bad news\nis this is the end of the beta.\p\v\h01: Hey!! Come on!!\pMYSTERIOUS GUY: But the good\nnews is, I'm giving you a gift!\pWant to know what it is?\p\v\h01: Yup!!!\pMYSTERIOUS GUY: Ok!\pIt's a mysterious egg from another\nregion!Do you want it?\p\v\h01: Yes!
    
    #org $recieve
    $recieve 1 =\v\h01 recieved the mysterious egg.
    
    #org $rope
    $rope 1 =The MYSTERIOUS GUY used an escape\nrope

    EDIT: Whoah... I just checked the Phazon thread for any updates to find out it was closed! When did that happen?
     
    Last edited:

    WindBlows

    It's been a long time!
  • 749
    Posts
    17
    Years
    • Seen Aug 5, 2023
    thanks thethethethe it's very good!

    I request to close my thread, cause I made a new one(With new name) but is seems, it didn't get approved, so I'll make a new post when i have First BETA
     

    Dr.Razor

    Yellow Remaker
  • 101
    Posts
    16
    Years
    Hi,i need a script that when the hero talk to a girl,she ask you if you
    want the first pokemon(i don't know the name in english)and if
    you say yes the perso 3 on the map disaper and then she told you
    told you thanks.
    Thank you.
     

    Quilava's Master

    Shattered Dreams '13
  • 694
    Posts
    16
    Years
    • Seen Aug 14, 2023
    I have a scripting question if i put a checkflag such as Checkflag 0xID (which i believ is for potion,) does that mean that the script cannot be done unless i have a potion?
     
  • 41
    Posts
    17
    Years
    • Seen Dec 25, 2007
    Say for instance I wanted to make a an event that had a group of people blocking an entry way and when you walked to a certain spot one of them came up to you and took you to a pokemon and triggered a battle?
     
  • 593
    Posts
    17
    Years
    When I use ScriptEd to compile my scripts I get this:

    Script Requests/Sharing/Discussion


    So how do I fix it!
     

    cooley

    ///Keepin' it simple
  • 1,148
    Posts
    17
    Years
    I have a scripting question if i put a checkflag such as Checkflag 0xID (which i believ is for potion,) does that mean that the script cannot be done unless i have a potion?

    There is no such setflag: setflag 0xID(And potion is 0x0D)
    There are setflags from: 200-299, and 800-899.(those are the most used).

    To give an Item -- you insert: giveitem 0x0D 1(That will Give you one potion).
    Code:
    #org $start
    lock
    faceplayer
    checkflag 0x200
    message $potion
    $potion 1 =Here take this potion!
    boxset 6
    giveitem 0x0D 1
    jingle
    setflag 0x200
    release
    end
    I have no I idea if it works but here you go.(I just started scripting, and this hacks scripter is "TSK").
     

    Knox

    I dont know what to say
  • 29
    Posts
    16
    Years
    Does anyone happen to know how to get the multi command to work..

    If anyone knows speak up. I am sure alot of people want to know
     
    Status
    Not open for further replies.
    Back
    Top