diff options
author | PikalaxALT <pikalax1@gmail.com> | 2017-05-29 19:23:59 -0400 |
---|---|---|
committer | PikalaxALT <pikalax1@gmail.com> | 2017-05-29 19:23:59 -0400 |
commit | e78a3021bbac8f439797265b727803ee5ea40484 (patch) | |
tree | caa051ce423ecbcbe96097733029358a305dbba4 /src | |
parent | b5f8543486212d937cb74512f595124d398e4d9f (diff) |
Two more subroutines in tv.s
Diffstat (limited to 'src')
-rwxr-xr-x | src/tv.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -347,6 +347,24 @@ void TurnOffTVScreen(void) DrawWholeMapView(); } +u8 sub_80BDA0C(void) +{ + return gSaveBlock1.tvShows[gSpecialVar_0x8004].common.var00; +} + +u8 sub_80BDA30(void) +{ + u8 showIdx; + for (showIdx=0; showIdx<24; showIdx++) + { + if (gSaveBlock1.tvShows[showIdx].common.var00 != 0 && gSaveBlock1.tvShows[showIdx].common.var00 != TVSHOW_MASS_OUTBREAK && gSaveBlock1.tvShows[showIdx].common.var01 == 1) + { + return showIdx; + } + } + return 0xff; +} + asm(".section .text_a"); s8 sub_80BF74C(TVShow tvShow[]); |