summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-05-30 10:45:29 -0400
committerscnorton <scnorton@biociphers.org>2017-05-30 10:45:29 -0400
commite98044024f37fadb12ff4a41eea34093e67b051b (patch)
tree0fa9b18c523484853852d8c249dfec116795c2b4 /src
parent4450be586e712c9903f70425edfd7b3fd9bebd20 (diff)
Close a gap in tv.s,tv.c
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tv.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/tv.c b/src/tv.c
index d1ac9126a..80fd628e2 100755
--- a/src/tv.c
+++ b/src/tv.c
@@ -492,7 +492,27 @@ bool8 GabbyAndTyGetLastQuote(void)
return TRUE;
}
-asm(".section .text_a");
+u8 sub_80BDD18(void)
+{
+ if (!gSaveBlock1.gabbyAndTyData.valB_0)
+ {
+ return 1;
+ }
+ if (gSaveBlock1.gabbyAndTyData.valB_3)
+ {
+ return 2;
+ }
+ if (gSaveBlock1.gabbyAndTyData.valB_2)
+ {
+ return 3;
+ }
+ if (gSaveBlock1.gabbyAndTyData.valB_1)
+ {
+ return 4;
+ }
+ return 0;
+}
+
s8 sub_80BF74C(TVShow tvShow[]);
void sub_80BF55C(TVShow tvShow[], u8 showidx);