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

destinedjagold

You can contact me in PC's discord server...
8,593
Posts
16
Years
    • Seen Dec 23, 2023
    k...

    In the meantime, I'll study scripting for a while...

    Thanks thethethethe...
     
    1,104
    Posts
    16
    Years
  • EDIT: I tried out the script and it worked fine. The person moves, then he battle and then I warped to a gym. But I did have a thought, try changing the checkflag/setflags to another number like eg. 0x215 then see if it works.

    Did you see this? By the sound of your post I don't think that you did. So here it is for you to look at.
     

    Dr.Razor

    Yellow Remaker
    101
    Posts
    16
    Years
  • Can you give me the script of old man catching weedle that you
    write please?
    And it´s possible to change the backspirit of the old man in Unlz gba,isn´t it?
     
    12
    Posts
    16
    Years
    • Seen Feb 22, 2010
    What's wrong with this script? It doesn't work for me:
    #org $StartWild
    lock
    faceplayer
    cry 406
    message $Raycry
    $Raycry 1 = Rayquaza: Raaargh!
    boxset 6
    checkflag 0x808
    if 0x1 goto $Wildbattle
    release
    end

    #org $Wildbattle
    lock
    wildbattle 406 80 0
    release
    setflag 0x500
    fadescreen 0
    end
     
    1,104
    Posts
    16
    Years
  • What's wrong with this script? It doesn't work for me:
    #org $StartWild
    lock
    faceplayer
    cry 406
    message $Raycry
    $Raycry 1 = Rayquaza: Raaargh!
    boxset 6
    checkflag 0x808
    if 0x1 goto $Wildbattle
    release
    end

    #org $Wildbattle
    lock
    wildbattle 406 80 0
    release
    setflag 0x500
    fadescreen 0
    end

    I have a few questions, What's happens when you goto the script?
    and What ROM is being used?
     
    12
    Posts
    16
    Years
    • Seen Feb 22, 2010
    I have a few questions, What's happens when you goto the script?
    and What ROM is being used?
    When I pressed A button to talk to the person I put the script into, nothing happened, and when I repeated pressing A button many times, the game froze. I'm using Emerald ROM.
     

    Dr.Razor

    Yellow Remaker
    101
    Posts
    16
    Years
  • Actually for my remake of yellow i put pikachu in the hero`s spirit in overworld editor but that`s not wonderful^^
    So is it possible to make a script who ,after the battle with the rivals in oak`s labo ,pikachu follow you just like
    the real pokemon yellow?
    Thank you
     

    destinedjagold

    You can contact me in PC's discord server...
    8,593
    Posts
    16
    Years
    • Seen Dec 23, 2023
    hey thethethethe.., I was just wondering if you have made the script work...
     
    1,104
    Posts
    16
    Years
  • EDIT: I tried out the script and it worked fine. The person moves, then he battle and then I warped to a gym. But I did have a thought, try changing the checkflag/setflags to another number like eg. 0x215 then see if it works.


    All you had to do was look 6 posts higher and found this, this is related to your script. It worked fine for me.
     

    score_under

    Inactive; Former ROM hack tool author, ❤️
    526
    Posts
    18
    Years
  • What's the problem with this script?
    Spoiler:

    It works fine, calls up the correct trainer, until you beat the trainer. After you beat the trainer, it goes back to the main map. Then it plays the sound file of a door opening and the screen fades to black. Then it plays the jingle and it stays at the black screen until I reset the ROM.

    I have put a correction to this guy's script in bold - it wasn't working because it released before it locked (I think). Tell me if I'm wrong.
     

    tImE

    It's still me, 44tim44 ;)
    673
    Posts
    17
    Years
  • For the third time (because nobody is replying to me)

    I need a script for Ruby which goes like this:

    You step on the script then The text " Come on now Larvitar!" then Larvitars cry is heard.
    It is a Larvitar standing beside you I need it to disappear after the cry.
    Then you gets a Larvitar (no text saying "[PLAYER] obtained a Larvitar" you just get one.)
     
    1,104
    Posts
    16
    Years
  • For the third time (because nobody is replying to me)

    I need a script for Ruby which goes like this:

    You step on the script then The text " Come on now Larvitar!" then Larvitars cry is heard.
    It is a Larvitar standing beside you I need it to disappear after the cry.
    Then you gets a Larvitar (no text saying "[PLAYER] obtained a Larvitar" you just get one.)

    Okay, here it is. I'm just not sure about the cry command.
    Code:
    #org $start
    chackflag 0x200
    if b_true goto $done
    message $poke
    boxset 6
    cry PKMN_LARVITAR 246
    applymovement 0x0? $move
    givepokemon 246 5 0
    setflag 0x200
    release
    end
    
    #org $done
    release
    end
    
    #org $poke
    $poke 1 =Come on now Larvitar!
    
    #org $move
    $move 1 ; #binary 0x60 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0xFE

    Can anyone give me the script of mewtwo in fire red?
    thanks

    Instead of taking the script why don't you just use the offset. (It is $1624F5 with a people id of 0081)
     

    tImE

    It's still me, 44tim44 ;)
    673
    Posts
    17
    Years
  • Thanks thethethethe :D But now I need a script like the one in
    Pokmeon Yellow
    (You're about to take the last pokeball from Oak
    and then Gary runs push you Away says "Stop this is mine!"
    and take it
    then you go talk to Oak (as a movement U dont control your Ow its walking on its own)
    He says "You can take this one, its a little odd, but if you want it.
    And then he gives you Pikachu)
     
    1,104
    Posts
    16
    Years
  • 44tim44 this is the script you requested, its a bit long. So I'll put it into a spoiler. This script is for Fire Red.
    Spoiler:
     
    2
    Posts
    16
    Years
    • Seen Aug 29, 2007
    Hello thethethethe, and the others I'm new and I'm sorry for my english because I'm french. lol Three I'm.
    Good then, I want a script which makes that instead of having the professor Oak comes to seek me, I will like to have as in GSC. How to say... To go directly in the laboratory.
    And if you can do this for Pokémon FireRed in French. That would be sympatic. Ok thank you in advance. Sparks-971...
     
    Last edited:

    Hedgehogger

    Learning ASM, but struggling
    204
    Posts
    17
    Years
  • How do you make someone give you a TM in Pokemon FireRed?
    How do you make someone give you a Pokemon in Pokemon FireRed?

    For TM's:

    Spoiler:
     

    Momoko

    OMGOODNESS THATS NOT TRUE WDF!
    742
    Posts
    16
    Years
  • Okay,I don't usually ask for scripts but...I just started a few days ago and these two scripts are really complicated!

    TheTheThe,I can see you are very good and have much experience in hacking,so I was wondering if you could help me with the scripts for a Gold remake.

    Script No1: After Prof.Elm calls,you go back to the lab and you meet up with a police officer and as soon as u take a step(forward) the player does an applymovement script and moves up to the police officer,could you do that apply movement script? of course i will also need what the police officer says,also. If you don't know how many steps the players need to take,I want the same ammount as in Shiny Gold.

    Script No2: The second script I ask for is the script right after the first ones,where you show Elm the mystery egg and he jumps up,i have absolutely no idea how you are going to do this,but please try your best.

    I will credit you in my hack,and please try to do these scripts. Thank you!
     
    Status
    Not open for further replies.
    Back
    Top