Esempio n. 1
0
    public override void Show(UIScene.SceneVoidDelegate afterFinished = null)
    {
        UIScene.SceneVoidDelegate sceneVoidDelegate = delegate
        {
            this.screenFadePanel.depth = 0;
        };
        if (afterFinished != null)
        {
            sceneVoidDelegate = (UIScene.SceneVoidDelegate)Delegate.Combine(sceneVoidDelegate, afterFinished);
        }
        base.Show(sceneVoidDelegate);
        SceneDirector.FF9Wipe_FadeInEx(12);
        PersistenSingleton <UIManager> .Instance.SetGameCameraEnable(false);

        this.isTimerDisplay = TimerUI.GetDisplay();
        if (FF9StateSystem.Common.FF9.btl_result == 4)
        {
            if (battle.btl_bonus.escape_gil)
            {
                this.InitialNormal();
            }
            else
            {
                this.InitialNone();
            }
        }
        else if (FF9StateSystem.Common.FF9.btl_result != 7)
        {
            if (battle.btl_bonus.Event)
            {
                this.InitialEvent();
            }
            else
            {
                this.InitialNormal();
            }
        }
        else
        {
            this.InitialNone();
        }
    }