diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2020-01-12 14:30:11 -0500 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2020-01-12 14:30:11 -0500 |
commit | 9c6eba2249b8bafc277b01deb94124c6639c54b0 (patch) | |
tree | 58724e4b5d4c725dc6aad3faf3d620818ce1f2a0 /src/script_pokemon_util_80A0058.c | |
parent | bcf07cb83718813d1ca44475aa4a34ee1d52c39e (diff) |
Address review comments
Diffstat (limited to 'src/script_pokemon_util_80A0058.c')
-rw-r--r-- | src/script_pokemon_util_80A0058.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script_pokemon_util_80A0058.c b/src/script_pokemon_util_80A0058.c index 14f5d490f..6477f4a4d 100644 --- a/src/script_pokemon_util_80A0058.c +++ b/src/script_pokemon_util_80A0058.c @@ -77,7 +77,7 @@ u8 ScriptGiveMon(u16 species, u8 level, u16 item, u32 unused1, u32 unused2, u8 u u8 ScriptGiveEgg(u16 species) { struct Pokemon *mon = AllocZeroed(sizeof(struct Pokemon)); - u8 isEgg; + bool8 isEgg; bool8 sentToPc; CreateEgg(mon, species, TRUE); @@ -208,7 +208,7 @@ void ReducePlayerPartyToThree(void) CpuFill32(0, gPlayerParty, sizeof gPlayerParty); - // overwrite the first 4 with the order copied to. + // overwrite the first 3 with the order copied to. for (i = 0; i < 3; i++) gPlayerParty[i] = party[i]; |