Exemple #1
0
        public override void LoadContent()
        {
            _palette1 = PokemonTextureManager.ShiftPalette(_user.Pokemon.GetPalette(), false, 1);
            _palette2 = PokemonTextureManager.ShiftPalette(_user.Pokemon.GetPalette(), false, 2);

            LoadTexture("agility");
        }
Exemple #2
0
        public override void LoadContent()
        {
            LoadTexture("aurorabeam");

            _userPalettes[0] = _user.Pokemon.GetPalette();
            _userPalettes[1] = PokemonTextureManager.ShiftPalette(_userPalettes[0], true, 1);  // dark
            _userPalettes[2] = PokemonTextureManager.ShiftPalette(_userPalettes[0], true, 2);  // darker
            _userPalettes[3] = PokemonTextureManager.ShiftPalette(_userPalettes[0], false, 1); // light
            _userPalettes[4] = PokemonTextureManager.ShiftPalette(_userPalettes[0], false, 2); // lighter

            _targetPalettes[0] = _target.Pokemon.GetPalette();
            _targetPalettes[1] = PokemonTextureManager.ShiftPalette(_targetPalettes[0], true, 1);  // dark
            _targetPalettes[2] = PokemonTextureManager.ShiftPalette(_targetPalettes[0], true, 2);  // darker
            _targetPalettes[3] = PokemonTextureManager.ShiftPalette(_targetPalettes[0], false, 1); // light
            _targetPalettes[4] = PokemonTextureManager.ShiftPalette(_targetPalettes[0], false, 2); // lighter
        }