Make Yoshi visible in main menu

This commit is contained in:
Agent X 2025-04-06 14:16:51 -04:00
parent 3a751aac56
commit 4b36c4df45
2 changed files with 3 additions and 1 deletions

View file

@ -143,6 +143,7 @@ The lua functions sent to `hook_event()` will be automatically called by SM64 wh
| HOOK_ON_GEO_PROCESS | Called when a GeoLayout is processed **Note:** You must set the `hookProcess` field of the graph node to a non-zero value | [GraphNode](../structs.md#GraphNode) graphNode, `integer` matStackIndex |
| HOOK_BEFORE_GEO_PROCESS | Called before a GeoLayout is processed **Note:** You must set the `hookProcess` field of the graph node to a non-zero value | [GraphNode](../structs.md#GraphNode) graphNode, `integer` matStackIndex |
| HOOK_ON_GEO_PROCESS_CHILDREN | Called when the children of a GeoLayout node is processed **Note:** You must set the `hookProcess` field of the parent graph node to a non-zero value | [GraphNode](../structs.md#GraphNode) graphNode, `integer` matStackIndex |
| HOOK_MARIO_OVERRIDE_GEOMETRY_INPUTS | Called before running Mario's geometry input logic, return `false` to not run it. | [MarioState](../structs.md) m |
| HOOK_ON_INTERACTIONS | Called when the Mario interactions are processed | [MarioState](../structs.md#MarioState) mario |
### Parameters

View file

@ -81,7 +81,8 @@ void yoshi_idle_loop(void) {
// Credits; Yoshi appears at this position overlooking the castle near the end of the credits
if (gPlayerCameraState->cameraEvent == CAM_EVENT_START_ENDING ||
gPlayerCameraState->cameraEvent == CAM_EVENT_START_END_WAVING) {
gPlayerCameraState->cameraEvent == CAM_EVENT_START_END_WAVING ||
gDjuiInMainMenu) {
o->oAction = YOSHI_ACT_CREDITS;
o->oPosX = -1798.0f;
o->oPosY = 3174.0f;