[Modding] Add Adult Mask DL for mod compability (#6642)

This commit is contained in:
Reppan
2026-06-08 02:42:03 +02:00
committed by GitHub
parent b6151c131a
commit 228f9fecea
4 changed files with 76 additions and 2 deletions
@@ -12449,8 +12449,10 @@ void Player_DrawGameplay(PlayState* play, Player* this, s32 lod, Gfx* cullDList,
MATRIX_TOMTX(bunnyEarMtx);
}
if (this->currentMask != PLAYER_MASK_BUNNY || !CVarGetInteger(CVAR_ENHANCEMENT("HideBunnyHood"), 0)) {
gSPDisplayList(POLY_OPA_DISP++, sMaskDlists[this->currentMask - 1]);
if (GameInteractor_Should(VB_DRAW_PLAYER_MASK, true, this->currentMask, play)) {
if (this->currentMask != PLAYER_MASK_BUNNY || !CVarGetInteger(CVAR_ENHANCEMENT("HideBunnyHood"), 0)) {
gSPDisplayList(POLY_OPA_DISP++, sMaskDlists[this->currentMask - 1]);
}
}
if (CVarGetInteger(CVAR_GENERAL("FixIceTrapWithBunnyHood"), 1))