mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-29 00:06:33 +00:00
Renamed EVENTCHKINF_3C (#2324)
* Renamed EVENTCHKINF_3C * Renamed to Nabooru Knuckle * Format for Jenkins
This commit is contained in:
parent
c04ed0e76c
commit
b01b20697e
2 changed files with 4 additions and 3 deletions
|
@ -505,7 +505,7 @@ typedef enum LinkAge {
|
|||
#define EVENTCHKINF_39 0x39
|
||||
#define EVENTCHKINF_OPENED_JABU_JABU 0x3A
|
||||
#define EVENTCHKINF_3B 0x3B
|
||||
#define EVENTCHKINF_3C 0x3C
|
||||
#define EVENTCHKINF_DEFEATED_NABOORU_KNUCKLE 0x3C
|
||||
|
||||
// 0x40
|
||||
#define EVENTCHKINF_40_INDEX 4
|
||||
|
|
|
@ -1528,7 +1528,7 @@ void EnIk_StartDefeatCutscene(Actor* thisx, PlayState* play) {
|
|||
Cutscene_SetScript(play, gSpiritBossNabooruKnuckleDefeatCs);
|
||||
gSaveContext.cutsceneTrigger = 1;
|
||||
Actor_SetScale(&this->actor, 0.01f);
|
||||
SET_EVENTCHKINF(EVENTCHKINF_3C);
|
||||
SET_EVENTCHKINF(EVENTCHKINF_DEFEATED_NABOORU_KNUCKLE);
|
||||
EnIk_SetupCsAction3(this, play);
|
||||
}
|
||||
}
|
||||
|
@ -1537,7 +1537,8 @@ void EnIk_Init(Actor* thisx, PlayState* play) {
|
|||
EnIk* this = (EnIk*)thisx;
|
||||
s32 upperParams = IK_GET_UPPER_PARAMS(&this->actor);
|
||||
|
||||
if (((IK_GET_ARMOR_TYPE(&this->actor) == IK_TYPE_NABOORU) && GET_EVENTCHKINF(EVENTCHKINF_3C)) ||
|
||||
if (((IK_GET_ARMOR_TYPE(&this->actor) == IK_TYPE_NABOORU) &&
|
||||
GET_EVENTCHKINF(EVENTCHKINF_DEFEATED_NABOORU_KNUCKLE)) ||
|
||||
(upperParams != 0 && Flags_GetSwitch(play, upperParams >> 8))) {
|
||||
Actor_Kill(&this->actor);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue