static string getProfessionTitleFromNumber(int whichProfession) { string s = Professions.GetProfessionTitleFromNumber(whichProfession); if (s == null) { return(AlchemyLevelUpMenu.getProfessionTitleFromNumber(whichProfession)); } return(s); }