PkmnHack Posted April 3 Posted April 3 On 4/1/2025 at 7:30 PM, codemonkey85 said: @PkmnHack I can’t seem to figure out what issue you’re talking about. Can you send me some instructions and a screenshot of what you’re seeing? It looks to me like the abilities are working perfectly normally. Expand
Kaphotics Posted April 3 Posted April 3 On 4/3/2025 at 3:51 PM, PkmnHack said: 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. 1
PkmnHack Posted April 3 Posted April 3 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!
Kaphotics Posted April 3 Posted April 3 On 4/3/2025 at 5:41 PM, PkmnHack said: Didn't Work but thanks for the suggestion! 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!)
codemonkey85 Posted April 8 Author Posted April 8 @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))"
Kaphotics Posted April 8 Posted April 8 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. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now