summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tv.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tv.c b/src/tv.c
index 2b39c7a7c..ebba61ea3 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -8,6 +8,7 @@
#include "text.h"
#include "species.h"
#include "pokedex.h"
+#include "naming_screen.h"
enum
{
@@ -533,6 +534,21 @@ bool8 sub_80BF9B4(void)
return TRUE;
}
+void c2_080CC144(void);
+
+void sub_80BF9F8(void)
+{
+ u16 spec;
+ u16 gender;
+ u32 pval;
+ GetMonData(&(gPlayerParty[gSpecialVar_0x8004]), MON_DATA_NICKNAME, &gStringVar3);
+ GetMonData(&(gPlayerParty[gSpecialVar_0x8004]), MON_DATA_NICKNAME, &gStringVar2);
+ spec = GetMonData(&(gPlayerParty[gSpecialVar_0x8004]), MON_DATA_SPECIES, 0);
+ gender = GetMonGender(&(gPlayerParty[gSpecialVar_0x8004]));
+ pval = GetMonData(&(gPlayerParty[gSpecialVar_0x8004]), MON_DATA_PERSONALITY, 0);
+ DoNamingScreen(3, gStringVar2, spec, gender, pval, c2_080CC144);
+}
+
asm(".section .text_c");
void DoTVShowPokemonNewsMassOutbreak(void)