aboutsummaryrefslogtreecommitdiffstats
path: root/engine/cable_club.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-08-30 19:48:49 -0700
committeryenatch <yenatch@gmail.com>2014-08-30 19:48:49 -0700
commit8f49e37b82a90bbef8c7133c4adea8f82abf00e7 (patch)
tree1987ddd65262266ce69b4759caa3b5df493cbb88 /engine/cable_club.asm
parentUse PARTY_LENGTH and related constants in menu and hud code. (diff)
downloadpokeyellow-8f49e37b82a90bbef8c7133c4adea8f82abf00e7.tar.gz
pokeyellow-8f49e37b82a90bbef8c7133c4adea8f82abf00e7.tar.xz
pokeyellow-8f49e37b82a90bbef8c7133c4adea8f82abf00e7.zip
Use hram constants for remaining joypad variables.
Diffstat (limited to 'engine/cable_club.asm')
-rwxr-xr-xengine/cable_club.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/cable_club.asm b/engine/cable_club.asm
index fc049ceb..06f69a73 100755
--- a/engine/cable_club.asm
+++ b/engine/cable_club.asm
@@ -537,7 +537,7 @@ TradeCenter_SelectMon:
ld [wTileMap + $141], a
.asm_574a
call JoypadLowSensitivity
- ld a, [$ffb5]
+ ld a, [hJoy5]
and a
jr z, .asm_574a ; 0x5750 $f8
bit 0, a
@@ -896,7 +896,7 @@ Func_5a5f: ; 5a5f (1:5a5f)
ld [W_GRASSRATE], a ; W_GRASSRATE
inc a
ld [W_ISLINKBATTLE], a ; W_ISLINKBATTLE
- ld [$ffb5], a
+ ld [hJoy5], a
ld a, $a
ld [wMusicHeaderPointer], a
ld a, BANK(Music_Celadon)