// ═══════════════════════════════════════════════════════════════════════ // KEYBINDINGS — keyboard shortcuts for battle // ═══════════════════════════════════════════════════════════════════════ let keybindingsSetup = false; function setupKeybindings() { if (keybindingsSetup) return; keybindingsSetup = true; document.addEventListener('keydown', function(e) { // Settings — comma key (non-conflicting with Monsterbation) if (e.keyCode === KEYS.COMMA) { if (isBattlePage()) { e.preventDefault(); STATE.settingsVisible = !STATE.settingsVisible; toggleSettings(); return; } } }); console.log('%c⌨ [HV] Key: ,=settings (Battle input managed by Monsterbation)', 'color:#0f0;font-size:11px'); }