Is there some kind of special restriction on holding the G key and pressing the K key, or am I just

So I wrote this code to tell me what other button the user is holding down when they press the K key. Then I concatenate a letter to a variable, depending on what letter they were holding down, and I add 1 to another variable. The code is totally identical for each key, and it works perfectly on every key but "G". I am totally baffled. Like, I'm ready to believe that there are ghosts in my computer, or at least some kind of strange in-engine restriction on what I'm trying to do. Or I could just be missing the most obvious thing ever. Please help.


When I hold down any other keys and press K, it adds to both variables accordingly. Except for G, which will reset the variable15 (which starts at "Z") to "ZL" or "Z", no matter what it was at before, and will reset Variable16 to 1 or 0.



I'm using ET_MapKey to work the input key triggers.


Edit: I figured it out. Those who placed their bets on "me being an idiot" can cash in now.


i had early put in an event call bound to G through Yanflys common event triggers, and then forgot about it. 
I should clarify that when I move the "G" key trigger to another letter(just tried "Y") it works perfectly.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-some-kind-of-special-restriction-on-holding-the-g-key-and-pressing-the-k-key-or-am-i-just.63874/