WASD in Battle

Alright so I don't usually ask for help (I try and try to do everything myself) but I sometimes fail and this is driving me insane. If any of you could help me out it would mean a lot.

Well, basically what I am trying to do is to use the W A S D keys to select options in battle instead of using the arrow keys. Like for example pressing the  S key to move from the Attack option down to the Guard option. I have already searched a lot and one script I found made it work but then everytime an enemy died I would get an error in 'Window_Selectable line 122'

Spoiler
Error.png
Is there an easy way around this? A script I don't know about that could make this easy? I'm not really experienced in coding (I plan on studying to get better at it) I am using Yanfly's Ace Battle Engine if that's relevant. Also here is the script I tried.

Any help would be greatly appreciated! ^.^

EDIT - Well slap me in the face and turn me  into a fire breathing elephant that has two tails with mouths that eat the heart of snakes.

I continued to search and search and found Tsukihime's Full Input Keyboard and simply made the UP, DOWN, LEFT, RIGHT buttons to be like this:

UP = [KEYMAP[:LETTER_W]] DOWN = [KEYMAP[:LETTER_S]] LEFT = [KEYMAP[:LETTER_A]] RIGHT = [KEYMAP[:LETTER_D]]It even works for movement, so I'm happy. For now everything runs smoothly and I hope it stays that way! ^.^

 (I hope there isn't anything i'm missing that could cause a problem)

I guess this can be closed now o.o (this is why I usually don't ask for help xD)
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/wasd-in-battle.20231/