Lord Blade wrote: ↑Tue Nov 22, 2022 10:10 pm
So, I've been using the edit item script to add the "exorcism" ability on weapons (so that I don't need an army of Clerics for the Palace of the Dead).
Would there be a way to simply have that added as a cheat? Something like "all attacks apply exorcism" so that any attack on a stilled unit kills it off? Would be nice if it could be applied to spells somehow. :p
Also, is there a way to make permanent changes to equipment? Because any changes I make go away when I load the game again.
You can only permanently changes relic and cursed weapon stats. Permanent stuff is always stored in static memory, so if you open memory viewer and see black, those are temporary. Cursed weapon stats are stored after the inventory item counts offsets, just scroll down the memory viewer from the last entry till you see names pop up. Alternatively, you can search for weapon name as well (in static mem of course). Here's a simple visual guide on what offset structure of a cursed weapon looks like in memory viewer:
To see the change, you need to close the game and open again, as this will force the game to repopulate the stat table.
The game allocates enough memory to store up to 5 entries for each weapon type, meaning you can have 5 separate weapons in each type (before the game presumably starts selling extras upon obtaining). In the PSP ver, you can only have 1, maybe the devs want to expand players' options in Reborn.
Scroll past cursed weapons section and you can see where the game store stats for relics. Unlike cursed weapons which are arranged based on weapon types, relics stats are simply appended whenever a relic is added to inv, so the values are arranged in order of obtainment. Each segment starts with equipment id, followed by permanent stat upgrades. Only a subset of these are effective in-game though, depending on the item id. The offset structure for relic is a lot more complicated, as the game keeps track of which relic is sacrificed to upgrade which relic. Again, restart the game to see changes.
As for exorcise, why not just disable undead status on enemies altogether, bonus objectives are overrated anyway.