Replaced if/else's with switch statement

idk why that's weird to you, @V4Victini. To me, it's much weirder indenting twice to get to the code for a single control structure.