Updated submodule.

This commit is contained in:
Storm Dragon
2025-09-17 22:48:27 -04:00
parent 5826aa4580
commit 3fa36e4ac1
2 changed files with 9 additions and 2 deletions

View File

@@ -236,7 +236,12 @@ class WickedQuest:
if keys[pygame.K_l]:
speak(f"{player.get_lives()} lives")
if keys[pygame.K_j]: # Check jack o'lanterns
speak(f"{player.get_jack_o_lanterns()} jack o'lanterns")
jackOLanternCount = player.get_jack_o_lanterns()
if jackOLanternCount == 13:
# Murderland rocks!
speak(f"{jackOLanternCount} jack o'lanterns, this power courses through my soul.")
else:
speak(f"{jackOLanternCount} jack o'lanterns")
if keys[pygame.K_f] or keys[pygame.K_z] or keys[pygame.K_SLASH]:
currentTime = pygame.time.get_ticks()
if currentTime - self.lastThrowTime >= self.throwDelay:
@@ -380,6 +385,8 @@ class WickedQuest:
altPressed = mods & pygame.KMOD_ALT
if event.key == pygame.K_ESCAPE:
# Stop all sounds before exiting (consistent with survival mode)
pygame.mixer.stop()
try:
pygame.mixer.music.stop()
except: