Skip to content

Commit

Permalink
zNPCBPatrick::DuploNotice 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbruv committed Jul 18, 2024
1 parent 4966d55 commit c865eac
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/SB/Game/zNPCTypeBossPatrick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,18 @@ void zNPCBPatrick::Process(xScene* xscn, F32 dt)

void zNPCBPatrick::DuploNotice(en_SM_NOTICES note, void* data)
{
/*
class zNPCCommon * npc; // r2
signed int i; // r5
*/
if (note != 1)
{
return;
}

for (S32 i = 0; i < 3; i++)
{
if (this->chuckList[i] == (zNPCCommon*)data)
{
this->chuckFlags[i] |= 1;
}
}
}

void zNPCBPatrick::Damage(en_NPC_DAMAGE_TYPE dmg_type, xBase* who, const xVec3* vec_hit)
Expand Down

0 comments on commit c865eac

Please sign in to comment.