From c9ab625b7f226e778fe5cba894fe088e044e704c Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 10 Dec 2024 18:11:21 +0900 Subject: Add earcoptr animation --- attacks/earcoptr.gbasm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 attacks/earcoptr.gbasm (limited to 'attacks') diff --git a/attacks/earcoptr.gbasm b/attacks/earcoptr.gbasm new file mode 100644 index 0000000..3700a88 --- /dev/null +++ b/attacks/earcoptr.gbasm @@ -0,0 +1,21 @@ +Earcoptr_Attack: + PUSH BC + LD A, $mem_bunny_x + LD B, A + LD A, $mem_bunny_y + LD C, A + LD A, $02 + CALL =Try_Launch_Animation + POP BC + + LD A, $enum_dungeon_mode + LD $mem_requested_mode, A + LD $mem_current_mode, A + + LD A, $00 + LD $mem_display_flag, A + + LD A, $mem_map_loading_flags + SET 3, A + LD $mem_map_loading_flags, A + RET -- cgit v1.2.3-70-g09d2