encukou/pokemon-online — comment on commit 0c5e996cd9648d5712a72afe5a76c99166b1554e
File: src/Server/battle.h line 635
By coyotte508:

Nice. Maybe later use a better way of generating those random numbers instead of modulo, but putting them all in the same function was great work