Exemple #1
0
void BackSingleClickHandler(ClickRecognizerRef recognizer, Window *window)
{
	if(currentMenuDef && currentMenuDef->disableBackButton)
		return;
		
	PopMenu();
}
Exemple #2
0
void ActivateCombatFullPotion(void)
{
	if(AttemptToUseFullPotion())
	{
		PopMenu();
		BattleUpdate();
	}
}
Exemple #3
0
void ActivateLightningScroll(void)
{
	if(AttemptToConsumeLightningScroll())
	{
		PopMenu();
		UseLightningOnCurrentMonster();
	}
}
Exemple #4
0
void ActivateIceScroll(void)
{
	if(AttemptToConsumeIceScroll())
	{
		PopMenu();
		UseIceOnCurrentMonster();
	}
}
Exemple #5
0
void CloseBattleWindow(void)
{
	battleCleanExit = true;
	RemoveConfirmationWindow();
	PopMenu();
}
Exemple #6
0
void ForceEvent(void)
{
	PopMenu();
	ExecuteEvent(ComputeRandomEvent_inline(baseChanceOfEvent, ticksSinceLastEvent, chances, sizeof(chances), true));
}
Exemple #7
0
void ContinueNextFloor() {
	IncrementFloor();
	PopMenu();
}
Exemple #8
0
void ForceShop(void)
{
	PopMenu();
	ShowShopWindow();
}
Exemple #9
0
void ForceBattle(void)
{
	PopMenu();
	ShowBattleWindow();
}
Exemple #10
0
void ForceItemGain(void)
{
	PopMenu();
	ShowItemGainWindow();
}
Exemple #11
0
void ForceNewFloor(void)
{
	PopMenu();
	ShowNewFloorWindow();
}