mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-20 14:01:15 +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
|
@ -359,16 +359,16 @@ void EnGo_ChangeAnim(EnGo* this, s32 index) {
|
|||
s32 EnGo_IsActorSpawned(EnGo* this, PlayState* play) {
|
||||
if (((this->actor.params) & 0xF0) == 0x90) {
|
||||
return true;
|
||||
} else if (play->sceneNum == SCENE_HIDAN && !Flags_GetSwitch(play, (this->actor.params) >> 8) && LINK_IS_ADULT &&
|
||||
} else if (play->sceneId == SCENE_HIDAN && !Flags_GetSwitch(play, (this->actor.params) >> 8) && LINK_IS_ADULT &&
|
||||
(this->actor.params & 0xF0) == 0x10) {
|
||||
return true;
|
||||
} else if (play->sceneNum == SCENE_SPOT18 && LINK_IS_ADULT && (this->actor.params & 0xF0) == 0x00) {
|
||||
} else if (play->sceneId == SCENE_SPOT18 && LINK_IS_ADULT && (this->actor.params & 0xF0) == 0x00) {
|
||||
return true;
|
||||
} else if (play->sceneNum == SCENE_SPOT16 && LINK_IS_CHILD &&
|
||||
} else if (play->sceneId == SCENE_SPOT16 && LINK_IS_CHILD &&
|
||||
((this->actor.params & 0xF0) == 0x20 || (this->actor.params & 0xF0) == 0x30 ||
|
||||
(this->actor.params & 0xF0) == 0x40)) {
|
||||
return true;
|
||||
} else if (play->sceneNum == SCENE_SPOT18 && LINK_IS_CHILD &&
|
||||
} else if (play->sceneId == SCENE_SPOT18 && LINK_IS_CHILD &&
|
||||
((this->actor.params & 0xF0) == 0x50 || (this->actor.params & 0xF0) == 0x60 ||
|
||||
(this->actor.params & 0xF0) == 0x70)) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue