• 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.
  • 67
    Posts
    15
    Years
    • Seen Jan 24, 2015
    Thanks, everyone. Now I just need to make a flag...

    .:EDIT:.
    Still These Left:
    1. Shiny Battle Script
    2. Give Pokemon when stepping on Tile Script (Guess I already have that, so I'll test it out...)
    4. Apply Movement scripts (with the raws for each Direction)

    P.S. The PokeScript Shiny Battle and Applymovement scripts don't work...
     
    Last edited:

    score_under

    Inactive; Former ROM hack tool author, ❤️
  • 526
    Posts
    18
    Years
    Uhm, 13 isn't a Potion.
    13 is a potion. 0xD == 13. 0x13 != 13.

    @Heatransoul:
    The "m" command in PKSV should do that without #RAWs.
    eg.
    Code:
    #org 0xD0F00D
    applymovement PLAYER 0xD0FEED
    end
    #org 0xD0FEED
    m walk_up walk_down walk_right say_? end
     
  • 67
    Posts
    15
    Years
    • Seen Jan 24, 2015
    Well, I have PKSV... BTW, the script doesn't work... For the talk, it says Unknown FR/LG Command... I am using Ruby. And when I do the regular movement, here is what the script says:

    Opened file.
    #ORG
    -> 0xD0F00D
    APPLYMOVEMENT
    -> player
    -> 0xFF
    -> 0xD0FEED
    -> Converted to 0x8d0feed
    #ORG
    -> 0xD0FEED
    Movement data...

    _______
    As you can see, it has no movement data...
     
  • 38
    Posts
    16
    Years
    • Seen Oct 7, 2015
    can someone help me with this script it is a script to give the pokedex but it doesnt work im new to scripting so i will take your help with open arms.

    Spoiler:
     
    Last edited:
  • 67
    Posts
    15
    Years
    • Seen Jan 24, 2015
    can someone help me with this script it is a script to give the pokedex but it doesnt work im new to scripting so i will take your help with open arms.

    Spoiler:
    What is this? PokeScript? If it is, I might be able to help you...
     
  • 38
    Posts
    16
    Years
    • Seen Oct 7, 2015
    yeah it is pokescript and i hope so

    edt-(seems he's offline can anyone else help me)
     
    Last edited:

    Quilava's Master

    Shattered Dreams '13
  • 694
    Posts
    16
    Years
    • Seen Aug 14, 2023
    #org 0x804B32
    checkflag 0x238
    if 0x0 goto 0x8804B46
    setvar 0x4005 0x0
    setweather 0x3
    nop
    doweather
    end

    #org 0x804B46
    release
    end

    this is suppose to be a level script but it does the weather and freezes the player...help please
     
  • 152
    Posts
    15
    Years
    Excuse me, but how do i make a script to where someone moves when they finish talking?
    You would have your beginnging script of..... say.... Uh,

    #org $start
    lock
    faceplayer
    message $1
    boxset 6
    applymovement 0x(sprite #in hex) $move1
    pausemove 0x0
    release
    end

    Then you just continue with the

    $move1 and enter the raw#s (check out thethethethe's tut)
    and the message and all the other stuff you'd normally have.
     

    Elite 4 Sam

    Steel Type User
  • 115
    Posts
    17
    Years
    You would have your beginnging script of..... say.... Uh,

    #org $start
    lock
    faceplayer
    message $1
    boxset 6
    applymovement 0x(sprite #in hex) $move1
    pausemove 0x0
    release
    end

    Then you just continue with the

    $move1 and enter the raw#s (check out thethethethe's tut)
    and the message and all the other stuff you'd normally have.

    Is this for XSE? Because thats what im using.
     

    Thrace

    @tion
  • 1,048
    Posts
    16
    Years
    • Seen Oct 2, 2016
    Hello. I was wondering if there is a scripting command or asm to take control of another sprite on the map.

    Thanks in advance
    link
    You would have to use a level script to do that. There is a command called moveoffscreen though that you can use which just moves a sprite off the map.

    Pokescript: #raw 0x64 0x[peopleNumber] 0x0
    XSE: moveoffscreen [peopleNumber]

    Uhm, could someone help me with a givepokemon script. I understand givepokemon perfectly. It's just that some of the other neccesary commands I do not. I do have a script that half-works, but it's in compiled mode and it's rather long, so I won't post it.

    The current problems:
    1. the final textbox doesn't close.
    2. setflag 0x828 don't work
    Use #raw 68 to get the textbox to close. What do you mean it dosn't work?

    can someone help me with this script it is a script to give the pokedex but it doesnt work im new to scripting so i will take your help with open arms.

    Spoiler:
    You need setflag 0x829 not 289.

    #org 0x804B32
    checkflag 0x238
    if 0x0 goto 0x8804B46
    setvar 0x4005 0x0
    setweather 0x3
    nop
    doweather
    end

    #org 0x804B46
    release
    end

    this is suppose to be a level script but it does the weather and freezes the player...help please
    Go to the level script offset and make sure that after the pointer you have 0000.
     
  • 4
    Posts
    15
    Years
    • Seen Nov 22, 2011
    Are there any other helpful flags, specials, special2, etc. for scripting besides the ones defined in the include file? Basically, I need documents on what values do what for commands. It is hard to search the useful ones out. (I'm using Score_Under's PKSV scripting tool for Pokemon FireRed V1.1)
     
  • 38
    Posts
    16
    Years
    • Seen Oct 7, 2015
    Maybe you should have written what you wanted to happen in your script instead of expecting people to read your mind.

    hidesprite 0x[peopleNumber]
    will hide the sprite

    To hide it forever you need to put 0829 in the people ID for that sprite.

    what i want is the player to recieve the nationalpokedex
     
  • 152
    Posts
    15
    Years
    What does it mean when you get this error?

    [Archive] Script help thread


    EDIT: I doubt anyone wants to look at the script... lol... but here it is!

    Spoiler:
     
    Last edited:
    Status
    Not open for further replies.
    Back
    Top