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)