if (num9 + num7 >= num6)
{
num8++;
num7 += num9 - num6;
This looks a lot like decompiler output. if (num9 + num7 >= num6)
{
num8++;
num7 += num9 - num6;
This looks a lot like decompiler output.From what I can tell this was originally motivated by bugs in the German version of the game. Back then 1.1.2 was to be the last version of Terraria (a running joke at this point, they announced 1.4.4 a little while ago) and so decompiling seemed like the best option to get those bugs fixed. This might be a more interesting blog post on that topic: https://thevamp.cc/2012/07/16/terraria-1-1-2-zu-terraria-1-1...
"I know that this is a real mess. But back in the days the decompiler was not so good to create super fancy code and I was to lazy to rewrite thousands lines of code."
it would seem decompilers are not that funny.