From b7c444cee5ae14b48b5c5f2fc4e2c595bb0a29dc Mon Sep 17 00:00:00 2001 From: Aurastic <33085835+ISenseAura@users.noreply.github.com> Date: Sat, 18 Oct 2025 00:37:19 +0530 Subject: [PATCH] make plza default (#11511) --- server/chat-plugins/wifi.tsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/server/chat-plugins/wifi.tsx b/server/chat-plugins/wifi.tsx index 5b8d3f660f..8d9635f31b 100644 --- a/server/chat-plugins/wifi.tsx +++ b/server/chat-plugins/wifi.tsx @@ -124,7 +124,7 @@ abstract class Giveaway extends Rooms.SimpleRoomGame { constructor( host: User, giver: User, room: Room, ot: string, tid: string, ivs: string[], - prize: PokemonSet, game: Game = 'SV', ball: string, extraInfo: string + prize: PokemonSet, game: Game = 'Z-A', ball: string, extraInfo: string ) { // Make into a sub-game if the gts ever opens up again super(room); @@ -404,7 +404,7 @@ export class QuestionGiveaway extends Giveaway { if (!!ivs && ivs.split('/').length !== 6) { throw new Chat.ErrorMessage(`If you provide IVs, they must be provided for all stats.`); } - if (!game) game = 'SV'; + if (!game) game = 'Z-A'; game = gameidToGame[toID(game)] || game as Game; if (!game || !['SV', 'BDSP', 'SwSh', 'Z-A'].includes(game)) { throw new Chat.ErrorMessage(`The game must be "SV," "BDSP," "SwSh," or "Z-A".`); @@ -602,7 +602,7 @@ export class LotteryGiveaway extends Giveaway { if (!!ivs && ivs.split('/').length !== 6) { throw new Chat.ErrorMessage(`If you provide IVs, they must be provided for all stats.`); } - if (!game) game = 'SV'; + if (!game) game = 'Z-A'; game = gameidToGame[toID(game)] || game as Game; if (!game || !['SV', 'BDSP', 'SwSh', 'Z-A'].includes(game)) { throw new Chat.ErrorMessage(`The game must be "SV," "BDSP," "SwSh," or "Z-A".`); @@ -1614,8 +1614,8 @@ export const pages: Chat.PageTable = { Game:
- - + +



{generatePokeballDropdown()}

@@ -1641,8 +1641,8 @@ export const pages: Chat.PageTable = { Game:
- - + +





@@ -1789,8 +1789,8 @@ export const pages: Chat.PageTable = { Game:
- - + +



{generatePokeballDropdown()}

@@ -1813,8 +1813,8 @@ export const pages: Chat.PageTable = { Game:
- - + +





@@ -1961,8 +1961,8 @@ export const pages: Chat.PageTable = { Game:
- - + +



{generatePokeballDropdown()}

@@ -1985,8 +1985,8 @@ export const pages: Chat.PageTable = { Game:
- - + +