mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-02 14:17:43 -05:00
Giveaway: Fix Alolan Form GIF Display (#3045)
Changes made to cause proper parsing for Alolan forms, allowing for the giveaway to render the gif for the target form by using 'Pokemon-Alolan' as well as 'Pokemon Alolan'
This commit is contained in:
@@ -119,8 +119,8 @@ class Giveaway {
|
||||
}
|
||||
if (value.otherFormes) {
|
||||
for (let i = 0; i < value.otherFormes.length; i++) {
|
||||
// Hardcore alola formes.
|
||||
if (value.otherFormes[i].endsWith('alola')) {
|
||||
// Hardcore Alolan formes.
|
||||
if (value.otherFormes[i].endsWith('alolan')) {
|
||||
if (/alolan?/.test(text)) {
|
||||
spriteid += '-alolan';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user