Even if you do have discrete codes, it's still more efficient for the remote to be a state machine so that it can skip things that are already done.
_________________________
Bitt Faulk