diff options
Diffstat (limited to 'src/party_menu.c')
-rw-r--r-- | src/party_menu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/party_menu.c b/src/party_menu.c index e98af59ee..553ff0ad0 100644 --- a/src/party_menu.c +++ b/src/party_menu.c @@ -112,6 +112,13 @@ void sub_806AEDC(void) #endif +void SwapPokemon(struct Pokemon *a, struct Pokemon *b) +{ + struct Pokemon temp = *a; + *a = *b; + *b = temp; +} + void SetPartyPopupMenuOffsets(u8 menuIndex, u8 *left, u8 *top, const struct PartyPopupMenu *menu) { u8 bottomOffset = (2 * menu[menuIndex].numChoices) + 2; |