Part 1 - Overview
Every turn when (the player is in a Blight room or the player is in a shrine room) and (a monster is in a Blight room):
repeat with temporary monster running through monsters in the Blight:
now the current monster is the temporary monster;
calculate the current monster's enhanced stats;
now the timestamp of the current monster is (the timestamp of the current monster + the espeed of the current monster);
DM "(Speed of [a current monster] is [espeed of the current monster]; speed of the player is [espeed of the player]; timestamp on [the current monster] is now [timestamp of the current monster]. ";
if the current monster is active:
DM "The [current monster] is active this turn.)[line break]";
otherwise:
DM "The [current monster] is inactive this turn.)[line break]";
check monster engagement;
carry out monster attacks;
carry out monster engagement;
carry out monster movement;
repeat with temporary monster running through monsters in the Blight:
let K be the number of moves from the location of the temporary monster to the location of the player;
if the eawareness of the temporary monster is greater than K:
now the presence count of the temporary monster is the presence count of the current monster + 1;
otherwise:
now the presence count of the temporary monster is 0;
repeat with temporary monster running through active monsters:
now the timestamp of the temporary monster is 0.