Weapon animation requested TypeError

So for context I have added some events in the battle that if conditions are fulfilled the team actor leaves the party and the same actor as enemy appears from hidden status. it's fine when it happens to anyone else, but everytime it happens to Tiana this error appears, either after the text conversation, or right when the event triggers. their only abilities as enemies are Heal III btw, and Tiana have these note tags
<Sideview Battler: Tiana>
<Sideview Weapon: 5>

the effects of the event is just, if the actor has a certain state, they leave party and enemy nr x appears, and then i activate a switch for the fallout of the battle (and there are 4 event pages to check if they have the state every 2 rounds)
Screenshot (108).png
Screenshot (107).png
We need to see the event/code that's causing this. The error is saying that you're trying to do something to a battler that doesn't actually exist.
We need to see the event/code that's causing this. The error is saying that you're trying to do something to a battler that doesn't actually exist.
Here is the battle event conditions and effects, both on the character with the bug, and a different character that is completely fine, and the last picture i have the enemy version of both those characters with their note tags. Tiana is on the left. to me I don't see any significant difference that would do something like this (the enemy is using the same battle sprite as the actor version who is fine when on your side) (fascination is a state that makes an ally attack other allies, until hit)

also after some extra testing, if i ONLY change the battle sprite to another one, but keeping everything else the same, the bug doesn't happen. it only happens when it's the Tiana sprite itself
and the Tiana enemy can be fought without bugs alone in a solo troop, it only happens during this event and only when it involves the sprite

Screenshot (111).png
Screenshot (113).png
Screenshot (115).png

Original thread: https://forums.rpgmakerweb.com/threads/weapon-animation-requested-typeerror.158688/