ksys/world: Implement AnimalMasterController

This commit is contained in:
Léo Lam
2021-05-05 17:41:06 +02:00
parent da65708ded
commit 7bda72574e
6 changed files with 128 additions and 7 deletions
+6 -1
View File
@@ -513,6 +513,11 @@ public:
const al::ByamlIter& getShopSoldOutInfoValues() const { return mShopSoldOutInfoValues; }
const u32* getShopSoldOutInfoHashes() const { return mShopSoldOutInfoHashes; }
void onAnimalMasterAppearance() {
mBitFlags.set(BitFlag::_8);
mResetFlags.set(ResetFlag::AnimalMaster);
}
private:
enum class BitFlag {
_1 = 0x1,
@@ -539,7 +544,7 @@ private:
};
enum class ResetFlag {
AnimalMaster = 0x10,
};
struct MethodTreeNode {