summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-11-16 13:54:50 -0500
committerhuderlem <huderlem@gmail.com>2019-11-16 13:02:35 -0600
commit0dd73a03dea91536d34ed3b059cd46b7466c3cfd (patch)
treef83b75e2e723a9d298d2d2329a985d135c3fd7b1 /src
parentb96fad074b4387e0df69cadbd9415bea3243f46f (diff)
Update comment for CheckFinalTime
Diffstat (limited to 'src')
-rw-r--r--src/trainer_hill.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/trainer_hill.c b/src/trainer_hill.c
index 6cea94cfa..b84920a62 100644
--- a/src/trainer_hill.c
+++ b/src/trainer_hill.c
@@ -447,9 +447,8 @@ static void GiveChallengePrize(void)
}
}
-// Either the bestTime and Timer field names are incorrect or something weird is going on
-// Because when gSpecialVar_Result == 0 after this call the player is complimented on their fast time
-// And when gSpecialVar_Result == 1 theyre told that they werent very quick
+// If bestTime > timer, the challenge was completed faster and its a new record
+// Otherwise the owner says it was a slow time and to complete it faster next time
static void CheckFinalTime(void)
{
if (gSaveBlock1Ptr->trainerHill.checkedFinalTime)