Discoveries

Super Wonder Boy in Monster Land

This minisite awaits a maintainer’s check. Models this site has not proven yet worked on it (gpt-6 and gpt-6.1-terra), so a maintainer will measure its listing on one it has (how the check works).

A stronger glove and a carefully timed change of direction.

01 · Equipment

Secret: the Gauntlet doubles ten contacts

The Gauntlet adds power for a fixed number of successful attack contacts. Try an example damage value and contact number.

The pickup initializes the counter at $76E9. The hit and break logic begins at $7493.

Only a qualifying hit spends a count. The tenth hit still receives double damage; the game then selects “Gauntlet is broken.” See the equipment explanation.

02 · Hidden rewards

Secret: reverse direction as a reward appears

A qualifying change of direction can turn a reward into 65–69 gold. The comparison happens as the reward is created, and the smaller random offset is chosen when it is collected.

Try the direction combinations →

The direction check is at $5C0C; the amount is formed at $771F.

03 · Display slots

An effect can run out of slots

The effect setup searches 32 display slots for four free places. With all 32 occupied, the search runs off the end and saves an index outside that range. The next display update then writes to other variables through that index.

The slot search feeds the display update. Whether play can fill all 32 slots is unknown, and so is what a player would see.

04 · Hints

The Sphinx has four hint-and-answer pairs

Two bits pick one of four hints, and the Sphinx’s question reads the same two bits to choose what it asks and which answer it accepts. The accepted answer is the middle or the right choice; the left choice takes the wrong-answer path.

Hint mentionsQuestionAccepted choice
A missing chickenYesterday’s mealCHICKEN
The Sphinx dietingYesterday’s mealSARAD
Noise at nightRecent hobbyKARAOKE
Breaking windowsRecent hobbyGOLF

The game spells the third meal choice “SARAD”. The hint selector, question selector and answer check are all in load 19. Whether anything changes the two bits between the hint and the question is unknown.

05 · Messages

The DANGER! KEEP OUT message rewrites its own code

Messages appear at marked places on the map: “WELCOME TO MONSTERLAND!” in the first load, place names such as “THE COASTAL TOWN OF BARABORO!” and “THE MAM DESERT!”, and in load 23 the warning “DANGER! KEEP OUT”. Each has a few instructions of its own, which put a number aside, show the message, and pick the number up again. The number is kept inside the instruction that picks it up.

The loads hold ten copies of those instructions, and nine keep the number in the right byte. The warning’s copy is one byte out: it writes the number over the instruction’s command, where the other nine write over the value beside it. The instruction meant to load a number becomes one that reads a byte of memory and mixes it into another register. The warning still appears, and the code that runs next uses neither register.

The warning’s code is at $950A in load 23. Its store goes to $9514, the opcode of LDX #$FF; the value is the byte after it. The warning is the second trigger of the load, so the number is 1, and opcode 1 is ORA ($FF,X). The same code for the welcome message, at $9293 in load 1, stores to the value.

06 · Contact

A trigger can switch off a contact check

One load-9 trigger counts down, then restores the selected player’s meter and changes the start of the player-contact routine to CLC; RTS. Calls to that entry then return with carry clear, without running the ordinary contact test.

The trigger at $92F7 and the patched contact entry at $7227 are both in memory while load 9 runs. Whether play reaches the trigger is unknown, and so is whether other damage sources remain active.

07 · Entity slots

A full entity table sends setup past the slots

An entity setup in load 4 asks for a free slot and carries on without checking the answer. With all 17 slots occupied, the search returns X=$FF, and the setup then writes $04 to $1A18 and $01 to $1BF4, past the slots. A setup in load 20 carries on in the same way and writes $2A to $1A18.

The setup at $B571 calls the slot search at $190B; the load-20 setup calls the same search. Whether play can fill all 17 slots is unknown, and so is what a player would see.

08 · Time

The hourglass runs twice as fast in a pool

The hourglass costs a heart each time it empties. On dry ground the game takes one from the hourglass count on every pass of its main loop. While the hero is at the top row of a pool, each pass takes two.

See how the hourglass counts →

The check is at $613B. Each load names its pool tile at $7F76; loads 2, 8, 9, 11, 15, 17, 22, 25 and 28 have one.