This commit is contained in:
Dragon Fire
2020-07-01 11:17:03 -04:00
parent e9dc0fc33d
commit be8b563335
+1
View File
@@ -68,6 +68,7 @@ module.exports = class WildPokemonCommand extends Command {
ctx.drawImage(data, x, y, width * 0.15, height * 0.15);
ctx.drawImage(canvas, x, y, width * 0.15, height * 0.15, x, y, width, height);
ctx.imageSmoothingEnabled = true;
greyscale(ctx, x, y, width, height);
ctx.textBaseline = 'top';
ctx.font = '16px Pokemon GB';
ctx.fillText(name.toUpperCase(), 110, 203, 215);