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

Teh Blazer

Divider of Zero
776
Posts
15
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