summaryrefslogtreecommitdiff
path: root/src/toBeSorted/fi_context.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-05-12 00:46:01 +0200
committerrobojumper <robojumper@gmail.com>2025-05-15 19:05:47 +0200
commitc9cbe416d8ae6de7317605c757310dd0e06b6e7c (patch)
tree4b1c73d86cbe64d1806e6604b908beba4dc5b877 /src/toBeSorted/fi_context.cpp
parent6646fb6135e26973dd8205007ee272baa5afdf3a (diff)
Use item enum
Diffstat (limited to 'src/toBeSorted/fi_context.cpp')
-rw-r--r--src/toBeSorted/fi_context.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/toBeSorted/fi_context.cpp b/src/toBeSorted/fi_context.cpp
index 7a5831f8..47a76c94 100644
--- a/src/toBeSorted/fi_context.cpp
+++ b/src/toBeSorted/fi_context.cpp
@@ -204,13 +204,14 @@ s16 FiContext::getObjective() {
}
if (!StoryflagManager::sInstance->getCounterOrFlag(21)) {
- if (ItemflagManager::sInstance->getFlagDirect(0xC5) && !ItemflagManager::sInstance->getFlagDirect(0xC6)) {
+ if (ItemflagManager::sInstance->getFlagDirect(ITEM_LIFE_TREE_SEED) &&
+ !ItemflagManager::sInstance->getFlagDirect(ITEM_LIFE_TREE_FRUIT)) {
// "I project that the soil in Lanayru Province will not provide enough nourishment for the Life Tree
// Seedling..."
return 90;
}
- if (ItemflagManager::sInstance->getFlagDirect(0xC6)) {
+ if (ItemflagManager::sInstance->getFlagDirect(ITEM_LIFE_TREE_FRUIT)) {
// "Master, I recommend you take the Life Tree Fruit to the Thunder Dragon..."
return 91;
}