mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-20 05:51:18 +00:00
Use DMG_
defines in code (#1245)
* Use `DMG_` defines for `dmgFlags` when single bits are used * Pass on several (in code, no colliders) * Conditional cleanup * Remove wip comment, just use the flags 4head
This commit is contained in:
parent
b2752a6a2e
commit
b3b913d33d
53 changed files with 201 additions and 180 deletions
|
@ -120,7 +120,7 @@ void func_80ABBBA8(EnNutsball* this, PlayState* play) {
|
|||
this->collider.base.atFlags &= ~AT_TYPE_ENEMY & ~AT_BOUNCED & ~AT_HIT;
|
||||
this->collider.base.atFlags |= AT_TYPE_PLAYER;
|
||||
|
||||
this->collider.info.toucher.dmgFlags = 2;
|
||||
this->collider.info.toucher.dmgFlags = DMG_DEKU_STICK;
|
||||
Matrix_MtxFToYXZRotS(&player->shieldMf, &sp4C, 0);
|
||||
this->actor.world.rot.y = sp4C.y + 0x8000;
|
||||
this->timer = 30;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue