Skip to content

Commit

Permalink
Merge pull request #520 from Michael0933/MON_PupateEntry
Browse files Browse the repository at this point in the history
[MONSTER]: Implement MON_PupateEntry
  • Loading branch information
Gh0stBlade authored Jan 27, 2024
2 parents 82fe190 + 6ceb469 commit 3538e06
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions KAIN2/Game/MONSTER/MONSTER.C
Original file line number Diff line number Diff line change
Expand Up @@ -1431,27 +1431,16 @@ void MON_Notice(struct _Instance *instance)
}


// autogenerated function stub:
// void /*$ra*/ MON_PupateEntry(struct _Instance *instance /*$a0*/)
void MON_PupateEntry(struct _Instance *instance)
{ // line 2622, offset 0x8008b67c
/* begin block 1 */
// Start line: 2623
// Start offset: 0x8008B67C
// Variables:
struct _MonsterVars *mv; // $s1
/* end block 1 */
// End offset: 0x8008B67C
// End Line: 2623
void MON_PupateEntry(struct _Instance* instance) // Matching - 100%
{
struct _MonsterVars* mv; // $s1

/* begin block 2 */
// Start line: 5561
/* end block 2 */
// End Line: 5562
UNIMPLEMENTED();
mv = (struct _MonsterVars*)instance->extraData;
instance->flags |= 0x800;
instance->flags2 |= 0x20000000;
mv->effectTimer = MON_GetTime(instance) + 2000 + (rand() & 4095);
}


// autogenerated function stub:
// void /*$ra*/ MON_Pupate(struct _Instance *instance /*$s2*/)
void MON_Pupate(struct _Instance *instance)
Expand Down

0 comments on commit 3538e06

Please sign in to comment.