[TW129] - Core/Scripts: ToC5 Check the Black Knight for failures and reset case they happen

Also some code style improvements