diff options
author | 7Soul <henriquelazarini@gmail.com> | 2018-10-28 19:40:55 -0300 |
---|---|---|
committer | 7Soul <henriquelazarini@gmail.com> | 2018-10-28 19:40:55 -0300 |
commit | 2dbb2dde68fe29be4332fdae693ebe70021adc4d (patch) | |
tree | 740cd323b176e91cba50127a802fe5ba16f7b545 | |
parent | 473614036847a39b18fa104583953fbda44f7440 (diff) |
Created Remove sprites head flipping when walking down (markdown)
-rw-r--r-- | Remove-sprites-head-flipping-when-walking-down.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Remove-sprites-head-flipping-when-walking-down.md b/Remove-sprites-head-flipping-when-walking-down.md new file mode 100644 index 0000000..a295eda --- /dev/null +++ b/Remove-sprites-head-flipping-when-walking-down.md @@ -0,0 +1,14 @@ +When a sprite walks down, it flips horizontally every other frame to create the walking animation. But the 2 sprites that make the head don't need to flip and this feature can be removed to keep unsymmetrical features from flipping. This will affect all overworld sprites + +Open `data\sprites\facings.asm` + +```diff +FacingStepDown3: ; walking down 2 + db 4 ; # +- db 0, 8, X_FLIP, $80 +- db 0, 0, X_FLIP, $81 ++ db 0, 0, 0, $80 ++ db 0, 8, 0, $81 + db 8, 8, RELATIVE_ATTRIBUTES | X_FLIP, $82 + db 8, 0, RELATIVE_ATTRIBUTES | X_FLIP, $83 +```
\ No newline at end of file |