diff options
| author | yenatch <yenatch@gmail.com> | 2014-08-30 19:48:49 -0700 |
|---|---|---|
| committer | yenatch <yenatch@gmail.com> | 2014-08-30 19:48:49 -0700 |
| commit | 8f49e37b82a90bbef8c7133c4adea8f82abf00e7 (patch) | |
| tree | 1987ddd65262266ce69b4759caa3b5df493cbb88 /engine/menu/main_menu.asm | |
| parent | Use PARTY_LENGTH and related constants in menu and hud code. (diff) | |
| download | pokeyellow-8f49e37b82a90bbef8c7133c4adea8f82abf00e7.tar.gz pokeyellow-8f49e37b82a90bbef8c7133c4adea8f82abf00e7.tar.xz pokeyellow-8f49e37b82a90bbef8c7133c4adea8f82abf00e7.zip | |
Use hram constants for remaining joypad variables.
Diffstat (limited to 'engine/menu/main_menu.asm')
| -rwxr-xr-x | engine/menu/main_menu.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/menu/main_menu.asm b/engine/menu/main_menu.asm index 4044da43..5f8f0c1d 100755 --- a/engine/menu/main_menu.asm +++ b/engine/menu/main_menu.asm @@ -307,7 +307,7 @@ Func_5d5f: ; 5d5f (1:5d5f) xor a ld [hJoyPressed], a ld [hJoyHeld], a - ld [$ffb5], a + ld [hJoy5], a ld [wd72d], a ld hl, wd732 set 0, [hl] @@ -461,7 +461,7 @@ DisplayOptionMenu: ; 5e8a (1:5e8a) call SetOptionsFromCursorPositions .getJoypadStateLoop call JoypadLowSensitivity - ld a,[$ffb5] + ld a,[hJoy5] ld b,a and a,%11111011 ; any key besides select pressed? jr z,.getJoypadStateLoop |
