Character can still use jump common event while text and cutscenes are going.

So I've run into a problem that while an event is playing my character can still use a jump common event i made posted below.

I am using yanflys smart jump plug-in and this only is an issue with a GAMEPAD. The jumping works fine without a game pad usage. The common event was made to allow jumping via game pad specifically because i don't know how to do it any other way I was hoping ya'll could help me out.

TL/DR game pad event causing character to jump while auto run events are playing or search text is displayed. Character can't move bu will jump 2 spaces forward.

Spoiler: Screen shot of Event
upload_2017-7-27_18-35-46.png
Spoiler: Screen shot of where plug-in is located
upload_2017-7-27_18-36-52.png

Spoiler: Screen shot of it in game
upload_2017-7-27_18-39-43.png

As you can see in the last screen shot i opened the chest on one room and could bunny hop all the way to the other side even though the character can't move other wise.

Any help is appreciated.
First of all, this isnt reddit 😛
Secondly, I actually had this same issue, I fixed it by switching to Galvs jump plugin.
https://galvs-scripts.com/2012/11/29/jump-ability/
I have Galvs Script and was using it but i thought maybe yanflys would be a better fit. plus galvs stopped working altogether for me for some reason, stacking up the yanfly plugins probably lol. Any solution to the yanfly plug-in would be cool, while i revisit galvs jump plug-in.

Edit** Yeah not sure why but i can't get galvs script to work even after disabling the yanfly smart jump and the common events for the keyboard, idk what else could be messing with it.
It's probly to do with the way your plugins are stacked then.
Yeah, i was messing with a new project and the script works just messes up with something from the yanfly buffet. because really galv and yanfly are all I'm using atm.
there is a much simpler solution if you want to stop the jump on key press: simply disable the common event by turning off the switch.

(which is why that switch should be used only for that and not for some chapter marker as well)
yes, that will require two extra commands before and after each cutscene and a plugin might be the better solution - but if there are plugin incompatibilities you might not have a choice.
Alternatively, maybe try putting the jump in a conditional branch.

In the conditional branch, use a script condition and use:

Code:
!$gameMap.isEventRunning()

So that if an event is running, the jump will not be executed.
I don't know why I didn't think of turning off the switch. That might work if nothing else will.

I was wondering if there was some script code I could use but i don't know java script very well and as far as script calls i only use what has been given as an example in my google searches. I'll try both of these solutions and see if they work.

Original thread: https://forums.rpgmakerweb.com/threads/character-can-still-use-jump-common-event-while-text-and-cutscenes-are-going.81888/