summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-06-26 17:00:52 -0600
committerGitHub <noreply@github.com>2025-06-26 17:00:52 -0600
commitfd0204acd320e838bbcac45bd633e543985feb6e (patch)
tree375ba41195dc67ce7345077d5e2410333931fb84
parentf269e74bb238133119f5e9bede22a77a588944f8 (diff)
Update code_80005FD0.c
-rw-r--r--src/code_80005FD0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_80005FD0.c b/src/code_80005FD0.c
index a66d410fb..a3d822bc8 100644
--- a/src/code_80005FD0.c
+++ b/src/code_80005FD0.c
@@ -7091,7 +7091,7 @@ void cpu_use_item_strategy(s32 playerId) {
if (((gNumPathPointsTraversed[playerId] + (playerId * 0x14) + 0x64) % 0x8 == 0) &&
(temp_s0->timer >= 0x200)) {
cpu_decisions_branch_item(playerId, &temp_s0->branch,
- gen_random_item_human((s16) gLapCountByPlayerId[playerId],
+ hard_cpu_gen_random_item((s16) gLapCountByPlayerId[playerId],
gGPCurrentRaceRankByPlayerId[playerId]));
}
}