Adding SE/ME save/resume via script calls? (script)

The reason for this is because I have a pause script, which needs to stop SE/ME (which is already implemented), save it (only BGM/BGS are supported built-in) alongside BGM/BGS, to then resume it after. Is there a script that it can be made to add support of save/resume of SE/ME as of BGM/BGS? Or editting the built-in script handling it and adding support to it?

Original thread: https://forums.rpgmakerweb.com/threads/adding-se-me-save-resume-via-script-calls-script.26174/