summaryrefslogtreecommitdiff
path: root/soh/src/code/z_parameter.c
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2023-09-14 21:31:05 -0500
committerGitHub <noreply@github.com>2023-09-14 21:31:05 -0500
commit7dffd63c391dfa725470ced81387181a2ec30fef (patch)
tree266ecb3d080f844117df835b1a6e3b6c69467850 /soh/src/code/z_parameter.c
parent0a1e70ebaaea875643c6eb63c402f3311282457d (diff)
Initial pass on some logging that would be helpful for debugging crashes/problems (#1457)
Diffstat (limited to 'soh/src/code/z_parameter.c')
-rw-r--r--soh/src/code/z_parameter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c
index 571cbb947..5e7ef5e8e 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -1759,6 +1759,7 @@ u8 Return_Item(u8 itemID, ModIndex modId, ItemID returnItem) {
* @return u8
*/
u8 Item_Give(PlayState* play, u8 item) {
+ lusprintf(__FILE__, __LINE__, 2, "Item Give - item: %#x", item);
static s16 sAmmoRefillCounts[] = { 5, 10, 20, 30, 5, 10, 30, 0, 5, 20, 1, 5, 20, 50, 200, 10 };
s16 i;
s16 slot;