void BackSingleClickHandler(ClickRecognizerRef recognizer, Window *window) { if(currentMenuDef && currentMenuDef->disableBackButton) return; PopMenu(); }
void ActivateCombatFullPotion(void) { if(AttemptToUseFullPotion()) { PopMenu(); BattleUpdate(); } }
void ActivateLightningScroll(void) { if(AttemptToConsumeLightningScroll()) { PopMenu(); UseLightningOnCurrentMonster(); } }
void ActivateIceScroll(void) { if(AttemptToConsumeIceScroll()) { PopMenu(); UseIceOnCurrentMonster(); } }
void CloseBattleWindow(void) { battleCleanExit = true; RemoveConfirmationWindow(); PopMenu(); }
void ForceEvent(void) { PopMenu(); ExecuteEvent(ComputeRandomEvent_inline(baseChanceOfEvent, ticksSinceLastEvent, chances, sizeof(chances), true)); }
void ContinueNextFloor() { IncrementFloor(); PopMenu(); }
void ForceShop(void) { PopMenu(); ShowShopWindow(); }
void ForceBattle(void) { PopMenu(); ShowBattleWindow(); }
void ForceItemGain(void) { PopMenu(); ShowItemGainWindow(); }
void ForceNewFloor(void) { PopMenu(); ShowNewFloorWindow(); }