diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-12-22 17:58:40 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-22 17:58:40 -0600 |
commit | aa13f45ebb79aed62171fbfe654d8b542fc9aa6c (patch) | |
tree | 89d4bc15a468733180a0d76041f73ee5364e5d89 /src/battle/reshow_battle_screen.c | |
parent | 62bdd4d480ced306b85791c828ee8497e9fa2acc (diff) | |
parent | 7bf8a1c67fb373854673e870b15ba5170e7b0243 (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.c | 10 |
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*)(®_BG1CNT); - regBgcnt1->charBaseBlock = 0; - - regBgcnt2 = (void*)(®_BG2CNT); - regBgcnt2->charBaseBlock = 0; + ((vBgCnt *)®_BG1CNT)->charBaseBlock = 0; + ((vBgCnt *)®_BG2CNT)->charBaseBlock = 0; } static bool8 LoadAppropiateBankSprite(u8 bank) |