mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-29 00:06:33 +00:00
Replaced EVENTCHKINF_4E (#2327)
* Replaced EVENTCHKINF_4E * Add "set but unused" comment Co-authored-by: mzxrules <mzxrules@gmail.com> --------- Co-authored-by: mzxrules <mzxrules@gmail.com>
This commit is contained in:
parent
6735eb25d6
commit
df2450ac17
3 changed files with 3 additions and 3 deletions
|
@ -523,7 +523,7 @@ typedef enum LinkAge {
|
|||
#define EVENTCHKINF_4B 0x4B
|
||||
#define EVENTCHKINF_4C 0x4C
|
||||
#define EVENTCHKINF_4D 0x4D
|
||||
#define EVENTCHKINF_4E 0x4E
|
||||
#define EVENTCHKINF_CAUGHT_BY_CASTLE_GUARDS 0x4E // set but unused
|
||||
#define EVENTCHKINF_WATCHED_SHEIK_AFTER_MASTER_SWORD_CS 0x4F // Cutscene in Temple of Time as adult after pulling the Master Sword for the first time
|
||||
#define EVENTCHKINF_50 0x50
|
||||
#define EVENTCHKINF_51 0x51
|
||||
|
|
|
@ -346,7 +346,7 @@ void EnHeishi1_Kick(EnHeishi1* this, PlayState* play) {
|
|||
if ((Message_GetState(&play->msgCtx) == TEXT_STATE_EVENT) && Message_ShouldAdvance(play)) {
|
||||
Message_CloseTextbox(play);
|
||||
if (!this->loadStarted) {
|
||||
SET_EVENTCHKINF(EVENTCHKINF_4E);
|
||||
SET_EVENTCHKINF(EVENTCHKINF_CAUGHT_BY_CASTLE_GUARDS);
|
||||
play->nextEntranceIndex = ENTR_HYRULE_CASTLE_3;
|
||||
play->transitionTrigger = TRANS_TRIGGER_START;
|
||||
this->loadStarted = true;
|
||||
|
|
|
@ -208,7 +208,7 @@ void func_80A55D00(EnHeishi3* this, PlayState* play) {
|
|||
SkelAnime_Update(&this->skelAnime);
|
||||
if ((Message_GetState(&play->msgCtx) == TEXT_STATE_EVENT) && Message_ShouldAdvance(play) &&
|
||||
(this->respawnFlag == 0)) {
|
||||
SET_EVENTCHKINF(EVENTCHKINF_4E);
|
||||
SET_EVENTCHKINF(EVENTCHKINF_CAUGHT_BY_CASTLE_GUARDS);
|
||||
play->nextEntranceIndex = ENTR_HYRULE_CASTLE_4;
|
||||
play->transitionTrigger = TRANS_TRIGGER_START;
|
||||
this->respawnFlag = 1;
|
||||
|
|
Loading…
Reference in a new issue