shithub: pokecrystal

Download patch

ref: 1d4c1aeef4b18738aae3966846429dae80da731c
parent: 0cce00cb73849dc761bb36b302305c55ff2d54e4
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Fri Feb 28 06:51:42 EST 2020

'and BANK' -> 'aka BANK'

--- a/engine/battle_anims/anim_commands.asm
+++ b/engine/battle_anims/anim_commands.asm
@@ -152,7 +152,7 @@
 
 	ldh a, [rSVBK]
 	push af
-	ld a, BANK(wCurBattleMon) ; aka BANK(wTempMon) and BANK(wPartyMon1) and several others
+	ld a, BANK(wCurBattleMon) ; aka BANK(wTempMon), BANK(wPartyMon1), and several others
 	ldh [rSVBK], a
 
 	ld hl, UpdateBattleHuds
--- a/engine/events/battle_tower/battle_tower.asm
+++ b/engine/events/battle_tower/battle_tower.asm
@@ -17,7 +17,7 @@
 
 	call Function17042c
 
-	ld a, BANK(s5_be45) ; aka BANK(s5_be46) and BANK(s5_aa41) and BANK(s5_aa5d)
+	ld a, BANK(s5_be45) ; aka BANK(s5_be46), BANK(s5_aa41), and BANK(s5_aa5d)
 	call GetSRAMBank
 	ld a, 1
 	ld [s5_be45], a
@@ -1212,7 +1212,7 @@
 
 Function1708c8: ; BattleTowerAction $0c
 	call UpdateTime
-	ld a, BANK(s5_aa8b) ; aka BANK(s5_aa8c) and BANK(s5_aa5d) and BANK(s5_aa48) and BANK(s5_aa47)
+	ld a, BANK(s5_aa8b) ; aka BANK(s5_aa8c), BANK(s5_aa5d), BANK(s5_aa48), and BANK(s5_aa47)
 	call GetSRAMBank
 	ld a, [wCurDay]
 	ld [s5_aa8b], a
--- a/engine/rtc/rtc.asm
+++ b/engine/rtc/rtc.asm
@@ -136,7 +136,7 @@
 .time_overflow
 	farcall ClearDailyTimers
 	farcall Function170923
-	ld a, BANK(s5_aa8c) ; and BANK(s5_b2fa)
+	ld a, BANK(s5_aa8c) ; aka BANK(s5_b2fa)
 	call GetSRAMBank
 	ld a, [s5_aa8c]
 	inc a
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -183,7 +183,7 @@
 	ld a, [wcd38]
 	and a
 	ret z
-	ld a, BANK(s5_a89c) ; and BANK(s5_a8b2)
+	ld a, BANK(s5_a89c) ; aka BANK(s5_a8b2)
 	call GetSRAMBank
 	ld hl, wcd69
 	ld de, s5_a89c