@Retroboy Inventory Editing.
@dsrules ,
@piplupwater thanks for telling me about the byte reversing. I'd still like to know why you have to do that, as it'd make it easier to remember if I know the 'why'. But regardless, now I know.
For Bravely Default (U) the inventory starts at 02780B90, and the last writable slot seems to be 02781e48-02781e4c
I haven't tried adding an item to a random slot yet, but if you add in the order the game expects, meaning right after the last item you've got, it works fine.
The item value is two bytes, the first byte would appear to be the actual item value, the second being the item category. Example, 4B 9C 00 00 63 means you've got 99 turbo ethers.
9C either being for all consumables or healing consumables, I'm not sure, as I haven't tried messing with the damaging consumables yet.
Items start at 0 and 8 offsets from 02780b90 to 02781e48
Item amounts are at 4 and c from 02780b94 to 02781e4c
The first slot may be a key item, it's something I only have one of. So I went with the second slot.
Ed: The first slot's just a linen cuirass. change the code accordingly if you want to use it instead.
Change second slot item:
02780b98 0000xxxx
99 of second slot item:
02780b9c 00000063
so far,
@piplupwater discovered Megalixirs are 9C4D for the purposes of this code.
I found;
Elixir (Mammon), 9CCD
Hp Bun, 9CD4
MP bun, 9CD5
Str bun, 9CD6
vit bun, 9CD7
int bun, 9CD8
mnd bun, 9CD9
agi bun, 9CDA
dex bun, 9CDB
Linen Cuirass, 76c0
Crystal Vest, 76cb
Lordly Robes, 76d5
Vestal Garb (wearable), 76d6
Bravo Bikini (wearable), 76d7
9cdc seems to freeze the game, so I think there are some item values the game doesn't use. Come to think of it I think 9C4C froze the game before too... that was one of the issues preventing me from figuring this out before.
So I found a few slots which didn't fit the norm. I'm guessing they're key items, or asterisks.
00xxxxxx
015fac Dark Knight Asterisk (Giving yourself asterisks you didn't earn doesn't let you use the job)
015fa7 Ninja Asterisk