Stop saying "Spaghetti Code" as an insult to game developers, please.
The very nature of programming is that it's complicated. VERY complicated. When you make a change on line 12,456,774,778,999 it can have an effect on line 22,565,335,666 which have nothing to do with each other and why did this change affect... doesn't matter it did. So then you have to scour the code and figure out that the reason is because it had an effect on line 2,884 which had an effect on line 2,566,335,555,665 which affected line 33,556,444 and that is how 12,456,774,778,999 affected 22,565,335,666. But then the fix for that affects line 3,455,377 and here we go again...
A lot of gamers love to insult developers with the term "spaghetti code" but, you might as well order angel hair pasta at Olive Garden then send it back because it's 'spaghetti pasta."
So please, understand that ALL code is like that, and so using it as insult just shows that you have no idea what you are talking about.