The above hex code doesn't exist in that file for EW, but I tracked down the function and the equivalent change was easy enough to find. For EW, the change appears to be as above, except 07 0F 00 1B E7 43 00 00 00 00 00 00 16 04 0B to 07 0F 00 1B E7 43 00 00 00 00 00 00 16 0B 0B The code decompiles the way I would expect (nothing inside the if statement in question), and the game runs, and doesn't crash when a damaged sectoid takes a shot, but other than that I don't really know how to test whether that is in fact applying red fog to the aliens.