From 7dffd63c391dfa725470ced81387181a2ec30fef Mon Sep 17 00:00:00 2001 From: Garrett Cox Date: Thu, 14 Sep 2023 21:31:05 -0500 Subject: Initial pass on some logging that would be helpful for debugging crashes/problems (#1457) --- soh/src/code/z_parameter.c | 1 + 1 file changed, 1 insertion(+) (limited to 'soh/src/code/z_parameter.c') 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; -- cgit v1.2.3