A two-parameter unfolding is considered of single-pulsed homoclinic orbits to an equilibrium with two real and two zero eigenvalues in fourth-order reversible dynamical systems. One parameter controls the linearisation, with a transition occurring between a saddle-centre and a hyperbolic equilibrium. In the saddle-centre region, the homoclinic orbit is of codimension-one, which is controlled by the second generic parameter, whereas when the equilibrium is hyperbolic the homoclinic orbit is structurally stable. A geometric approach reveals the homoclinic orbits to the saddle to be generically destroyed either by developing an algebraically decaying tail or through a fold, depending on the sign of the perturbation of the second parameter. Special cases of different actions of Z 2 -symmetry are considered, as is the case of the system being Hamiltonian. Application of these results is considered to the transition between embedded solitons (corresponding to the codimension-one homoclinic orbits) and gap solitons (the structurally stable ones) in nonlinear wave systems. The theory is shown to match numerical experiments on two models arising in nonlinear optics and on a form of 5th-order Korteweg de Vries equation.