I'm sorry, but I don't understand that code. This game was made with Construct 3, not a regular language.