Posts for yenatch

Joined: 1/5/2014
Posts: 1
FractalFusion wrote:
(I swear I remember somewhere 6 years ago where it said that Z=SpcIV mod 4.)
That's right. From the Pokemon Crystal disassembly: https://github.com/yenatch/pokecrystal/blob/master/battle/hidden_power.asm
; Add Special & 3
        ld b, a
        ld a, [hld]
        and 3
        add b