diff options
author | Astatin <[email protected]> | 2025-04-11 16:20:31 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-04-11 16:20:31 +0200 |
commit | a846ccc0cc20fe49b5ee07e252b370dc005b38cd (patch) | |
tree | 7996f4fdbca1e054bac3d87dd565178da9ba9191 /gui.gbasm | |
parent | 690ff7c09726d9e760b52b717c70e9567531175c (diff) |
Make hop the only default attack and make cats drop heal
Diffstat (limited to 'gui.gbasm')
-rw-r--r-- | gui.gbasm | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -38,7 +38,7 @@ Copy_Dialogue_Buffer_Part2: LD C, $12 JP =tilemap_memcpy -Init_Menu: +Init_Attack_Menu: LD HL, $mem_bunny_attacks .MACRODEF SETUP_NEXT_ATTACK_MENU dialogue_buffer choice_routine ; Attack index pointer in (HL) @@ -97,6 +97,9 @@ Init_Menu: .SETUP_NEXT_ATTACK_MENU $dialogue_menu_choice2, $dialogue_menu_choice2_routine .SETUP_NEXT_ATTACK_MENU $dialogue_menu_choice3, $dialogue_menu_choice3_routine .SETUP_NEXT_ATTACK_MENU $dialogue_menu_choice4, $dialogue_menu_choice4_routine + + LD A, $mem_number_of_attacks + LD $mem_cursor_max_position, A RET Nothing: @@ -163,6 +166,8 @@ Move_dialogue_cursor: CP $enum_dungeon_menu_mode RET NZ + LD A, $mem_cursor_max_position + LD C, A LD A, $mem_last_button_direction LD B, A LD A, $mem_button_direction @@ -176,12 +181,16 @@ Move_dialogue_cursor: JR Z, =.Vertical_axis LD A, $mem_menu_cursor_position XOR $02 + CP C + JR NC, =Reload_EP_Cost LD $mem_menu_cursor_position, A JR =Reload_EP_Cost .Vertical_axis: LD A, $mem_menu_cursor_position XOR $01 + CP C + JR NC, =Reload_EP_Cost LD $mem_menu_cursor_position, A Reload_EP_Cost: @@ -307,7 +316,7 @@ Check_Open_Menu_button: BIT 3, A RET Z - CALL =Init_Menu + CALL =Init_Attack_Menu LD A, $enum_dungeon_menu_mode LD $mem_requested_mode, A |