shithub: pokecrystal

ref: 2548f75feba2d9db28cd9e3e286d473ff27120f4
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`: `turn_head` *direction*

## `$04`−`$07`: `turn_step` *direction*

## `$08`−`$0B`: `slow_step` *direction*

## `$0C`−`$0F`: `step` *direction*

## `$10`−`$13`: `big_step` *direction*

## `$14`−`$17`: `slow_slide_step` *direction*

## `$18`−`$1B`: `slide_step` *direction*

## `$1C`−`$1F`: `fast_slide_step` *direction*

## `$20`−`$23`: `turn_away` *direction*

## `$24`−`$27`: `turn_in` *direction*

## `$28`−`$2B`: `turn_waterfall` *direction*

## `$2C`−`$2F`: `slow_jump_step` *direction*

## `$30`−`$33`: `jump_step` *direction*

## `$34`−`$37`: `fast_jump_step` *direction*

## `$38`: `remove_sliding`

## `$39`: `set_sliding`

## `$3A`: `remove_fixed_facing`

## `$3B`: `fix_facing`

## `$3C`: `show_object`

## `$3D`: `hide_object`

## `$3E`−`$46`: `step_sleep` *length*

## `$47`: `step_end`

## `$48`: `step_48` *param*

## `$49`: `remove_object`

## `$4A`: `step_loop`

## `$4B`: `step_4b`

## `$4C`: `teleport_from`

## `$4D`: `teleport_to`

## `$4E`: `skyfall`

## `$4F`: `step_dig` *length*

## `$50`: `step_bump`

## `$51`: `fish_got_bite`

## `$52`: `fish_cast_rod`

## `$53`: `hide_emote`

## `$54`: `show_emote`

## `$55`: `step_shake` *displacement*

## `$56`: `tree_shake`

## `$57`: `rock_smash` *length*

## `$58`: `return_dig` *length*

## `$59`: `skyfall_top`