2,613
edits
Blueapple128 (talk | contribs) |
Blueapple128 (talk | contribs) |
||
Line 731: | Line 731: | ||
===Psywave infinite loop=== | ===Psywave infinite loop=== | ||
If a level 0, 1 or 171 Pokémon uses {{m|Psywave}}, the game will continuously generate pseudo-random numbers, hanging indefinitely. However, this is not an issue in normal gameplay, as Pokémon can only be obtained at these levels via glitches. | If a level 0, 1 or 171 Pokémon uses {{m|Psywave}}, the game will continuously generate pseudo-random numbers, [[softlock|hanging indefinitely]]. However, this is not an issue in normal gameplay, as Pokémon can only be obtained at these levels via glitches. | ||
When a Pokémon uses Psywave, a random number is generated between 0 and 255. If the generated number is greater than or equal to 1.5× the Pokémon's level (rounded down) or it is 0, the number is discarded and a new number generated. As such, there is no number that can be generated for a level 0 or level 1 Pokémon that will not result in the result being discarded and a new number being generated. | When a Pokémon uses Psywave, a random number is generated between 0 and 255. If the generated number is greater than or equal to 1.5× the Pokémon's level (rounded down) or it is 0, the number is discarded and a new number generated. As such, there is no number that can be generated for a level 0 or level 1 Pokémon that will not result in the result being discarded and a new number being generated. |
edits