#include <define.h>

//#define NAME                    SCRIPT_

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



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


procedure start
begin
	if (script_action == timed_event_proc) then begin
		set_map_var(5, 0);
	end
	else begin
		if (script_action == use_proc) then begin
			call anger;
		end
		else begin
			if (script_action == use_skill_on_proc) then begin
				call anger;
			end
			else begin
				if (script_action == use_obj_on_proc) then begin
					call anger;
				end
				else begin
					if (script_action == pickup_proc) then begin
						call anger;
					end
				end
			end
		end
	end
end

procedure anger
begin
	set_map_var(5, 1);
	add_timer_event(self_obj, game_ticks(3), 0);
end