Skip to content

Commit

Permalink
Change pokeball sprite sheet
Browse files Browse the repository at this point in the history
The existing pokeball sprites were anti-aliased, which looked weird
next to pixel art pokemon minisprites. The new ones are pixel art.
  • Loading branch information
Zarel committed Dec 29, 2016
1 parent e96b9b9 commit 94415a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/battledata.js
Original file line number Diff line number Diff line change
Expand Up @@ -1227,11 +1227,11 @@ var Tools = {
getPokemonIcon: function (pokemon, facingLeft) {
var num = 0;
if (pokemon === 'pokeball') {
return 'background:transparent url(' + Tools.resourcePrefix + 'sprites/xyicons-pokeball-sheet.png) no-repeat scroll -0px 4px';
return 'background:transparent url(' + Tools.resourcePrefix + 'sprites/smicons-pokeball-sheet.png) no-repeat scroll -0px 4px';
} else if (pokemon === 'pokeball-statused') {
return 'background:transparent url(' + Tools.resourcePrefix + 'sprites/xyicons-pokeball-sheet.png) no-repeat scroll -40px 4px';
return 'background:transparent url(' + Tools.resourcePrefix + 'sprites/smicons-pokeball-sheet.png) no-repeat scroll -40px 4px';
} else if (pokemon === 'pokeball-none') {
return 'background:transparent url(' + Tools.resourcePrefix + 'sprites/xyicons-pokeball-sheet.png) no-repeat scroll -80px 4px';
return 'background:transparent url(' + Tools.resourcePrefix + 'sprites/smicons-pokeball-sheet.png) no-repeat scroll -80px 4px';
}
var id = toId(pokemon);
if (pokemon && pokemon.species) id = toId(pokemon.species);
Expand Down

0 comments on commit 94415a4

Please sign in to comment.