/***************************************************************************************\ * Mortal Kombat 4 (PC) AutoSplitter. * * By Marius150PL. * * This current version is for testing purposes only. * * We hope it'll works for everyone. * * AutoSplitter starts and splits in right moments. * * Should work for both Windows 10 and Windows 11. * * Please leave some feedback on how well the AutoSplitter works and report bugs. * \***************************************************************************************/ state("mk4"){ int chosenDestiny0: 0xEE9D0, 0x208; int chosenDestiny1: 0x3A6BB8, 0xA8; int firstEnemy: 0x895CC, 0x4; int enemyCharId0: 0x223B0, 0x0; int enemyCharId1: 0x22380, 0x0; int scene0: 0xB03E4, 0x298; int scene1: 0xB99F20, 0xC, 0x4; int status0: 0x1F31C, 0x570; int status1: 0x2B88, 0x0; } start{ if((current.scene0 == 723 && current.scene1 == 177) || (current.scene0 == 369 && current.scene1 == 245)){ if((current.chosenDestiny0 == 0 && old.chosenDestiny0 != 0) || current.chosenDestiny1 != old.chosenDestiny1){ return true; } } } split{ if(current.firstEnemy == 0){ if((current.enemyCharId0 != old.enemyCharId0) || (current.enemyCharId1 != old.enemyCharId1)){ return true; } } if(current.enemyCharId0 == 8 && current.enemyCharId1 == 6){ if(current.scene0 == 510 && current.scene1 == 8 && current.status0 == 0 && current.status1 == 162){ return true; } } } reset{ if(current.scene0 == 786 && current.scene1 == 263){ return true; } }