Jump Script

I am thinking about using Galv's Jump script in my game but I need to know how to change the jump Button from "a" to the spacebar.
https://galvs-scripts.com/2012/11/29/jump-ability/
Under the header SCRIPT SETUP OPTIONS, there's a constant named BUTTON. Change it from :X to :C.
Under the header SCRIPT SETUP OPTIONS, there's a constant named BUTTON. Change it from :X to :C.
Putting it at :C also makes the Z button on the keyboard use for jumping. How would I fix this?
Press F1 in the game and set Z to not bind to C.
Press F1 in the game and set Z to not bind to C.
If i do this then it messes with the ability to select things with Z.
The script ties to one keybind at a time. It goes by the gamepad equivalent, and not the keyboard one. Unfortunately, there's no way that I know of to make scripts use the keyboard version of buttons, so the only way I can think of is to cheat and only say spacebar as part of your instructions.
You need to use a keyboard input script to separate the keys.
But then you will need to put the specific code from the keyboard script into Galv's Jump script.
Also have the keyboard script above galv's jump script.

Like Hexmozart88 said, it goes by the gamepad equivalent by default.

Original thread: https://forums.rpgmakerweb.com/threads/jump-script.116122/