ref: fd1fa78ffe78c9101c0ae5a1ca299d4282462ecd
parent: c4979d9770bb9b7b01da9aef151dfb83224647a4
author: mid-kid <esteve.varela@gmail.com>
date: Sun Nov 25 19:10:41 EST 2018
Update docs/battle_anim_commands.md
--- a/docs/battle_anim_commands.md
+++ b/docs/battle_anim_commands.md
@@ -47,7 +47,10 @@
- *gfx*: `ANIM_GFX` constants (see [constants/battle_anim_constants.asm](/constants/battle_anim_constants.asm))
+Caveats:
+- These will override any currently-loaded GFX.
+
## `$D6`: <code>anim_incobj <i>object_id</i></code>
Increments an object's state.
@@ -76,15 +79,17 @@
Since there can't be two of the same bg effect, the effect type is used. This is distinct from `anim_incobj`.
-## `$D9`: `anim_enemyfeetobj`
+## `$D9`: `anim_battlergfx_2row`
-Temporarily creates sprites from the bottom row of the enemy frontpic, so that the player backpic can be moved around without corrupting the enemy frontpic.
+## `$DA`: `anim_battlergfx_1row`
-## `$DA`: `anim_playerheadobj`
+Loads animation graphics for the bottom one or two rows of the enemy pokemon and the top one or two rows of the player's.
+These graphics are identified through `ANIM_GFX_ENEMYFEET` and `ANIM_GFX_PLAYERHEAD`.
-Temporarily creates sprites from the top row of the player backpic, so that the enemy frontpic can be moved around without corrupting the player backpic.
-
+Caveats:
+- Doesn't work with `anim_4gfx` and `anim_5gfx`.
+- This overwrites previously loaded animation graphics if you've loaded more than 53 tiles (2row) or 66 tiles (1row).
## `$DB`: `anim_checkpokeball`