Pokemon Diamond and Pearl - Holdable Items
This page contains notes related to the timing process in the Diamond and Pearl games. Much of this page currently duplicates information from the third generation timing page.
Priority
Priority Levels
All attacks are categorized in eleven priority levels.
- 5: Helping Hand
- 4: Magic Coat, Snatch
- 3: Protect, Detect, Endure, Follow Me
- 2: Feint
- 1: Quick Attack, Bide, Mach Punch, ExtremeSpeed, Fake Out, Sucker Punch, Vacuum Wave, Bullet Punch, Ice Shard, Shadow Sneak, Aqua Jet
- 0: All other moves
- -1: Vital Throw
- -3: Focus Punch
- -4: Revenge, Avalanche
- -5: Counter, Mirror Coat
- -6: Whirlwind, Roar
- -7: Trick Room
Modifications to Speed
- If the Pokemon has Simple, its Speed stat stage is doubled, then adjusted so it is neither less than -6 nor greater than 6.
- Speed stat stage is applied.
- During Rain Dance, the Pokemon's Speed is doubled if it has Swift Swim.
- During Sunny Day, the Pokemon's Speed is doubled if it has Chlorophyll.
- If the Pokemon is holding any one of the following, Speed is halved: Macho Brace, Iron Ball, Power Bracer, Power Belt, Power Lens, Power Band, Power Anklet, Power Weight. This applies even if Embargo is in effect for the Pokemon and even if it has Klutz.
- If the Pokemon is holding Choice Scarf, Speed is multiplied by 15/10.
- If the Pokemon's current species is Ditto and is holding Quick Powder, its Speed is doubled.
- If the Pokemon has Quick Feet and has a status problem, Speed is multiplied by 15/10. Otherwise, if the Pokemon is paralyzed, its Speed is multiplied by 1/4.
- If the Pokemon has Slow Start and that ability is currently in effect, Speed is halved.
- If the Pokemon has Unburden, its Speed is doubled if it isn't holding an item and if an item the Pokemon held was consumed or lost while the Pokemon had this ability and since the Pokemon became active.
- If Tailwind is in effect for the Pokemon's party, Speed is doubled.
Calculating Priority
- Attacks with a higher priority level strike first.
- If two or more attacks have the same priority level, ties are broken using each active Pokemon's Speed. The game does this by comparing the Speeds of two Pokemon at a time:
- If one Pokemon is holding Quick Claw and it activates for this round (20% chance), or it is holding Custap Berry, it strikes before the other Pokemon. If this condition holds for both Pokemon, the one with the higher Speed strikes first; ties in Speed are broken at random.
- Otherwise, if one Pokemon is holding Full Incense or Lagging Tail, it strikes after the other Pokemon. If both Pokemon hold Full Incense and/or Lagging Tail, the one with the lower Speed strikes first; ties in Speed are broken at random.
- Otherwise, if one Pokemon has Stall, it strikes after the other Pokemon. If both Pokemon have Stall, the one with the lower Speed strikes first; ties in Speed are broken at random.
- Otherwise, if Trick Room is in effect, the Pokemon with the lower Speed strikes first; ties in Speed are broken at random.
- Otherwise, the Pokemon with the higher Speed strikes first; ties in Speed are broken at random.
The order in which attacks will strike is set just after all commands are chosen.
Accuracy Check
This process is incompletely described for now.
- If some effect is true, the attack hits.
- If the attacker has Simple, multiply its Accuracy stat stage by 2.
- If the opponent has Simple, multiply its evasiveness stat stage by 2.
- If the attacker has Unaware, the opponent's evasiveness stat stage is set to 0.
- If the opponent has Unaware, the attacker's Accuracy stat stage is set to 0.
- If Foresight and/or Miracle Eye is in effect for the opponent, the opponent's evasiveness stat stage is set to 0 if it is greater than 0.
- The opponent's evasiveness stat stage is subtracted from the attacker's Accuracy stat stage.
- The Accuracy stat stage is adjusted so it is neither less than -6 nor greater than 6.
- The accuracy is set to the attack's original accuracy.
- If some effect is true, the attack hits.
- If some effect is true, the attack hits.
- During Rain Dance, the accuracy of Thunder is set to 50.
- The accuracy is multipled by a number that depends on the Accuracy stat stage.
- If the attacker has Compoundeyes, the accuracy is multiplied by 130/100.
- During Sandstorm, the accuracy is multiplied by 80/100 if the opponent has Sand Veil.
- During Hail, the accuracy is multiplied by 80/100 if the opponent has Snow Cloak.
- In fog (which is considered a weather condition), the accuracy is multiplied by 6/10.
- If the attacker has Hustle and the attack is physical, the accuracy is multiplied by 80/100.
- If the opponent has Tangled Feet and is confused, the accuracy is halved.
- If the opponent is holding BrightPowder or Lax Incense, the accuracy is multiplied by 90/100.
- If the attacker is holding Wide Lens, the accuracy is multiplied by 110/100.
- If the attacker is holding Zoom Lens and strikes last this round, the accuracy is multiplied by 120/100.
- If some effect is true, the accuracy is multiplied by 120/100, and that effect is removed.
- If Gravity is in effect, the accuracy is multiplied by 10/6.
- If a random number from 0 through 99, plus 1, is less than or equal to the accuracy, the attack hits.
Accuracy Stat Stage
Multipliers for the Accuracy stat stage. After applying the multiplier, the result is rounded down.
- -6: 33/100
- -5: 36/100
- -4: 43/100
- -3: 50/100
- -2: 60/100
- -1: 75/100
- 0: 100/100
- 1: 133/100
- 2: 166/100
- 3: 2/1
- 4: 250/100
- 5: 133/50
- 6: 3/1