Jump to content

Recommended Posts

Posted
  On 4/3/2025 at 3:51 PM, PkmnHack said:

 

Pokemon - Ruby Version (U) (V1.1) (3)_1743695063943.png

Pokemon - Ruby Version (U) (V1.1) (3)_1743695067483.png

Expand  

Don't select the second ability slot for pokemon that don't have a second ability.

If the program sets the bitflag for "is second ability", the game will look up the data and find 00, which is "no special ability", because they only have 1 ability programmed.

  • Like 1
Posted
  On 4/3/2025 at 4:29 PM, Kaphotics said:

Don't select the second ability slot for pokemon that don't have a second ability.

If the program sets the bitflag for "is second ability", the game will look up the data and find 00, which is "no special ability", because they only have 1 ability programmed.

Expand  

Didn't Work but thanks for the suggestion!Pokemon-RubyVersion(U)(V1.1)(3)_1743701848580.png.f54b8f2caf573afbf49be99779248a8e.png

Posted
  On 4/3/2025 at 5:41 PM, PkmnHack said:

Didn't Work but thanks for the suggestion!Pokemon-RubyVersion(U)(V1.1)(3)_1743701848580.png.f54b8f2caf573afbf49be99779248a8e.png

Expand  

I can't speak entirely for this app, but I can speculate if there's any automatic-application based on PID. If it's an odd-value PID (instead of even) and the app is setting the bitflag automatically? (This is moreso a troubleshooting guidance for the app author, not the user!)

Posted

@Kaphotics I don't think I'm doing anything particularly weird here? User chooses an ability, and I use PKHeX.Core.CommonEdits.SetAbility() to set it (for Gen III).

If you're curious, this is what the code looks like: https://github.com/codemonkey85/PKMDS-Blazor/blob/2650efd07189eabe7b3f1cc8d91835997f22527c/Pkmds.Rcl/Components/EditForms/Tabs/MainTab.razor#L276

@bind-Value:set="@(ability => Pokemon.SetAbility(ability))"

 

Posted
  On 4/8/2025 at 9:42 PM, codemonkey85 said:

@Kaphotics I don't think I'm doing anything particularly weird here? User chooses an ability, and I use PKHeX.Core.CommonEdits.SetAbility() to set it (for Gen III).

If you're curious, this is what the code looks like: https://github.com/codemonkey85/PKMDS-Blazor/blob/2650efd07189eabe7b3f1cc8d91835997f22527c/Pkmds.Rcl/Components/EditForms/Tabs/MainTab.razor#L276

@bind-Value:set="@(ability => Pokemon.SetAbility(ability))"

 

Expand  

You'd have to debug it; G3PKM's RefreshAbility explicitly checks for not having a second ability, so something else is setting AbilityBit somewhere.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...