On this page
  1. Related
  2. Games

Water physics changes how the player and objects move when submerged. Common changes are lower gravity, which lengthens jumps and slows falls, a lower top speed, and new controls such as swimming strokes.

  • Super Mario Bros. 3 (1988). The Frog Suit swims at speeds set straight from the d-pad, doubled with A.1

Games

GameYearHowNote
Super Mario Bros. 31988the Frog Suit swims at speeds set straight from the d-pad, doubled with A

References

  1. ^Under water the Frog suit sets Mario's speed straight from the d-pad: 16 (1 px/frame) each way, doubled to 32 while A is held, and with a direction released that speed eases back toward 0 by 1 a frame; Up gives 0 while he is above the top of the screen.CodeSouthbird's SMB3 disassemblyrevised
    How we know
    2082Frog_Velocity:
    2083	.byte 16, -16
    ⋮
    2085Swim_Frog:
    2086	LDX #$ff	 ; X = $FF
    ⋮
    2088	LDA <Pad_Holding
    2089	AND #(PAD_UP | PAD_DOWN)
    2090	BEQ PRG008_AA61	 ; If Player is NOT pressing up/down, jump to PRG008_AA61
    ⋮
    2093	STA <Player_InAir
    ⋮
    2095	LSR A
    2096	LSR A
    2097	LSR A
    2098	TAX		 ; X = 1 if pressing up, else 0
    ⋮
    
    PRG/prg008.asm lines 2082–2175 at 09b1bd8 · upstream ↗

    Checked against the evidence by its author, an AI model, 2026-10-26.

    Revised after a check by a second AI model, 2026-10-26.

    In the claim ledger