プレイ日記
Party rock PartyRockx
HELP ME PLZZZ i cant get line 432 to work help
1そうだね
プレイ済み
返信[1]
親投稿
nate NJR1432
You gotta put a THEN after #A :)
1そうだね
プレイ済み
返信[2]
親投稿
Party rock PartyRockx
it dosnt work here
0そうだね
プレイ済み
返信[3]
親投稿
Sheepy22★∞ SheepSoldier101
What does the error say? If it says " UNDEFINED LABEL IN 432:0" then @OP1 doesn't exist.
0そうだね
プレイ済み
返信[4]
親投稿
SwitchTMC heeeee2
Do BUTTON(1)==#A
1そうだね
プレイ済み
返信[5]
親投稿
SıмΞоп SimeonW
No no don't use == It's IF BUTTON(1) AND #A THEN GOTO @OP1 Think of the variable BUTTON(1) as a binary number It is stored with 31 ones and zeros Each 1/0 represents a button being pressed Say the 2nd position is the A button, so #A is always equal t 000000000000000000000000000000000010 In binary Now if you add that AND mask to the original button it'll work just as expected
1そうだね
プレイ済み
返信[6]
親投稿
SıмΞоп SimeonW
Using == will check if ONLY button A is pressed, if any other button on the 3DS is pressed, it won't think A is pressed also AND allows multiple buttons because it only checks 1 position in binary, not all the button positions
1そうだね
プレイ済み