whimsical star done

This commit is contained in:
cuckydev 2019-02-03 13:41:15 -05:00
parent 5cdb566b5b
commit de6bf5209c
4 changed files with 15 additions and 3 deletions

Binary file not shown.

View file

@ -1018,6 +1018,12 @@ void ActBullet_SuperBom(BULLET *bul, int level)
} }
} }
void ActBullet_Star(BULLET *bul)
{
if (++bul->count1 > bul->life_count)
bul->cond = 0;
}
void ActBullet() void ActBullet()
{ {
for (int i = 0; i < BULLET_MAX; i++) for (int i = 0; i < BULLET_MAX; i++)
@ -1092,7 +1098,11 @@ void ActBullet()
case 33: case 33:
ActBullet_SuperBom(&gBul[i], 3); ActBullet_SuperBom(&gBul[i], 3);
break; break;
case 45:
ActBullet_Star(&gBul[i]);
break;
default:
continue;
} }
} }
else else

View file

@ -14,6 +14,7 @@
#include "TextScr.h" #include "TextScr.h"
#include "Flags.h" #include "Flags.h"
#include "Game.h" #include "Game.h"
#include "Star.h"
#include "Caret.h" #include "Caret.h"
MYCHAR gMC; MYCHAR gMC;
@ -740,7 +741,7 @@ void SetMyCharPosition(int x, int y)
gMC.xm = 0; gMC.xm = 0;
gMC.ym = 0; gMC.ym = 0;
gMC.cond &= ~1; gMC.cond &= ~1;
//InitStar(); InitStar();
} }
void MoveMyChar(int x, int y) void MoveMyChar(int x, int y)

View file

@ -8,6 +8,7 @@
#include "Map.h" #include "Map.h"
#include "MapName.h" #include "MapName.h"
#include "MyChar.h" #include "MyChar.h"
#include "Bullet.h"
#include "Boss.h" #include "Boss.h"
#include "Draw.h" #include "Draw.h"
#include "Tags.h" #include "Tags.h"
@ -192,7 +193,7 @@ bool TransferStage(int no, int w, int x, int y)
StartTextScript(w); StartTextScript(w);
SetFrameMyChar(); SetFrameMyChar();
//ClearBullet(); ClearBullet();
InitCaret(); InitCaret();
ClearValueView(); ClearValueView();
ResetQuake(); ResetQuake();