summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);