fix HP/TP results in $matcount

This commit is contained in:
Martin Michelsen
2023-11-07 21:39:28 -08:00
parent af43756899
commit aa577b4b63
3 changed files with 11 additions and 19 deletions
+3 -5
View File
@@ -64,14 +64,12 @@ struct PlayerBankItem {
struct PlayerInventory {
/* 0000 */ uint8_t num_items = 0;
/* 0001 */ uint8_t hp_materials_used = 0;
/* 0002 */ uint8_t tp_materials_used = 0;
/* 0003 */ uint8_t language = 1; // English
/* 0001 */ uint8_t hp_from_materials = 0;
/* 0002 */ uint8_t tp_from_materials = 0;
/* 0003 */ uint8_t language = 0;
/* 0004 */ parray<PlayerInventoryItem, 30> items;
/* 034C */
PlayerInventory();
size_t find_item(uint32_t item_id) const;
size_t find_item_by_primary_identifier(uint32_t primary_identifier) const;