The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script JPAN's Tool: Key Input Changes

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old April 10th, 2018 (11:30 AM).
Teh Blazer's Avatar
Teh Blazer Teh Blazer is offline
Divider of Zero
 
Join Date: Feb 2009
Location: 'MERICA
Age: 27
Gender: Male
Nature: Relaxed
Posts: 776
"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
__________________
Being a hero is overrated anyways
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:17 AM.