snowboard racing check

This commit is contained in:
gymnast86
2026-05-03 03:13:15 -07:00
parent b28e21fa18
commit 7018796b93
2 changed files with 9 additions and 3 deletions
+7
View File
@@ -20,6 +20,8 @@
#include "m_Do/m_Do_ext.h"
#include <cstring>
#include "dusk/randomizer/game/verify_item_functions.h"
#if DEBUG
class daNpc_ykW_HIO_c : public mDoHIO_entry_c {
public:
@@ -2214,6 +2216,11 @@ int daNpc_ykW_c::cutEndSnowboardRace(int param_0) {
switch (eventId) {
case 1:
if (mItemPartnerId == fpcM_ERROR_PROCESS_ID_e) {
#if TARGET_PC
if (randomizer_IsActive()) {
itemId = verifyProgressiveItem(randomizer_getItemAtLocation("Snowboard Racing Prize"));
}
#endif
mItemPartnerId = fopAcM_createItemForPresentDemo(&current.pos, itemId, 0,
-1, -1, 0, 0);
}
@@ -3854,7 +3854,6 @@
- Flag: 0x7E
Stage: 51
# TODO
- Name: Snowboard Racing Prize
Original Item: Piece of Heart
Categories:
@@ -3862,8 +3861,8 @@
- Npc
- Snowpeak Province
- ARC
Metadata:
- None
- Location Name Lookup
Metadata: Snowboard Racing Prize
- Name: Snowboarding Bridge Ledge Bottom Rupee
Original Item: Green Rupee