Combat functionality and cheat code