I worked out requirements for ranks, I think

All of this is information I've gathered from gml_Object_obj_round_evaluation_Create_0.gml and gml_Object_obj_round_evaluation_Draw_0.gml. The evaluation logic is a complete spaghetty mess, and all mixed in with the drawing-to-the-screen logic, but I did my best to boil it down to the essentials.[1]

I... Don't we should put it in the wiki as it currently is. What do you think?

I did not investigate anything outside of these files. That's why some of the stuff here is vague.

Arguments

These are the stuff you have to know in advance to compute the rank.

  • Board: Either 1 or 2, if you're on the first or second Board.
  • Number of Battles: How many battles you went through on the Board. It's usually 3, but it can be lower if you skip battles.
  • Individual Battle Ranks: The list of ranks you got for each battle.
  • Total Points: ... I'm not sure. It's the number you see on the evaluation screen, but I don't know if it includes points you got outside of the Board or points you already spent.
  • Challenge Score: Your score from the Physical Challenge.
  • T-RANK Chef: Only relevant on Board 1. Apparently, you can get a T-RANK on the cooking challenge under lower-than-normal scores under specific circumstances.
  • Secrets Found: How many secrets you found. On Board 1, those are the two extra keys. On Board 2, those are the moss and the extra picture.

Algorithm

For the sake of simplicity, imagine the ranks (Z, C, B, A, S, T) as being equivalent to numbers (0, 1, 2, 3, 4, 5).


First, calculate the Battle Grade:

  • Transform your Individual Battle Ranks into numbers.
  • Add those numbers together.
  • If the Number of Battles is exactly 2, multiply this sum by 1.5
  • The result is you Battle Grade.

Optional

Optionally, calculate the Battle Rank

  • It's not required to calculate the Overall Rank, but I included it for completion's sake.
  • The table shows the Battle Grade requirements to get each Battle Rank:
Battle Grade Battle Rank
14 T
11 S
8 A
5 B
2 C
0 Z

Next, calculate the Points Goal:

  • Multiply the Number of Battles by 230.
  • On Board 1, add 800 to this number.
  • On Board 2, add 860 to this number.
  • The result is your Points Goal.

Calculate the Points Rank and Points Grade:

  • The table shows the Total Points requirements to get each Points Rank:
Total Points Points Rank
Points Goal T = 5
Points Goal × 0.8 S = 4
Points Goal × 0.66 A = 3
Points Goal × 0.5 B = 2
Points Goal × 0.42 C = 1
0 Z = 0
  • The Points Grade is just the Points Rank multiplied by 2.

Calculate the Challenge Rank and Challenge Grade:

  • If you're on Board 1 and got the T-RANK Chef, the Challenge Rank is 5. Otherwise, the table shows the Challenge Score requirements on Board 1 :
Challenge Score Challenge Rank
640 T = 5
451 S = 4
381 A = 3
301 B = 2
211 C = 1
0 Z = 0
  • The table shows the Challenge Score requirements on Board 2:
Challenge Score Challenge Rank
28000 T = 5
25000 S = 4
22000 A = 3
18000 B = 2
14500 C = 1
0 Z = 0
  • The Challenge Grade is just the Challenge Rank multiplied by 3.

Calculate the Overall Grade:

  • Add together the Battle Grade, Points Grade and Challenge Grade.
  • For each Secret Found, do the following:
    — If the number is between 25 and 31, set it to 32.
    — If the number is less than 25, add 4 to it.
  • The result is your Overall Grade.

Calculate the Overall Rank:

  • If the Overall Grade is at least 32...
    — If Secrets Found is at least 1 and Challenge Rank is T, the Overall Rank is T.
    — If Secrets Found is 2, Challenge Rank is at least S, the last Individual Battle Rank is T, and the Points Rank is either Z or T, the Overall Rank is T.[2]
  • Otherwise, the table shows the Overall Grade requirements to get each Overall Rank:
Overall Grade Overall Rank
40 T
24.5 S
16.5 A
7.5 B
3.5 C
0 Z

  1. it took so long why toby why ↩︎

  2. I think those are mistakes. It doesn't look like he wanted to pick the "last Individual Battle Rank" instead of the Battles Rank. And the variable responsible for Points Rank starts out as T-RANK and it simply doesn't get update unless the rank is at least C. I don't even know if it is theoretically possible to get the Points Rank to be Z while also getting the last Individual Battle Rank to be T and the Overall Grade to be 32. ↩︎

https://deltarune.wiki/w/User:Ceruleanwarbler2/Rank
we... should really have a more easy way to access this... people keep wanting to know this

Maybe... Anything to stop people from needlessly doing it all again *sigh*

I also worked the basics out and just dumped it straight on the wiki (no one noticed) here: https://deltarune.wiki/w/The_Legend_of_Tenna.

I think it's important to have the precise information somewhere. The details about battles are the main thing that my info doesn't match with cerulean's (and thus ingame experimentation is probably needed), but your note about the conditional T-rank being about the last battle grade instead of overall grade, and points allowing Z-rank, is interesting and I never noticed those nuances.

(btw Total Points is number of points gained over the course of the board; spending doesn't reduce the counter and it doesn't include points gained before the board.)

im sorry to all duplicate researchers out there......

i think legend of tenna, where slab already wrote a ton, is the best place to put that so people dont keep re-writing this

I was really careful with copying the code and removing irrelevant bits so the meaning wouldn't be lost. I don't think it would be humanly possible to notice those details without doing that. Hence why I believe those were mistakes.

This does make me feel better. Thanks!

I had a feeling I was missing something, so I looked again. As it turned out, I was missing something.

I said the last Individual Battle Rank was a requirement for the conditional T-RANK. But that's not entirely accurate. It's actually the last Individual Battle Rank greater than Z.

For example:

  • BBT would qualify because the last rank is T.
  • BTZ would qualify because the second rank is T. The last Z-RANK is ignored.
  • TZZ would qualify because the first rank is T. The last two Z-RANKS are ignored.
  • TZC would NOT qualify, because the last rank is C and that is not ignored.
  • ZZZ qualifies by default.

Which means you could get a T-RANK while getting a Battle Rank of Z, like you could already do with the Points Rank. But you can't do both at the same time, as you wouldn't get a high enough grade to even qualify for the conditional T-RANK.

But it does create a scenario where getting a higher rank on one of the battles would actually make you lose the overall T-RANK.

hey so ive been thinking about my page again... where do you guys think that should go on the wiki?

  1. The Legend of Tenna page?
  2. A standalone Rank page?
  3. Other option?!

(and ik it's in my sandbox rn but anyones allowed to edit https://deltarune.wiki/w/User:Ceruleanwarbler2/Rank !!)

I think either TV Time, split between TV Time and The Legend of Tenna, or a separate page makes most sense; having the overall rank stuff on The Legend of Tenna certainly doesn't fit since physical challenge is part of the rank, so I'm wondering if putting the overall rank in TV Time and having it refer to information about components (TLoT / minigames) to learn about those parts individually.

While it's just barely enough content that it could make its own page, I don't think putting minigame rank information on a single page is at all helpful since it means nothing without context of what scoring means in that minigame.

(P.S. I actually like the general way I presented things on the TLoT page, so I think any way of moving things around would mostly just involve moving that information around rather than actually rewriting it.)

id rather not split info between pages (besides physical challenge ranking), so: any objections to moving what Slab made into a section under Rounds in TV Time?

Apparently I’ve been getting info that there might be a ? rank in one of the physical challenges if you get exactly the cutoff between ranks

But I’ve only seen it happen in the minigame mode, never in a board run, and it might not be possible in a board run. But do we know if it counts as the rank above it or the rank below it?

EDIT:I suspect the rank above it is probably what it counts as because the cutoff for Z-rank is 0, implying ranks is “get at least this many points” not “get above this score” though I don’t think you can get a ? by scoring 0 points…

The ? rank is due to improper point checking when determining ranks, at least in Rock Video. It’s a bug not meant to ever appear.

Not sure about other games. I’m pretty sure Cooking Show does not have that issue, because gml_Object_obj_chefs_game_Step_0 seems to properly check the score without any holes in covered points.

Is it possible to get in Board 2’s version? And if it is, how does that impact the scoring for the Overall Grade?

EDIT:Specifically, what Challenge Grade would the ? Rank count as? 0? 5? Whatever is below the cutoff? Whatever is above it? Would it qualify for conditional T-ranks? That is, if you can even get it on Board 2, if you can’t, this question is irrelevant

ok finally moved it over to TV Time with some minor modifications to battle. otherwise honestly i think it's fine now