data/claims/ice-climber.yamlIce Climber (USA, Europe, Korea) mechanics read in the ROM
Game: Ice Climber.
Between vertical blanks the idle loop advances a five-byte shift register on every pass, XORing bit 1 of the first byte (substituting 55 when zero, without storing 55 back) with bit 1 of the second byte before rotating all five bytes right. During mountain setup, a generator fills a 216-cell table (nine rows of 24) by stepping the register once per row, looking up three bytes in an eight-entry table using the low three bits of the first three register bytes, and expanding those 24 bits into three cell values, each set by its bit and the one before it. ice-climber/idle-loop-prng-brick-layer
Value: 5 bytes
CodeIce Climber (USA, Europe, Korea) ·0x0068-0x006D — $C058-$C05D: idle loop calls RotateRandomBytes ($CACE) and jumps back to $C058 between NMIsIce Climber (USA, Europe, Korea) · 0x0ADE-0x0AFC — $CACE-$CAEC (RotateRandomBytes): substitutes #$37 for $0018 if zero, XORs ($18 & $02) with ($19 & $02) into Carry, and RORs $0018-$001C rightIce Climber (USA, Europe, Korea) · 0x05AF-0x061E — $C59F-$C60E (RandomAttrTable, GenerateRandomSpriteAttrs, FillSpriteAttrFromBitstream): loops Y from $D7 down across 9 x 24 bytes in $0500-$05D7, calling $CACE per row and mapping $0018,X & $07 via $F0,$0F,$E7,$3C,$FC,$3F,$CF,$E3 into $FF, $02, and $01 entriesChecked by claude, 2026-11-26 — disassembled $C058-$C05D, $CACE-$CAEC, and $C59F-$C60E directly from the USA/Europe/Korea ROMRevised after a check by a second AI model, 2026-11-30: The 216-cell table is no longer called bricks, and each cell depends on two bits.On every unpaused NMI frame, the timer routine decrements a sub-divider from 10 through 0, underflowing on the eleventh call to reload 10. The first ten timer slots decrement on every call, whereas the twenty slow timer slots decrement only on underflow. Mountain entry loads 128 into slow timer $003D and 1 into counter $002C; after each completed floor scroll, the mountain-parameter routine clamps the zero-based mountain index at 4, reloads slow timer $003D to 128, 93, 62, 31, or 2 ticks for the first through fourth mountains played in a game and the fifth onward, and resets $002C to 1. Once $003D reaches zero, the scroll check first decrements $002C and reloads 255 into $003D, the falling-enemy routine bypasses the $009C == 0 movement wait on enemy slot 1 while $003D is zero, and once both reach zero the scroll check increments $007C from 0 to 1, starting a 12-step upward scroll once $007C reaches #$80. ice-climber/eleven-frame-timer-divider
Value: 11 frames
CodeIce Climber (USA, Europe, Korea) ·0x012A-0x0150 — $C11A-$C140: NMI Start-pause gate calls TickTimerCounters ($CB9D) on every unpaused frameIce Climber (USA, Europe, Korea) · 0x0BAD-0x0BC2 — $CB9D-$CBB2 (TickTimerCounters): decrements $0031 (10..0); while >= 0 scans X = 9..0 ($0032-$003B), and on underflow reloads #$0A (10) and scans X = $1D..0 ($0032-$004F)Ice Climber (USA, Europe, Korea) · 0x01AB-0x01B0 — $C19B-$C1A0 (TitleScreenSetupStep): initializes ModeSelect ($0056) = 0 on game startIce Climber (USA, Europe, Korea) · 0x0C8E-0x0CA6 — $CC7E-$CC96: increments ModeSelect ($0056) on stage transition after clearing a mountainIce Climber (USA, Europe, Korea) · 0x028F-0x029A — $C27F-$C28A (ScreenInitDispatcher): initializes slow timer $003D = #$80 (128) and $002C = 1 at mountain startIce Climber (USA, Europe, Korea) · 0x183F-0x186D — $D82F-$D85D (ScrollStepWithSpawn): clears ScrollActiveFlag when ScrollStepCounter hits 0 and calls SetModeSelectParam ($D8FD)Ice Climber (USA, Europe, Korea) · 0x176E-0x1772 — $D75E-$D762: ModeParamTable ($80,$5D,$3E,$1F) followed by RowBaseOffsetTable[0] ($02)Ice Climber (USA, Europe, Korea) · 0x190D-0x191E — $D8FD-$D90E (SetModeSelectParam): clamps ModeSelect ($0056) at 4, writes ModeParamTable[Y] to slow timer $003D, and sets $002C = 1Ice Climber (USA, Europe, Korea) · 0x17EE-0x183E — $D7DE-$D82E (CheckPlayersOffscreen scroll/timer handler): when $003D == 0 and $002C != 0 decrements $002C and reloads $003D = #$FF; once both are 0 increments QueueCount ($007C) from 0 to 1, and at $007C == #$80 clears $007C and loads #$0C into ScrollStepCounter/ScrollActiveFlagIce Climber (USA, Europe, Korea) · 0x2225-0x2229 — $E215-$E219 (ResetCounter7C): clears QueueCount ($007C) = 0 when called by $D816 ($007C == #$80)Ice Climber (USA, Europe, Korea) · 0x2E1D-0x2E47 — $EE0D-$EE37 (UpdateFallingObjects): for enemy slot 1 (Polar Bear), $003D == 0 bypasses the $009C == 0 waitChecked by claude, 2026-11-26 — disassembled $C11A-$C140, $C19B-$C1A0, $C27F-$C28A, $CB9D-$CBB2, $CC7E-$CC96, $D75E-$D762, $D7DE-$D85D, $D8FD-$D90E, $E215-$E219, and $EE0D-$EE37 in the ROMRevised after a check by a second AI model, 2026-11-30: The timer table follows mountains played in a game, not mountain numbers.A walking climber accelerates a ground-speed counter up to 24 and adds 32/256 of a pixel to a fractional horizontal accumulator each frame, stepping 1 pixel without carry and 2 pixels on carry for a constant grounded walking speed of 1.125 pixels per frame. Horizontal coordinates occupy a single unsigned byte with no edge clamp, wrapping across the 256-pixel playfield borders. Outside the walking state, horizontal movement adds 144/256 of a pixel per frame when the ground-speed counter is at least 12, or 69/256 otherwise, stepping 1 pixel on carry. ice-climber/walk-speed-and-screen-wrap
Value: 1.125 px/frame
CodeIce Climber (USA, Europe, Korea) ·0x0DC0-0x0E52 — $CDB0-$CE42 (UpdatePlayerWalkState): sets walk direction $0068,X from d-pad, sets skid state 3 with timer $0032 = $006E >> 1 on release, and calls UpdateObjectFall ($D143)Ice Climber (USA, Europe, Korea) · 0x1153-0x118B — $D143-$D17B (UpdateObjectFall, ApplyObjectVelocityStep, MoveObjectByDirection): in state 1, increments $006E,X to $18, adds #$20 to $0076,X, steps 1 or 2 px on carry; otherwise adds #$90 ($006E >= $0C) or #$45 to $0072,X and steps on carry into uint8 $0064,XIce Climber (USA, Europe, Korea) · 0x0BEA-0x0BEB — $CBDA-$CBDB (VelocityStepTable): $FF left and $01 right added directly to $0064,XIce Climber (USA, Europe, Korea) · 0x0E6D-0x0F29 — $CE5D-$CF19 (UpdatePlayerHammerMotionA/B): enables mid-air horizontal steering after $006E = #$0F once $0068 == 0 and $00E6 >= 3Checked by claude, 2026-11-26 — disassembled $CDB0-$CE42, $CE5D-$CF19, $D143-$D17B, and $CBDA-$CBDB in the ROMRevised after a check by a second AI model, 2026-11-30: Walking is 1.125 px/frame from the first frame, not a top speed.Vertical physics integrate separate 16-bit upward and downward speed registers rather than a single signed velocity. A normal jump (or bonus-stage ascent) holds an upward speed of 3.65625 pixels per frame, the two head-bump states hold 0.9375 or 0.6875 pixels per frame, and the knockback tumble state initializes upward speed to 1.5 pixels per frame. Meanwhile downward speed accumulates one of four gravity constants (34/256, 23/256, 34/256, or 39/256 of a pixel per frame squared), stopping once it reaches 8 pixels per frame, and each motion step subtracts upward speed before adding downward speed. ice-climber/asymmetric-jump-and-gravity
Value: 8 px/frame
CodeIce Climber (USA, Europe, Korea) ·0x0D23-0x0D41 — $CD13-$CD31 (UpdateActiveObjectAnim): dispatches player states 1..9 via jump table ($006A,X)Ice Climber (USA, Europe, Korea) · 0x0E53-0x0E6C — $CE43-$CE5C (HandleObjectHitFlag): jump press sets state 4 on the main mountain ($0055 == 1) and state 2 otherwiseIce Climber (USA, Europe, Korea) · 0x1018-0x106C — $D008-$D05C (UpdatePlayerHammerState): state 6 calls MotionB, state 8 calls $CE8B (setting $00E4:$00E2 = $00B0, 0.6875 px/frame), and state 4 calls MotionAIce Climber (USA, Europe, Korea) · 0x0E6D-0x0F29 — $CE5D-$CF19 (UpdatePlayerHammerMotionA/B): MotionA sets upward speed $00E4:$00E2 = $03A8 (936/256); MotionB sets $00F0 (240/256) and entry $CE8B sets $00E4:$00E2 = $00B0 (176/256 px/frame)Ice Climber (USA, Europe, Korea) · 0x10BA-0x10DE — $D0AA-$D0CE (DrawObjectFrameSprites): state 7 hit tumble invokes InitObjectMotion ($D127)Ice Climber (USA, Europe, Korea) · 0x1137-0x1152 — $D127-$D142 (InitObjectMotion): sets $00E4:$00E2 = $0180 (1.5 px/frame) and gravity selector $002F = 1Ice Climber (USA, Europe, Korea) · 0x0849-0x0892 — $C839-$C882 (ObjectVelocityTable $22,$17,$22,$27 and UpdateObjectMotion): adds gravity if $00E6 < 8, subtracts $00E4:$00E2, then adds $00E6:$00E8 to YChecked by claude, 2026-11-26 — disassembled $C839-$C882, $CD13-$CD31, $CE43-$CF19, $D008-$D05C, $D0AA-$D0CE, and $D127-$D142 in the ROMRevised after a check by a second AI model, 2026-11-30: Upward speeds are held each frame; two head-bump speeds; fall speed stops growing at 8.Breaking a brick (capped at 99 per player per mountain), collecting a bonus-stage vegetable, bonking a Topi or Nitpicker, and claiming the summit Condor award each populate one of five per-mountain score counters. During the post-mountain tally screen, the game steps through those five categories and decrements each player's nonzero counter by 1 in the same pass until all reach zero, running every frame in the first category and every second frame in the remaining four, so each category's tally duration is set by the largest player count (subject to the 99-brick cap). ice-climber/post-mountain-tally-cost
0x192A-0x1952 — $D91A-$D942 (CounterIndexTable + SpawnBlockDebris): increments brick counter $0364/$0369, capped at #$63 (99)Ice Climber (USA, Europe, Korea) · 0x13A3-0x13BB — $D393-$D3AB: increments vegetable counter $0361/$0366 when collecting bonus items ($0055 == 2, slots 3..8)Ice Climber (USA, Europe, Korea) · 0x1431-0x1455 — $D421-$D445 (ScoreAndSfxByHitType): increments Nitpicker counter $0363/$0368 (Y == 0) and Topi counter $0362/$0367 (Y == 5..7)Ice Climber (USA, Europe, Korea) · 0x3596-0x35C5 — $F586-$F5B5 (BuildBonusScoreDisplay): stores Condor bonus value from ModeSelectValueTable into $0360/$0365Ice Climber (USA, Europe, Korea) · 0x2902-0x2A59 — $E8F2-$EA49 (UpdatePlayerTriggerState tally loop): copies $0360..$0369 when $0034 == $31, runs LE9CE every frame for HudDigitMode ($03A3) 0 and on odd NmiFrameFlag ($0050 & 1) frames for modes 1..4, decrementing nonzero counters before advancingChecked by claude, 2026-11-26 — disassembled $D393-$D3AB, $D421-$D445, $D91A-$D942, $E8F2-$EA49, and $F586-$F5B5 in the ROMRevised after a check by a second AI model, 2026-11-30: Counts each player in the game, not always two.Entering the bonus stage clears $07F8-$07FF and writes #$40 into $07FA (and $07FE), representing 40.0 seconds as 400 binary-coded decimal tenths across $07FA:$07FB. Whenever fast frame timer $003B reaches zero, the bonus check subtracts BCD #$01 when $07FB is zero and #$11 when nonzero (stepping $07FB through 99, 88, ..., 00 for ten steps per integer unit) and reloads 6 into $003B, decrementing one tenth every 6 frames (2,400 frames total). Once the timer reaches zero, it sets player state 6 and loads 10 (#$0A) into slow timer $004D (which ticks once per 11-frame sub-divider cycle), starting the post-stage transition when $004D reaches zero. On the main mountain, a climber on floor 9 who passes through one of three horizontal windows (44-75, 100-147, or 172-203 in screen X) while falling at 3 or more pixels per frame within screen Y 16-19 enters the bonus stage. ice-climber/bonus-stage-countdown-and-condor
Value: 400 tenths
CodeIce Climber (USA, Europe, Korea) ·0x02FD-0x0333 — $C2ED-$C323 (ScreenTransitionStateHandler): clears $07F8-$07FF and initializes $07FA and $07FE to #$40Ice Climber (USA, Europe, Korea) · 0x012A-0x0150 — $C11A-$C140: NMI runs TickTimerCounters ($CB9D) before frame updatesIce Climber (USA, Europe, Korea) · 0x0BAD-0x0BC2 — $CB9D-$CBB2 (TickTimerCounters): decrements fast timer $003B (X = 9) every call and slow timer $004D (X = $1B) only on 11-frame divider underflowIce Climber (USA, Europe, Korea) · 0x095B-0x0A53 — $C94B-$CA43 (BcdScoreAddSub and BcdSubBytes): 24-bit BCD subtraction on $07F9..$07FB ($01 = 2) and $07FD..$07FF ($01 = 3)Ice Climber (USA, Europe, Korea) · 0x36B4-0x36F9 — $F6A4-$F6E9 (GameOverBonusCheck): when $003B == 0, subtracts BCD #$01 (or #$11 if $07FB != 0) from both slots and reloads $003B = 6; at zero sets $006A = 6 and slow timer $004D = #$0A (10 slow ticks)Ice Climber (USA, Europe, Korea) · 0x0CAE-0x0D05 — $CC9E-$CCF5 (GameplayFrameUpdate_00_CC9E): when $006A == 6 or $006B == 6, checks slow timer $004D == 0 before triggering transition 3Ice Climber (USA, Europe, Korea) · 0x149D-0x1510 — $D48D-$D500 (PosRangeLowTable/HighTable and CheckPlayerFallOrEnd): checks floor $005A == 9 against X bands [$2C,$4C), [$64,$94), [$AC,$CC); Y [$10,$14) with $00E6 >= 3 sets mode $0055 = 2 (bonus stage), Y [$28,$2C) only sets $00E6 = 3Checked by claude, 2026-11-26 — disassembled $C11A-$C140, $C2ED-$C323, $C94B-$CA43, $CB9D-$CBB2, $CC9E-$CCF5, $D48D-$D500, and $F6A4-$F6E9 in the ROMRevised after a check by a second AI model, 2026-11-30: The floor-9 windows enter the bonus stage; they are not the Condor capture.