@@ -3275,7 +3275,7 @@ function getGymPopupContent (gym) {
32753275 if ( isRaid ) {
32763276 let hasRaidBoss = gym . raid_pokemon_id !== 0 && gym . raid_pokemon_id !== null ;
32773277 let pokemonName ;
3278- if ( hasRaidBoss && isRaidBattle ) {
3278+ if ( hasRaidBoss ) {
32793279 if ( gym . raid_pokemon_form !== 0 && gym . raid_pokemon_form !== null ) {
32803280 pokemonName = getFormName ( gym . raid_pokemon_form ) + ' ' + getPokemonName ( gym . raid_pokemon_id ) ;
32813281 } else {
@@ -3292,15 +3292,15 @@ function getGymPopupContent (gym) {
32923292 '<div class="row" style="margin:auto;">' + // START 1ST ROW
32933293 '<div class="col-4">' + // START 1ST COL
32943294 '<div class="row pokemon-popup-image-holder">' ;
3295- if ( hasRaidBoss && isRaidBattle ) {
3295+ if ( hasRaidBoss ) {
32963296 content += `<img src="${ availableIconStyles [ selectedIconStyle ] . path } /${ pokemonIcon } .png">` ;
32973297 } else {
32983298 content += `<img src="/img/egg/${ gym . raid_level } .png">` ;
32993299 }
33003300 content +=
33013301 '</div>' + // END POKEMON ROW
33023302 '<div class="row" style="margin:auto;">' ;
3303- if ( hasRaidBoss && isRaidBattle ) {
3303+ if ( hasRaidBoss ) {
33043304 const pkmn = masterfile . pokemon [ gym . raid_pokemon_id ] ;
33053305 if ( pkmn !== undefined && pkmn !== null ) {
33063306 const types = pkmn . types ;
@@ -3321,7 +3321,7 @@ function getGymPopupContent (gym) {
33213321 '</div>' + // END 1ST COLUMN
33223322 '<div class="col-8 text-nowrap">' + // START 2ND COL
33233323 '<h7><b>' + pokemonName + '</b></h7><br>' ;
3324- if ( hasRaidBoss && isRaidBattle ) {
3324+ if ( hasRaidBoss ) {
33253325 if ( gym . raid_pokemon_evolution ) {
33263326 content += '<b>Evolution:</b> ' + getEvolutionName ( gym . raid_pokemon_evolution ) + '<br>' ;
33273327 }
0 commit comments