Relic Castle

I am trying to make some kind of a quiz that you have to answer correctly before you are allowed to enter the gym.
But instead of having it that you have a few options I wanted to make it like that you have a screen where you enter your own answer and that the game checks if your answer is correct.
What I tried is making a new actor and giving the player the possibility to give that actor a custom name and if that name is the same as the answer wanted you can enter.
(https://gyazo.com/29fbb34d746c37874c1fc3c6f3d7be9f)
But when I give this actor a name it changes the players name and whatever I name it it always gives me: test failed.
Does anyone know how to fix this? Or is this impossible with Pokemon Essentials?
Top