Receive Player Input During Battle?

So in the process of learning JS and learning the flow of MV coding, I decided to figure out how to accept user input after battle command selection and just before actors turn. Think Sabin from FF6. Looking through a battle scene tutorial, it seems BattleManager.startAction would be just the place to inject the input capture coding. Problem I'm running into is timing loop. It seems like regardless of the type of loop I use for either of these to happen: 1. Correct key input by the player or 2. Certain amount of time elapsedthat, if (Input.isPressed(x)) doesn't work. Am I doing this all wrong? Any advice on a good way to accept user input during battle?

Original thread: https://forums.rpgmakerweb.com/threads/receive-player-input-during-battle.58241/