Fix various bugs

This commit is contained in:
Flashfyre committed 2024-02-27 21:34:21 -05:00
1 parent 9bbee12fe3
commit 5766e63272
4 files changed
+10 -13

No files matched your search

+2 -1
View File
@@ -105,7 +105,8 @@ export function getLegendaryGachaSpeciesForTimestamp(scene: BattleScene, timesta
}
export function getTypeGachaTypeForTimestamp(scene: BattleScene, timestamp: integer): Type {
const types = Utils.getEnumValues(Type).slice(1);
const allTypes = Utils.getEnumValues(Type);
const types = allTypes.slice(1, allTypes.length - 1);
let ret: Type;
scene.executeWithSeedOffset(() => {