The bug

What it does: to stop the game clock, the script overwrites the 5-byte call to the clock update at 0x53BFBD. It does this with write_memory ... size 5 value 144, but a value is only 4 bytes. The fifth byte comes from whatever happens
to be in memory next to it.

Why it's a problem: the patch leaves broken machine code in CGame::Process, a function that runs every frame. The code that restores the clock at the end of the script uses the correct two-step method (4 bytes, then 1 byte), 
which suggests the 5-byte write was a mistake.

The fix: I replaced it with the same two-step write, 4 bytes of NOP then 1 more. That's also the pattern Target IV uses for its own patch.