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