Putting Files in Game Directory after certain Event?

Hello, I'm making an update for my game and I want to put in an easter egg where if you get the bad ending, You can go into the game files and find an image. Something like DDLC or Imscared. Is there an event or something where I can do something like that?
No, with event you can't do it, you need do some coding with Script... event, but... It would be better to keep the images in pictures directory and in certain condition use show image event.

I see you are new here, so don't thoughtlessly copy my event, because myPoints is just template to see how to use conditional branches.

Original thread: https://forums.rpgmakerweb.com/threads/putting-files-in-game-directory-after-certain-event.128436/