Hoping you get back soon!
I saw this, it's not a good way of using enemyID, lots of times it gets stuck and doesn't clear the ID.
sub enemyofone
if #ENEMYID = N/A
return
A much better way of checking to see if enemies are around is
sub enemyofone
finditem #enemyid G
if #findCnt = 0
return
Still looking though code.