#include <define.h>

//#define NAME                    SCRIPT_

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



procedure start;
#include <push.h>


procedure start
begin
	if (script_action == spatial_proc) then begin
		if (source_obj == dude_obj) then begin
			if (map_var(1) == 0) then begin
				set_map_var(1, 1);
				set_map_var(4, map_var(4) + 1);
				if (map_var(4) > 3) then begin
					display_msg(message_str(SCRIPT_NDEBRIS, 104));
				end
				else begin
					display_msg(message_str(SCRIPT_NDEBRIS, 101));
				end
			end
		end
	end
end