I should have been more specific. I did fill the event section with a literal but the if statement failed. I don't think it's setting a global event.
I plan on searching the Main game code for the function and then searching the event to see which function recognizes the event.