Skip to content

Commit

Permalink
ItemParam: Unknown0xAC -> IsHeavy
Browse files Browse the repository at this point in the history
Thanks to nategt on Discord for the discovery
  • Loading branch information
soopercool101 committed Sep 19, 2023
1 parent 9cdd787 commit 97ab441
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions BrawlLib/SSBB/ResourceNodes/ItmParamNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -678,12 +678,13 @@ public int Unknown0xA8
}

[Category("Item Parameters")]
public bool Unknown0xAC
[Description("Set to true for the Barrel, Crate, Rolling Crate, and Party Ball. Causes the heavy carrying animation")]
public bool IsHeavy
{
get => Data._unknown0xAC;
get => Data._isHeavy;
set
{
Data._unknown0xAC = value;
Data._isHeavy = value;
SignalPropertyChange();
}
}
Expand Down
2 changes: 1 addition & 1 deletion BrawlLib/SSBB/Types/ItmParam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public struct ItmParamEntry
public bfloat _unknown0xA0;
public bfloat _unknown0xA4;
public bint _unknown0xA8;
public bool32 _unknown0xAC;
public bool32 _isHeavy;
public bint _unknown0xB0;
public bint _unknown0xB4;
public bint _unknown0xB8;
Expand Down

0 comments on commit 97ab441

Please sign in to comment.