mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 15:31:15 +00:00
document most navi enemies as enum type (#1110)
* document most navi enemies as enum type * enum value auto increments, add enemy default for 0 * also define and comment navi enemy tektite blue * Update include/z64actor.h Co-authored-by: mzxrules <mzxrules@gmail.com> * Update include/z64actor.h Co-authored-by: mzxrules <mzxrules@gmail.com> * Update include/z64actor.h Co-authored-by: mzxrules <mzxrules@gmail.com> * Update include/z64actor.h Co-authored-by: mzxrules <mzxrules@gmail.com> * Update include/z64actor.h Co-authored-by: mzxrules <mzxrules@gmail.com> * Update include/z64actor.h Co-authored-by: mzxrules <mzxrules@gmail.com> * apply navi enemy updates accepted so far * update names * review * review * freezzard -> freezard Co-authored-by: mzxrules <mzxrules@gmail.com> Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
38bcbdb0b9
commit
32e66c2da8
71 changed files with 215 additions and 112 deletions
|
@ -511,7 +511,7 @@ void BossTw_Init(Actor* thisx, GlobalContext* globalCtx2) {
|
|||
|
||||
if (this->actor.params == TW_KOTAKE) {
|
||||
Collider_SetCylinder(globalCtx, &this->collider, &this->actor, &sCylinderInitKoumeKotake);
|
||||
this->actor.naviEnemyId = 0x33;
|
||||
this->actor.naviEnemyId = NAVI_ENEMY_TWINROVA_KOTAKE;
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &object_tw_Skel_0070E0, &object_tw_Anim_006F28, NULL, NULL, 0);
|
||||
|
||||
if (gSaveContext.eventChkInf[7] & 0x20) {
|
||||
|
@ -529,7 +529,7 @@ void BossTw_Init(Actor* thisx, GlobalContext* globalCtx2) {
|
|||
this->visible = true;
|
||||
} else if (this->actor.params == TW_KOUME) {
|
||||
Collider_SetCylinder(globalCtx, &this->collider, &this->actor, &sCylinderInitKoumeKotake);
|
||||
this->actor.naviEnemyId = 0x32;
|
||||
this->actor.naviEnemyId = NAVI_ENEMY_TWINROVA_KOUME;
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &object_tw_Skel_01F888, &object_tw_Anim_006F28, NULL, NULL, 0);
|
||||
|
||||
if (gSaveContext.eventChkInf[7] & 0x20) {
|
||||
|
@ -547,7 +547,7 @@ void BossTw_Init(Actor* thisx, GlobalContext* globalCtx2) {
|
|||
} else {
|
||||
// Twinrova
|
||||
Collider_SetCylinder(globalCtx, &this->collider, &this->actor, &sCylinderInitTwinrova);
|
||||
this->actor.naviEnemyId = 0x5B;
|
||||
this->actor.naviEnemyId = NAVI_ENEMY_TWINROVA;
|
||||
this->actor.colChkInfo.health = 24;
|
||||
this->actor.update = BossTw_TwinrovaUpdate;
|
||||
this->actor.draw = BossTw_TwinrovaDraw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue