mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-28 07:54:51 -04:00
telma invoice check
This commit is contained in:
@@ -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(¤t.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
|
||||
|
||||
Reference in New Issue
Block a user