29.0 Healing Wish, Lunar Dance
29.1 Spikes, Toxic Spikes, Stealth Rock (hurt in the order they are first used)

Notable changes compared to DPPt end of turn effects :
_ Sandstorm and Hail damage occur before Wish;
_ Future Sight and Doom Desire strike before Wish and Leftovers recovery (actually they strike before any kind of recovery);
_ Since Healing Wish and Lunar Dance effects now occur at the very end of the turn, they are naturally added to the list;
_ Confusion message coming from the rampaging moves Thrash, Petal Dance, and Outrage no longer occurs at the end of turn but rather immediately once the last attack is performed, hence why they don't appear on this list; though Uproar still does.
_ The former DPPt "priority 6" end-of-turn group literally exploded, with nearly each move that it used to contain now belonging to their own priority bracket.

My bad, I knew I was forgetting something but I couldn't put my finger on what.

Anyway, Solar Power is indeed residing in the priority 2 bracket, and while I was at it I took the occasion and grabbed my 2 DS to test the very last group (the 28 bracket) since there is no way to test it correctly in-game, and found out that :
_ "Pokémon is switched in" is still 28.0 but alone (didn't expect that, this caught me off guard);
_ Lunar Dance and Healing Wish group is really 29.0;
_ Entry hazards group is really 29.1.

There are no "priority levels" with rotating and switching out. Rather they can be considered two different phases of the round. This is analogous to the card game Magic: The Gathering, which include a "main phase" and a "combat phase".

The order in which two or more Pokemon switch out during the "switching out" phase of a round is determined by priority; that is, according to their Speed and other effects that cause a Pokemon to strike before other Pokemon.

Because in my opinion, it's more appropriate to call "switching" and "rotating out" merely two different phases of a round, much like the "command phase" (at the beginning of a round), "attack phase", and "end of round phase". (See my timing page). I use the term "priority" to mean only the priority level of moves (for example, Quick Attack has a priority level of 1 and Trick Room has a priority level of -7) and sometimes the turn order of attacks. You of course may use the word "priority" how you want.

Moderator

Because in my opinion, it's more appropriate to call "switching" and "rotating out" merely two different phases of a round, much like the "command phase" (at the beginning of a round), "attack phase", and "end of round phase". (See my timing page). I use the term "priority" to mean only the priority level of moves (for example, Quick Attack has a priority level of 1 and Trick Room has a priority level of -7) and sometimes the turn order of attacks. You of course may use the word "priority" how you want.

Click to expand...

The main reason one would use priority instead of phase is because of Pursuit, which can come before switches, is an attack.

Speaking of which, if Switches come before Rotations, what happens when you use Pursuit in a Rotation Battle with a Pokemon that in Rotating in, against a Pokemon that is Switching out?

Hide(Move your mouse to the hide area to reveal the content)Show HideHide Hide

Start of turn 34
The foe's Froslass used Destiny Bond!
The foe's Froslass is trying to take its foe with it!

Toxicroak used Substitute!
Toxicroak already has a substitute.

Hail continues to fall!
Toxicroak is buffeted by the hail!
The foe's Froslass restored a little HP using its Leftovers!

Start of turn 35
Toxicroak used Sucker Punch!
It's super effective!
The foe's Froslass lost 71% of its health!
The foe's Froslass fainted!
The foe's Froslass took Toxicroak down with it!
Toxicroak fainted!

It's until the Destiny Bond user attacks again. That's how Custap Wobbuffet works, in fact: Destiny Bond when you are at <25%; if they attack, they die; if they set up on you, they attack you the next turn and then die, because now Wobbuffet will be slower and thus, Destiny Bond will still be in effect; if they try to set-up again, you use Encore and now they're forever fucked.