Pixelate Effect similar to Yume Nikki.

I would like to have a visual effect where the screen fades in and out all pixelated. Similar to Yume Nikki's when Madotsuki goes to bed and when she wakes up.

Will credit properly for codes. Thank you.
'Script Support' is for when you need help with a script you are already using.
Moved to: RGSS3 Script Requests

Can you be a bit more descriptive. Saying you want something like X means that only those who have played that specific game will know what you are talking about. That greatly restricts the number of people who can help you. I suggest you edit your first post to include either more details or a link to a video which shows the effect you want.

Original thread: https://forums.rpgmakerweb.com/threads/pixelate-effect-similar-to-yume-nikki.79540/