yes, got it, works now, thank you.
i did not have to do it in handle_movement(). (player.wdl)
i had to do it in handle_animation() in the animation.wld

Code:
IF (my.animblend == equip) {
		ent_animate(my,"equip",my.animate,0);
		my.animate += 5 * animation_speed * time;
		my.currentframe = equip;
		IF (my.animate >= 60) 
		{
			ent_animate(my,"equip",60,0);
			my.animate = 60;
		IF (equip_sword == 1) {equip_sword = 0;} ELSE{ equip_sword = 1;} 
		IF (equip_sword == 1)	{my.blendframe = stand;} ELSE { my.blendframe = idle;} 
			IF (my.move_x != 0 || my.move_y !=0) {
			IF (key_shift == 1) { my.blendframe = walk; } ELSE { my.blendframe = run; }
			}
		}
	}