Simplify comments per Rangi's rec.

This commit is contained in:
Adelaide Walter 2018-01-08 23:07:46 -05:00
parent 94f32db7bc
commit 6c5cd7a963
4 changed files with 7 additions and 7 deletions

View File

@ -975,7 +975,7 @@ BattleAnimCmd_RaiseSub: ; cc640 (33:4640)
push af
ld a, 1 ; unnecessary bankswitch?
ld [rSVBK], a
xor a ; effectively ld a, BANK(sScratch)
xor a ; 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 ; effectively ld a, BANK(sScratch)
xor a ; 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 ; effectively ld a, BANK(sScratch)
xor a ; sScratch
call GetSRAMBank
call GetMinimizePic
ld hl, vTiles0 tile $00

View File

@ -178,7 +178,7 @@ UnownPrinter: ; 16be4
hlcoord 1, 9
ld de, UnownDexVacantString
call PlaceString
xor a ; effectively ld a, BANK(sScratch)
xor a ; sScratch
call GetSRAMBank
ld hl, sScratch
ld bc, $31 tiles

View File

@ -1,7 +1,7 @@
RotateUnownFrontpic: ; e0000
; something to do with Unown printer
push de
xor a ; effectively ld a, BANK(sScratch)
xor a ; sScratch
call GetSRAMBank
ld hl, sScratch
ld bc, 0

View File

@ -730,7 +730,7 @@ Function24423: ; 24423
ld a, [VramState]
bit 0, a
ret z
xor a ; effectively ld a, BANK(sScratch)
xor a ; sScratch
call GetSRAMBank
hlcoord 0, 0
ld de, sScratch
@ -738,7 +738,7 @@ Function24423: ; 24423
call CopyBytes
call CloseSRAM
call OverworldTextModeSwitch
xor a ; effectively ld a, BANK(sScratch)
xor a ; sScratch
call GetSRAMBank
ld hl, sScratch
decoord 0, 0