Giter VIP home page Giter VIP logo

Comments (4)

architdate avatar architdate commented on May 28, 2024

This is intended behavior

ALM goes down the list of games to attempt to legalize in each game. Stakataka is possible in sword and shield via max lair so that is likely the legalized pokemon you have gotten.

Max lair like other gen 8 raids follows the XOROSHIRO rng method which allocates the IVs based on a random seed. ALM emulates how the game assigns the seed and the values dependent on the seed.

However the game cannot feasibly check for xoroshiro legality since reversing the seed can be cpu intensive and time consuming.

So if you really want to generate stakataka with those specific ivs, add the following line before GetLegalFromSet

APILegality.UseXOROSHIRO = false;

This should generate the set without bothering with the xoroshiro rng legality

from pkhex-plugins.

architdate avatar architdate commented on May 28, 2024

Please do let me know if that works, and if so close the issue. Thanks 👍

from pkhex-plugins.

Lusamine avatar Lusamine commented on May 28, 2024

Alternate workaround if you want to preserve legality is to use a move or batch editor command to force a gen 7 encounter instead.

Stakataka @ Weakness Policy
Ability: Beast Boost
EVs: 252 HP / 252 Atk / 4 SpD
Lonely Nature
IVs: 17 Def / 0 Spe
=Gen7=true
- Gyro Ball
- High Horsepower
- Rock Slide
- Trick Room
Stakataka @ Weakness Policy
Ability: Beast Boost
EVs: 252 HP / 252 Atk / 4 SpD
Lonely Nature
IVs: 17 Def / 0 Spe
- Toxic
- High Horsepower
- Rock Slide
- Trick Room

from pkhex-plugins.

easyworld avatar easyworld commented on May 28, 2024

Please do let me know if that works, and if so close the issue. Thanks 👍

It works, thank you very much.

Alternate workaround if you want to preserve legality is to use a move or batch editor command to force a gen 7 encounter instead.

Stakataka @ Weakness Policy
Ability: Beast Boost
EVs: 252 HP / 252 Atk / 4 SpD
Lonely Nature
IVs: 17 Def / 0 Spe
=Gen7=true
- Gyro Ball
- High Horsepower
- Rock Slide
- Trick Room
Stakataka @ Weakness Policy
Ability: Beast Boost
EVs: 252 HP / 252 Atk / 4 SpD
Lonely Nature
IVs: 17 Def / 0 Spe
- Toxic
- High Horsepower
- Rock Slide
- Trick Room

It also works, thank you very much.

from pkhex-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.