shithub: cstory

Download patch

ref: de6bf5209caaefb06b74d116f9b36a27902be676
parent: 5cdb566b5bb15d6ad0437418344d9b7997d0394b
author: cuckydev <cuckydev@users.noreply.github.com>
date: Sun Feb 3 08:41:15 EST 2019

whimsical star done

binary files /dev/null b/build/Save Curly Booster v2 Spur Whimsical Star.dat differ
--- a/src/Bullet.cpp
+++ b/src/Bullet.cpp
@@ -1018,6 +1018,12 @@
 	}
 }
 
+void ActBullet_Star(BULLET *bul)
+{
+	if (++bul->count1 > bul->life_count)
+		bul->cond = 0;
+}
+
 void ActBullet()
 {
 	for (int i = 0; i < BULLET_MAX; i++)
@@ -1092,7 +1098,11 @@
 					case 33:
 						ActBullet_SuperBom(&gBul[i], 3);
 						break;
-
+					case 45:
+						ActBullet_Star(&gBul[i]);
+						break;
+					default:
+						continue;
 				}
 			}
 			else
--- a/src/MyChar.cpp
+++ b/src/MyChar.cpp
@@ -14,6 +14,7 @@
 #include "TextScr.h"
 #include "Flags.h"
 #include "Game.h"
+#include "Star.h"
 #include "Caret.h"
 
 MYCHAR gMC;
@@ -740,7 +741,7 @@
 	gMC.xm = 0;
 	gMC.ym = 0;
 	gMC.cond &= ~1;
-	//InitStar();
+	InitStar();
 }
 
 void MoveMyChar(int x, int y)
--- a/src/Stage.cpp
+++ b/src/Stage.cpp
@@ -8,6 +8,7 @@
 #include "Map.h"
 #include "MapName.h"
 #include "MyChar.h"
+#include "Bullet.h"
 #include "Boss.h"
 #include "Draw.h"
 #include "Tags.h"
@@ -192,7 +193,7 @@
 		
 		StartTextScript(w);
 		SetFrameMyChar();
-		//ClearBullet();
+		ClearBullet();
 		InitCaret();
 		ClearValueView();
 		ResetQuake();
--