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

EarthsVisitor

Jolly Good
385
Posts
17
Years
  • 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

    Haha! There's the problem, the lack of Binary and the Pause are correct, The Pause is only x10 so, the Character will start after the Police's First movement, and there does not have to be a Binary.

    BUT I can't believe I spelled Checkflag wrong. Haha, that was my big problems. Thanks alot.
    :)
     

    PokeFanatic12698

    Legendary Trainer
    298
    Posts
    16
    Years
  • i kinda need some help. im using this base script from one of irish witch's tutorials and i cant seem to get it to work. whenever i talk to the pokemon sprite the game goes all red. the code is in the spoiler. please point out if there are any mistakes.
    Spoiler:
     
    1
    Posts
    16
    Years
    • Seen Aug 7, 2007
    i'm having the same problem.... maybe those scripts wont work... can someone help us out? since no one is ever reading this..
     
    17
    Posts
    16
    Years
    • Seen Feb 12, 2010
    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.
     

    foullump

    Rom Hacking Guru
    221
    Posts
    17
    Years
  • i kinda need some help. im using this base script from one of irish witch's tutorials and i cant seem to get it to work. whenever i talk to the pokemon sprite the game goes all red. the code is in the spoiler. please point out if there are any mistakes.
    Spoiler:
    Well, you must have put the script in the game incorrectly. Try again.
    i'm having the same problem.... maybe those scripts wont work... can someone help us out? since no one is ever reading this..
    Same thing.
    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.

    That, I have no idea what's wrong. Try re-offsetting it.

    If anyone needs anymore scripting help, visit Nintendo Craze.
    You can find a link in my signature.
     
    24
    Posts
    16
    Years
    • Seen Aug 29, 2015
    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:
    It worked, but after I recieve the scyther, the game thinks I'm in the Safari Zone. (It shows my steps when I press start.) Also, when I get into a wild battle it says to throw rock and all that and once the battlwes over the screen goers black annd the game freezes. Is it the script or something else?
     

    Quilava's Master

    Shattered Dreams '13
    694
    Posts
    16
    Years
    • Seen Aug 14, 2023
    can anyone make a script with team rocket saiyin their moto (the original one). im sorry but i dont kno how to use hexes
     
    1,104
    Posts
    16
    Years
  • It worked, but after I recieve the scyther, the game thinks I'm in the Safari Zone. (It shows my steps when I press start.) Also, when I get into a wild battle it says to throw rock and all that and once the battlwes over the screen goers black annd the game freezes. Is it the script or something else?

    Yeh sorry. I'm assuming that your using fire red or leaf green now. Just replace the 0x800's with 0x828's, also setflag 0x801 needs to be changed to 0x829. Just to let you know,
    setflag 0x800 is to activate the Pokemon in the menu for Ruby and Sapphire and,
    setflag 0x828 is to activate the Pokemon in the menu for Fire Red and Leaf Green, I guess now that
    setflag 0x800 is to activate the safari zone menu for FR LG

    can anyone make a script with team rocket saiyin their moto (the original one). im sorry but i dont kno how to use hexes

    If you can post the words I can type one up for you.
     
    Last edited:

    tImE

    It's still me, 44tim44 ;)
    673
    Posts
    17
    Years
  • 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.)
    And it is a Larvitar standing beside it I need it to disappear after the text.
     

    Quilava's Master

    Shattered Dreams '13
    694
    Posts
    16
    Years
    • Seen Aug 14, 2023
    If you can post the words I can type one up for you.

    Thank you. I know this is sudden but do you wanna be my official scripter and help with my hack Crystal Chaos (you get your own credits slot)

    On 2ndthough i just want this

    Intro
    Jesse: Team Rcoket is reborn as Chaos Force
    James: Prepare to feel our wrath!

    After Loss
    Jesse: On 2nd Though we'll keep Team Rocket
    James: You'll Be hearing from us twerp

    after that i want them to walk away
     
    Last edited:

    linkandzelda

    Ex-rom hacker turned indie game developer
    777
    Posts
    17
    Years
  • can sombody please tell me the flag for the running shoes on fire red please asap
     

    foullump

    Rom Hacking Guru
    221
    Posts
    17
    Years
  • Can anyone make me a script where Pikachu follows you around?
    Nobody knows how to do that. Sorry.

    can sombody please tell me the flag for the running shoes on fire red please asap
    Nobody really knows that either... In white version, I just used the original script. Just change the text a bit. Also, if you need anything else, visit this forum. ncraze.forumer.com
     
    17
    Posts
    16
    Years
    • Seen Feb 12, 2010
    Are there any problems with this script?
    Spoiler:


    It just refuses to say $forest3beaten after the fight. If I talk to them afterwards, nothing happens.
     
    24
    Posts
    16
    Years
    • Seen Aug 29, 2015
    Yeh sorry. I'm assuming that your using fire red or leaf green now. Just replace the 0x800's with 0x828's, also setflag 0x801 needs to be changed to 0x829. Just to let you know,
    setflag 0x800 is to activate the Pokemon in the menu for Ruby and Sapphire and,
    setflag 0x828 is to activate the Pokemon in the menu for Fire Red and Leaf Green, I guess now that
    setflag 0x800 is to activate the safari zone menu for FR LG

    I think I screwed it up. Now, when I enter the city with the guy in it, the game freezes. Herte is my script after adding the changes you suggested:

    Spoiler:



    EDIT: Is there a way to make a script where a person checks for an item, and if you have it, they move or in this case go inside a building?
     
    Last edited:
    1,104
    Posts
    16
    Years
  • Intro
    Jesse: Team Rcoket is reborn as Chaos Force
    James: Prepare to feel our wrath!

    After Loss
    Jesse: On 2nd Though we'll keep Team Rocket
    James: You'll Be hearing from us twerp

    after that i want them to walk away

    I'm assuming you know what the numbers after trainerbattle are for, you may possibly have to change these numbers. I'm also guessing that you know what movement numbers you need. I haven't tested this.
    Code:
    #org $start
    lock
    faceplayer
    trainerbattle 1 0x001 $before $after $further
    release
    end
    
    #org $before
    $before 1 =Jesse: Team Rocket is reborn as \nChaos Force.\pJames: Prepare to feel our wrath.
    
    #org $after
    $after 1 =Jesse: On 2nd Thought we'll\nkeep Team Rocket.\pJames: You'll Be hearing from us twerp.
    
    #org $further
    applymovement 0x01 $move
    pausemove 0
    setflag 0x200
    release
    end
    
    #org $move
    $move 1 ; #binary (insert movements here)

    Are there any problems with this script?
    Spoiler:


    It just refuses to say $forest3beaten after the fight. If I talk to them afterwards, nothing happens.

    I don't like writing my battle scripts like that. This is how I would write your script.

    Code:
    #org $forest3trainerstart
    checkflag 0x200
    if B_true goto $done
    trainerbattle 1 0x068 $forest3before $forest3after $forest3further
    $forest3before 1 = This is a great place for\ntraining my mind.
    $forest3after 1 = I didn't train enough...
    release
    end
    
    #org $forest3beaten
    $forest3beaten 1 = Gotta train more! Arrgh!
    
    #org $forest3further
    setflag 0x200
    release
    end
    
    #org $done
    message $forest3beaten
    boxset 6
    release
    end
     
    Last edited:

    Gold Tom

    Krazier Than You
    438
    Posts
    19
    Years
  • Consider my other requests unrequested, can someone put together a script where it says "PRIMEAPE: Bufuu" and then a Primeape wild battle ensues.
     
    Status
    Not open for further replies.
    Back
    Top