diff options
| author | Yoann Fievez <yoann.fievez@gmail.com> | 2021-11-05 20:40:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-05 15:40:15 -0400 |
| commit | 8349bfd8e646002105dfd6a7f997c26cf0e0624b (patch) | |
| tree | 8586363ba32075ec9c7ddf07e384507679658b11 /engine/events/vending_machine.asm | |
| parent | Update 'make compare' for no pret repo and add 'make' for fork (#339) (diff) | |
| download | pokeyellow-8349bfd8e646002105dfd6a7f997c26cf0e0624b.tar.gz pokeyellow-8349bfd8e646002105dfd6a7f997c26cf0e0624b.tar.xz pokeyellow-8349bfd8e646002105dfd6a7f997c26cf0e0624b.zip | |
Refactorize check button pressed (#340)
Diffstat (limited to 'engine/events/vending_machine.asm')
| -rw-r--r-- | engine/events/vending_machine.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/vending_machine.asm b/engine/events/vending_machine.asm index a67f1c07..980a45c5 100644 --- a/engine/events/vending_machine.asm +++ b/engine/events/vending_machine.asm @@ -31,7 +31,7 @@ VendingMachineMenu:: ld hl, wd730 res 6, [hl] call HandleMenuInput - bit 1, a ; pressed B? + bit BIT_B_BUTTON, a jr nz, .notThirsty ld a, [wCurrentMenuItem] cp 3 ; chose Cancel? |
