Convert if-statement to switch-statement

It was bound to get huge eventually... better way coming soon!
Use easily-extensible fnpointer arrays for levels

This isn't tested, though.
Good luck!