if self_check_activated()
	instance_destroy();

event_inherited();

dist_tor = 144;
dist_y_tor = 48;
indi_y_offset = -192;

callback = function()
{
    type(["A familiar-looking pen lies quietly on the table.",
	"Press Z to attack."], unlock_player);
	global.save_data.player.abilities.attack = true;
	
	autosave();
	instance_destroy();
}
depth = 10;