There has to be a better way to do this :
for(var/obj/O in mob.EquippedStuff)
if(istype(O,/obj/items/equippable/Sword)) mob.icon_state="run with sword"
else mob.icon_state="run"
It loops through the mob's equipped stuff to find a sword, and if it finds one, it changes the state to run with sword.
If it doesn't it changes to normal run. I want my run() to be accurate, and I'm pretty sure a for() would slow it down a bit, if I had a few stuff equipped.