loot screen mini-game?

A question about loot gave me an idea about a small mini-game during the loot screen that could affect what the player gets

I'd like it to only happen sometimes (it might be annoying and slow down gameplay otherwise). But basicly, If it triggers, you might get one of three different mini games that directly affect what items are recived after completing a battle. Were there could be different triggers for the game. Is there a script for this?

Original thread: https://forums.rpgmakerweb.com/threads/loot-screen-mini-game.38956/