[P5] Help with adding party members.
So I'm creating a mod that alters a bit the story and I need to add Akechi to the party after he "dies" in Shido's Palace. I tried doing PARTY_IN( 9 ) and it does add him to my party, but then if I remove him, he gets removed from my party and I can't add him back. Anyone can tell me how to fix this?
Currently working on: Something useless.
- DeathChaos
- Posts: 12
- Joined: Sun Jun 07, 2020 4:40 pm
- Been liked: 6 posts
PARTY_IN only adds the unit to your party, it does not mark them as unlocked or usable.
You can use this code to permanently toggle Akechi as unlocked;
Please let me know if it worked as my math might be off.
You can use this code to permanently toggle Akechi as unlocked;
Code: Select all
BIT_ON( 0 + 0x0800 + 0x0800 + 0x1000 + 0x0100 + 48 + 9 );
Sorry to take your time,DeathChaos wrote: ↑Sat Apr 17, 2021 4:34 pm PARTY_IN only adds the unit to your party, it does not mark them as unlocked or usable.
You can use this code to permanently toggle Akechi as unlocked;
Please let me know if it worked as my math might be off.Code: Select all
BIT_ON( 0 + 0x0800 + 0x0800 + 0x1000 + 0x0100 + 48 + 9 );
it doesn't seem to work.
in the normal code of the event there is
Code: Select all
BIT_ON( 0 + 0x0800 + 0x0800 + 0x1000 + 0x0100 + 216 );
I recall the mod menu does something like this:
Code: Select all
int var161 = SEL_GENERIC_NOT_HELP( 216, 218 ) + 48;
if ( var161 == 47 )
{
return;
}
BIT_ON( 0 + 0x0800 + 0x0800 + 0x1000 + 0x0100 + var161 );
Currently working on: Something useless.
- DeathChaos
- Posts: 12
- Joined: Sun Jun 07, 2020 4:40 pm
- Been liked: 6 posts
Ok I figured out the exact flag you need, it's flag 0x2137.
So calling BIT_ON with this flag should permanently unlock Akechi.
So calling BIT_ON with this flag should permanently unlock Akechi.
Created by ShrineFox. Maintained 2020 - 2024.
Support | Privacy | Terms
This site is NOT affiliated, associated, authorized, endorsed by, or in any way officially connected with Atlus Co., Ltd, Atlus U.S.A., Inc. or Sega Games Co., Ltd, or any of its subsidiaries or its affiliates.
Support | Privacy | Terms
This site is NOT affiliated, associated, authorized, endorsed by, or in any way officially connected with Atlus Co., Ltd, Atlus U.S.A., Inc. or Sega Games Co., Ltd, or any of its subsidiaries or its affiliates.