Files
Untitled-Cat-Game/untitled/screens/common.py
2026-06-25 15:40:40 -04:00

20 lines
500 B
Python

from untitled import ui
from untitled.screens import shop
def options():
while True:
match ui.select("Please choose an option:", ["Save", "Save and quit", "Back"]):
case "Back":
return "back"
case "Save":
return "save"
case "Save and quit":
return "savequit"
def go_to(save):
match ui.select("Where do you want to go?", ["The shop", "Back"]):
case "The shop":
shop.shop(save)