summaryrefslogtreecommitdiff
path: root/src/battle/reshow_battle_screen.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2017-12-22 17:58:40 -0600
committerGitHub <noreply@github.com>2017-12-22 17:58:40 -0600
commitaa13f45ebb79aed62171fbfe654d8b542fc9aa6c (patch)
tree89d4bc15a468733180a0d76041f73ee5364e5d89 /src/battle/reshow_battle_screen.c
parent62bdd4d480ced306b85791c828ee8497e9fa2acc (diff)
parent7bf8a1c67fb373854673e870b15ba5170e7b0243 (diff)
Merge pull request #490 from camthesaxman/decompile_contest
decompile contest.s
Diffstat (limited to 'src/battle/reshow_battle_screen.c')
-rw-r--r--src/battle/reshow_battle_screen.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/battle/reshow_battle_screen.c b/src/battle/reshow_battle_screen.c
index 14f465352..03b5660fe 100644
--- a/src/battle/reshow_battle_screen.c
+++ b/src/battle/reshow_battle_screen.c
@@ -198,15 +198,9 @@ static void CB2_ReshowBattleScreenAfterMenu(void)
static void sub_807B06C(void)
{
- struct BGCntrlBitfield *regBgcnt1, *regBgcnt2;
-
sub_800D6D4();
-
- regBgcnt1 = (void*)(&REG_BG1CNT);
- regBgcnt1->charBaseBlock = 0;
-
- regBgcnt2 = (void*)(&REG_BG2CNT);
- regBgcnt2->charBaseBlock = 0;
+ ((vBgCnt *)&REG_BG1CNT)->charBaseBlock = 0;
+ ((vBgCnt *)&REG_BG2CNT)->charBaseBlock = 0;
}
static bool8 LoadAppropiateBankSprite(u8 bank)