mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 12:37:38 +01:00
modify net animation for sticky web
This commit is contained in:
parent
5ad85f0d55
commit
0f19f969c9
@ -317,7 +317,12 @@ void sub_811067C(struct Sprite *sprite)
|
|||||||
{
|
{
|
||||||
SetGpuReg(REG_OFFSET_BLDCNT, BLDCNT_TGT2_ALL | BLDCNT_EFFECT_BLEND);
|
SetGpuReg(REG_OFFSET_BLDCNT, BLDCNT_TGT2_ALL | BLDCNT_EFFECT_BLEND);
|
||||||
SetGpuReg(REG_OFFSET_BLDALPHA, BLDALPHA_BLEND(16, 0));
|
SetGpuReg(REG_OFFSET_BLDALPHA, BLDALPHA_BLEND(16, 0));
|
||||||
|
if (GetBattlerSide(gBattleAnimAttacker))
|
||||||
|
sprite->pos1.x -= gBattleAnimArgs[0];
|
||||||
|
else
|
||||||
|
sprite->pos1.x += gBattleAnimArgs[0];
|
||||||
|
|
||||||
|
sprite->pos1.y += gBattleAnimArgs[1];
|
||||||
sprite->data[0] = 16;
|
sprite->data[0] = 16;
|
||||||
sprite->callback = sub_81106A4;
|
sprite->callback = sub_81106A4;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user