[XP] Issue with Credits Script (DEMO NOW INCLUDED)

I've been using the credits script that can be found here: http://www.gdunlimited.net/forums/topic/4591-credits-script/. The problem I have with the script is while you can end the credits by pressing the enter button, the credits process will keep going indefinitely even after the credits are gone. I was wondering if there was a way for the credits process to be stopped after the credits have finished rolling.


EDIT: I've created a demo that can illustrate my problem better than my words. Download it here: https://www.dropbox.com/s/w6v65ckgc9omg5g/Credits%20Problem%20Demo.exe?dl=0
*bump*
*bump again*

Original thread: https://forums.rpgmakerweb.com/threads/xp-issue-with-credits-script-demo-now-included.66801/