anchor.diff:  	..()
   
   	//Sprite update for when a parrot gets pulled
  -	if(pulledby && stat == CONSCIOUS)
  +	if(pulledby && !stat && parrot_state != PARROT_WANDER)
  +		if(buckled)
  +			buckled.unbuckle_mob(src, TRUE)
  +			buckled = null
   		icon_state = icon_living
  -		if(!client)
  -			parrot_state = PARROT_WANDER
  +		parrot_state = PARROT_WANDER
  +		pixel_x = initial(pixel_x)
  +		pixel_y = initial(pixel_y)
   		return
   
   
  
positive.code: 	if(!H)
  		return
  	forceMove(get_turf(H))
  	H.buckle_mob(src, force=1)
  	pixel_y = 9
  	pixel_x = pick(-8,8) //pick left or right shoulder
  	icon_state = icon_sit
  	parrot_state = PARROT_PERCH
  	to_chat(src, "<span class='notice'>You sit on [H]'s shoulder.</span>")
  
  
  /mob/living/simple_animal/parrot/proc/toggle_mode()
  
negative.code: 		parrot_state = PARROT_WANDER
  		if(buckled)
  			to_chat(src, "<span class='notice'>You are no longer sitting on [buckled]'s shoulder.</span>")
  			buckled.unbuckle_mob(src, TRUE)
  		buckled = null
  		pixel_x = initial(pixel_x)
  		pixel_y = initial(pixel_y)
  