So I found out there was a decompilation project for Harvest Moon 64 and whoever programmed the original game loved nested if/switch statements because there is a ton. Granted, the game is programmed in C, and I'm used to OOP, but I don't understand why they couldn't just use data tables and function pointers. It's almost as if YandereDev wrote this.
https://github.com/harvestwhisperer/hm64-decomp/blob/master/src/tv.c