mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-23 20:33:08 +00:00
test
This commit is contained in:
parent
6b061cc41b
commit
c61d0138fe
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue