Example #1
0
    public void SetBattlePeeping(BattleUnit pBtl)
    {
        if (pBtl.IsPlayer)
        {
            return;
        }

        _peepingEnmData = pBtl.Enemy;

        Boolean flag = false;

        for (Int32 index = 0; index < 4; ++index)
        {
            if (_peepingEnmData.StealableItems[index] == Byte.MaxValue)
            {
                continue;
            }

            flag = true;
            break;
        }

        if (!flag)
        {
            SetBattleMessage(FF9TextTool.BattleLibraText(9), 2);
            _currentPeepingMessageCount = 5;
        }
        else
        {
            _currentPeepingMessageCount = 1;
            DisplayMessagePeeping();
        }
    }