That said, there's some stuff that can be improved upon:
You don't have to manually put in the numbers for different buttons, there's constants like #A, #B, #LEFT, #UP, and so on.
Also, something like BUTTON()==#A will be true every frame that A is held down, not just the first frame it's been pressed. You can write BUTTON(2)==#A instead of BUTTON()==#A to specifically look for presses.
1そうだね 未プレイ