summaryrefslogtreecommitdiff
path: root/event/catch_tutorial_input.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-23 17:14:09 -0500
committeryenatch <yenatch@gmail.com>2017-12-23 17:14:09 -0500
commitc51968f0de6b8420c141dde27339e82a42837c5b (patch)
tree782f2b25f21adacb48fd516694b8a82864fe0b99 /event/catch_tutorial_input.asm
parentc883ab4d34ecb4890010e808d6b6d533f5d8ad56 (diff)
parent878092004956418bfd77bfdb9fc9dd7f640f80d2 (diff)
Merge remote-tracking branch 'origin/master' into master
Diffstat (limited to 'event/catch_tutorial_input.asm')
-rw-r--r--event/catch_tutorial_input.asm43
1 files changed, 43 insertions, 0 deletions
diff --git a/event/catch_tutorial_input.asm b/event/catch_tutorial_input.asm
new file mode 100644
index 000000000..9d2a03db2
--- /dev/null
+++ b/event/catch_tutorial_input.asm
@@ -0,0 +1,43 @@
+_DudeAutoInput_A:: ; 1de28a
+ ld hl, DudeAutoInput_A
+ jr _DudeAutoInput
+
+_DudeAutoInput_RightA: ; 1de28f
+ ld hl, DudeAutoInput_RightA
+ jr _DudeAutoInput
+
+_DudeAutoInput_DownA: ; 1de294
+ ld hl, DudeAutoInput_DownA
+ jr _DudeAutoInput
+
+_DudeAutoInput: ; 1de299
+ ld a, BANK(DudeAutoInputs)
+ call StartAutoInput
+ ret
+
+DudeAutoInputs:
+
+DudeAutoInput_A: ; 1de29f
+ db NO_INPUT, $50
+ db A_BUTTON, $00
+ db NO_INPUT, $ff ; end
+
+DudeAutoInput_RightA: ; 1de2a5
+ db NO_INPUT, $08
+ db D_RIGHT, $00
+ db NO_INPUT, $08
+ db A_BUTTON, $00
+ db NO_INPUT, $ff ; end
+
+DudeAutoInput_DownA: ; 1de2af
+ db NO_INPUT, $fe
+ db NO_INPUT, $fe
+ db NO_INPUT, $fe
+ db NO_INPUT, $fe
+ db D_DOWN, $00
+ db NO_INPUT, $fe
+ db NO_INPUT, $fe
+ db NO_INPUT, $fe
+ db NO_INPUT, $fe
+ db A_BUTTON, $00
+ db NO_INPUT, $ff ; end