random changes

This commit is contained in:
superdimensional 2021-04-28 00:07:15 -04:00
parent 15b4e37651
commit 704a7c9438
2 changed files with 29 additions and 3 deletions

View file

@ -2,7 +2,7 @@
def alien_table(index):
return {
0: "Human",
0: "OFF",
1: "Cannonbolt",
2: "Ripjaws",
3: "Diamondhead",
@ -15,5 +15,27 @@ def alien_table(index):
10: "Ghostfreak",
11: "Wildvine",
12: "Heatblast",
#TODO: Add more aliens
}.get(index, "ERROR")
}.get(index, "error")
# screen_heatblast = PhotoImage(file="res/omnitrix.png")
# def image_display(index):
# return {
# 0: "res/omnitrix.png",
# 1: "res/heatblast.png",
# 2: "Ripjaws",
# 3: "Diamondhead",
# 4: "Stinkfly",
# 5: "Fourarms",
# 6: "Upgrade",
# 7: "XLR8",
# 8: "Grey Matter",
# 9: "Wildmutt",
# 10: "Ghostfreak",
# 11: "Wildvine",
# 12: "Heatblast",
# }.get(index, "res/omnitrix.png")

View file

@ -1,4 +1,4 @@
from aliens import alien_table
from aliens import *
counter= 0
@ -19,3 +19,7 @@ def transform():
print(alien_table(counter))
elif counter > 0:
print(alien_table(counter))
# change_image(counter)
# def change_image(counter):
# omnitrix_screen = PhotoImage(file= image_display(counter))