Keeping track of enemies captured?

Hi, I'm using Synrec's Monster Capture plugin, though instead of using the built in bestiary with the base plugins, I'm making my own. I was wondering how I could keep track of what actors are captured, whether in the reserve or in the party. I already figured out how to set the actor to being seen by having the first encounter set a switch to on at turn zero.
11.PNG
22.PNG
3.PNG

Here are the three pages I have to trigger them. Having page 2 show up when they're seen for the first time works fine, but I'm guessing the actor tag only works for actors that are in the actual party.
That's going to be a bit of a plugin question - by default, there's no such thing as "reserves." Every actor that's in your party is in your party, and using the Formation command to change who the first 4 are determines who you see on the map and in battle.

So it's possible that what you want to do could be modified in the plugin.

Or, instead of using a switch, you could just use a variable. Set it to 1 when you've seen the monster, then whenever you use event commands to put them in the party you set it to 2 (and back to 1 if you take them back out). (if you're using event commands)
That's going to be a bit of a plugin question - by default, there's no such thing as "reserves." Every actor that's in your party is in your party, and using the Formation command to change who the first 4 are determines who you see on the map and in battle.

So it's possible that what you want to do could be modified in the plugin.

Or, instead of using a switch, you could just use a variable. Set it to 1 when you've seen the monster, then whenever you use event commands to put them in the party you set it to 2 (and back to 1 if you take them back out). (if you're using event commands)
Sadly, with this set of plug-ins, actors can and will be stored in a separate system like Pokemon PC boxes once the first 4 slots in the party are full. There's probably a way to check actors in the party even if they aren't in the main formation, but the other actors aren't in the party in this instance, or if they are they're hidden very well
Are you Javascript-savvy enough to dive into the code of the plugin to see what the storage structure is? If not I'll take a look at it for you tomorrow and let you know what you need to reference.
Are you Javascript-savvy enough to dive into the code of the plugin to see what the storage structure is? If not I'll take a look at it for you tomorrow and let you know what you need to reference.
I would very greatly appreciate this, because as much as I want to learn JavaScript, I don't think I currently have the brain power to process what I'd need to know.
Okay, so when an actor is added and there's no room, they get added to $gameParty._reserveBoxes[x].box[y], where x is 0 up to the maximum number of reserve boxes - 1, and y is 0 up to the maximum number of actors per box - 1.
Okay, so when an actor is added and there's no room, they get added to $gameParty._reserveBoxes[x].box[y], where x is 0 up to the maximum number of reserve boxes - 1, and y is 0 up to the maximum number of actors per box - 1.
This will help me later on I'm sure, but would you be able to help me locate what in the bestiary plugin in particular marks an actor as caught? Because I'm realizing now that if an actor is removed from the boxes it may cause an issue with my custom one. My current plan is to have the bestiary plugin enabled but remove the menu option for it, so I can use its flags.
I had decided to go back to JavaScript learning since I gained a but more energy, and I believe maybe that part of it is Game_Party.prototype.checkCaptured?
is this it.PNG

I do not have the knowledge to be certain
I had decided to go back to JavaScript learning since I gained a but more energy, and I believe maybe that part of it is Game_Party.prototype.checkCaptured?View attachment 293194
I do not have the knowledge to be certain
That will give you an array of all party members and all actors in all reserve boxes.
It does appear there's a simple list of everything you've captured in $gameParty._capturedIds

So you can simply use the script $gameParty._capturedIds.includes(69) where 69 is the ID of the actor you want to check.

Of course, in order to make that have an effect on event pages, you'll need to use a plugin that offers JavaScript eval conditions for pages.
It does appear there's a simple list of everything you've captured in $gameParty._capturedIds

So you can simply use the script $gameParty._capturedIds.includes(69) where 69 is the ID of the actor you want to check.

Of course, in order to make that have an effect on event pages, you'll need to use a plugin that offers JavaScript eval conditions for pages.
nice, and I think I've just found a script that can do that for me, thank you!
Okay, welp... using Himeworks custom page conditions, I tried this, and it didn't go as planned.
I'm aware that the original HIME plug-in is for MV, but I'm also already using FOSSIL
welp.PNG
oops.PNG
hmmm.PNG
I was assuming that $gameParty.checkCaptured() function was getting called as you captured things, but I guess it's not.

So you'll need to do it manually someplace. If you're using a skill or item to capture things, you could attach a Common Event that includes that script call.

Or you could put a parallel event on each map where you have battles that has the script call then Erase Event.

Original thread: https://forums.rpgmakerweb.com/threads/keeping-track-of-enemies-captured.165145/