<P>{
<P>    local TNMpawn P;
<P>
<P>    foreach AllActors(Class'TNMPawn', P)
<P>    {
<P>        if(     (PawnDifficulty == 0 && !P.bDifficulty0)
<P>            ||  (PawnDifficulty == 1 && !P.bDifficulty1)
<P>            ||  (PawnDifficulty == 2 && !P.bDifficulty2)
<P>            ||  (PawnDifficulty == 3 && !P.bDifficulty3))
<P>            {
<P>                //log("Destroying Pawn"@P.Name$", with pawndifficulty of"@String(Pawndifficulty));
<P>                P.KillShadow();
<P>                P.Destroy();
<P>            }
<P>    }
<P>}
<P>
<P>function FilterItems()
<P>{
<P>    local inventory Inv;
<P>
<P>    foreach AllActors(Class'Inventory', Inv)
<P>    {
<P>        if(     (ItemDifficulty == 0 && !Inv.bDifficulty0)
<P>            ||  (ItemDifficulty == 1 && !Inv.bDifficulty1)
<P>            ||  (ItemDifficulty == 2 && !Inv.bDifficulty2)
<P>            ||  (ItemDifficulty == 3 && !Inv.bDifficulty3))
