Merge branch 'beta' into pr-illusion

This commit is contained in:
Lylian BALL 2025-01-26 12:45:13 +01:00 committed by GitHub
commit 24c376a616
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 1373 additions and 5081 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

@ -3183,12 +3183,12 @@ export abstract class HeldItemTransferModifier extends PokemonHeldItemModifier {
break;
}
}
const randItemIndex = pokemon.randSeedInt(tierItemModifiers.length);
const randItem = tierItemModifiers[randItemIndex];
const randItemIndex = pokemon.randSeedInt(itemModifiers.length);
const randItem = itemModifiers[randItemIndex];
heldItemTransferPromises.push(globalScene.tryTransferHeldItemModifier(randItem, pokemon, false).then(success => {
if (success) {
transferredModifierTypes.push(randItem.type);
tierItemModifiers.splice(randItemIndex, 1);
itemModifiers.splice(randItemIndex, 1);
}
}));
}