Skip to content

Commit

Permalink
Fix Tutor
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamAquasHideout committed Dec 27, 2024
1 parent e51cd46 commit 421259f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/scrcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,10 +829,13 @@ bool8 ScrCmd_warpteleport(struct ScriptContext *ctx)
y = 9;
//only show move tutor on 10er levels
FlagClear(FLAG_HIDE_MOVE_TUTOR);
if (VarGet(VAR_PIT_FLOOR) % 10 != 0)

if (VarGet(VAR_PIT_FLOOR) % 10 != 0) // Hide if on a multiple of 10
FlagSet(FLAG_HIDE_MOVE_TUTOR);
if (VarGet(VAR_PIT_FLOOR) % 25 != 0)

if (VarGet(VAR_PIT_FLOOR) % 25 == 0) // Show Tutor if on 25
FlagClear(FLAG_HIDE_MOVE_TUTOR);

if (gSaveBlock2Ptr->modeXP == 2) // If No Exp Mode, Always Spawn Tutor
FlagClear(FLAG_HIDE_MOVE_TUTOR);
}
Expand Down

0 comments on commit 421259f

Please sign in to comment.