public int pbSafariCommandMenu(int index) { OnBattleMenuEventArgs e = new OnBattleMenuEventArgs { Index = index, Mode = 0 }; if (OnBattleMenu != null) { OnBattleMenu.Invoke(this, e); } return(e.Option); }
public int pbCommandMenuEx(int index, string texts, int mode = 0) { OnBattleMenuEventArgs e = new OnBattleMenuEventArgs { Index = index, Mode = mode }; if (OnBattleMenu != null) { OnBattleMenu.Invoke(this, e); } return(e.Option); }