Subdual damage for associates fix.
Added library with some pc functions.