mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-30 02:48:57 -04:00
code_801780F0 OK and documented, EnPaper documented (#1061)
* File split * Split, OK and documented Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com> Co-authored-by: engineer124 <engineer124engineer124@gmail.com> Co-authored-by: Synray <31429825+Synray@users.noreply.github.com> * Document relevant parts of DmBal * Some EnPaper docs * Document EnPaper * Name functions * Defake Actor_UpdateActor a bit * Reword * \cdot * Fiddle with the description of the DE again * Actually force is probably more correct * Probably time to stop fiddling * Format? * Review * Remove bug comment * Review * Rename to su_mtx, split off code_80140CE0 * Format Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com> Co-authored-by: engineer124 <engineer124engineer124@gmail.com> Co-authored-by: Synray <31429825+Synray@users.noreply.github.com> Co-authored-by: angie <angheloalf95@gmail.com>
This commit is contained in:
+1
-3
@@ -2353,10 +2353,8 @@ Actor* Actor_UpdateActor(UpdateActor_Params* params) {
|
||||
if (!Object_IsLoaded(&play->objectCtx, actor->objBankIndex)) {
|
||||
Actor_Kill(actor);
|
||||
} else {
|
||||
s32 tmp = (params->unk_08 == 0);
|
||||
|
||||
if (((params->unk_08) && !(actor->flags & params->unk_08)) ||
|
||||
((tmp = (params->unk_08 == 0)) &&
|
||||
((((!params->unk_08) != 0)) &&
|
||||
(!(actor->flags & ACTOR_FLAG_100000) ||
|
||||
((actor->category == ACTORCAT_EXPLOSIVES) && (params->player->stateFlags1 & PLAYER_STATE1_200))) &&
|
||||
(params->unkC != 0) && (actor != params->unk10) && ((actor != params->player->heldActor)) &&
|
||||
|
||||
Reference in New Issue
Block a user