From 438dad7663a1de68954ddf3a51c76ed004faf5cc Mon Sep 17 00:00:00 2001 From: Connor Date: Tue, 28 May 2024 23:46:15 -0400 Subject: [PATCH] poket --- docs/docs/PocketItem.md | 4 ++-- libzhl/functions/PocketItem.zhl | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docs/PocketItem.md b/docs/docs/PocketItem.md index cc05a8ef9..817219e1f 100644 --- a/docs/docs/PocketItem.md +++ b/docs/docs/PocketItem.md @@ -24,7 +24,7 @@ For items, returns [CollectibleType](https://wofsauge.github.io/IsaacDocs/rep/en ___ ### GetType () {: aria-label='Functions' } -#### [PocketItemType](PocketItem.md) GetType ( ) {: .copyable aria-label='Functions' } -Returns the [PocketItemType](PocketItem.md). Returns `1` if the slot is empty. +#### [PocketItemType](enums/PocketItemType.md) GetType ( ) {: .copyable aria-label='Functions' } +Returns the [PocketItemType](enums/PocketItemType.md). Returns `1` if the slot is empty. ___ \ No newline at end of file diff --git a/libzhl/functions/PocketItem.zhl b/libzhl/functions/PocketItem.zhl index 1223fd763..1fb3983b2 100644 --- a/libzhl/functions/PocketItem.zhl +++ b/libzhl/functions/PocketItem.zhl @@ -1,5 +1,6 @@ struct PocketItem { + // TODO: "slot" here is actually the ID of the card/pill/collectible and should probably be renamed, both here and luaside. int _slot : 0x0; int _type : 0x4; } : 0x8;