static void ahpc(int p, int s, BS &b) { /* Those berries don't activate immediately when attacked by offensive moves, but only after side effects applied. At that time, the battle thread will call the effect "TestPinch" */ if (b.attacked() == s && tmove(b,b.attacker()).power > 0) return; tp(p, s, b); }