1,535
edits
(Created page with "{{AssetInfobox |subtitle=Pickup Table |type=Binary |games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>Rise of the Underminer}}...") |
m (Seil moved page PICK to EvilEngine/PICK) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1:
<onlyinclude>
{{#vardefine:typeid|PICK}}<nowiki/>
{{#vardefine:name|Pickup Table}}<nowiki/>
{{#vardefine:type|[[Binary]]}}<nowiki/>
{{#vardefine:basetype|}}<nowiki/>
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zPickupTable.h zPickupTable.h]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
A '''pickup table''' is an asset which usually has only one instance in the entire game (in boot.hip) and defines information regarding pickups.
Line 9 ⟶ 15:
The asset data starts with an 8-byte header:
===zAssetPickupTable===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 ||
|-
| 0x04 ||
|}
After the header is the entries themselves. Each entry has the following format:
===zAssetPickup===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 ||
|-
| 0x04 ||
|-
| 0x05 ||
|-
| 0x06 ||
|-
| 0x08 ||
|-
| 0x0C ||
|-
| 0x10 ||
|-
|}
{{Assets}}
{{AutoGameNavs}}
[[Category:Asset]]
|