Update src/code_805D8C8_1.c

Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
This commit is contained in:
DizzyEggg 2024-10-20 21:52:54 +02:00 committed by GitHub
parent b4f59e5bf9
commit c41bca0474
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -313,7 +313,7 @@ void DungeonHandlePlayerInput(void)
SendMessage(leader, gUnknown_80F8A4C);
}
else {
SetMonsterActionFields(&leaderInfo->action, 0x14);
SetMonsterActionFields(&leaderInfo->action, ACTION_USE_MOVE_PLAYER);
leaderInfo->action.unk4[0].actionUseIndex = GetTeamMemberEntityIndex(leader);
leaderInfo->action.unk4[1].actionUseIndex = i;
}