diff options
author | Astatin <[email protected]> | 2025-02-14 17:16:05 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-02-14 17:16:05 +0900 |
commit | cce14a83a5ef7b8bd3e8affa1cf5d52b00329b0a (patch) | |
tree | 3bbea23771b4cf981796eb9fb50c781b1886e93b /gui.gbasm | |
parent | ecd565bc8625f7b80ebe197554ab01e1ef9a604b (diff) |
Fix laser animation + make EP work + add leaf to restore EP
Diffstat (limited to 'gui.gbasm')
-rw-r--r-- | gui.gbasm | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -117,9 +117,9 @@ Display_dialogue_cursor: LD B, A LD A, $mem_bunny_mana CP B - LD H, $69 + LD H, $f2 JR NC, =.Skip_Disable_cursor_setting - LD H, $6b + LD H, $f3 .Skip_Disable_cursor_setting: LD A, $mem_menu_cursor_position @@ -237,6 +237,15 @@ Check_dialogue_action: CP $enum_dungeon_menu_mode RET NZ + LD A, $mem_current_focused_attack_ep_cost + LD B, A + LD A, $mem_bunny_mana + CP B + RET C + SUB B + DAA + LD $mem_bunny_mana, A + LD HL, $dialogue_menu_choice1_routine LD A, $mem_menu_cursor_position |