#include <define.h>

//#define NAME                    SCRIPT_

#include <command.h>
//#include <ModReact.h>



procedure start;
#include <push.h>
procedure use_p_proc;

variable OnlyOnce := 1;


procedure start
begin
	if (OnlyOnce) then begin
		OnlyOnce := 0;
		obj_close(self_obj);
	end
	if (script_action == use_proc) then begin
		call use_p_proc;
	end
end

procedure use_p_proc
begin
	if (map_var(49) == 0) then begin
		script_overrides;
		set_map_var(51, 1);
		display_msg(message_str(SCRIPT_KANE, 465));
	end
end