pokecrystal-board/docs/movement_commands.md

124 lines
1.9 KiB
Markdown
Raw Normal View History

# Movement Commands
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>
2018-01-17 10:58:50 -08:00
## `$04``$07`: <code>turn_step <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$08``$0B`: <code>slow_step <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$0C``$0F`: <code>step <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$10``$13`: <code>big_step <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$14``$17`: <code>slow_slide_step <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$18``$1B`: <code>slide_step <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$1C``$1F`: <code>fast_slide_step <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$20``$23`: <code>turn_away <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$24``$27`: <code>turn_in <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$28``$2B`: <code>turn_waterfall <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$2C``$2F`: <code>slow_jump_step <i>direction</i></code>
2018-01-17 10:58:50 -08:00
## `$30``$33`: <code>jump_step <i>direction</i></code>
2018-01-17 10:58:50 -08: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 10:58:50 -08:00
## `$3E``$46`: <code>step_sleep <i>length</i></code>
## `$47`: `step_end`
2018-01-17 10:58:50 -08: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 10:58:50 -08: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 10:58:50 -08:00
## `$55`: <code>step_shake <i>displacement</i></code>
## `$56`: `tree_shake`
2018-01-17 10:58:50 -08:00
## `$57`: <code>rock_smash <i>length</i></code>
2018-01-17 10:58:50 -08:00
## `$58`: <code>return_dig <i>length</i></code>
## `$59`: `skyfall_top`