: : : Button Activator FAQ : : :
Button Activators are fairly simple and are used often. You could use them to make something happen when the certain button is pressed. You could make a weapon change or break as a certain button is pressed. Or say you have table made, you can have it break with button activators. In this FAQ, I will show you how to use button activators.
First off you need to know the addys for P1 & P2
81064880 - P1 Addy
80064886 - P2 Addy
16 bit activator
Then put these values behind the addy for the desired button.
Button Activator Values:
C-Right - 0001
C-Left - 0002
C-down - 0004
C-Up - 0008
R - 0010
L - 0020
D-pad Right - 0100
D-pad Left - 0200
D-pad Down - 0400
D-pad Up - 0800
Z - 2000
B - 4000
A - 8000
8115AEC6 0002
Now say you want to press 2 buttons together for an activator to work. All you would do is add the values together to make the combination of buttons work. For example.
Say you want the button activator to be Z & R, take a look at what the values are.
Z ? 2000
R ? 0010
+ = 2010
If you add 2000 & 0010 together you get 2010, which means that you can now press Z & R Together for the button activator. If you want to see an example of how to put it into a code. Then look below.
D1064880 2000 - If P1 presses Z
8115AFB0 0000 - P1's height goes to the floor.
Credit For Button Activator Addys & Values: Goatman
This FAQ Was written by: Viva La Pest