From 5c7560722e417ab2c957b717dd8d9573ab30ab7e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 6 May 2024 01:38:26 -0400 Subject: [PATCH] Fix --- commands/games-sp/pokemon-advantage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/games-sp/pokemon-advantage.js b/commands/games-sp/pokemon-advantage.js index 7ccb30de..a12677b1 100644 --- a/commands/games-sp/pokemon-advantage.js +++ b/commands/games-sp/pokemon-advantage.js @@ -154,6 +154,10 @@ module.exports = class PokemonAdvantageCommand extends Command { ctx.drawImage(pkmn2, 261, 12, 175, 175); } } else { + ctx.globalAlpha = 0.5; + ctx.drawImage(silhouetteCanvas1, 36, 17, 175, 175); + ctx.drawImage(silhouetteCanvas2, 256, 17, 175, 175); + ctx.globalAlpha = 1; ctx.drawImage(pkmn1, 41, 12, 175, 175); ctx.drawImage(pkmn2, 261, 12, 175, 175); }