Skip to content

Commit

Permalink
Mix and Mega: Don't free Z-Crystals (#10876)
Browse files Browse the repository at this point in the history
  • Loading branch information
HisuianZoroark authored Feb 10, 2025
1 parent d516e02 commit 8994a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/mods/mixandmega/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const Scripts: ModdedBattleScriptsData = {
init() {
for (const i in this.data.Items) {
const item = this.data.Items[i];
if (!item.megaStone && !item.onDrive && !item.onPlate && !item.onMemory) continue;
if (!item.megaStone && !item.onDrive && !(item.onPlate && !item.zMove) && !item.onMemory) continue;
this.modData('Items', i).onTakeItem = false;
if (item.isNonstandard) this.modData('Items', i).isNonstandard = null;
if (item.megaStone) {
Expand Down

0 comments on commit 8994a46

Please sign in to comment.