mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-03-21 17:48:28 -05:00
Allow colorful screw quantity to save
Really need to refactor the entire Inventory handling because it isn't very flexible
This commit is contained in:
parent
a3e1d88243
commit
4c377d75cf
|
|
@ -280,7 +280,7 @@ public bool IsValidItemAndCount(ITrainerInfo sav, int item, bool HasNew, bool Ha
|
|||
return false;
|
||||
}
|
||||
|
||||
if (count > 0)
|
||||
if (count > 0 && item is not ColorfulScrew9a.ColorfulScrewItemIndex) // need to rewrite this later
|
||||
count = GetSuggestedItemCount(sav, item, count);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user