diff options
author | Astatin <[email protected]> | 2025-01-10 16:08:06 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-01-10 16:08:06 +0900 |
commit | dc5a9431bf4438000dcd028aa6b9c17c9ca492d8 (patch) | |
tree | 8a63e04d017dc58d8c88f9842e2cd2ca7273ab05 /buttons.gbasm | |
parent | 48f765802fc16071d1d605b1fd940bda4562d472 (diff) |
Use new relative label thingy
Diffstat (limited to 'buttons.gbasm')
-rw-r--r-- | buttons.gbasm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/buttons.gbasm b/buttons.gbasm index 175f95d..79b0852 100644 --- a/buttons.gbasm +++ b/buttons.gbasm @@ -19,28 +19,28 @@ Pad_Button_Check: LD A, $reg_joypad LD C, A LD A, $00 - - Pad_Button_Check.Right: + + .Right: BIT 0, C - JR NZ =Pad_Button_Check.Left + JR NZ =.Left LD A, $enum_direction_right - Pad_Button_Check.Left: + .Left: BIT 1, C - JR NZ =Pad_Button_Check.Up + JR NZ =.Up LD A, $enum_direction_left - Pad_Button_Check.Up: + .Up: BIT 2, C - JR NZ =Pad_Button_Check.Down + JR NZ =.Down LD A, $enum_direction_up - Pad_Button_Check.Down: + .Down: BIT 3, C - JR NZ =Pad_Button_Check.End + JR NZ =.End LD A, $enum_direction_down - Pad_Button_Check.End: + .End: LD $mem_button_direction, A LD A, $10 |