+
+ if(enemy->shot_frame >= 0) {
+ if(enemy->shot_frame < SFRM_LVL1) {
+ spr_oam(oam, dynspr_base + snum++, SPRID_SHOT0, px - 16, py - 16,
+ SPR_DBLSZ | SPR_SZ16 | SPR_256COL | SPR_ROTSCL | SPR_ROTSCL_SEL(0));
+ } else if(enemy->shot_frame < SFRM_LVL2) {
+ spr_oam(oam, dynspr_base + snum++, SPRID_SHOT1, px - 16, py - 16,
+ SPR_DBLSZ | SPR_SZ16 | SPR_256COL | SPR_ROTSCL | SPR_ROTSCL_SEL(0));
+ } else {
+ spr_oam(oam, dynspr_base + snum++, SPRID_SHOT2, px - 16, py - 16,
+ SPR_DBLSZ | SPR_SZ16 | SPR_256COL | SPR_ROTSCL | SPR_ROTSCL_SEL(0));
+ }
+ }
+
+