Debugging Common Event- Can anyone help see where the errors are? Thanks

Code:
◆Control Variables:#0002 TP Milo = $gameActors.actor(1).tp
◆If:Aron is in the party
  ◆Control Variables:#0003 TP Aron = $gameActors.actor(2).tp
  ◆
:End
◆If:Avery is in the party
  ◆Control Variables:#0004 TP Avery = $gameActors.actor(4).tp
  ◆
:End
◆If:Mollie is in the party
  ◆Control Variables:#0005 TP Mollie = $gameActors.actor(3).tp
  ◆
:End

◆If:Script:TP Milo > TP Aron && TP Milo > TP Avery && TP Milo > TP Mollie
  ◆Control Variables:#0001 Highest TP = TP Milo
  ◆Control Variables:#0003 TP Aron = Highest TP
  ◆Control Variables:#0004 TP Avery = Highest TP
  ◆Control Variables:#0005 TP Mollie = Highest TP
  ◆
:Else
  ◆If:Script:TP Aron > TP Milo && TP Aron > TP Avery && TP Aron > TP Mollie
    ◆Control Variables:#0001 Highest TP = TP Aron
    ◆Control Variables:#0002 TP Milo = Highest TP
    ◆Control Variables:#0004 TP Avery = Highest TP
    ◆Control Variables:#0005 TP Mollie = Highest TP
    ◆
  :Else
    ◆If:Script:TP Avery > TP Milo && TP Avery > TP Aron && TP Avery > TP Mollie
      ◆Control Variables:#0001 Highest TP = TP Avery
      ◆Control Variables:#0002 TP Milo = Highest TP
      ◆Control Variables:#0003 TP Aron = Highest TP
      ◆Control Variables:#0005 TP Mollie = Highest TP
      ◆
    :Else
      ◆If:Script:TP Mollie > TP Milo && TP Mollie > TP Aron && TP Mollie > TP Avery
        ◆Control Variables:#0001 Highest TP = TP Mollie
        ◆Control Variables:#0002 TP Milo = Highest TP
        ◆Control Variables:#0003 TP Aron = Highest TP
        ◆Control Variables:#0004 TP Avery = Highest TP
        ◆
      :End
      ◆
    :End
    ◆
  :End
  ◆
:End
◆If:Highest TP = 100
  ◆Common Event:OVERLOAD
  ◆
:End

If you couldn't tell, the intent is to check who has the highest TP and set everyone's TP equal to that. Then, it checks if the TP is equal to 100 and runs a different common event. Is there something I'm doing wrong? Thanks.
For determining the highest TP, you can use
this script call instead:

$gameVariables.setValue(1, Math.max($gameActors.actor(1).tp, $gameActors.actor(2).tp, $gameActors.actor(3).tp, $gameActors.actor(4).tp));

This basically takes the TP of all 4 characters and sets variable 1 to the highest value out of the 4.
Then you can set everyones TP to variable 1.
You can then check if that value is above 100 as you already did.

Just copy paste this script call and put it after checking who is in party.
By the way, why do you need to check who is in the party anyways?
Oh, thank you very much!
I just did it since I initially had the overload common event interspliced in this code, but I found it clunky and inefficient and have yet to fix it.
Thought I share a fun tip. In test play if you press F9 you can enter a mode where you can turn on or off switches and variables.

I know it's not a direct answer to your question but I think F9 was called Debug mode? Or maybe that was something else... 😅
Script:TP Milo > TP Aron && TP Milo > TP Avery && TP Milo > TP Mollie
That is not script code and will never work in that form.
If that was some form of shorthand then it's always better to give screenshots of what you actually typed into the event command.
If that is what you typed in there, then you need to completely replace it with true script code.
Your event doesn't say what to do with those variables if the actor ISN'T in the party. You should set them all to a default value right at the start, or add an Else statement for each one to say what the variable should be if they're not present.
That is not script code and will never work in that form.
If that was some form of shorthand then it's always better to give screenshots of what you actually typed into the event command.
If that is what you typed in there, then you need to completely replace it with true script code.
Sorry, yeah, that was shorthand since it was a pretty long nest of conditionals that made it annoyingly lengthy, and I figured it would just be simpler to do that since the conditionals were almost definitely not the issue. I will keep that in mind, though.
I figured out a way to work it thanks to the people here! Thanks a lot!

Original thread: https://forums.rpgmakerweb.com/threads/debugging-common-event-can-anyone-help-see-where-the-errors-are-thanks.133116/