E6x only works inside one pattern (although utilizing a FT2 bug you can make the following pattern start somewhere else than row 00) and Dxx and Bxx are static. This means you can't create a loop that spans multiple patterns looping n times and then continuing on. You can either loop always or not loop at all. To produce the effect you want, you have to repeat the sequence in the POT like 1, 2, 3, 4, 1, 2, 3, 4, then 5. Sounds like wasting space but it actually isn't because the full POT array is saved always.