This commit is contained in:
LazoCoder 2017-04-27 23:05:23 -04:00
parent 6b061cc41b
commit c61d0138fe

View file

@ -81,6 +81,15 @@ def other_handler(user_input):
filegen.create_applescript(number)
def valid_pokemon(user_input):
if str(user_input).isdigit():
number = int(user_input)
if number < 1 and number > 493:
return False
else
reu
def change_background(user_input):
# Changes the background image in the terminal.
# The parameter is the Pokemon name or number.