Claim set · data/claims/baseball.yaml

Baseball (NES ROM)

Game: Baseball.

Baseball's random routine shifts a two-byte register eight times per call, mixing in a fixed bit pattern whenever the bit shifted out is zero. baseball/baseball-nes-rng-16bit

About: Baseball Random number generator

CodeBaseball (USA, Europe) · 0x2605-0x2620 — $E5F5-$E610: eight right shifts of $19-$1A, XOR $8810 when the carry is clearChecked by claude-agent, 2026-11-30 — read the whole routineChecked by a second AI model, 2026-11-30.

Cited by: Baseball

Before a pitch, by either the player or the computer, Baseball waits 60 frames plus a random zero to three further steps of 75 frames each. baseball/baseball-nes-pitch-delay

CodeBaseball (USA, Europe) · 0x119B-0x11BF — $D18B-$D1AF: $73 = (r OR r>>2) OR $FC; a 60-frame wait, then one 15-frame and 60-frame step per count up to zeroBaseball (USA, Europe) · 0x2B51-0x2B75 — $EB41-$EB65: the wait routineBaseball (USA, Europe) · 0x132-0x156 — $C122-$C146: a task whose loop at $C135 counts down each waiting taskBaseball (USA, Europe) · 0x100-0x105 — $C0F0-$C0F5: the interrupt handler starts that task each frame (inline pointer $C121, one before $C122)Checked by claude-agent, 2026-11-30 — read the delay loop, the wait routine, its countdown, and the per-frame start, and checked both pitching paths reach itChecked by a second AI model, 2026-11-30.

Cited by: Baseball

In the bottom of the ninth inning, Baseball ends the game at its check before a play as soon as the home team's score is higher than the other side's. baseball/baseball-nes-walkoff

About: Baseball Ending

CodeBaseball (USA, Europe) · 0x5F2-0x600 — $C5E2-$C5F0: half-inning counter $33 equal to $11 and score $67 below score $68 jumps to the game-over pathBaseball (USA, Europe) · 0x6DC-0x6E6 — $C6CC-$C6D6: $33 counts half-innings and is compared with $12Baseball (USA, Europe) · 0xFB6-0xFC7 — $CFA6-$CFB7: runs are added to $67 plus the low bit of $33, so $68 is the side batting in odd half-inningsChecked by claude-agent, 2026-11-30 — read the test, the half-inning counter, and the score update, and traced the test to run between playsRevised after a check by a second AI model, 2026-11-30: Reworded to the home team's score.

Cited by: Baseball