diff --git a/libstormgames b/libstormgames index 0bbf35a..8c57afe 160000 --- a/libstormgames +++ b/libstormgames @@ -1 +1 @@ -Subproject commit 0bbf35a4c51a1e72510a05bd3dab3e3ed7dfff0b +Subproject commit 8c57afe65bee232f082d37dd6cd596c1c76be458 diff --git a/wicked_quest.py b/wicked_quest.py index d67b762..0f4d018 100755 --- a/wicked_quest.py +++ b/wicked_quest.py @@ -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: