aboutsummaryrefslogtreecommitdiff
path: root/attacks/earcoptr.gbasm
diff options
context:
space:
mode:
Diffstat (limited to 'attacks/earcoptr.gbasm')
-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