procedure start;
procedure start
begin
variable LVar0 := 0;
variable LVar1 := 0;
variable LVar2 := 0;
variable LVar3 := 0;
LVar0 := get_critter_stat(dude_obj, 0);
LVar1 := get_critter_stat(dude_obj, 5);
LVar2 := get_critter_stat(dude_obj, 6);
LVar3 := LVar0 + LVar1 + LVar2;
if ((script_action == 21) and (script_action == 3)) then begin
script_overrides;
display_msg(message_str(298, 100));
end
else begin
if (script_action == 6) then begin
if ((LVar0 < 8) and (LVar3 < 18)) then begin
script_overrides;
display_msg(message_str(298, 101));
end
end
end
end