If player's party is more then 4, skill animation won't play if it targets the 5th member and beyond

First of all, sorry if something similar has been asked before, but in VX Ace this happens if you change the base Game_Party script to more then 4

Basically, if there's a skill, both from other members of the party or the enemy that targets the fifth member of the party or beyond (Sixth, seventh, so on), the animation and the sound for the skill won't play. Is there a simple solution for this? Or this is just a limitation?

Disclaimer, I don't use any plugins, and despite I did manipulate the base scripts, I know next to nothing about scripting. So if it's not too much trouble, a more... thorough explanation will be immensely appreciated~
I always have 5 in the party, and I have never had this problem.

As you say that the manipulated the base scripts (plural), what other changes have you made apart from the one you mention?

You also say that you don't use any plugins (by which I assume you mean scripts, as Ace doesn't use plugins). Is that absolutely zero? Nothing at all except the default scripts? You also mention "the 6th, 7th and so on". Exactly how many actors are in the active party?
Oops, let me correct myself. That was the only script I manipulated. Excuse me.

Yeah, I don't have any other additional scripts added, zero. There's only the default scripts that come with the maker.

I'm using 6 actors in my active party for now. I did try change the numbers a few times, but the animations still only play for the first to fourth member of the active party.

Original thread: https://forums.rpgmakerweb.com/threads/if-players-party-is-more-then-4-skill-animation-wont-play-if-it-targets-the-5th-member-and-beyond.126443/