Honko/poserver — comment on commit 1cea020680f264b7b58cc8635905230c3c15ffe6
File: scripts.js line 1398
By sarenji:

It's likely better design to turn `pokeNatures` into a hash keyed by the Pokémon names. It makes the rest of the eventNatureCheck function much more readable without all the abstract array indices.