mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-06 02:58:18 -04:00
always show reekfish scent path after having smelled reekfish
This commit is contained in:
@@ -1339,9 +1339,13 @@ inline u8 dComIfGs_getSelectEquipShield() {
|
||||
return g_dComIfG_gameInfo.info.getPlayer().getPlayerStatusA().getSelectEquip(COLLECT_SHIELD);
|
||||
}
|
||||
|
||||
#if TARGET_PC
|
||||
u8 dComIfGs_getCollectSmell();
|
||||
#else
|
||||
inline u8 dComIfGs_getCollectSmell() {
|
||||
return g_dComIfG_gameInfo.info.getPlayer().getPlayerStatusA().getSelectEquip(COLLECT_SMELL);
|
||||
}
|
||||
#endif
|
||||
|
||||
inline void dComIfGs_setCollectSmell(u8 smell) {
|
||||
g_dComIfG_gameInfo.info.getPlayer().getPlayerStatusA().setSelectEquip(COLLECT_SMELL, smell);
|
||||
|
||||
@@ -2946,6 +2946,15 @@ void dComIfGs_setupRandomizerSave() {
|
||||
DuskLog.debug("Created Rando Save");
|
||||
randoData.mCreatingSave = false;
|
||||
}
|
||||
|
||||
u8 dComIfGs_getCollectSmell() {
|
||||
// In randomizer, always return the reekfish scent if the player is in Snowpeak and has gotten the
|
||||
// smell before.
|
||||
if (randomizer_IsActive() && getStageID() == Snowpeak && dComIfGs_isEventBit(GOT_REEKFISH_SCENT)) {
|
||||
return dItemNo_SMELL_FISH_e;
|
||||
}
|
||||
return g_dComIfG_gameInfo.info.getPlayer().getPlayerStatusA().getSelectEquip(COLLECT_SMELL);
|
||||
}
|
||||
#endif
|
||||
|
||||
void dComIfGs_gameStart() {
|
||||
|
||||
Reference in New Issue
Block a user