Curiosities

TAB and CAPS

When the CASIO intro ends the game looks at two keys (0x8066): with TAB held, 0xE03A = 2 and the hero never dies (death, 0x8282, is cancelled at once: neither the empty bar nor the logs); with CAPS, 0xE039 = 2 and, when the lives run out, they are two again (0x830B). The demo clears them.

The demo plays the cartridge

The demo's controls are read from a list, one byte every 16 frames (the low half is the joystick, the high half the buttons), that starts at 0x4000 (0x80DA): the cartridge header ("AB", INIT...) and the INIT code. There is no list made for it.

Bytes that do two jobs

The oni, twice per frame

The oni's routine (objeto_tierra, 0x9448) is called by the game loop (0x81D0) and also by the enemies' routine as it ends (enemigos, 0x9469, with a jump): it runs twice every frame. Its count goes up two at a time in the recordings, so it thinks, moves and checks collisions at twice what its numbers say.

Tune 5

The tune table has seven (0-6) and no instruction asks for number 5: musica_pide is called with 1, 2, 3, 4 and 6, and only it writes 0xE2BE; it never plays in the recordings.

Leftovers