Mathy
at my puter
What type of bug are you reporting? Chat
What is the bug?
Currently, typing /randpoke or /randmove can roll things that don't exist in the gen of the battle you use it in, resulting in it saying that the Pokemon/move was not found in the gen. It should instead check the room's format in the same way that /ds and /ms already do (that is,
Are you able to replicate it? If so, how?
Yes, for example, type /randpoke in a gen 1 battle and most of the time it triggers.
What is the bug?
Currently, typing /randpoke or /randmove can roll things that don't exist in the gen of the battle you use it in, resulting in it saying that the Pokemon/move was not found in the gen. It should instead check the room's format in the same way that /ds and /ms already do (that is,
room?.settings.defaultFormat || room?.battle?.format
).Are you able to replicate it? If so, how?
Yes, for example, type /randpoke in a gen 1 battle and most of the time it triggers.