SSBM Decomp
Loading...
Searching...
No Matches
itFlipper_DatAttrs Struct Reference

Flipper tuning constants, read from Item::xC4_article_data->x4_specialAttributes. More...

#include <itCommonItems.h>

Data Fields

s32 x0_throwDuration
 Frames airborne when thrown normally (18); loaded into xDD4_flightTimer on a normal throw.
s32 x4_smashThrowDuration
 Frames airborne when smash-thrown (25); loaded into xDD4_flightTimer on a strong throw.
s32 x8_lifetime
 Lifetime (frames) granted once the flipper settles (500); written to xD44_lifeTimer at the settle.
f32 xC_wallBounce
 Wall/ceiling restitution (0.8); flips and scales vel.x on a wall hit.
f32 x10_floorBounce
 Floor restitution (0.5); scales vel.x on a floor hit.
s32 x14_hitboxInterval
 Value the hitbox-refresh countdown xDDC_hitboxTimer is set to on a hit (10).
f32 x18_spinMultiplier
 Scales the striking fighter's speed into spin (11.5); its split from x1C_baseSpinOnHit was not isolated, so this name is tentative.
f32 x1C_baseSpinOnHit
 Base spin added on every hit before the fighter-speed term (0.131 rad); its split from x18_spinMultiplier was not isolated, so this name is tentative.
f32 x20_spinDecay
 Per-frame decay subtracted from |xDE4_spinVel| (0.000872).
f32 x24_maxSpinVel
 Maximum |spin velocity|; xDE4_spinVel saturates here (0.873 rad).

Detailed Description

Flipper tuning constants, read from Item::xC4_article_data->x4_specialAttributes.

Note
These field names were determined by Claude (an AI), not recovered from an original author; treat them as tentative. Each @alias records the offset-only name it replaced, and the superscript markers are footnotes into itflipper_naming.

Field Documentation

◆ x0_throwDuration

s32 itFlipper_DatAttrs::x0_throwDuration

Frames airborne when thrown normally (18); loaded into xDD4_flightTimer on a normal throw.

[E0], [E1]

Alias
x0.

◆ x4_smashThrowDuration

s32 itFlipper_DatAttrs::x4_smashThrowDuration

Frames airborne when smash-thrown (25); loaded into xDD4_flightTimer on a strong throw.

[E0], [E2]

Alias
x4.

◆ x8_lifetime

s32 itFlipper_DatAttrs::x8_lifetime

Lifetime (frames) granted once the flipper settles (500); written to xD44_lifeTimer at the settle.

[E0], [E2]

Alias
x8.

◆ xC_wallBounce

f32 itFlipper_DatAttrs::xC_wallBounce

Wall/ceiling restitution (0.8); flips and scales vel.x on a wall hit.

[E0], [E5]

Alias
xC.

◆ x10_floorBounce

f32 itFlipper_DatAttrs::x10_floorBounce

Floor restitution (0.5); scales vel.x on a floor hit.

[E0], [E5]

Alias
x10.

◆ x14_hitboxInterval

s32 itFlipper_DatAttrs::x14_hitboxInterval

Value the hitbox-refresh countdown xDDC_hitboxTimer is set to on a hit (10).

[E0], [E3]

Alias
x14.

◆ x18_spinMultiplier

f32 itFlipper_DatAttrs::x18_spinMultiplier

Scales the striking fighter's speed into spin (11.5); its split from x1C_baseSpinOnHit was not isolated, so this name is tentative.

[E0], [E4]

Alias
x18.

◆ x1C_baseSpinOnHit

f32 itFlipper_DatAttrs::x1C_baseSpinOnHit

Base spin added on every hit before the fighter-speed term (0.131 rad); its split from x18_spinMultiplier was not isolated, so this name is tentative.

[E0], [E4]

Alias
x1C.

◆ x20_spinDecay

f32 itFlipper_DatAttrs::x20_spinDecay

Per-frame decay subtracted from |xDE4_spinVel| (0.000872).

[E0], [E3]

Alias
x20.

◆ x24_maxSpinVel

f32 itFlipper_DatAttrs::x24_maxSpinVel

Maximum |spin velocity|; xDE4_spinVel saturates here (0.873 rad).

[E0], [E4]

Alias
x24.

The documentation for this struct was generated from the following files: