Commit Graph

11038 Commits

Author SHA1 Message Date
Kurt
fb52a5ef18 Update EffortValueVerifier.cs
Closes #4679
ty @andrebastosdias !

Revise untrained EV check to flag Pokespot encounters (the only varied level range encounter in gen3/4) where min level might be less than the actual level it was obtained at. If/when pokespot correlation is better refined, can switch to evotree level min for a gen3->4 transfer, so that something at a not-minimum exact level can be flagged if it has non-Vitamin EVs.
2026-01-02 13:10:17 -06:00
Kurt
5f65b333ba Update dependencies
Minor simplification in QRCode gen
2025-12-31 02:12:20 -06:00
Kurt
fc167caea3 Update readmes per net10/c#14 2025-12-31 01:50:51 -06:00
Kurt
2c541ad422
Update to .NET 10 (#4676)
* Update to .NET 10
* Property fields
* API signature updates
* Extension method blocks

* Completed dark mode support
  Outside of my control:
- vertical tab control (pkm editor)
- datetimepicker controls
- lgpe event flags (no idea)
- some control types having white-borders when they should really be gray

Box background is 50% transparency to effectively darken the image.

* Custom legality report popup
* Event diff dialog, version select dialog
* Add quick overwrite popup for export sav
* Extension methods
* Dark Mode: glow currently editing sprite
* Add invalid encounter hint for trade evolutions
* Extension properties
* Append legality hint on hover card
* Slot image loading: clear the screen-reader description if a slot is empty/invalid, rather than retain the previous description. Changing boxes would easily confuse users on this.
2025-12-31 01:42:05 -06:00
Parnassius
4ee9e4ad31
Misc fixes for FormInfo (#4678) 2025-12-31 01:21:44 -06:00
Parnassius
af98a5b5e9
Fix FormInfo.IsBattleOnlyForm for Zygarde-Complete (#4677) 2025-12-30 12:10:40 -06:00
Parnassius
972aaba5fa
Add Zygarde to FormInfo.BattleMegas (#4667)
`IsBattleMegaForm` already checks for Mega Zygarde, but since it's only
called if the species is in `BattleMegas`, both `IsBattleOnlyForm` and
`IsMegaForm` currently return false for Mega Zygarde
2025-12-29 15:24:40 -06:00
RandomGuy
3ca4acd7d2
Add Donut Flavor Profile Display to Donut Editor (#4673)
* Add Donut Flavor Profile Display to Donut Editor

* Update profile on berry change
2025-12-29 15:20:54 -06:00
RandomGuy
870c10ea5e
Refactor SAV_Misc3 Battle Frontier editor to use object-oriented block (#4670)
* Refactor SAV_Misc3 Battle Frontier editor to use object-oriented block class

Replaces direct byte array manipulation with BattleFrontier3 struct:
- Encapsulates all offset calculations and data access
- Uses type-safe enums for facilities, modes, and stats
2025-12-29 14:56:10 -06:00
902PM
305a2733c6
Update Japanese Flags Translations (#4671)
* Update const_c_ja.txt
* Update flags_c_ja.txt
* Update flags_gs_ja.txt
* Update flags_dp_ja.txt
* Update flags_pt_ja.txt
* Update const_bw_ja.txt
* Update const_b2w2_ja.txt
* Update flags_c_ja.txt
2025-12-29 14:13:14 -06:00
Kurt
e1f6847ed9 Extend duplicate mega stone checker -> unique
Now covers primal orbs too.
Update translations, enhanced to show the item ID that they're duplicate (less to check when inspecting an output)
2025-12-29 14:11:35 -06:00
Kurt
d6cb992d11 Fix typo
happy now, cleo-caretaker?
2025-12-21 14:26:10 -06:00
Kurt
61a13fda08 Update EncounterStatic9a.cs 2025-12-21 14:20:27 -06:00
Kurt
31edf20c87 Update 25.12.21
Moves one of the Evolution deferral checks to the encounter template where it triggers; no other encounter case will trip that check so it's OK to move it there. One less thing for every other encounter to check.

Revises the "met date present but no met location" to only flag if the encounter was matched to something. It'll already yell at mismatched encounters, no need to pile on more. The check only exists for eggs (no location).
2025-12-21 12:59:55 -06:00
Kurt
7d1bcfa354 Z-A: Add Street Name side-mission string 2025-12-20 14:49:22 -06:00
Kurt
6609dd210b Misc legality fixes for Z-A alterations
- Evolving knowing move: relearnable additions in the evolved stage was bypassing the requirement (Sylveon can relearn Charm at any level, but Eevee cannot). Prune tree to only check if pre-evolutions could have learned move.
- FormArgument requiring a minimum level to actually use the move (Primeape). Probably isn't a "complete" check, since it's implemented differently compared to Qwilfish's logic. Might be worth revising in the future to be consistent (using the same as Primeape logic? if in game, and can learn, can increase from 0).
- Flag Hangry Morpeko if cannot learn Aura Wheel yet
- Flag mega evo mismatches for Tatsugiri/Magearna/Meowstic
- Permit mega meowstic gender in party

- Remap DLC TMs (I forgot this remapping was needed; pkNX dumped it but I didn't update the table until now...)
2025-12-20 14:44:08 -06:00
RandomGuy
1edfbfab0e
Add Flavor Image Display to Donut Editor (#4666) 2025-12-20 12:45:10 -06:00
hexbyt3
cdbc2b5599
Z-A: Remove outdated comment in BallUseLegality.cs (#4664)
Removed comment for Dream/Beast Ball legality in ZA. Ball is available with the introduction of the Mega Dimension DLC.
2025-12-18 16:16:52 -06:00
间辞
bc0f255ae3
Z-A: Add CHS translation for trainer editor Collect TMs button (#4663) 2025-12-18 16:14:55 -06:00
sora10pls
2bba2b2c8d Unban Baxcalibrite 2025-12-18 07:52:40 -05:00
RandomGuy
bb41fb70e6
Add Star Display to Donut Editor (#4662) 2025-12-17 23:36:49 -06:00
Kurt
311314c3d3 Update FormArgumentVerifier.cs 2025-12-17 23:11:31 -06:00
Makio
58b2c31a66
Implement flavor score and star calculation for donuts (#4661)
* Implement flavor score and star calculation for donuts

Added logic to compute the flavor score and assign star ratings based on defined thresholds in the RecalculateDonutStats method. This enhances donut stat recalculation by including flavor and star values.

120 Points: 1 star
240 Points: 2 stars
360 Points: 3 stars
700 Points: 4 stars
960 Points: 5 stars
2025-12-17 23:05:16 -06:00
Kurt
b3fc5c62bf Update IFormArgument.cs 2025-12-17 11:39:03 -06:00
Kurt
19fde890fe Update personal_za 2025-12-17 10:28:13 -06:00
Professor Dirty
ada5d76a99
Update B/W Event Flags CHS Translation (#4659) 2025-12-17 02:53:38 -06:00
Kurt
3e0ea816cb minor tweaks
No functional change
2025-12-17 02:39:32 -06:00
Kurt
7695fb05bc Add handling for rotom form change
Plus moves permitted for all forms
(Wild) Encounter recognized if form is changed
2025-12-17 02:32:56 -06:00
Kurt
1d30ad0b43 Fix Raichu-1 alpha move required 2025-12-17 02:12:00 -06:00
Kurt
64f655b5b6 Z-A: Allow farfetch'd-1/sirfetch'd formarg
Revises the API for requesting a suggested Form Argument, based on visitation to various games with different rules.
2025-12-17 02:11:51 -06:00
Kurt
b078e0e735 Z-A: Disallow trading primal orbs 2025-12-17 02:10:54 -06:00
Kurt
7c63cacebc Z-A: Disallow holding Gimmighoul Coin
Only 3 items are classified as CanNotHold -- screw, coin, and rotom catalog (key item)
2025-12-17 02:10:41 -06:00
间辞
6b23c4b7d5
Update CHS translation of donut editor (#4658)
And hyperspace survey points in trainer editor
both new additions in the most recent release
2025-12-16 02:47:51 -06:00
Kurt
e5477d6e2d Disallow cherish ball
lol, lmao even
2025-12-16 02:37:50 -06:00
Kurt
e95dddd86d Fix initial move application of low leveled mons
Relearn moves shouldn't really be applied by default (fixes honedge expecting Sacred Sword)
Add edge case for modified learnset (Espurr) pre-dlc as an untouched level 7-8 capture. Only need 3 moves.

ty abby on discord
2025-12-16 01:18:13 -06:00
Kurt
c8eb4f548f Update 25.12.15 2025-12-15 23:19:16 -06:00
Kurt
a2a209ff2c Fix parse type on different columns
ColumnValue1 is long
ColumnValue2 is ulong

a value > long.MaxValue in ColumnValue2 would popup an error message on form load.
now fixed
2025-12-15 22:41:31 -06:00
Kurt
de2c6151e6 Minor tweaks
Simplify moveset application for Z-A; less branching since they all do essentially the same thing. The API is pretty stable so the simplifications are safe.
2025-12-15 22:34:57 -06:00
Kurt
84912a16e7 Misc encounter search/mutating fixes
ty santacrab
2025-12-15 22:33:42 -06:00
Kurt
ac25835d65 Finish Donut struct (0x00 is milliseconds!)
Interlink the GUI for ticks+calendar so that modifying one updates the other if applicable.

add randomize (very simplistic, just pick a random lv3 power)
add all-shiny (sparkling, alpha/big/little, catching)
2025-12-15 22:33:11 -06:00
Kurt
d45cdcb9e0 Misc tweaks
Fixes default moves being in inverse order
2025-12-15 15:28:26 -06:00
Kurt
6cefac2656 Update Primeape/Qwilfish formarg evo logic
Needs long-form logic to be more maintainable.

Closes #4656

Co-Authored-By: Dennis <64029159+CScorpion-h@users.noreply.github.com>
2025-12-15 01:40:01 -06:00
Kurt
9840120161 Add dragdrop for donut file
Export dialog now shows localized donut name rather than "donut"
2025-12-15 00:41:46 -06:00
Kurt
89fb9b0471 last batch of 🥒
- Updates the hyperspace pkl, adds the special band mons with their dedicated spawner's higher boost level
- Updates the overworld pkl, adds the feebas spawn (2 spawners, same location & data)

Add steelix to onix's plus move permit bypass, oops.

Interesting to note that Latias/Latios had some flying band encounters, but there's no spawner to generate them?
2025-12-15 00:00:14 -06:00
Kurt
4d5480e64c Update DonutEditor9a.cs 2025-12-14 20:06:07 -06:00
Kurt
1c4070b6a8 Update hyperspace encounters, misc checks
Adds pickle from all possible random encounter sets in hyperspace
Updates some formarg checks for certain species
Updates plus move checks for movesets that were revised by DLC

Hyperspace encounters are in a separate array, with a different slot type

Add note for Teensy/Humungo for wild encounters causing a fixed scale value rather than random.

Should be noted that this is a first-stab at encounters, and things have not been tested sufficiently to ensure the level ranges/etc are actually good data. please don't use the encounters yet; this just gets it out to testers for finding more edge cases.
2025-12-14 20:01:07 -06:00
sora10pls
0bc805b973 Add initial handling for donut icon loading 2025-12-14 17:57:42 -05:00
Kurt
29d364067a Donut9a: guard against bad donuts
moldy donuts yuck
2025-12-14 14:00:47 -06:00
Kurt
47cd845d05 Add placeholder donut picturebox, update layout 2025-12-14 13:31:50 -06:00
Kurt
5d0f1c9c37 Update SAV_Misc3.cs
Closes #4652

Co-Authored-By: Ryan Gabel <98432212+rjgabel@users.noreply.github.com>
2025-12-14 10:54:10 -06:00