Fixes shitcode of mine
Created by: 9600bauds
Fixes #8359 (closed) In hindsight I really regret not making this more OOP by using datums, but at the time I didn't know how to do that. These bugs are the fruition of me growing exponentially more tired of botany3 and wanting to be done with it already. Honestly this copypaste is awful all around, I'm sorry.