summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalax1@gmail.com>2017-05-17 15:04:24 -0400
committerPikalaxALT <pikalax1@gmail.com>2017-05-17 15:04:24 -0400
commit24934c7af876ebb6f35ed4773d1e1b7b499eebc5 (patch)
treea442eecfb8bc0258f532558d6181774812395659 /src
parent11b0186a843b8a17193229dc0cc412ce6faa5ef8 (diff)
sub_80BF9F8
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)