https://gbatemp.net/threads/pokemon-brilliant-diamond-shining-pearl-cheat-database.602559/post-9654134
If the code I posted last time causes a problem with items disappearing, the following code may work correctly.
TID:0100000011D90000
BID:EA058A067CBD6943
(1.1.0)
[All Items 900-1]
580A0000...
I tested the code with the latest version of Atmosphere and did not experience the disappearing items phenomenon.
However, I do understand the part I left out and will fix the code later.
Here is the code for the two balls.
[999x Dream Ball]
580A0000 0472AD60
580A1000 000000B8
580A1000 00000000...
I understand your question, but I don't have the ability to write such advanced code.
If someone can create the code, it would be appreciated by many people.