static void tp(int s, int, BS &b) { int berry = b.poke(s).item(); if (!testpinch(s, s, b, 4)) return; int stat = (b.true_rand()%5) +1; b.gainStatMod(s, stat, 2,false); b.sendBerryMessage(9,s,0,s,berry, stat); }
static void tu(int s, int, BS &b) { if (b.true_rand() % 5 == 0) { turn(b,s)["TurnOrder"] = 2; turn(b,s)["QuickClawed"] = true; } }
static void btd(int s, int t, BS &b) { if (b.true_rand() % 10 == 0) { turn(b,s)["CannotBeKoedBy"] = t; } }