anchor.diff:  					if(SEC_LEVEL_BLUE)
   						SSblackbox.inc("alert_comms_blue",1)
   			tmp_alertlevel = 0
  -			src.aistate = STATE_DEFAULT
  +			aistate = STATE_DEFAULT
   		if("ai-changeseclevel")
  -			src.aistate = STATE_ALERT_LEVEL
  -
  +			aistate = STATE_ALERT_LEVEL
   		if("ai-emergencyaccess")
  -			src.aistate = STATE_TOGGLE_EMERGENCY
  +			aistate = STATE_TOGGLE_EMERGENCY
   		if("ai-enableemergency")
   			make_maint_all_access()
   			log_game("[key_name(usr)] enabled emergency maintenance access.")
   			message_admins("[key_name_admin(usr)] enabled emergency maintenance access.")
  -			src.aistate = STATE_DEFAULT
  +			aistate = STATE_DEFAULT
   		if("ai-disableemergency")
   			revoke_maint_all_access()
   			log_game("[key_name(usr)] disabled emergency maintenance access.")
   			message_admins("[key_name_admin(usr)] disabled emergency maintenance access.")
  -			src.aistate = STATE_DEFAULT
  -
  -	src.updateUsrDialog()
  +			aistate = STATE_DEFAULT
  +
  +	updateUsrDialog()
   
   /obj/machinery/computer/communications/attackby(obj/I, mob/user, params)
   	if(istype(I, /obj/item/card/id))
  
positive.code: 
  /obj/machinery/computer/communications/proc/interact_ai(mob/living/silicon/ai/user)
  	var/dat = ""
  	switch(src.aistate)
  		if(STATE_DEFAULT)
  			if(SSshuttle.emergencyCallAmount)
  				if(SSshuttle.emergencyLastCallLoc)
  
negative.code: 	switch(href_list["operation"])
  		// main interface
  		if("main")
  			state = STATE_DEFAULT
  			playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 50, 0)
  		if("login")
  			var/mob/M = usr
  