add debug inventory editor check (#196)

This commit is contained in:
Archez
2024-05-22 09:05:01 -05:00
committed by Garrett Cox
parent 78f3a456a7
commit 51bffb7144
@@ -483,6 +483,13 @@ void KaleidoScope_HandlePageToggles(PlayState* play, Input* input) {
PauseContext* pauseCtx = &play->pauseCtx;
InterfaceContext* interfaceCtx = &play->interfaceCtx;
// 2S2H [Debug] Restoring input check for debug inventory editor based on OOT debug
if (CVarGetInteger("gDeveloperTools.DebugEnabled", 0) && (pauseCtx->debugEditor == DEBUG_EDITOR_NONE) &&
CHECK_BTN_ALL(input->press.button, BTN_L)) {
pauseCtx->debugEditor = DEBUG_EDITOR_INVENTORY_INIT;
return;
}
//! FAKE
if (1) {}