@LabelIndex 426186
@StringIndex 63946
class 1 maker_destruct_area_set_off : inzone_maker {
parameter:
	string	AreaName1 = "default";
	string	AreaName2 = "default";

handler:
	EventHandler ON_NPC_CREATED() {
		super;
		gg::Area_SetOnOffEx(AreaName1,1,myself::GetInZoneID());
		gg::Area_SetOnOffEx(AreaName2,1,myself::GetInZoneID());
	}

	EventHandler ON_NPC_DELETED(deleted_def,deleted_npc,i0,i1,maker0) {
		if( AreaName1 != "default" ) {
			gg::Area_SetOnOffEx(AreaName1,0,myself::GetInZoneID());
		}
		if( AreaName2 != "default" ) {
			gg::Area_SetOnOffEx(AreaName2,0,myself::GetInZoneID());
		}
	}

}
