state("CorpseParty") { /*byte isLoading: "CorpseParty.exe", 0x0000DE00, 0x14; byte yesNo: "CorpseParty.exe", 0x00014560, 0x0; byte timerStart: "CorpseParty.exe", 0x00040B3C, 0x104; byte endPlaying: "CorpseParty.exe", 0x000E504C, 0x0; byte continueTimer: "CorpseParty.exe", 0x00026AA0, 0x0; */ byte isLoading : 0x200962C; byte yesNo : 0x1CAF6C4; byte timerStart : 0x1CB896C; byte endPlaying : 0x3FB768; byte continueTimer: 0x1690CC4; } startup { vars.pause = false; //refreshRate = 30; } init { timer.IsGameTimePaused = true; } start { return old.timerStart == 1 && current.timerStart == 0; } split { return old.endPlaying == 20 && current.endPlaying == 26; } update { if (vars.pause && old.timerStart == 1 && current.timerStart == 0) { vars.pause = false; } if (current.endPlaying == 26) { vars.pause = true; } if (old.continueTimer == 0 && current.continueTimer == 1) { vars.pause = false; } } isLoading { if (current.isLoading !=0 || vars.pause) { return true; } return false; } exit { timer.IsGameTimePaused = true; vars.pause = true; }