I thought I’d look through the code and try to figure out why it’s still crashing on my iPad.
What are the different scenes? Could you list the scenes with their numbers?
For example, the Dirt Text has this with Scene 4, but I don’t know what scene 4 is.
Note: this is a good example of code that works but should be avoided when you’re trying to optimize performance. One or the other of these 2 rules is always running. It would be better to change the visibility only when needed.
I’ve found all but scenes 2 & 3
0 - start screen
1 - choose your Pokémon
4 - walking scene
5 - battle scene
6 - buy potion
7 - game over
8 - tutorial #1
9 - tutorial #2