aboutsummaryrefslogtreecommitdiff
path: root/attacks
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-12-10 18:11:21 +0900
committerAstatin <[email protected]>2024-12-10 18:12:23 +0900
commitc9ab625b7f226e778fe5cba894fe088e044e704c (patch)
tree5270b645fdfa5c229785ec22a0b0f6d7285b9a78 /attacks
parent17ebc22d8fd1a09e5f3c1b749e4a83077d4329a4 (diff)
Add earcoptr animation
Diffstat (limited to 'attacks')
-rw-r--r--attacks/earcoptr.gbasm21
1 files changed, 21 insertions, 0 deletions
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