Control deal_pattern_frame.