diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2022-03-25 09:39:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 09:39:44 -0700 |
commit | 9f98e08fb99112eedd56873b5557c5e4e757dbba (patch) | |
tree | 439b1bce980e4452fcc92999eb62df354ef9b790 /src/pokemon_mid.c | |
parent | a0264b99956cc67dd13704b758dc1f2f4c1480ca (diff) | |
parent | 57f540b320ae8439fe4b42c6149641b877c7ea73 (diff) |
Save work
Diffstat (limited to 'src/pokemon_mid.c')
-rw-r--r-- | src/pokemon_mid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokemon_mid.c b/src/pokemon_mid.c index d57e8a2..11e387e 100644 --- a/src/pokemon_mid.c +++ b/src/pokemon_mid.c @@ -529,7 +529,7 @@ void xxx_pokemonstruct_to_pokemon2_808DE50(struct PokemonStruct2 * a1, struct Po a1->IQSkills = pokemon->IQSkills; sub_808E6F4(&a1->unk54); a1->unk4 = pokemon->unk4; - a1->unk2 = pokemon->unk2; + a1->isLeader = pokemon->isLeader; a1->unkA = a3; a1->speciesNum = pokemon->speciesNum; a1->unk50 = pokemon->unk24; @@ -582,7 +582,7 @@ void xxx_pokemon2_to_pokemonstruct_808DF44(struct PokemonStruct* pokemon, struct pokemon->IQ = a2->IQ; pokemon->IQSkills = a2->IQSkills; pokemon->unk4 = a2->unk4; - pokemon->unk2 = a2->unk2; + pokemon->isLeader = a2->isLeader; pokemon->speciesNum = a2->speciesNum; pokemon->unk24 = a2->unk50; pokemon->pokeHP = a2->unk12; |