Commit Graph

749 Commits

Author SHA1 Message Date
Kurt
2e79aef4fd Fix generic editor anchoring
Closes #349
2025-04-09 00:08:58 -05:00
sora10pls
791564d4ad Add schemas for Pokémon behavior and AI
Didn't include collision/stain, don't really care
2025-03-21 11:10:51 -04:00
sora10pls
c578998827 Update TrinitySceneObject.fbs 2025-03-09 14:28:58 -04:00
Matt
78d693aba1
Update README.md 2025-02-08 11:32:45 -05:00
Kurt
9a6126511c Handle some warnings 2025-02-07 11:35:48 -06:00
Kurt
ddffb91cf5
Enhance FlatSharp generated code with Attributes, TypeConverter (#391)
Fixes #390
Fixes #382
Fixes #381
Fixes #370
Fixes #355
2025-02-07 09:51:37 -06:00
Kurt
38a9c45fef Fix labeling of placement flag/work conditionals 2025-01-29 01:09:48 -06:00
Kurt
a3f53c3a63 Fix map viewer
Closes #336 -- BinarySearchByFlatBufferKey only works if the array is sorted... nice job gamefreak with O(n) search instead of O(logn).
Closes #351 via previous commit for fbs defaults.
2025-01-29 00:50:55 -06:00
Kurt
377f3ae6f5 Update PlacementZoneAdvancedTipHolder.fbs 2025-01-27 22:45:39 -06:00
Kurt
5c723a345d PLA: remove default fbs defs
impacts serialization/deserialization. need to keep 0 as the no-data value, not "use this when ctor'ing new obj"
2025-01-27 22:42:14 -06:00
Lusamine
ac0f650cc6 Filter out uncatchable SV fixed spawns by AI action 2025-01-12 19:46:25 -06:00
Kurt
7a67dd55ac Update EncounterDumperSV.cs 2025-01-12 13:58:38 -06:00
Kurt
fbe49eb698 Update EncounterDumperSV.cs 2025-01-12 13:46:19 -06:00
Kurt
ef212f3b82 Fix SV fixed symbol minior form -> pkl
Not form random, but convert to out-of-battle form ID
2025-01-11 23:30:34 -06:00
sora10pls
d15562d6ee Update and differentiate PokemonModel/FieldPokemon
The schemas start off similarly, but are not identical. Still unsure what exactly FieldPokemonComponent is even used for, but include it anyway.
2024-12-27 19:53:32 -05:00
sora10pls
cb3262868b Remove fs_valueStruct from AjitoCommonLevelStruct
Currently unsure why the fs_writeThrough tag is disallowed for structs/tables, will need to properly fix this someday. Dumpers still work fine, so this is sufficient for now.
Allows for editing Star Barrage data.
2024-11-19 20:56:38 -05:00
nvbeusekom
cead368c50
SWSH Randomization functionality (#384)
* Fix count for SwSh 1.3.2. + DLC

* Update trading dialogue

* Add Placement (overworld item) randomization
2024-11-04 15:54:16 -06:00
Lusamine
1feded040c Remove LA trees that can't have encounters 2024-10-22 11:59:53 -05:00
sora10pls
fa1d01dc0a Add TrinityCharacterCreationMasterComponent schema
Field14 varies between many overworld objects, but its use is unclear to me at the moment
2024-09-23 22:13:56 -04:00
Kurt
51fe9491ec Update PersonalInfo9SV.cs 2024-09-16 09:08:04 -05:00
abcboy101
ef0759ab05
Preserve TextFile flags (#380) 2024-08-23 18:32:28 -05:00
Dr. Victor Vasconcelos
dcc373dc34
Add value options for multiple Move variables (#352)
* Create MoveInflict.cs

* Create MoveStat.cs

* Rename pkNX.Structures/MoveStat.cs to pkNX.Structures/Move/MoveStat.cs

* Create MoveCritStage

* Rename MoveCritStage to MoveCritStage.cs

* Update MoveStat.cs

* Update MoveInflict.cs

* Update MoveStat.cs

* Update MoveInflict.cs

* Update MoveInflict.cs to include Tri Attack
2024-08-23 17:35:28 -05:00
sora10pls
5b5a196bdb Fix Kitakami/Blueberry dex write 2024-05-21 08:04:27 -04:00
sora10pls
32961d3952 Add ti_FieldPokemonComponent struct
same as ti_PokemonModelComponent
2024-05-14 09:46:03 -04:00
sora10pls
c7dabe00b6 Update tiPokemonModelComponent schema with known fields 2024-05-10 20:58:35 -04:00
Kurt
d941448216 Update dependencies
Closes #367
2024-05-10 19:07:39 -05:00
Kurt
ca8bc605f2 Fix goofy constructor
compiler generated code eats the primary constructor assignment
2024-04-29 00:23:31 -05:00
Kurt
4deec6fc7a Try to fix pipeline error for test project paths
remove & re-add the two csproj's that were using relative paths

Update dependencies -- FlatSharp improved in 7.5 & 7.6 to give better codegen (CheckForOverflowUnderflow false default, less JIT code)
2024-04-22 17:24:18 -05:00
Kurt
dcf6b0043b Fix EV yield bit ordering
oopsies

https://github.com/kwsch/PKHeX/issues/4252

also includes a minor clean for TextVariableCode
2024-04-22 13:19:03 -05:00
Lusamine
95d0937fd8 Dump LA Ginkgo Guild rare item tables 2024-04-02 12:44:15 -05:00
Kurt
7a2e1d56e7
Update README.md
Closes #365
2024-03-09 21:53:54 -06:00
Kurt
4756bc1774
Update TextFile.cs
Closes #364; delete any corrupted text files as the previous save method would jumble the args and variable
2024-03-07 12:59:10 -06:00
Kurt
4c16905249 Use c#11 features 2024-03-04 20:19:09 -06:00
Kurt
4ecb98d9d1 Reduce allocations in text string read/write
Lots of work still needed to make it more elegant.
2024-03-04 09:32:42 -06:00
Kurt
7e6b3c9b27 Revise TextFile variable parse length checks 2024-03-04 00:04:11 -06:00
Kurt
7d0d7b4042 Ban fixed spawns by pattern.watch 2024-01-15 18:43:26 -08:00
Kurt
79903c4821 Add handling for edge case encounters
Raid flatbuffers with incorrect move specs
Fixed spawns can be 123, not just 12 (need to encode)
Handle surskit incorrect area filter (now appears in area 4)
2023-12-27 00:23:33 -08:00
sora10pls
ad4484a2eb Add ClubRoomNpcPairTable dumper 2023-12-25 11:04:41 -05:00
Kurt
c181db68ff Minor clean
Handle some nullable warnings, style c#12
2023-12-21 12:31:00 -08:00
Kurt
26e7a0d937 Misc tweaks
Add lc (empty testing set)
Add underdepths fixed spawns
2023-12-20 23:41:57 -08:00
Kurt
f2faa6aab4 Account for random stellar choice points 2023-12-20 20:19:19 -08:00
sora10pls
7d9e5f3dae More schema/enum updates 2023-12-20 17:42:38 -05:00
sora10pls
b3c2c3b73c Update BCAT dumpers for sudachi2
Also include a separate outbreak pretty dump without all zones listed, for easy digestion
2023-12-19 22:32:14 -05:00
Lusamine
78fe600b1c Add SV ability dump 2023-12-19 18:05:03 -06:00
sora10pls
177a596f33 Update some enums per sudachi2 2023-12-19 10:50:47 -05:00
Kurt
1de3303048 Minior form rand, pickle bb fixed spawns 2023-12-18 23:41:25 -08:00
sora10pls
6cb4d9ffa7 Fix building 2023-12-18 20:35:54 -05:00
Kurt
9d5aa0aa06 Update for SV 3.0.0 2023-12-17 17:57:24 -08:00
sora10pls
6b7e81eaf4 Update MassOutbreakRipper.cs 2023-12-07 20:30:30 -05:00
Kurt
18bd61577b Update dependencies
FlatSharp 7.4.0 now can use .NET 8
2023-12-05 21:20:09 -08:00