mirror of
https://github.com/zeldaret/ss
synced 2026-07-09 06:13:17 -04:00
msgIdx
This commit is contained in:
@@ -93,8 +93,8 @@ public:
|
||||
return mpTagProcessor;
|
||||
}
|
||||
|
||||
s32 getField_0x784() const {
|
||||
return field_0x784;
|
||||
s32 getMsgIdx() const {
|
||||
return mMsgIdx;
|
||||
}
|
||||
|
||||
u8 getField_0x80D() const {
|
||||
@@ -166,7 +166,7 @@ private:
|
||||
/* 0x778 */ s32 field_0x778;
|
||||
/* 0x77C */ s32 field_0x77C;
|
||||
/* 0x780 */ s32 field_0x780;
|
||||
/* 0x784 */ s32 field_0x784;
|
||||
/* 0x784 */ s32 mMsgIdx;
|
||||
|
||||
/* 0x788 */ u16 mEntryPointToTrigger;
|
||||
/* 0x78A */ u16 mAlsoEntryPointToTrigger;
|
||||
|
||||
@@ -1572,12 +1572,12 @@ void dTagProcessor_c::somethingWithScrapperAndMusic(wchar_t *src) {
|
||||
if ((ac->profile_name >= fProfile::NPC_SLFB && ac->profile_name <= fProfile::NPC_SLFL) ||
|
||||
(ac->profile_name >= fProfile::NPC_SLB && ac->profile_name <= fProfile::FLY_SLB) ||
|
||||
ac->profile_name == fProfile::NPC_SLB2 || ac->profile_name == fProfile::NPC_DRBC) {
|
||||
dSndPlayerMgr_c::GetInstance()->setMsgActor(dLytMsgWindow_c::getInstance()->getField_0x784(), ac);
|
||||
dSndPlayerMgr_c::GetInstance()->setMsgActor(dLytMsgWindow_c::getInstance()->getMsgIdx(), ac);
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else if (field_0x824 == 101) {
|
||||
dSndPlayerMgr_c::GetInstance()->setMsgActor(dLytMsgWindow_c::getInstance()->getField_0x784(), nullptr);
|
||||
dSndPlayerMgr_c::GetInstance()->setMsgActor(dLytMsgWindow_c::getInstance()->getMsgIdx(), nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ bool dLytMsgWindow_c::build() {
|
||||
field_0x778 = 0;
|
||||
field_0x77C = 0;
|
||||
field_0x780 = 0;
|
||||
field_0x784 = -1;
|
||||
mMsgIdx = -1;
|
||||
|
||||
mAlsoEntryPointToTrigger = 0xFFFF;
|
||||
mEntryPointToTrigger = 0xFFFF;
|
||||
|
||||
Reference in New Issue
Block a user