mirror of
https://github.com/zeldaret/oot.git
synced 2025-05-12 03:53:47 +00:00
use explicit scene layer names instead of numbers
This commit is contained in:
parent
d9bbd67137
commit
eb75a6dea4
1 changed files with 4 additions and 4 deletions
|
@ -501,15 +501,15 @@ void Scene_SetTransitionForNextEntrance(PlayState* play) {
|
||||||
|
|
||||||
if (!IS_DAY) {
|
if (!IS_DAY) {
|
||||||
if (!LINK_IS_ADULT) {
|
if (!LINK_IS_ADULT) {
|
||||||
entranceIndex = play->nextEntranceIndex + 1;
|
entranceIndex = play->nextEntranceIndex + SCENE_LAYER_CHILD_NIGHT;
|
||||||
} else {
|
} else {
|
||||||
entranceIndex = play->nextEntranceIndex + 3;
|
entranceIndex = play->nextEntranceIndex + SCENE_LAYER_ADULT_NIGHT;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!LINK_IS_ADULT) {
|
if (!LINK_IS_ADULT) {
|
||||||
entranceIndex = play->nextEntranceIndex;
|
entranceIndex = play->nextEntranceIndex; // SCENE_LAYER_CHILD_DAY
|
||||||
} else {
|
} else {
|
||||||
entranceIndex = play->nextEntranceIndex + 2;
|
entranceIndex = play->nextEntranceIndex + SCENE_LAYER_ADULT_DAY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue