summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2021-04-17 16:32:55 +0100
committerSatoMew <SatoMew@users.noreply.github.com>2021-04-17 16:32:55 +0100
commitc128e68062b0f9ff06be35d8563549fe8144f7d4 (patch)
treef69da6ac2aecc065e0267165ea478a09ef33e972 /src
parentb54bd2e387feb7ece4f34f50f17519e329419716 (diff)
Replace rival labels
Diffstat (limited to 'src')
-rw-r--r--src/item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.c b/src/item.c
index ab082c315..801c7d689 100644
--- a/src/item.c
+++ b/src/item.c
@@ -598,7 +598,7 @@ void TrySetObtainedItemQuestLogEvent(u16 itemId)
|| itemId == ITEM_SAPPHIRE
)
{
- if (itemId != ITEM_TOWN_MAP || (gSaveBlock1Ptr->location.mapGroup == MAP_GROUP(PALLET_TOWN_GARYS_HOUSE) && gSaveBlock1Ptr->location.mapNum == MAP_NUM(PALLET_TOWN_GARYS_HOUSE)))
+ if (itemId != ITEM_TOWN_MAP || (gSaveBlock1Ptr->location.mapGroup == MAP_GROUP(PALLET_TOWN_RIVALS_HOUSE) && gSaveBlock1Ptr->location.mapNum == MAP_NUM(PALLET_TOWN_RIVALS_HOUSE)))
{
ptr = malloc(sizeof(*ptr));
ptr->itemId = itemId;