• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] My script skips my applymovement steps

  • 1
    Posts
    7
    Years
    • Seen Apr 29, 2018
    So, I'm hacking Pokemon Firered and I am really new at this. Specifically been hacking for about 3 days now. And while trying to write a script in XSE and then playing it, I can add it to the rom just fine, however, it acts like it just skips my applymovement for the person I'm trying to bring in off-screen. It's is probably just a beginner mistake, but any help would be greatly appreciated.

    Code:
    '---------------
    #org 0x80097A
    msgbox 0x88009BD MSG_NORMAL '"Hey wait! Please do not move\nanot..."
    playsong 0x11A 0x0
    applymovement 0x5 0x88009EA
    waitmovement 0x5
    applymovement MOVE_PLAYER 0x88009FE
    waitmovement 0xFF
    msgbox 0x8800A03 MSG_NORMAL '"This is just a test!\pGoodbye!"
    applymovement 0x5 0x8800A23
    waitmovement 0x5
    hidesprite 0x5
    setvar 0x6000 0x1
    setflag 0x1202
    fadesong 0x12C
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x8009BD
    = Hey wait! Please do not move\nanother inch!

    #org 0x800A03
    = This is just a test!\pGoodbye!


    '-----------
    ' Movements
    '-----------
    #org 0x8009EA
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x13 'Step Right (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0x11 'Step Up (Normal)
    #raw 0xFE 'End of Movements

    #org 0x8009FE
    #raw 0x0 'Face Down
    #raw 0x52 'Jump in Place (Facing Down)
    #raw 0x62 'Exclamation Mark (!)
    #raw 0xFE 'End of Movements

    #org 0x800A23
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x10 'Step Down (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0x12 'Step Left (Normal)
    #raw 0xFE 'End of Movements
     
    iirc there's a limit to how far away from the screen applymovement works. Perhaps try putting a movesprite command to move them one-tile out of view and then walk them in.
     
    Back
    Top