What do we know about how NPC move choice is randomized?

What do we know about how NPC move choice is randomized?
I know we know a lot about overworld stuff like when random encounters happen...
If it's the same in FireRed and LeafGreen as it is in Red/Blue/Yellow, then it's all about how long we wait in the move selection menu?
As it says for FRLG:
At the start of the game, RNG goes forward at two per frame in battle, and one per frame outside a battle. This means it’s possible to switch the parity of the RNG by delaying one frame before starting a battle, but it’s not possible to control this parity later, meaning you would be forced to skip some RNG values that you may have want to use (a RNG that determines a critical hit earlier, for example).
Pictures about "What do we know about how NPC move choice is randomized?"



Why Sudo Is The Best Command in Minecraft
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Olha Ruskykh, Joseph Ruwa, Lars Mai, emre keshavarz