Document switches to BANK(sScratch) via xor a

This commit is contained in:
Adelaide Walter
2018-01-04 16:51:50 -05:00
parent 36e91c971c
commit ce985a09a7
3 changed files with 5 additions and 5 deletions

View File

@@ -975,7 +975,7 @@ BattleAnimCmd_RaiseSub: ; cc640 (33:4640)
push af
ld a, 1 ; unnecessary bankswitch?
ld [rSVBK], a
xor a
xor a ; effectively ld a, BANK(sScratch)
call GetSRAMBank
GetSubstitutePic: ; cc64c
@@ -1049,7 +1049,7 @@ BattleAnimCmd_MinimizeOpp: ; cc6cf (33:46cf)
push af
ld a, 1 ; unnecessary bankswitch?
ld [rSVBK], a
xor a
xor a ; effectively ld a, BANK(sScratch)
call GetSRAMBank
call GetMinimizePic
call Request2bpp
@@ -1105,7 +1105,7 @@ BattleAnimCmd_Minimize: ; cc735 (33:4735)
push af
ld a, 1 ; unnecessary bankswitch?
ld [rSVBK], a
xor a
xor a ; effectively ld a, BANK(sScratch)
call GetSRAMBank
call GetMinimizePic
ld hl, vTiles0 tile $00