pokecrystal/docs/movement_commands.md

124 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

# Movement Commands
2019-03-11 03:00:01 +00:00
Defined in [macros/scripts/movement.asm](https://github.com/pret/pokecrystal/blob/master/macros/scripts/movement.asm) and [engine/overworld/movement.asm:MovementPointers](https://github.com/pret/pokecrystal/blob/master/engine/overworld/movement.asm).
2017-12-15 00:04:44 +00:00
2018-01-17 18:58:50 +00:00
## `$00``$03`: <code>turn_head <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$04``$07`: <code>turn_step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$08``$0B`: <code>slow_step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$0C``$0F`: <code>step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$10``$13`: <code>big_step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$14``$17`: <code>slow_slide_step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$18``$1B`: <code>slide_step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$1C``$1F`: <code>fast_slide_step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$20``$23`: <code>turn_away <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$24``$27`: <code>turn_in <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$28``$2B`: <code>turn_waterfall <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$2C``$2F`: <code>slow_jump_step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$30``$33`: <code>jump_step <i>direction</i></code>
2018-01-17 18:58:50 +00:00
## `$34``$37`: <code>fast_jump_step <i>direction</i></code>
## `$38`: `remove_sliding`
## `$39`: `set_sliding`
## `$3A`: `remove_fixed_facing`
## `$3B`: `fix_facing`
## `$3C`: `show_object`
## `$3D`: `hide_object`
2018-01-17 18:58:50 +00:00
## `$3E``$46`: <code>step_sleep <i>length</i></code>
## `$47`: `step_end`
2018-01-17 18:58:50 +00:00
## `$48`: <code>step_48 <i>param</i></code>
## `$49`: `remove_object`
## `$4A`: `step_loop`
## `$4B`: `step_4b`
## `$4C`: `teleport_from`
## `$4D`: `teleport_to`
## `$4E`: `skyfall`
2018-01-17 18:58:50 +00:00
## `$4F`: <code>step_dig <i>length</i></code>
## `$50`: `step_bump`
## `$51`: `fish_got_bite`
## `$52`: `fish_cast_rod`
## `$53`: `hide_emote`
## `$54`: `show_emote`
2018-01-17 18:58:50 +00:00
## `$55`: <code>step_shake <i>displacement</i></code>
## `$56`: `tree_shake`
2018-01-17 18:58:50 +00:00
## `$57`: <code>rock_smash <i>length</i></code>
2018-01-17 18:58:50 +00:00
## `$58`: <code>return_dig <i>length</i></code>
## `$59`: `skyfall_top`