mirror of
https://github.com/zeldaret/oot
synced 2026-06-17 15:16:59 -04:00
Move Scene_SetTransitionForNextEntrance to z_scene.c (#1609)
This commit is contained in:
@@ -77,26 +77,6 @@ Gfx sDefaultDisplayList[] = {
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
|
||||
void Scene_SetTransitionForNextEntrance(PlayState* play) {
|
||||
s16 entranceIndex;
|
||||
|
||||
if (!IS_DAY) {
|
||||
if (!LINK_IS_ADULT) {
|
||||
entranceIndex = play->nextEntranceIndex + 1;
|
||||
} else {
|
||||
entranceIndex = play->nextEntranceIndex + 3;
|
||||
}
|
||||
} else {
|
||||
if (!LINK_IS_ADULT) {
|
||||
entranceIndex = play->nextEntranceIndex;
|
||||
} else {
|
||||
entranceIndex = play->nextEntranceIndex + 2;
|
||||
}
|
||||
}
|
||||
|
||||
play->transitionType = ENTRANCE_INFO_START_TRANS_TYPE(gEntranceTable[entranceIndex].field);
|
||||
}
|
||||
|
||||
void Scene_DrawConfigDefault(PlayState* play) {
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_scene_table.c", 4725);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user