From 112667e773e10bf9a3d20ed8bcf4d7e7c6da185a Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sun, 25 Nov 2018 23:15:33 +0100 Subject: Fix Belly Drum fix --- docs/bugs_and_glitches.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md index c086562fb..4143c2606 100644 --- a/docs/bugs_and_glitches.md +++ b/docs/bugs_and_glitches.md @@ -183,7 +183,9 @@ This bug existed for all battles in Gold and Silver, and was only fixed for sing callfar CheckUserHasEnoughHP jr nc, .failed + ++ push bc + call BattleCommand_AttackUp2 ++ pop bc + ld a, [wAttackMissed] + and a + jr nz, .failed -- cgit v1.2.3 From fd1fa78ffe78c9101c0ae5a1ca299d4282462ecd Mon Sep 17 00:00:00 2001 From: mid-kid Date: Mon, 26 Nov 2018 00:10:41 +0100 Subject: Update docs/battle_anim_commands.md --- docs/battle_anim_commands.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/battle_anim_commands.md b/docs/battle_anim_commands.md index 86763b24a..7c4d8313d 100644 --- a/docs/battle_anim_commands.md +++ b/docs/battle_anim_commands.md @@ -47,6 +47,9 @@ Loads 1-5 sets of graphics. Will overwrite any previously loaded sets. - *gfx*: `ANIM_GFX` constants (see [constants/battle_anim_constants.asm](/constants/battle_anim_constants.asm)) +Caveats: +- These will override any currently-loaded GFX. + ## `$D6`: anim_incobj object_id @@ -76,15 +79,17 @@ Increments a bg effect's state. 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` - -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. +## `$D9`: `anim_battlergfx_2row` -## `$DA`: `anim_playerheadobj` +## `$DA`: `anim_battlergfx_1row` -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. +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`. +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` -- cgit v1.2.3