shithub: pokecrystal

ref: 711e2d6143d59093a763f9bbd4a527f349fdeff8
dir: /docs/movement_commands.md/

View raw version
# Movement Commands

Defined in [macros/scripts/movement.asm](/macros/scripts/movement.asm) and [engine/movement.asm:MovementPointers](/engine/movement.asm).


## `$00`−`$03`: <code>turn_head <i>direction</i></code>

## `$04`−`$07`: <code>turn_step <i>direction</i></code>

## `$08`−`$0B`: <code>slow_step <i>direction</i></code>

## `$0C`−`$0F`: <code>step <i>direction</i></code>

## `$10`−`$13`: <code>big_step <i>direction</i></code>

## `$14`−`$17`: <code>slow_slide_step <i>direction</i></code>

## `$18`−`$1B`: <code>slide_step <i>direction</i></code>

## `$1C`−`$1F`: <code>fast_slide_step <i>direction</i></code>

## `$20`−`$23`: <code>turn_away <i>direction</i></code>

## `$24`−`$27`: <code>turn_in <i>direction</i></code>

## `$28`−`$2B`: <code>turn_waterfall <i>direction</i></code>

## `$2C`−`$2F`: <code>slow_jump_step <i>direction</i></code>

## `$30`−`$33`: <code>jump_step <i>direction</i></code>

## `$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`

## `$3E`−`$46`: <code>step_sleep <i>length</i></code>

## `$47`: `step_end`

## `$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`

## `$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`

## `$55`: <code>step_shake <i>displacement</i></code>

## `$56`: `tree_shake`

## `$57`: <code>rock_smash <i>length</i></code>

## `$58`: <code>return_dig <i>length</i></code>

## `$59`: `skyfall_top`