Curiosities

The SELECT trick

During a game, holding SELECT and pressing up, down, left and right in that order plays sound 0x13 (p02:9D7E: the count is kept at 0xC49B). From then on, SELECT with a direction and the buttons changes who controls each role: the pitcher, the batter, the fielders or the runners, each with one of the two controllers or the computer (p02:9DA9, 0xD814-0xD817). Sound 0x12 plays on every change.

The ERA is not stored

The pitchers' records do not carry the 防御率: the game works it out when it unpacks the team, from the pitcher's 球速, スタミナ and three pitches (p05:8198). The formula, with an example, in The teams.

The pitcher bats ninth

Both teams' starting order (p04:6ACA) is always the same: batters 1 to 8, the pitcher and, on the bench, the reserves 9 to 14. The loop writes nine bytes starting with the turn (a 0), so the record's ninth batter stays on the bench.

The music follows the game

Before every pitch, p00:5130 chooses the music and only asks for it if it is not already playing: 0x32 for a power hitter (35 home runs or more and power 10 or more); 0x31 from the 7th inning if the batting team is level or behind by no more runs than runners on base; 0x2C with runners on base; otherwise 0x2A when the visitors bat and 0x2B when the home team bats. F5 turns it off and on (p00:510E). All of them in The music.

撃突 are sprites

The title's first two kanji are not in the drawing: they are 24 sprites, twelve 16x16 pairs, the outline in front and the gradient behind with one colour per line. Four columns of two sprites make eight per line, the V9938's maximum. In the intro they fall and bounce; on the title they stay still (p07:AEB0).

Choosing a stadium is changing the palette

Nothing is redrawn on the stadium screen when the arrow moves: each stadium has its palette (p12:8793 and p12:87C4) that paints one in colour and the other in greys (p05:9462).

The 0x280 of three OTIRs

p01:6023 copies the sprite colours and attributes to the VRAM with three OTIRs in a row and B = 0x80 in the first one. The other two start with B = 0, and an OTIR with B = 0 copies 256 bytes: 0x80 + 0x100 + 0x100 = 0x280, the colours of the 32 sprites and their attributes after them, in one go.

ANIMALS and HEROES

The ANIMALS players are animals: なまけもの (the sloth, with 走力 00), いぐあな, かものはし, らっこ, おっとせい, ぱんだ... and pitchers such as つちのこ, ももんが or むささび. The HEROES are heroes from films and comics: すぱいだ, ばとまん, すうぱあ, ぼんど, いんでい, はるく, and pitchers such as こなん or たーざん. All of them in The teams.

What the listing had wrong

Drawing the screens turned up mistakes in the listing, now fixed:

Open question

The path at p02:86F8-8716 marks something like an "out" (0xC6E2, play 4) but shows sign 1, which is セーフ. The names of those variables may be the wrong way round: it still has to be watched in the emulator.