Skip to content

Commit 103f580

Browse files
chore(requirements): Magearna customized hint (pokeclicker#5918)
Co-authored-by: CypherX <cypherx00@gmail.com>
1 parent 53ff4e6 commit 103f580

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/scripts/towns/TownList.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9144,9 +9144,7 @@ const ProfMagnolia = new ProfNPC('Prof. Magnolia',
91449144
//*TODO*: Change second line to this text when Paldea is available: 'Now be on your way, the illustrious Paldea region awaits over the horizons.',
91459145
'assets/images/npcs/Professor Magnolia.png');
91469146

9147-
const MagearnaMysteryGift = new PokemonGiftNPC('Mystery Gift', [
9148-
'You have received a Mystery Gift for completing the National Shiny Dex!',
9149-
], 'Magearna (Original Color)', 'assets/images/pokemon/801.01.png', { saveKey: 'magearnamysterygift', requirement: new MultiRequirement([
9147+
const magearnaGiftReq = new MultiRequirement([
91509148
new CaughtUniqueShinyPokemonsByRegionRequirement(GameConstants.Region.kanto),
91519149
new CaughtUniqueShinyPokemonsByRegionRequirement(GameConstants.Region.johto),
91529150
new CaughtUniqueShinyPokemonsByRegionRequirement(GameConstants.Region.hoenn),
@@ -9155,7 +9153,11 @@ const MagearnaMysteryGift = new PokemonGiftNPC('Mystery Gift', [
91559153
new CaughtUniqueShinyPokemonsByRegionRequirement(GameConstants.Region.kalos),
91569154
new CaughtUniqueShinyPokemonsByRegionRequirement(GameConstants.Region.alola),
91579155
new CaughtUniqueShinyPokemonsByRegionRequirement(GameConstants.Region.galar),
9158-
])});
9156+
]);
9157+
const MagearnaMysteryGift = new PokemonGiftNPC('Mystery Gift', [
9158+
'You have received a Mystery Gift for completing the National Shiny Dex!',
9159+
], 'Magearna (Original Color)', 'assets/images/pokemon/801.01.png',
9160+
{ saveKey: 'magearnamysterygift', requirement: new CustomRequirement(ko.pureComputed(() => +magearnaGiftReq.isCompleted()), 1, 'Complete all regional Shiny Master achievements from Kanto through Galar.')});
91599161

91609162
//Galar Towns
91619163
TownList.Postwick = new Town(

0 commit comments

Comments
 (0)