public void UpdateNickname() { bool fact = lawyer.GetYesNo("Do you have more than one legend nickname to update?"); if (!fact) { int reservedMon = lawyer.GetInt("What is the reserved dexnum of the legend you wish to change?"); string username = reader.GetLegendUserNamebyRM(reservedMon); string nickname = lawyer.GetResponse("What new nickname would you like to give them?"); updater.UpdateNickname(nickname, username); } else { int num = lawyer.GetInt("How many legends would you like to change the nickname of?"); for (int count = 0; count < num; count++) { int reservedMon = lawyer.GetInt("What is the reserved dexnum of the legend you wish to change?"); string username = reader.GetLegendUserNamebyRM(reservedMon); string nickname = lawyer.GetResponse("What new nickname would you like to give them?"); updater.UpdateNickname(nickname, username); } } }