mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-14 14:59:29 -05:00
Haunter gets a new color
This commit is contained in:
@@ -108,6 +108,7 @@ function hashColor(name) {
|
||||
if (name === 'mikedecishere') hash = MD5('aoswmike');
|
||||
if (name === 'heartsonfire') hash = MD5('haatsuonfaiyaa');
|
||||
if (name === 'limi') hash = MD5('azure2');
|
||||
if (name === 'haunter') hash = MD5('cathy');
|
||||
if (name === 'cathy') return colorCache[name] = 'color:#ff5cb6;';
|
||||
var H = parseInt(hash.substr(4, 4), 16) % 360;
|
||||
var S = parseInt(hash.substr(0, 4), 16) % 50 + 50;
|
||||
|
||||
Reference in New Issue
Block a user