summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-05-20 15:39:03 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-05-20 15:39:03 -0400
commita1c286afde26bf80aba0705ec1ca8841c2c6e2e5 (patch)
tree4a3a2ef38e82d9f45265e9d0fd4b9e79e9ad5651 /src
parent116007e1ff5a1016fa1a598bb97d0b3d48a10fe5 (diff)
sub_80C045C
Diffstat (limited to 'src')
-rw-r--r--src/tv.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tv.c b/src/tv.c
index f7cc4b4c3..6a1ba2d77 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -2002,6 +2002,15 @@ _080C0458: .4byte 0x00002738\n\
}
#endif
+void sub_80C045C(void) {
+ u8 i;
+ for (i=0; i<5; i++) {
+ if (sub_80BFB54(gSaveBlock1.tvShows.shows[i].common.var00) == 2) {
+ gSaveBlock1.tvShows.shows[i].common.var01 = 0;
+ }
+ }
+}
+
asm(".section .dotvshow\n");
void DoTVShowPokemonFanClubLetter(void);