Skip to content

Commit d28ca39

Browse files
committed
Updates for different Stick and Nut amounts
1 parent 60b273c commit d28ca39

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

soh/soh/Enhancements/timesplits/TimeSplitsActions.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,15 @@ void RegisterTimesplits() {
429429
itemEntry.itemId = SPLIT_DOUBLE_DEFENSE;
430430
}
431431
} else {
432-
if (itemEntry.itemId == ITEM_HEART_PIECE_2) {
433-
itemEntry.itemId = ITEM_HEART_PIECE;
434-
}
435-
if (itemEntry.itemId >= ITEM_BOMBCHUS_20 && itemEntry.itemId <= ITEM_BOMBCHUS_5) {
432+
if (itemEntry.itemId == ITEM_BOMBCHUS_20 || itemEntry.itemId == ITEM_BOMBCHUS_5) {
436433
itemEntry.itemId = ITEM_BOMBCHU;
437434
}
435+
if (itemEntry.itemId == ITEM_STICKS_5 || itemEntry.itemId == ITEM_STICKS_10) {
436+
itemEntry.itemId == ITEM_STICK;
437+
}
438+
if (itemEntry.itemId == ITEM_NUTS_5 || itemEntry.itemId == ITEM_NUTS_10) {
439+
itemEntry.itemId == ITEM_NUT;
440+
}
438441
}
439442

440443
UpdateSplitStatusById((uint32_t)itemEntry.itemId);

0 commit comments

Comments
 (0)