mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-29 00:06:33 +00:00
parent
9305a71458
commit
b76fe9d0b8
2 changed files with 3 additions and 3 deletions
|
@ -522,7 +522,7 @@ typedef enum LinkAge {
|
|||
#define EVENTCHKINF_4A 0x4A
|
||||
#define EVENTCHKINF_OPENED_DOOR_OF_TIME 0x4B
|
||||
#define EVENTCHKINF_4C 0x4C
|
||||
#define EVENTCHKINF_4D 0x4D
|
||||
#define EVENTCHKINF_CREATED_RAINBOW_BRIDGE 0x4D
|
||||
#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
|
||||
|
|
|
@ -49,7 +49,7 @@ void BgGjyoBridge_Init(Actor* thisx, PlayState* play) {
|
|||
|
||||
this->dyna.bgId = DynaPoly_SetBgActor(play, &play->colCtx.dyna, thisx, colHeader);
|
||||
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_4D)) {
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_CREATED_RAINBOW_BRIDGE)) {
|
||||
this->actionFunc = func_808787A4;
|
||||
} else {
|
||||
this->dyna.actor.draw = NULL;
|
||||
|
@ -85,7 +85,7 @@ void BgGjyoBridge_SpawnBridge(BgGjyoBridge* this, PlayState* play) {
|
|||
(play->csCtx.actorCues[2]->id == 2)) {
|
||||
this->dyna.actor.draw = BgGjyoBridge_Draw;
|
||||
DynaPoly_EnableCollision(play, &play->colCtx.dyna, this->dyna.bgId);
|
||||
SET_EVENTCHKINF(EVENTCHKINF_4D);
|
||||
SET_EVENTCHKINF(EVENTCHKINF_CREATED_RAINBOW_BRIDGE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue