Hello I'm pretty new to RPG Maker MV and game making in general, I'm currently using a script to remove Party member (1), sort of like in pokemon, releasing them to make room. That works and it does it's job, the problem I have is that I cannot figure out for the life of me how to get the event to stop playing the script when the party slot (1) is empty. This leads to an error as the script is trying to remove a non existent party member.
I'd like to be able to keep the functions as they are, but somehow make the event check to see if Party slot (1) is empty, to not run the script. I don't know if that's possible, everything works fine except for that last part.
First is the event page that I have setup, I attempted with my limited knowledge to stop if Party slot (1) was empty.
The second is the TypeError I get if I continue the event without any members in slot 1
I'd like to be able to keep the functions as they are, but somehow make the event check to see if Party slot (1) is empty, to not run the script. I don't know if that's possible, everything works fine except for that last part.
First is the event page that I have setup, I attempted with my limited knowledge to stop if Party slot (1) was empty.
The second is the TypeError I get if I continue the event without any members in slot 1