diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-04-18 18:23:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 18:23:00 -0400 |
commit | 918ed2d31eeeb036230d0912cc2527b83788bc85 (patch) | |
tree | d4a6e64701f4c79fcb00c20d2efd01a6e43da177 /src | |
parent | 9392ba8ab1a726e48c0a40321ede325bdb74178c (diff) | |
parent | c128e68062b0f9ff06be35d8563549fe8144f7d4 (diff) |
Merge pull request #417 from SatoMew/master
Replace rival labels
Diffstat (limited to 'src')
-rw-r--r-- | src/item.c | 2 |
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; |