if instance_exists(global.player)
{
	var _player = global.player;
    var _dist = point_distance(x, y, _player.x, _player.y);
	var _dist_y = abs(_player.y - y);
    
    if _dist < dist_tor && _dist_y < dist_y_tor
	{
		if indi_img_index < indi_img_num - 0.25
			indi_img_index += 0.25;

		else if (oMain._up || oMain._down) && _player.state != state_locked
		{
			_player.state = state_locked;
			_player.locked_timer = infinity;
			
			callback();
		}
    }
	else if indi_img_index > 0
		indi_img_index -= 0.25;
}