KSS:RNG: Difference between revisions

From Kirby Speedrunning Wiki
Jump to navigationJump to search
(Created page with "=Small Enemy RNG= ==Smirror== ===Spawning=== When a Smirror enemy first spawns, it will advance RNG to check if it should immediately start attacking. 1.) *Skip first number (does nothing) 2.) *128 < RNG < 191: Attack first, do not proceed to step 3. *Else: Continue to step 3 3.) Calculate how far Smirror walks (higher value = farther distance) ===Defeated=== When a Smirror enemy is defeated, it has a chance of teleporting away. This process uses a single random number...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Random Number Generation}}{{stub}}
=Small Enemy RNG=
=Small Enemy RNG=
==Smirror==
==Smirror==

Latest revision as of 19:40, 15 August 2023


Small Enemy RNG

Smirror

Spawning

When a Smirror enemy first spawns, it will advance RNG to check if it should immediately start attacking.

1.)

  • Skip first number (does nothing)

2.)

  • 128 < RNG < 191: Attack first, do not proceed to step 3.
  • Else: Continue to step 3

3.) Calculate how far Smirror walks (higher value = farther distance)

Defeated

When a Smirror enemy is defeated, it has a chance of teleporting away. This process uses a single random number.

  • 64 < RNG < 95, 128 < RNG < 159: Teleport
  • Else: Do not teleport (enemy is defeated)