mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-29 00:06:33 +00:00
Renamed EVENTCHKINF_3A (#2325)
* Renamed EVENTCHKINF_3A * Remove redundant comment
This commit is contained in:
parent
da7958db22
commit
4d902dcd95
2 changed files with 3 additions and 3 deletions
|
@ -503,7 +503,7 @@ typedef enum LinkAge {
|
|||
#define EVENTCHKINF_37 0x37
|
||||
#define EVENTCHKINF_38 0x38
|
||||
#define EVENTCHKINF_39 0x39
|
||||
#define EVENTCHKINF_3A 0x3A
|
||||
#define EVENTCHKINF_OPENED_JABU_JABU 0x3A
|
||||
#define EVENTCHKINF_3B 0x3B
|
||||
#define EVENTCHKINF_3C 0x3C
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ void EnJj_Init(Actor* thisx, PlayState* play2) {
|
|||
this->extraBlinkCounter = 0;
|
||||
this->extraBlinkTotal = 0;
|
||||
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_3A)) { // Fish given
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_OPENED_JABU_JABU)) {
|
||||
EnJj_SetupAction(this, EnJj_WaitToOpenMouth);
|
||||
} else {
|
||||
EnJj_SetupAction(this, EnJj_WaitForFish);
|
||||
|
@ -218,7 +218,7 @@ void EnJj_BeginCutscene(EnJj* this, PlayState* play) {
|
|||
gSaveContext.cutsceneTrigger = 1;
|
||||
DynaPoly_DisableCollision(play, &play->colCtx.dyna, bodyCollisionActor->bgId);
|
||||
Camera_SetFinishedFlag(GET_ACTIVE_CAM(play));
|
||||
SET_EVENTCHKINF(EVENTCHKINF_3A);
|
||||
SET_EVENTCHKINF(EVENTCHKINF_OPENED_JABU_JABU);
|
||||
Sfx_PlaySfxCentered(NA_SE_SY_CORRECT_CHIME);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue