summaryrefslogtreecommitdiff
path: root/src/toBeSorted/counters/rupee_counter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/toBeSorted/counters/rupee_counter.cpp')
-rw-r--r--src/toBeSorted/counters/rupee_counter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/toBeSorted/counters/rupee_counter.cpp b/src/toBeSorted/counters/rupee_counter.cpp
index 8ca0a798..8d02a9e5 100644
--- a/src/toBeSorted/counters/rupee_counter.cpp
+++ b/src/toBeSorted/counters/rupee_counter.cpp
@@ -8,8 +8,8 @@ static u16 getExtraWalletCapacity();
class RupeeCounter : public Counter {
public:
RupeeCounter();
- /* 8016DEF0 */ ~RupeeCounter() {}
- /* 8016DF50 */ virtual u16 getMax() const override {
+ ~RupeeCounter() {}
+ virtual u16 getMax() const override {
return (getBaseCapacity() + getExtraWalletCapacity());
}
};
@@ -19,9 +19,9 @@ struct WalletStruct {
u16 capacity;
};
-/* 8016DE10 */ static u16 getBaseCapacity() {
+static u16 getBaseCapacity() {
int i = 0;
- /* 804E91B0 */ WalletStruct wallet_definitions[4] = {
+ WalletStruct wallet_definitions[4] = {
{ITEM_MEDIUM_WALLET, 500},
{ ITEM_BIG_WALLET, 1000},
{ ITEM_GIANT_WALLET, 5000},
@@ -36,10 +36,10 @@ struct WalletStruct {
return 300;
}
-/* 8016DEC0 */ static u16 getExtraWalletCapacity() {
+static u16 getExtraWalletCapacity() {
return 300 * getCounterByIndex(0x27); // Maybe 0x27 corresponds to item 27 -> small wallet?
}
-/* 80575610 */ RupeeCounter RUPEE_COUNTER;
+RupeeCounter RUPEE_COUNTER;
-/* 8016DF30 */ RupeeCounter::RupeeCounter() : Counter(0x1f5) {}
+RupeeCounter::RupeeCounter() : Counter(0x1f5) {}