summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tv.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tv.c b/src/tv.c
index 2784b0cd1..3777bd33a 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -1659,6 +1659,16 @@ u8 sub_80C0134(TVShow *tv1, TVShow *tv2, u8 idx) {
return TRUE;
}
+s8 sub_80C019C(TVShow tvShows[]) {
+ u8 i;
+ for (i=0; i<24; i++) {
+ if (tvShows[i].common.var01 == 0 && (u8)(tvShows[i].common.var00 - 1) < 60) {
+ return i;
+ }
+ }
+ return -1;
+}
+
asm(".section .dotvshow\n");
void DoTVShowPokemonFanClubLetter(void);