IF DialogEnded("FinalDialog") THEN TimerLaunch("Credits", 4100); IF TimerFinished("Credits") THEN GameEnd();