summaryrefslogtreecommitdiff
path: root/src/battle/anim/sunlight.c
blob: f6cb8a0775692bbe6398871a0d198395fab68974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "global.h"
#include "battle_anim.h"
#include "rom_8077ABC.h"

// sunlight (creates sunlight orbs)
// Used in Sunny Day

void sub_80D517C(struct Sprite *sprite)
{
    sprite->pos1.x = 0;
    sprite->pos1.y = 0;
    sprite->data[0] = 60;
    sprite->data[2] = 140;
    sprite->data[4] = 80;
    sprite->callback = sub_8078B34;
    StoreSpriteCallbackInData(sprite, move_anim_8072740);
}