Deny item access the way the Deny Save Access event works?

There's a section in my game where you play a flashback to one of the characters as a young kid. However, the player's inventory is still the same during the flashback as it is during the main game, which causes a lot of problems.

I could just turn off accessing the menu at all, but I still want the flashback character to be able to equip weapons and stuff, so that's not preferable.
Hello!
Usually this type of flash back has two characters in the database, an adult who has already leveled up and another one is your child version, usually at level 1.

It's not difficult to do this for events, but it can cost time and patience, the only Script I found that allows you to create different inventories is this:

Original thread: https://forums.rpgmakerweb.com/threads/deny-item-access-the-way-the-deny-save-access-event-works.138420/