• 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] JPAN's Tool: Key Input Changes

Teh Blazer

Divider of Zero
  • 779
    Posts
    16
    Years
    "Special2 0x8004 0x2b"
    It performs special 2b and if a button(s) is pressed, the special will turn variable 8004 into a certain number (ex: if they press A it'll turn into 0x1 and if they press B it'll turn into 0x2, etc.)
    Compare 0x8004 0x1
    Comparing 8004 to see if it did become 0x1
    If 0x1 goto @my_menu_A
    If it did become 0x1, the script will continue at whatever "#org @my_menu_A" is
    Special 0x8004 0x2e
    Same as before, special 2e checks for if the L or R button is pressed and then returns a specific value to 8004 depending on what button is pressed
    If 0x1 goto @my_menu_R
    The script is missing another "compare part" right before this "if part" but it's the same as before, to see which value was assigned to 8004 and then going to another script if the value matches
    Release
    Releasing the player so the player can move again
    end
    End script
     
    Back
    Top