K64:RNG: Difference between revisions

From Kirby Speedrunning Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 10: Line 10:
For a walkthrough of the 100% manip route, click [[K64:100% Manip Route|here]]
For a walkthrough of the 100% manip route, click [[K64:100% Manip Route|here]]


For Curtissimo's video explanation of the manip route, click [[https://www.speedrun.com/k64/guide/y0t49 here]]
For Curtissimo's video explanation of the manip route, click [https://www.speedrun.com/k64/guide/y0t49 here]
 
=Any% RNG manip route=
 
For a walkthrough of the Any% manip route, click [[K64:Any% Manip Route|here]]


=Known RNG calls=
=Known RNG calls=
Line 48: Line 52:
* Going through certain loading zones
* Going through certain loading zones
** If Kirby dies in a room that advances RNG when loaded (including the first room of a level), RNG will advance again
** If Kirby dies in a room that advances RNG when loaded (including the first room of a level), RNG will advance again
* When a [[https://wikirby.com/wiki/Propeller Propeller]] starts chasing Kirby, which only happens when he has a copy ability
* When a [https://wikirby.com/wiki/Propeller Propeller] starts chasing Kirby, which only happens when he has a copy ability
* An object spawning in the background while Kirby is in the foreground, and vice versa (the room after the miniboss in 2-3)
* An object spawning in the background while Kirby is in the foreground, and vice versa (the room after the miniboss in 2-3)
* When [[https://wikirby.com/wiki/bonehead Boneheads]] descend after taking flight
* When [https://wikirby.com/wiki/bonehead Boneheads] descend after taking flight
* When a [[https://wikirby.com/wiki/Spark-i Spark-i]] runs into a wall but is too far away to notice Kirby
* When a [https://wikirby.com/wiki/Spark-i Spark-i] runs into a wall but is too far away to notice Kirby
* When a [[https://wikirby.com/wiki/glom Glom]] blinks twice
* When a [https://wikirby.com/wiki/glom Glom] blinks twice
* When a [[https://wikirby.com/wiki/zoos Zoos]] throws a lightning bolt (but not when it drops a raindrop)
* When a [https://wikirby.com/wiki/zoos Zoos] throws a lightning bolt (but not when it drops a raindrop)
* When a [[https://wikirby.com/wiki/Magoo Magoo]] jumps out of magma
* When a [https://wikirby.com/wiki/Magoo Magoo] jumps out of magma
* Staying on the ground (or water) after being airborne in a Waddle Dee section
* Staying on the ground (or water) after being airborne in a Waddle Dee section
** RNG will not advance if an action is taken immediately upon landing, such as jumping or taking damage
** RNG will not advance if an action is taken immediately upon landing, such as jumping or taking damage
** Initially entering the vehicle will advance RNG once as well
** Initially entering the vehicle will advance RNG once as well
* When a [[https://wikirby.com/wiki/burnis Burnis]] or [[https://wikirby.com/wiki/frigis Frigis]] drops a rock
* When a [https://wikirby.com/wiki/burnis Burnis] or [https://wikirby.com/wiki/frigis Frigis] drops a rock




<p class="h3-no-toc">The following advance RNG by 1 or more:</p>
<p class="h3-no-toc">The following advance RNG by 1 or more:</p>
* Kirby's idle animations
* Kirby's idle animations
* Whenever a [[https://wikirby.com/wiki/Sparky Sparky]] jumps or attacks
* Whenever a [https://wikirby.com/wiki/Sparky Sparky] jumps or attacks
* Whenever a boss attacks
* Whenever a boss attacks
* Dandelions occasionally advance RNG while spawned
* Dandelions occasionally advance RNG while spawned
* [[https://wikirby.com/wiki/flutter Flutters]] advance RNG frequently once disturbed, but not beforehand
* [https://wikirby.com/wiki/flutter Flutters] advance RNG frequently once disturbed, but not beforehand
* When an [[https://wikirby.com/wiki/ignus Ignus]] spawns, and sometimes when it hits the ground
* When an [https://wikirby.com/wiki/ignus Ignus] spawns, and sometimes when it hits the ground
* Collecting an enemy card
* Collecting an enemy card
* When a [[https://wikirby.com/wiki/bo Bo]] chooses a new direction or series of directions to move in
* When a [https://wikirby.com/wiki/bo Bo] chooses a new direction or series of directions to move in
* Every shot from the stone + fire copy ability
* Every shot from the stone + fire copy ability
* Transforming into an animal friend with the stone + cutter copy ability
* Transforming into an animal friend with the stone + cutter copy ability
* Each piece of food that spawns from the ice + spark copy ability advances RNG by one
* Each piece of food that spawns from the ice + spark copy ability advances RNG by one
* Both types of torpedo enemy advance RNG constantly while spawned
* Both types of torpedo enemy advance RNG constantly while spawned
* When enemies spawn in the [[https://wikirby.com/wiki/tick Tick]] miniboss room in 3-1
* When enemies spawn in the [https://wikirby.com/wiki/tick Tick] miniboss room in 3-1
* Staying on the ground/water in a Waddle Dee section will occasionally advance RNG
* Staying on the ground/water in a Waddle Dee section will occasionally advance RNG
* The [[https://wikirby.com/wiki/drop Drops]] spawning in the miniboss fight in 4-2
* The [https://wikirby.com/wiki/drop Drops] spawning in the miniboss fight in 4-2
* [[https://wikirby.com/wiki/mopoo Mopoos]] that spawn constantly without being triggered by proximity
* [https://wikirby.com/wiki/mopoo Mopoos] that spawn constantly without being triggered by proximity
* [[https://wikirby.com/wiki/flora Floras]] advance RNG constantly while falling
* [https://wikirby.com/wiki/flora Floras] advance RNG constantly while falling
* The floor dropping during the [[https://wikirby.com/wiki/HR-H HR-E]] fight
* The floor dropping during the [https://wikirby.com/wiki/HR-H HR-E] fight
* The cutter phase of [[https://wikirby.com/wiki/Miracle_Matter Miracle Matter]] advances RNG often
* The cutter phase of [https://wikirby.com/wiki/Miracle_Matter Miracle Matter] advances RNG often
* The bomb phase of [[https://wikirby.com/wiki/Miracle_Matter Miracle Matter]] advances RNG when the bubbles split apart
* The bomb phase of [https://wikirby.com/wiki/Miracle_Matter Miracle Matter] advances RNG when the bubbles split apart
* Each projectile in the spark phase of [[https://wikirby.com/wiki/Miracle_Matter Miracle Matter]] advances RNG once
* Each projectile in the spark phase of [https://wikirby.com/wiki/Miracle_Matter Miracle Matter] advances RNG once
* Each of [[https://wikirby.com/wiki/0%C2%B2 02's]] attacks advance RNG at least once
* Each of [https://wikirby.com/wiki/0%C2%B2 02's] attacks advance RNG at least once
* RNG advances once every frame on the console and company logo screens
* RNG advances once every frame on the console and company logo screens
* RNG advances once every frame on the title screen, starting at the same time the player becomes able to skip it
* RNG advances once every frame on the title screen, starting at the same time the player becomes able to skip it
* Allowing the game to play a cutscene by idling on the logo screens or title screen will cause the RNG to jump to a specific value, depending on the cutscene
* Allowing the game to play a cutscene by idling on the logo screens or title screen will cause the RNG to jump to a specific value, depending on the cutscene
* RNG advances once for every COM character that is chosen before starting a mini-game
* RNG advances once for every COM character that is chosen before starting a mini-game
* RNG advances multiple times when entering [[https://wikirby.com/wiki/100-Yard_Hop 100-Yard Hop]]
* RNG advances multiple times when entering [https://wikirby.com/wiki/100-Yard_Hop 100-Yard Hop]
* RNG advances once when entering the [[https://wikirby.com/wiki/Boss_Endurance Boss Battles]] mode, and then continues to advance as bosses attack
* RNG advances once when entering the [https://wikirby.com/wiki/Boss_Endurance Boss Battles] mode, and then continues to advance as bosses attack
* RNG advances rapidly while COMs are moving during [[https://wikirby.com/wiki/Checkerboard_Chase Checkerboard Chase]]
* RNG advances rapidly while COMs are moving during [https://wikirby.com/wiki/Checkerboard_Chase Checkerboard Chase]
* RNG advances up to hundreds of times when an end-of-level picnic is generated

Latest revision as of 17:04, 20 November 2024


Basics

In Kirby 64, RNG is reset to a value of 0 whenever the game is reset, which gives a consistent starting point for RNG manipulation. Actually starting a speedrun with a desired RNG value, however, is made difficult by the fact that RNG advances every frame during the game's opening screens, and only stops advancing during file select. This obstacle can be overcome by quickly skipping through the opening screens and going into the mini-games in any file, then having the COM select one to three characters. These characters will be randomly generated, meaning they will advance RNG and always be the same if they are chosen on the same RNG value. Runners can observe which characters are chosen to determine which value they are on and cancel out of the mini-game, then have the COM select more characters until the desired starting RNG value is reached.

Once a runner has obtained the correct RNG value, they can start the run on a new file and be able to force desired enemy and boss patterns by following a specific set of actions. Kirby 64 is one of the only Kirby games in which an RNG manip has been carried through the entirety of the game by a human player. A significant reason for this is that RNG advances much less in Kirby 64 than most other Kirby games; for example, inhaling does not advance RNG in Kirby 64, while it advances RNG rapidly in most Kirby games. Landing on the ground also does not advance RNG in Kirby 64. Because RNG does not vary much, it can be easier to stay on the correct value, but if the RNG is on the incorrect value, it will be obvious at the end of the level when the picnic is generated. The picnics are the biggest obstacle to carrying a manip through the entire game. When the picnic is created, RNG can jump to seemingly any of the 1,024 possible values. This value will always be the same if the level was finished on the same RNG value, but if the value was off by even one, the value after the picnic could be off by hundreds. This means that a player can be confident they are on the correct RNG value if they see the correct picnic, but will have virtually no chance of recovering the manip if an incorrect picnic appears.

100% RNG manip route

For a walkthrough of the 100% manip route, click here

For Curtissimo's video explanation of the manip route, click here

Any% RNG manip route

For a walkthrough of the Any% manip route, click here

Known RNG calls

Following is a list of everything known to advance RNG in Kirby 64: The Crystal Shards:


Initiating Kirby's default standing animation will advance RNG by 1.

RNG will advance within a few frames of Kirby being on the ground with no buttons being pressed after such actions as:

  • Jumping
  • Ducking
  • Sliding
  • Inhaling
  • Exhaling
  • Throwing something that Kirby is holding (which will advance RNG once on its own, and then advance it a second time if Kirby stands still afterward)
  • Kirby performing an idle animation (which will advance RNG at least once on its own, and then advance it again if Kirby stands still afterward)
  • Using a copy ability
  • Walking or running
  • Taking damage or getting knocked back
  • Climbing through a semisolid or up a ledge

Exceptions - RNG will not advance if the player stands still and:

  • Kirby is underwater
  • There is something in Kirby's mouth
  • Kirby is holding an object over his head
  • Kirby is at 1 HP
  • Kirby is teetering on a ledge
  • Dedede is being controlled instead of Kirby


Other actions that advance RNG by 1:

  • Throwing an object up or forward
    • The act of spitting out an object does not advance RNG
  • Entering a level
    • Does not advance RNG if Kirby is at 1 HP
    • Entering certain boss fights advances RNG more than once
  • Adeleine's random animations while watching her creations fight Kirby
  • Going through certain loading zones
    • If Kirby dies in a room that advances RNG when loaded (including the first room of a level), RNG will advance again
  • When a Propeller starts chasing Kirby, which only happens when he has a copy ability
  • An object spawning in the background while Kirby is in the foreground, and vice versa (the room after the miniboss in 2-3)
  • When Boneheads descend after taking flight
  • When a Spark-i runs into a wall but is too far away to notice Kirby
  • When a Glom blinks twice
  • When a Zoos throws a lightning bolt (but not when it drops a raindrop)
  • When a Magoo jumps out of magma
  • Staying on the ground (or water) after being airborne in a Waddle Dee section
    • RNG will not advance if an action is taken immediately upon landing, such as jumping or taking damage
    • Initially entering the vehicle will advance RNG once as well
  • When a Burnis or Frigis drops a rock


The following advance RNG by 1 or more:

  • Kirby's idle animations
  • Whenever a Sparky jumps or attacks
  • Whenever a boss attacks
  • Dandelions occasionally advance RNG while spawned
  • Flutters advance RNG frequently once disturbed, but not beforehand
  • When an Ignus spawns, and sometimes when it hits the ground
  • Collecting an enemy card
  • When a Bo chooses a new direction or series of directions to move in
  • Every shot from the stone + fire copy ability
  • Transforming into an animal friend with the stone + cutter copy ability
  • Each piece of food that spawns from the ice + spark copy ability advances RNG by one
  • Both types of torpedo enemy advance RNG constantly while spawned
  • When enemies spawn in the Tick miniboss room in 3-1
  • Staying on the ground/water in a Waddle Dee section will occasionally advance RNG
  • The Drops spawning in the miniboss fight in 4-2
  • Mopoos that spawn constantly without being triggered by proximity
  • Floras advance RNG constantly while falling
  • The floor dropping during the HR-E fight
  • The cutter phase of Miracle Matter advances RNG often
  • The bomb phase of Miracle Matter advances RNG when the bubbles split apart
  • Each projectile in the spark phase of Miracle Matter advances RNG once
  • Each of 02's attacks advance RNG at least once
  • RNG advances once every frame on the console and company logo screens
  • RNG advances once every frame on the title screen, starting at the same time the player becomes able to skip it
  • Allowing the game to play a cutscene by idling on the logo screens or title screen will cause the RNG to jump to a specific value, depending on the cutscene
  • RNG advances once for every COM character that is chosen before starting a mini-game
  • RNG advances multiple times when entering 100-Yard Hop
  • RNG advances once when entering the Boss Battles mode, and then continues to advance as bosses attack
  • RNG advances rapidly while COMs are moving during Checkerboard Chase
  • RNG advances up to hundreds of times when an end-of-level picnic is generated