- Hacking method: FEbuilder
- Base Game:FE 8
In a hack I am trying to make phantoms function more like regular units. Is there a way to allow phantoms to do things normal units usually can (eg. gaiden spells, rescue, item usage, trade)?
I believe there’s patches for at least some of these, if not, you can try manually editing the code for the commands for Rescue/Trade/etc.
Thanks, I’ll look into the assembly when i get a chance
Might be worth considering changing the unit or class ID that is summoned. See GenerateSummonUnitDef
Decomp search for “phantom” should find all the functions you should consider changing. It might be fewer changes to change what’s summoned in the first place.
https://github.com/search?q=repo%3AFireEmblemUniverse%2Ffireemblem8u%20phantom&type=code
Addresses of functions
https://fireemblemuniverse.github.io/fireemblem8u/symbols.txt
I changed the phantom’s class and unit id already with a patch, Is there a way to turn off a phantom’s “flags” that disallow it from using and trading items
Edit: I’m also using the latest skillsystems and the summon skill in the patch to summon if it’s worth anything
The code checks for their specific class ID in a number of places that I linked. The patch you used changes which class ID is barred from trading, supply, visiting villages, etc
You could try changing it to a nonsense class ID so that phantoms could trade. I’m unsure of specifically what skillsys overwrites, but it’s worth trying.