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

[Archive] Script help thread

Status
Not open for further replies.

/Circa

a face in the clouds.
881
Posts
16
Years
  • Sorry about that I pretty much just copied and pasted my own script. Really the main thing you need in a followme script is just to not have a pausemove after the person leading but after the person who is following. ie:

    applymovement 0xff $follow
    applymovement 0x01 $follow
    pausemove 0

    The rest is just positioning the hero or follower so that the hero is directly in front of the person following.


    Thanks, I understand now :D
    But wouldn't it be the other way around, so you'd have 0xFF after 0x1 because wouldn't that make someone follow the hero?
     
    28
    Posts
    16
    Years
    • Seen Jul 11, 2015
    Thank you.

    Now does anybody know how to make the screen fade black and then fade back again like when the rockets dissapear.
     

    Binary

    え?
    3,977
    Posts
    16
    Years
    • Seen Apr 7, 2014
    No,
    You've got to make the team rockets sprites to disappear,
    #raw 53
    #raw <people no.>
    #raw 00
    That also makes the screen fade and come back again, while the rockets sprites also disappear
    well thats what I think XD

    ~C3LEBI
     
    28
    Posts
    16
    Years
    • Seen Jul 11, 2015
    c3libi will that work with pokescript.
    I used fadescreen 0 and it didn't in like 3x the speed it was suppose to.

    EDIT: I just tried the ability to surf special thing. By surf I meant lik what it does when you get the 6th badge on fr and lg. So does anybody know?
    And on the subject does anybody know how to make pokemon and pokedex show up on the start menu?
     
    Last edited:

    Thrace

    @tion
    1,048
    Posts
    16
    Years
    • Seen Oct 2, 2016
    EDIT: I just tried the ability to surf special thing. By surf I meant lik what it does when you get the 6th badge on fr and lg. So does anybody know?
    And on the subject does anybody know how to make pokemon and pokedex show up on the start menu?

    Flags:
    0x205 for the 5th badge
    0x828 for Pokemon menu
    0x829 for Pokedex

    special 0x16F for national dex
     

    ShyRayq

    Unprofessional Unprofessional
    1,856
    Posts
    16
    Years
    • Seen Apr 2, 2024
    could anyone tell me how to do a gymleader script in fr anf lg?
     

    Derlo

    Tired....
    135
    Posts
    16
    Years
  • How is that concert?

    [Archive] Script help thread
     

    /Circa

    a face in the clouds.
    881
    Posts
    16
    Years
  • could anyone tell me how to do a gymleader script in fr anf lg?

    A gymleader script is a normal trainer battle script, with a setflag of the gym leader offset at the end.

    So you would have:

    Code:
    #org $begin
    lock
    faceplayer
    checkflag 0x200
    if b_true goto $alreadybeat
    trainerbattle 0x00 0x00 $fightme $finished
    message $fightme
    $fightme 1 =Prepare to loose!\pFor I am a GYM LEADER!
    boxset 6
    release
    end
    
    #org $finished
    lock
    message $ilost
    $ilost 1 =You have proved worthy!\pHere, take this TM!
    boxset 6
    giveitem 0x0 0x0
    message $badge
    $badge 1 =Here, take this badge!
    boxset 6
    setflag 0x00 <Gym Offset>
    message $received
    $received 1 =PLAYER received a Badge!
    boxset6
    setflag 0x200
    release
    end

    There are much more simple versions, but this is what I use.

    How is that concert?

    [Archive] Script help thread

    I'm guessing your using a namepokemon command, and it came up with that?

    Use this instead of namepokemon:

    Code:
    #raw 0x04 0xEB 0x74 0x1A 0x08
     

    TB Pro

    Old-timer
    2,708
    Posts
    19
    Years
  • kk I got a problem withn this script.
    Code:
    #ORG $begin
    lock 
    faceplayer
    message $leave
    boxset 6
    release
    end
    
    #ORG $leave
    $leave 1 = ...What!/n Who are you?/p Get away
    kk everything works except for the /n and /p commands.
    it just goes all over the textox again.
    you can ever see the /n and /p in the text.

    Screenie

    Does anybody know why this is happening?

     
    26
    Posts
    16
    Years
    • Seen Oct 22, 2013
    Spoiler:

    This is the script for the first opponent in the Elite 4 in Fire Red. I edited one value and the script offset.

    I use DiamondCutter but for some reason, it won't apply this script to the game. Can someone help me? (I'm thinking it's something within the script)
    Bumping because it's not yet been even commented on and is on the last page, and is vital to my hack.
     

    Binary

    え?
    3,977
    Posts
    16
    Years
    • Seen Apr 7, 2014
    What do I have to do to enable the player to be able to use surf, before he gets the badge for it? Thanks in advance

    ~C3LEBI
     
    Status
    Not open for further replies.
    Back
    Top