Logo
News
Menu News Editorials Reviews Best of Saturn Resources Magazine Netplay Friends
 
 
 

Under the Microscope: NiGHTS Into Dreams (Puffy Boss Fight Edition)

NiGHTS Into Dreams has strange little Easter egg at the end of its Splash Garden level. Sometimes if you defeat the boss, Puffy, a door opens and something falls out of it:

Sometimes the door opens, but the object doesn’t fall out:

What’s going on? I decided to investigate.

The mechanism

Players figured out that this effect depends on the clock. The widely accepted description is: if you finish the fight with a time ending in 1 , the door opens. And if you finish with a time ending in 2 , the object falls out.

That turns out to be mostly correct! In NiGHTS , the timer is stored at address 060FFC10 . Its value is in units of 60 * one second, so 82 seconds on the clock would be 60 * 82 = 4920, or 1338 in hex. This code makes it count down:

After you’ve knocked Puffy through the last obstacle, this code runs to check the value of the timer:

If the number of seconds left on the clock ends in 2, the door opens.

Then when Puffy hits the back wall another check (at 060c1dc4 ) runs to see whether last digit on the clock is still 2. If it is, the object falls down:

Because there’s space in between the last object and the back wall, the clock can be at 2 when the former is broken, but have counted down to 1 by the time the latter is touched.

You can actually catch Puffy after breaking the back wall to illustrate how the “door opening” and “object falling” actions are separate:

Theoretically, you could break the last obstacle with 82 seconds on the clock to open the door, grab Puffy, and then throw her into the back wall with 2 seconds on the clock to make the object fall.

Christmas NiGHTS

In Christmas NiGHTS , the “Sonic” present has you fight against an Eggman-ified version of Puffy. The boss arena is the same as in the main game, but the door at the end never opens and the object never falls out.

Was this effect removed from the game? Answer: no, all of the code above is still in Christmas NiGHTS . But it never gets to execute because Sonic’s game uses a different timer. The value at 060FFB20 determines what type of game you play in Christmas NiGHTS :

01 = Time Attack mode
02 = Link Attack mode
04 = Mirrored course
08 = Unused "fly together" mode
10 = Play as Elliot
20 = Play as Claris
40 = Unused
80 = Sonic mode

When playing Sonic’s game, you get a BEST / TIME display on the HUD rather than the usual one that counts down. The countdown timer is set to 120 seconds at the start of each round, and never decrements during Sonic’s game.

As a result of the countdown timer never changing, it never reaches a value ending in 2. But setting it manually to a value of, e.g. 82 seconds ( 060FFB10 to 00001338 ) lets us see it:

Outro

The unnamed object is pretty strange — it’s got a mask with eyes on it that you can’t see in the game. For more on it, see the NiGHTS Into Dreams wiki .

The mask texture

Thanks to Lee from the GHZ Podcast for suggesting this topic! For more NiGHTS stuff, see my articles on:

This article is syndicated from Rings of Saturn , Bo’s reverse engineering blog.


Bo Bayles
 

memory_fallen on X Rings of Saturn on Substack

 
 
Next Prev Go to top