MZ random mimics

hi everyone,

im trying to add a group of chests that after being lockpicked have a chance of turning into a mimic,
i have attached 2 sets of images the first being for the lockpickable chest by itself
Screenshot 2025-12-23 224222.png

Screenshot 2025-12-23 224236.png

Screenshot 2025-12-23 224248.png

and then the second set is my attempt at adding variables, conditions and switches to add the "random become mimic" part
Screenshot 2025-12-23 224308.png
Screenshot 2025-12-23 224320.png
Screenshot 2025-12-23 224337.png
Screenshot 2025-12-23 224350.png

where did i go wrong/ is there a different way of doing it, im still a bit of a newb to rpgmaker so any help would be awesome.

to preface this has both the absZ and lockpicking plugins added
Your lockpicking game turns on self switch A. On page 2, you turn on self switch A again for no reason. If your variable is 1 you then turn self switch A off again for no reason.

Page 2 and 3 both have self switch A as condition, meaning page 2 will never be active. RPG maker will always run the highest page of the event which has its conditions met, meaning solving your minigame will jump straight to page 3.

No idea what plugin "absZ" or lockpicking is. You should always link the plugins you're trying to get help with. There are thousands, and we can't all possibly know them just by you saying "I got the lockpicking plugin" like there is only one that exists.
oh my bad its https://kdworkshop.net/plugins/alpha-abs-z/ for absz
and https://reflector88.itch.io/lockpick-game for lockpicking
If you can do it, put ALL of the mimic logic at the end of that first page with the plugin commands.
Okay, but my previous post has likely already fixed your issue. Unless you want to tell us what exactly isn't working after fixing the mistakes I pointed out.
thanks for the help looks like i got it working

Original thread: https://forums.rpgmakerweb.com/threads/random-mimics.181574/