Merge branch 'beta' into instruct
This commit is contained in:
commit
f44bdd2709
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 |
|
@ -1 +1 @@
|
||||||
Subproject commit e07ab625f2080afe36b61fad291b0ec5eff4000c
|
Subproject commit 5ef993b95fa8248adc0fb7d9489baccf546bf8e3
|
|
@ -3183,12 +3183,12 @@ export abstract class HeldItemTransferModifier extends PokemonHeldItemModifier {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const randItemIndex = pokemon.randSeedInt(tierItemModifiers.length);
|
const randItemIndex = pokemon.randSeedInt(itemModifiers.length);
|
||||||
const randItem = tierItemModifiers[randItemIndex];
|
const randItem = itemModifiers[randItemIndex];
|
||||||
heldItemTransferPromises.push(globalScene.tryTransferHeldItemModifier(randItem, pokemon, false).then(success => {
|
heldItemTransferPromises.push(globalScene.tryTransferHeldItemModifier(randItem, pokemon, false).then(success => {
|
||||||
if (success) {
|
if (success) {
|
||||||
transferredModifierTypes.push(randItem.type);
|
transferredModifierTypes.push(randItem.type);
|
||||||
tierItemModifiers.splice(randItemIndex, 1);
|
itemModifiers.splice(randItemIndex, 1);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,7 +111,7 @@ export default class MenuUiHandler extends MessageUiHandler {
|
||||||
render() {
|
render() {
|
||||||
const ui = this.getUi();
|
const ui = this.getUi();
|
||||||
this.excludedMenus = () => [
|
this.excludedMenus = () => [
|
||||||
{ condition: globalScene.getCurrentPhase() instanceof SelectModifierPhase, options: [ MenuOptions.EGG_GACHA, MenuOptions.EGG_LIST ]},
|
{ condition: globalScene.getCurrentPhase() instanceof SelectModifierPhase, options: [ MenuOptions.EGG_GACHA ]},
|
||||||
{ condition: bypassLogin, options: [ MenuOptions.LOG_OUT ]}
|
{ condition: bypassLogin, options: [ MenuOptions.LOG_OUT ]}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue