Warboy suggested I get rid of that giant if else if blob.