Robert #1 Initialise turnip at a later point in the code. Generally speaking, it isn't a good idea to rely on the order in which global variables are initialised. I managed to create a very troublesome bug in a C++ project by doing this.