Give MotU trophy in normal mode

This makes it so that it is possible to obtain the Master of the
Universe trophy/achievement, usually unlocked by beating No Death Mode,
outside of NDM.

There are several conditions that need to be met:

1. The game needs to be started from a new game and cannot be from
   loading a save.
2. Accessibility modes (invincibility and slowdown) must never be
   enabled.

If either condition is violated, then the boolean that keeps track of
NDM eligibility will be set to false.
This commit is contained in:
Misa authored and Misa Elizabeth Kai committed 2024-09-23 22:23:45 -07:00
1 parent d8b2b3542a
commit 32562f03a9
4 files changed
+35 -2

No files matched your search

+2
View File
@@ -461,6 +461,8 @@ void gamelogic(void)
game.deathseq--;
if (game.deathseq <= 0)
{
game.invalidate_ndm_trophy();
if (game.nodeathmode)
{
game.deathseq = 1;