pokecrystal-board/engine/events/catch_tutorial_input.asm

44 lines
752 B
NASM
Raw Normal View History

2018-06-24 07:09:41 -07:00
_DudeAutoInput_A::
ld hl, DudeAutoInput_A
jr _DudeAutoInput
2018-06-24 07:09:41 -07:00
_DudeAutoInput_RightA:
ld hl, DudeAutoInput_RightA
jr _DudeAutoInput
2018-06-24 07:09:41 -07:00
_DudeAutoInput_DownA:
ld hl, DudeAutoInput_DownA
jr _DudeAutoInput
2018-06-24 07:09:41 -07:00
_DudeAutoInput:
ld a, BANK(DudeAutoInputs)
call StartAutoInput
ret
DudeAutoInputs: ; used only for BANK(DudeAutoInputs)
2018-06-24 07:09:41 -07:00
DudeAutoInput_A:
db NO_INPUT, $50
db A_BUTTON, $00
db NO_INPUT, $ff ; end
2018-06-24 07:09:41 -07:00
DudeAutoInput_RightA:
db NO_INPUT, $08
db D_RIGHT, $00
db NO_INPUT, $08
db A_BUTTON, $00
db NO_INPUT, $ff ; end
2018-06-24 07:09:41 -07:00
DudeAutoInput_DownA:
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