diff options
| author | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2025-08-11 16:31:18 -0400 |
|---|---|---|
| committer | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2025-08-11 16:35:07 -0400 |
| commit | 1eb6f61d62133922ac15c61792be8ea901d6baba (patch) | |
| tree | 50b14ca60db9675342d7993cf68aea6cbff6096a /engine | |
| parent | Update hardware.inc to 5.3.0 and use its `JOYP_SGB_*` constants (diff) | |
| download | pokeyellow-1eb6f61d62133922ac15c61792be8ea901d6baba.tar.gz pokeyellow-1eb6f61d62133922ac15c61792be8ea901d6baba.tar.xz pokeyellow-1eb6f61d62133922ac15c61792be8ea901d6baba.zip | |
Identify `JOYP_SGB_MLT_REQ` constant
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/gfx/palettes.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/gfx/palettes.asm b/engine/gfx/palettes.asm index fe69144c..429d8123 100644 --- a/engine/gfx/palettes.asm +++ b/engine/gfx/palettes.asm @@ -462,8 +462,8 @@ CheckSGB: ei call Wait7000 ldh a, [rJOYP] - and $3 - cp $3 + and JOYP_SGB_MLT_REQ + cp JOYP_SGB_MLT_REQ jr nz, .isSGB ld a, JOYP_SGB_ZERO ldh [rJOYP], a @@ -494,8 +494,8 @@ CheckSGB: call Wait7000 call Wait7000 ldh a, [rJOYP] - and $3 - cp $3 + and JOYP_SGB_MLT_REQ + cp JOYP_SGB_MLT_REQ jr nz, .isSGB call SendMltReq1Packet and a |
