Teh Blazer
Divider of Zero
- 779
- Posts
- 16
- Years
- 'MERICA
- Seen Apr 30, 2025
"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
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