Getting an odd error after creating a new state

I'm having some issues after creating a new state and can't seem to pinpoint the problem. This is the log I get after booting up the game, which then crashes:

https://imgur.com/qLrtkMV

I have repeatedly tried to pinpoint the issue with the file in question; I have triple-checked the placing of all the brackets, made a new file and copied code from several other new state files (which work fine) but the game really hates this one specific state.

Here is the code for the state:

https://imgur.com/QIc51FJ

Now I may very well have missed something, but I am at a loss as to what's going wrong here. The error log seems to take issue with the beginning of the code and the very tail end of it, but nothing in between.

Any help would be greatly appreciated as I'm thoroughly stumped by this. Thanks in advance! :)

Posted Oct 3, 2018, 1:49 AM UTC · edited

12
PenguinishYT•

Have you done localisation correctly?

1
Lord-PrometheusOP•

Localisation for what? If it's the states, then yes, it's 100% correct for the state in question.

1