Fix comments around BANK() statements

Found a couple BANK()s that reference multiple labels.
This commit is contained in:
mid-kid
2018-12-25 18:49:54 +01:00
parent 0ae5e9b398
commit 930d285fab
7 changed files with 9 additions and 8 deletions

View File

@@ -190,7 +190,8 @@ GetBattleAnimPointer::
ld a, [hl]
ld [wBattleAnimAddress + 1], a
ld a, BANK(BattleAnimCommands)
; ClearBattleAnims is the only function that calls this...
ld a, BANK(ClearBattleAnims)
rst Bankswitch
ret

View File

@@ -97,7 +97,7 @@ Init::
call ClearSprites
call ClearsScratch
ld a, BANK(WriteOAMDMACodeToHRAM)
ld a, BANK(GameInit) ; and BANK(WriteOAMDMACodeToHRAM)
rst Bankswitch
call WriteOAMDMACodeToHRAM

View File

@@ -3,7 +3,7 @@ ScrollingMenu::
ldh a, [hROMBank]
push af
ld a, BANK(_ScrollingMenu)
ld a, BANK(_ScrollingMenu) ; and BANK(_InitScrollingMenu)
rst Bankswitch
call _InitScrollingMenu