2017-12-12 18:22:19 +00:00
|
|
|
|
# Movement Commands
|
|
|
|
|
|
2017-12-15 00:04:44 +00:00
|
|
|
|
Defined in [macros/scripts/movement.asm](/macros/scripts/movement.asm) and [engine/movement.asm:MovementPointers](/engine/movement.asm).
|
|
|
|
|
|
|
|
|
|
|
2017-12-12 18:22:19 +00:00
|
|
|
|
## `$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`
|
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
|
## `$3C`: `show_object`
|
2017-12-12 18:22:19 +00:00
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
|
## `$3D`: `hide_object`
|
2017-12-12 18:22:19 +00:00
|
|
|
|
|
|
|
|
|
## `$3E`−`$46`: `step_sleep` *length*
|
|
|
|
|
|
|
|
|
|
## `$47`: `step_end`
|
|
|
|
|
|
|
|
|
|
## `$48`: `step_48` *param*
|
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
|
## `$49`: `remove_object`
|
2017-12-12 18:22:19 +00:00
|
|
|
|
|
|
|
|
|
## `$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`
|