diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2026-01-16 15:20:27 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-16 15:20:27 -0600 |
| commit | 254cc60e1d718fb73d40610d8ca51455ce54bfef (patch) | |
| tree | ab4119d6063436836c1a0034de700ce54e25679f /mm/2s2h/Rando/ActorBehavior/EnTab.cpp | |
| parent | 24df3b56ca26eea5ca58ab30d6f14316527b5d37 (diff) | |
Refactor junk cycling and trap models (#1452)
Diffstat (limited to 'mm/2s2h/Rando/ActorBehavior/EnTab.cpp')
| -rw-r--r-- | mm/2s2h/Rando/ActorBehavior/EnTab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/Rando/ActorBehavior/EnTab.cpp b/mm/2s2h/Rando/ActorBehavior/EnTab.cpp index 92dab6806..e4cf625a4 100644 --- a/mm/2s2h/Rando/ActorBehavior/EnTab.cpp +++ b/mm/2s2h/Rando/ActorBehavior/EnTab.cpp @@ -36,14 +36,14 @@ void EnTab_OnOpenShopText(u16* textId, bool* loadFromMessageTable) { std::string itemName1 = "Milk"; std::string itemPrice1 = "20"; if (!milkPurchaseCheck.cycleObtained) { - itemName1 = Rando::StaticData::Items[riMilkPurchase].name; + itemName1 = Rando::StaticData::GetItemName(riMilkPurchase, false, RC_MILK_BAR_PURCHASE_MILK); itemPrice1 = std::to_string(milkPurchaseCheck.price); } std::string itemName2 = "Chateau Romani"; std::string itemPrice2 = "200"; if (!chateauPurchaseCheck.cycleObtained) { - itemName2 = Rando::StaticData::Items[riChateauPurchase].name; + itemName2 = Rando::StaticData::GetItemName(riChateauPurchase, false, RC_MILK_BAR_PURCHASE_CHATEAU); itemPrice2 = std::to_string(chateauPurchaseCheck.price); } |
