Kurt
98713f4d7b
Move inventory item clearing to class
...
Fixes ClearItem offset being wrong
2021-12-13 18:31:00 -08:00
Kurt
cacd6e9965
More records/sealing
2021-12-05 23:54:59 -08:00
Kurt
7e4877e7de
Add 3 more useless blocks
...
Spinda registers correctly now, lol
2021-12-04 23:52:33 -08:00
Kurt
88ddc5822e
c#10: readonly record structs
...
Reduces some boilerplate constructors/equality compares
2021-12-04 18:32:35 -08:00
Kurt
f55c5bea66
Minor clean
...
no functional change
2021-12-04 17:56:56 -08:00
Kurt
9a1b2719ec
Add simple legal item filtering for giveall
...
Closes #3318
Gen8: if held item, only give if can be legally held; if dmax crystal, only give if available.
Gen8b: if held item, only give if can be legally held
Others: unimplemented; pull requests accepted.
2021-12-04 12:24:32 -08:00
Kurt
e50bb8f288
Abstract-ify pouch items; acknowledge sort order
...
Closes #3320
Should better handle bdsp inventory format; shows sort order with the now-zero slots
2021-12-02 23:31:48 -08:00
Kurt
b74283560d
Add more useless bdsp saveblock objects
2021-11-30 22:05:20 -08:00
Kurt
8c9fb3a872
Add FieldObjectSave browser
2021-11-30 17:31:46 -08:00
Kurt
1c82b707f3
Add xmldoc, add egglevel get central location
2021-11-30 17:09:46 -08:00
Kurt
1bb3255ab1
Add randomgroup block
...
Still does the same silly ARNG as gen4:
seed = 0x6C078965 * seed + 1;
to advance on each day
Do note that it sets event flag 1711 to true, and sets the absolute value of the "Random" to Work[436]. FLAG_DAILY_RANDOM, WK_DAILY_RANDOM, assumedly for easy use with scripts.
2021-11-28 23:31:01 -08:00
Kurt
0189e84263
Clear all flags on seen none
2021-11-28 11:55:31 -08:00
Kurt
be3af9fba9
Add bdsp poffin editor
...
The RAM is pretty dirty for unallocated poffins; slots that have never been filled will have junk with whatever the unallocated pointer was looking at.
An empty poffin slot is just marked as FF, ignores the stats for that slot. Not sure on the naming, but Matt had a single Level 60 poffin -> must be Mild? Thus, all the names are -1 from the textfile array...
2021-11-27 02:06:35 -08:00
Kurt
fd4dd6e2fb
Indicate teamlocks in boxes
2021-11-26 19:54:07 -08:00
sora10pls
8bce248d95
Crop BDSP Box Wallpapers, re-tile Grass, and fix off-by-one
2021-11-26 22:11:54 -05:00
Kurt
2560d0eb28
Change safari seed to uint
...
matches community handling of seeds
2021-11-26 11:31:00 -08:00
Kurt
5d4a8e5328
Add Mystery Gift records for BDSP
2021-11-26 11:08:51 -08:00
Kurt
6fb1634a2f
Show internal affixed seal enum name for tostring
2021-11-26 09:35:25 -08:00
Kurt
b50791530c
Add ENC_SV_DATA, PLAYER_SAVE_DATA, capsules, UgCountRecord
2021-11-26 01:21:38 -08:00
Kurt
b7c9993bac
Add Misc editor form for bdsp
...
Three clickables so people can stop getting confused about event-bound encounters like Darkrai/Shaymin/Spiritomb
2021-11-25 22:48:09 -08:00
Kurt
02dc4dc8a7
Automatically update v1.1 expanded records on TID/SID change
...
Closes #3305
I think it was actually crashing due to the bad GameClear date record, not this extra record data, but we'll still update the head record
Fix note of ENC_SV_DATA start offset now that we know the real size of Record8b
Add actual maximums for all record entries
2021-11-25 20:05:39 -08:00
Kurt
1a9f9fcfe5
Add more savedata notes
2021-11-25 18:09:05 -08:00
Kurt
95bdde69a7
Add more savedata abstractions
...
Array sizes for the top level structures are now noted, should make it easier to determine the shape of them & offsets.
2021-11-25 16:38:58 -08:00
Kurt
d79864b049
Add seal list editor
...
Inject all the stickers you want.
2021-11-24 17:51:12 -08:00
Kurt
a7ab45746c
Set both gender flags for genderless species
...
Nice deviation from mainline logic :)
2021-11-24 17:02:29 -08:00
Kurt
dc0f56e790
Add underground save structure documentation
2021-11-24 00:45:11 -08:00
Kurt
086c6492f2
Add trainer rebattle status block logic
2021-11-22 20:54:12 -08:00
Kurt
97960d4439
Add placeholder berrytree+poffin blocks
2021-11-22 20:20:57 -08:00
Kurt
1ab895a6c4
Restrict constructor to BDSP save type
2021-11-22 19:31:19 -08:00
Kurt
d81f832a61
Fix Record8b capping first record (uncapped)
2021-11-22 19:30:51 -08:00
Kurt
4b40414b8b
Add BattleTower work reader, move BP get/set into it
2021-11-22 19:30:28 -08:00
Kurt
a9bc86bb13
Clear deleted item slots
...
Closes #3304 ty @MewtwoFanz
2021-11-21 17:49:34 -08:00
Kurt
9b8f1c8305
Allow multiple diggerdrill
2021-11-21 12:52:16 -08:00
Kurt
32edb660ce
BDSP: Add underground item-inventory editor
2021-11-21 11:33:04 -08:00
Kurt
ee567a7d15
Add systemtime, (underground item, poketch, both no GUI)
...
systemtime to be integrated to trainer info editor later
2021-11-20 23:54:27 -08:00
Kurt
9d5cff5221
Add daycare reader, show playtime in backup filename
2021-11-20 19:10:42 -08:00
Kurt
6980026ca2
Add BDSP trainer stat records
...
Continue crawling down the serialized savedata structure :)
2021-11-20 15:40:18 -08:00
Kurt
723514e89c
Update 21.11.19 - Brilliant Diamond & Shining Pearl ( #3289 )
...
Big thanks to @SciresM @sora10pls @Lusamine @architdate @ReignOfComputer for testing and contributing code / test cases. Can't add co-authors from the PR menu :(
Builds will fail because azure pipelines not yet updated with net6.
2021-11-19 18:23:49 -08:00
Kurt
3bf8d2fe07
Add rival string editing for all remaining games
...
Block Editor for direct edits, no GUI
Co-Authored-By: FeralFalcon <33670476+FeralFalcon@users.noreply.github.com>
2021-10-10 16:11:46 -07:00
Kurt
40031fd94d
Fix give all goods for ORAS secret base
...
was overwriting pokepuffs, oops
2021-10-08 12:43:24 -07:00
Kurt
08b7d7ebfe
Update Misc5.cs
...
#3259
2021-09-18 17:52:58 -07:00
Kurt
0c83da7c1b
Add Poké Transfer minigame score editing (Gen 5)
...
Closes #3259
Co-Authored-By: FeralFalcon <33670476+FeralFalcon@users.noreply.github.com>
2021-09-18 16:31:22 -07:00
Kurt
4fb0f96dc4
Add daycare slot view for lgpe
...
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
2021-09-16 14:21:44 -07:00
Kurt
26422bc17c
Add Crystal blue card points get/set
...
Co-Authored-By: FeralFalcon <33670476+FeralFalcon@users.noreply.github.com>
#3258
2021-09-16 13:16:12 -07:00
Kurt
819b884b19
Update EventWork7b.cs
2021-09-05 13:07:33 -07:00
Kurt
a7ed5b400f
Add Trainer Class / Title property for LGPE
2021-09-04 22:04:49 -07:00
Kurt
f9d9bcfb80
XD: Purification is stored differently for jp games
...
A more condensed data structure, 72->60 bytes for each entry instead.
Closes #3255
Related? #2956
2021-09-03 18:16:09 -07:00
Kurt
6e9f230dee
Add cxd/rsbox event data for mainline sav3
...
Closes #3248
2021-08-22 18:52:29 -07:00
Kurt
8f0fb902d1
ArgumentException -> ArgumentOutOfRangeException
2021-08-21 16:51:50 -07:00
Kurt
5da9b4a70a
Force alignment
...
FieldOffset isn't implied, fun.
2021-08-20 22:07:09 -07:00