The obligation is owed to a person entitled to enforce the draft or to an indorser who paid the draft under section 3415 (relating to obligation of indorser).
the drawer to the extent deprived of funds may discharge its obligation to pay the check by assigning to the person entitled to enforce the check the rights of the drawer against the drawee with respect to the funds.
13 Pa.C.S. § 3414