mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +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
|
@ -181,7 +181,7 @@ s8 EnDog_CanFollow(EnDog* this, PlayState* play) {
|
|||
return 2;
|
||||
}
|
||||
|
||||
if (play->sceneNum == SCENE_MARKET_DAY) {
|
||||
if (play->sceneId == SCENE_MARKET_DAY) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ void EnDog_Init(Actor* thisx, PlayState* play) {
|
|||
this->actor.gravity = -1.0f;
|
||||
this->path = Path_GetByIndex(play, (this->actor.params & 0x00F0) >> 4, 0xF);
|
||||
|
||||
switch (play->sceneNum) {
|
||||
switch (play->sceneId) {
|
||||
case SCENE_MARKET_NIGHT:
|
||||
if ((!gSaveContext.dogIsLost) && (((this->actor.params & 0x0F00) >> 8) == 1)) {
|
||||
Actor_Kill(&this->actor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue