diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2019-01-26 14:50:24 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2019-01-26 14:50:24 +0100 |
commit | 0688725afb36ae02c4f4904dfe02aa6b8e8e29fa (patch) | |
tree | 27ed2b88ac07216274221b94954e0db343862b87 /src/trainer_card.c | |
parent | 08a3533682706283fa7e563f26bd06984010628e (diff) |
Document and decompile more of frontier pass.
Diffstat (limited to 'src/trainer_card.c')
-rwxr-xr-x | src/trainer_card.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trainer_card.c b/src/trainer_card.c index cde15ae34..e4b9c5edf 100755 --- a/src/trainer_card.c +++ b/src/trainer_card.c @@ -8,6 +8,7 @@ #include "link.h" #include "bg.h" #include "sound.h" +#include "frontier_pass.h" #include "overworld.h" #include "menu.h" #include "text.h" @@ -90,7 +91,6 @@ struct TrainerCardData //external functions extern u8 sub_80D30A0(u16); -extern void sub_80C5868(void); // EWRAM EWRAM_DATA static struct TrainerCardData *sData = NULL; @@ -1754,7 +1754,7 @@ void ShowPlayerTrainerCard(void (*callback)(void)) { sData = AllocZeroed(sizeof(*sData)); sData->callback2 = callback; - if (callback == sub_80C5868) + if (callback == CB2_ReshowFrontierPass) sData->var_52C = 0x7FFF; else sData->var_52C = 0; |