Hidden Power (move)/Calculation: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
→‎Generation II: Changed example of Hidden Power calculation for Generation II
(→‎Generation II: Changed example of Hidden Power calculation for Generation II)
Tags: Mobile edit Mobile web edit
Line 15: Line 15:
==Generation II==
==Generation II==
===Type===
===Type===
Consider an example Pokémon, like Pikachu with this set of IVs:
Consider an example Pokémon, like Shellder with this set of IVs:


{{Hidden Power calculation/II|14|15|15|15|14}}
{{Hidden Power calculation/II|12|10|10|13|8}}


The type is determined by taking the two {{wp|least significant bit}}s of the Attack and Defense IVs, then {{wp|Concatenation|concatenating}} these two values in that order.
The type is determined by taking the two {{wp|least significant bit}}s of the Attack and Defense IVs, then {{wp|Concatenation|concatenating}} these two values in that order.
Line 82: Line 82:
<math>
<math>
\begin{align}
\begin{align}
HP_{type} & = 4 \times 15 \bmod 4 + 15 \bmod 4 \\
HP_{type} & = 4 \times 10 \bmod 4 + 10 \bmod 4 \\
& = 4 \times 3 + 3 \\
& = 4 \times 2 + 2 \\
& = 12 + 3 \\
& = 8 + 2 \\
& = 15
& = 10
\end{align}
\end{align}
</math>
</math>


Since this value is equal to 15, per the table above, this means that our Pikachu has a {{type|Dark}} {{m|Hidden Power}}.
Since this value is equal to 10, per the table above, this means that our Shellder has a {{type|Grass}} {{m|Hidden Power}}.


===Power===
===Power===
Line 107: Line 107:
In our example, we get:
In our example, we get:


{{Hidden Power calculation/II|14<br>''N/A''|15<br>''1''|15<br>''1''|15<br>''1''|14<br>''1''}}
{{Hidden Power calculation/II|12<br>''N/A''|10<br>''1''|10<br>''1''|13<br>''1''|8<br>''1''}}


<math>
<math>
\begin{align}
\begin{align}
HP_{power} & = \bigg\lfloor \frac{5 \times (1 + 2 \cdot 1 + 4 \cdot 1 + 8 \cdot 1) + 2}{2}\bigg\rfloor + 31 \\
HP_{power} & = \bigg\lfloor \frac{5 \times (1 + 2 \cdot 1 + 4 \cdot 1 + 8 \cdot 1) + 0}{2}\bigg\rfloor + 31 \\
& = \bigg\lfloor \frac{5 \times (1 + 2 + 4 + 8) + 2}{2}\bigg\rfloor + 31 \\
& = \bigg\lfloor \frac{5 \times (1 + 2 + 4 + 8)}{2}\bigg\rfloor + 31 \\
& = \bigg\lfloor \frac{5 \times 15 + 2}{2}\bigg\rfloor + 31 \\
& = \bigg\lfloor \frac{5 \times 15}{2}\bigg\rfloor + 31 \\
& = \bigg\lfloor \frac{75 + 2}{2}\bigg\rfloor + 31 \\
& = \bigg\lfloor \frac{75}{2}\bigg\rfloor + 31 \\
& = \bigg\lfloor \frac{77}{2}\bigg\rfloor + 31 \\
& = \lfloor 37.5 \rfloor + 31 \\
& = \lfloor 38.5 \rfloor + 31 \\
& = 37 + 31 \\
& = 38 + 31 \\
& = 68
& = 69
\end{align}
\end{align}
</math>
</math>


Which means that our Pikachu's Hidden Power's power is '''69'''.
Which means that our Shellder's Hidden Power's power is '''68'''.


{{Hidden Power calculation/II|14|15|15|15|14}}
{{Hidden Power calculation/II|12|10|10|13|8}}
{| class="roundy" style="width: 650px; border: 2px solid #{{Dark color light}}"  
{| class="roundy" style="width: 650px; border: 2px solid #{{Grass color light}}"  
|- style="text-align: center; color: #FFF"
|- style="text-align: center; color: #FFF"
| style="width: 33%; background: #{{Dark color}}; {{roundyleft|10px}}" | {{mcolor|Hidden Power|FFF}}:
| style="width: 33%; background: #{{Grass color}}; {{roundyleft|10px}}" | {{mcolor|Hidden Power|FFF}}:
| style="background: #{{Dark color}}" | Type:<br>'''{{tcolor|Dark|FFF}}'''
| style="background: #{{Grass color}}" | Type:<br>'''{{tcolor|Grass|FFF}}'''
| style="background: #{{Dark color}}; {{roundyright|10px}}" | Power:<br>'''69'''
| style="background: #{{Grass color}}; {{roundyright|10px}}" | Power:<br>'''68'''
|}
|}


12

edits

Navigation menu