mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
sceneNum -> sceneId (#1338)
* sceneNum -> sceneId * forgot to save play * scene -> sceneId where appropriate * Missed 1 + format * Update src/code/z_sram.c Co-authored-by: mzxrules <mzxrules@gmail.com> * Update src/code/z_sram.c Co-authored-by: mzxrules <mzxrules@gmail.com> * PR * Fix Co-authored-by: mzxrules <mzxrules@gmail.com>
This commit is contained in:
parent
706d5596bf
commit
9c6461751d
83 changed files with 444 additions and 445 deletions
|
@ -144,7 +144,7 @@ void EnTa_Init(Actor* thisx, PlayState* play2) {
|
|||
Actor_Kill(&this->actor);
|
||||
} else if (!LINK_IS_ADULT) {
|
||||
Actor_Kill(&this->actor);
|
||||
} else if (play->sceneNum == SCENE_MALON_STABLE && !IS_DAY) {
|
||||
} else if (play->sceneId == SCENE_MALON_STABLE && !IS_DAY) {
|
||||
Actor_Kill(&this->actor);
|
||||
osSyncPrintf(VT_FGCOL(CYAN) " 夜はいない \n" VT_RST);
|
||||
} else {
|
||||
|
@ -156,7 +156,7 @@ void EnTa_Init(Actor* thisx, PlayState* play2) {
|
|||
break;
|
||||
default:
|
||||
osSyncPrintf(VT_FGCOL(CYAN) " その他のタロン \n" VT_RST);
|
||||
if (play->sceneNum == SCENE_SPOT15) {
|
||||
if (play->sceneId == SCENE_SPOT15) {
|
||||
if (GET_EVENTCHKINF(EVENTCHKINF_14)) {
|
||||
Actor_Kill(&this->actor);
|
||||
} else if (GET_EVENTCHKINF(EVENTCHKINF_13)) {
|
||||
|
@ -171,7 +171,7 @@ void EnTa_Init(Actor* thisx, PlayState* play2) {
|
|||
this->currentAnimation = &gTalonSleepAnim;
|
||||
this->actor.shape.shadowScale = 54.0f;
|
||||
}
|
||||
} else if (play->sceneNum == SCENE_SOUKO) {
|
||||
} else if (play->sceneId == SCENE_SOUKO) {
|
||||
osSyncPrintf(VT_FGCOL(CYAN) " ロンロン牧場の倉庫 の タロン\n" VT_RST);
|
||||
if (!GET_EVENTCHKINF(EVENTCHKINF_14)) {
|
||||
Actor_Kill(&this->actor);
|
||||
|
@ -234,7 +234,7 @@ void EnTa_Destroy(Actor* thisx, PlayState* play) {
|
|||
|
||||
Collider_DestroyCylinder(play, &this->collider);
|
||||
|
||||
if (this->actor.params != 1 && this->actor.params != 2 && play->sceneNum == SCENE_SOUKO) {
|
||||
if (this->actor.params != 1 && this->actor.params != 2 && play->sceneId == SCENE_SOUKO) {
|
||||
gSaveContext.timer1State = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue