
What's Wrong with my Code?
Hello, I'm working an update for my Octopus-Refresh mod. It began as a texture mod, which does work, though the mod broke when I added in some new code to bump up the price of the Octopus and tweak it's difficulty and time window to catch. I'm unsure where the issue is, so any advice would be helpful! Additionally, for compatibilities' sake, I was asked to adjust the texture to target only the set of pixels on springobjects.png to target the octopus itself, though I have no clue how to do that. Again, any advice would be greatly appreciated! Below are screenshots of my code and the error message SMAPI gave me.