diff options
author | Adelaide Walter <adelaidekwalter@gmail.com> | 2018-01-02 16:46:40 -0500 |
---|---|---|
committer | Adelaide Walter <adelaidekwalter@gmail.com> | 2018-01-02 16:46:40 -0500 |
commit | 0caea0f8202bf4cedb967a844a96cee04386b8df (patch) | |
tree | 8a53e1b8ac791ffe46cea22b4bda9dfecb0d5537 /mobile | |
parent | f27f79488a460f0a89670f3611e1e9e175baf5d6 (diff) |
Use BANK for all hardcoded banks with BANK in comments.
Diffstat (limited to 'mobile')
-rwxr-xr-x | mobile/mobile_46.asm | 2 | ||||
-rw-r--r-- | mobile/mobile_5f.asm | 2 | ||||
-rw-r--r-- | mobile/print_opp_message.asm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm index 10a97e426..28231daea 100755 --- a/mobile/mobile_46.asm +++ b/mobile/mobile_46.asm @@ -7223,7 +7223,7 @@ Function11b483: ; 11b483 jr .loop8 .okay4 - ld a, $0 ; BANK(sPartyMail) + ld a, BANK(sPartyMail) call GetSRAMBank ld a, MAIL_STRUCT_LENGTH .loop9 diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm index 5731f01fc..b905d0336 100644 --- a/mobile/mobile_5f.asm +++ b/mobile/mobile_5f.asm @@ -44,7 +44,7 @@ Function17c000: ; 17c000 ld a, [rSVBK] push af - ld a, 5 ; BANK(wBGPals1) + ld a, BANK(wBGPals1) ld [rSVBK], a ld hl, HaveWantPals diff --git a/mobile/print_opp_message.asm b/mobile/print_opp_message.asm index 612a1b78d..987ad4b9a 100644 --- a/mobile/print_opp_message.asm +++ b/mobile/print_opp_message.asm @@ -10,7 +10,7 @@ Mobile_PrintOpponentBattleMessage: ; 4ea0a call AddNTimes ld de, wMobileOpponentBattleMessage ld bc, $c - ld a, $5 ; BANK(w5_MobileOpponentBattleMessages) + ld a, BANK(w5_MobileOpponentBattleMessages) call FarCopyWRAM ld a, [rSVBK] |