Viderizer/pokemon-online — comment on commit 2b99279a6b6b81f84096b9be780a6f21bdd30c7d
File:  line 0
By coyotte508:

ok so basically what i was saying:

add `if (poke()->shiny() == shine) return;` at the beginning of changeShininess2. That way you can remove the blockSignals() thing which is pretty bad.

And please reduce the mass setDV() code. Like:

```
uchar stats[6];

memset(stats, shine ? 10: 15, 6);
stats[Attack] = 15;

for (int i = 0; i < sizeof(stats)/sizeof(uchar); i++) {
poke()->setDv(i, stats[i];
updateDv(i);
}
```