telma invoice check

This commit is contained in:
gymnast86
2026-05-04 10:34:05 -07:00
parent 2c7cfa8951
commit 1166b58447
2 changed files with 11 additions and 3 deletions
+9
View File
@@ -12,6 +12,10 @@
#include "SSystem/SComponent/c_math.h"
#include <cstring>
#if TARGET_PC
#include "dusk/randomizer/game/verify_item_functions.h"
#endif
const daNpcThe_HIOParam daNpcThe_Param_c::m = {
220.0f, // attention_offset
-3.0f, // gravity
@@ -823,6 +827,11 @@ BOOL daNpcThe_c::talk(void* param_0) {
}
int item_no = 0;
if (mFlow.getEventId(&item_no) == 1) {
#if TARGET_PC
if (randomizer_IsActive()) {
item_no = verifyProgressiveItem(randomizer_getItemAtLocation("Telma Invoice"));
}
#endif
mItemID = fopAcM_createItemForPresentDemo(&current.pos, item_no, 0, -1, -1,
NULL, NULL);
if (mItemID != -1) {
@@ -2362,7 +2362,6 @@
- Flag: 0x1E
Stage: 73
# TODO
- Name: Telma Invoice
Original Item: Invoice
Categories:
@@ -2370,8 +2369,8 @@
- Npc
- Castle Town
- ARC
Metadata:
- None
- Location Name Lookup
Metadata: Telma Invoice
- Name: Agitha Male Beetle Reward
Original Item: Orange Rupee