aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokemon
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pokemon')
-rw-r--r--engine/pokemon/bills_pc.asm10
-rw-r--r--engine/pokemon/learn_move.asm4
-rw-r--r--engine/pokemon/status_screen.asm4
3 files changed, 9 insertions, 9 deletions
diff --git a/engine/pokemon/bills_pc.asm b/engine/pokemon/bills_pc.asm
index ea40ba04..09c04293 100644
--- a/engine/pokemon/bills_pc.asm
+++ b/engine/pokemon/bills_pc.asm
@@ -69,7 +69,7 @@ DisplayPCMainMenu::
ld de, LogOffPCText
.next3
call PlaceString
- ld a, A_BUTTON | B_BUTTON
+ ld a, PAD_A | PAD_B
ld [wMenuWatchedKeys], a
ld a, 2
ld [wTopMenuItemY], a
@@ -135,7 +135,7 @@ BillsPCMenu:
inc hl
ld a, 5
ld [hli], a ; wMaxMenuItem
- ld a, A_BUTTON | B_BUTTON
+ ld a, PAD_A | PAD_B
ld [hli], a ; wMenuWatchedKeys
xor a
ld [hli], a ; wLastMenuItem
@@ -168,7 +168,7 @@ BillsPCMenu:
ldh [hAutoBGTransferEnabled], a
call Delay3
call HandleMenuInput
- bit BIT_B_BUTTON, a
+ bit B_PAD_B, a
jp nz, ExitBillsPC
call PlaceUnfilledArrowMenuCursor
ld a, [wCurrentMenuItem]
@@ -445,7 +445,7 @@ DisplayDepositWithdrawMenu:
inc hl
ld a, 2
ld [hli], a ; wMaxMenuItem
- ld a, A_BUTTON | B_BUTTON
+ ld a, PAD_A | PAD_B
ld [hli], a ; wMenuWatchedKeys
xor a
ld [hl], a ; wLastMenuItem
@@ -456,7 +456,7 @@ DisplayDepositWithdrawMenu:
ld [wPartyAndBillsPCSavedMenuItem], a
.loop
call HandleMenuInput
- bit BIT_B_BUTTON, a
+ bit B_PAD_B, a
jr nz, .exit
ld a, [wCurrentMenuItem]
and a
diff --git a/engine/pokemon/learn_move.asm b/engine/pokemon/learn_move.asm
index e10c6bcf..e40b3573 100644
--- a/engine/pokemon/learn_move.asm
+++ b/engine/pokemon/learn_move.asm
@@ -142,7 +142,7 @@ TryingToLearn:
inc hl
ld a, [wNumMovesMinusOne]
ld [hli], a ; wMaxMenuItem
- ld a, A_BUTTON | B_BUTTON
+ ld a, PAD_A | PAD_B
ld [hli], a ; wMenuWatchedKeys
ld [hl], 0 ; wLastMenuItem
ld hl, hUILayoutFlags
@@ -154,7 +154,7 @@ TryingToLearn:
call LoadScreenTilesFromBuffer1
pop af
pop hl
- bit BIT_B_BUTTON, a
+ bit B_PAD_B, a
jr nz, .cancel
push hl
ld a, [wCurrentMenuItem]
diff --git a/engine/pokemon/status_screen.asm b/engine/pokemon/status_screen.asm
index c810260d..d0952cb9 100644
--- a/engine/pokemon/status_screen.asm
+++ b/engine/pokemon/status_screen.asm
@@ -80,7 +80,7 @@ StatusScreen:
ld hl, wStatusFlags2
set BIT_NO_AUDIO_FADE_OUT, [hl]
ld a, $33
- ldh [rNR50], a ; Reduce the volume
+ ldh [rAUDVOL], a ; Reduce the volume
call GBPalWhiteOutWithDelay3
call ClearScreen
call UpdateSprites
@@ -447,7 +447,7 @@ StatusScreen2:
ld hl, wStatusFlags2
res BIT_NO_AUDIO_FADE_OUT, [hl]
ld a, $77
- ldh [rNR50], a
+ ldh [rAUDVOL], a
call GBPalWhiteOut
jp ClearScreen