diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-07-19 03:52:20 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-07-19 03:52:20 -0500 |
commit | 64b4cf624fe2175e2c7539b91bc41b6dae28a00e (patch) | |
tree | 971ea955f5d40af7612f7b69029b49db98064690 /engine/battle/animations.asm | |
parent | ea9cc86949cecc3508aeac06b807372b6b0134d8 (diff) | |
parent | d0526c036210d2ee186a2a45feac91747ef6fb85 (diff) |
Merge branch 'master' of https://github.com/YamaArashi/pokered
Conflicts:
engine/evos_moves.asm
engine/overworld/healing_machine.asm
Diffstat (limited to 'engine/battle/animations.asm')
-rwxr-xr-x | engine/battle/animations.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index 19625b15..d9406257 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -796,9 +796,9 @@ DoBallShakeSpecialEffects: ; 78f96 (1e:4f96) dec a ret nz ; if it's the end of the ball shaking subanimation, check if more shakes are left and restart the subanimation - ld a,[wWhichTrade] ; number of shakes + ld a,[wNumShakes] ; number of shakes dec a ; decrement number of shakes - ld [wWhichTrade],a + ld [wNumShakes],a ret z ; if there are shakes left, restart the subanimation ld a,[W_SUBANIMSUBENTRYADDR] @@ -1998,11 +1998,11 @@ AnimationWavyScreen: ; 79666 (1e:5666) ret Func_796ae: ; 796ae (1e:56ae) - ld a, [$ff41] + ld a, [rSTAT] and $3 jr nz, Func_796ae ld a, [hl] - ld [$ff43], a + ld [rSCX], a inc hl ld a, [hl] cp d @@ -2895,7 +2895,7 @@ TossBallAnimation: ; 79e16 (1e:5e16) ; store these for later ld a,b and a,$F - ld [wWhichTrade],a + ld [wNumShakes],a ld hl,.PokeBallAnimations ; choose which toss animation to use |