Frame 1
points = 0;
health = 50;
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
stop();
Frame 2
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
stop();
Instance of Symbol 27 MovieClip "cirno" in Frame 2
onClipEvent (load) {
speed = 8.5;
}
onClipEvent (enterFrame) {
_root.points = _root.points + 1;
if (Key.isDown(39)) {
if (hitTest(_root.rightwall)) {
} else {
this._rotation = 10;
this._x = this._x + speed;
}
}
if (Key.isDown(37)) {
if (hitTest(_root.leftwall)) {
} else {
this._rotation = -10;
this._x = this._x - (speed * 1.5);
}
}
if (Key.isDown(38)) {
if (hitTest(_root.topwall)) {
} else {
this._y = this._y - speed;
}
}
if (Key.isDown(40)) {
if (hitTest(_root.bottomwall)) {
} else {
this._y = this._y + speed;
}
}
}
Instance of Symbol 14 MovieClip "icecream2" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno)) {
_root.cirno.gotoAndPlay("fifty");
this._x = 2000;
_root.points = _root.points + 50;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
this._rotation = this._rotation + 15;
}
if (this._x <= 0) {
this._x = 2000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 16 MovieClip "icecream" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno)) {
this._x = 5000;
_root.cirno.gotoAndPlay("hundred");
_root.points = _root.points + 100;
this._y = Math.random() * 400;
} else {
this._x = this._x - 30;
this._rotation = this._rotation + 15;
}
if (this._x <= 0) {
this._x = 5000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 12 MovieClip "bullet3" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno.hitbox)) {
this._x = (Math.random() * 1000) + 1000;
_root.cirno.gotoAndPlay("hit");
_root.health = _root.health - 10;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
}
if (this._x <= 0) {
this._x = (Math.random() * 1000) + 1000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 12 MovieClip "bullet2" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno.hitbox)) {
this._x = (Math.random() * 1000) + 1000;
_root.cirno.gotoAndPlay("hit");
_root.health = _root.health - 10;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
}
if (this._x <= 0) {
this._x = (Math.random() * 1000) + 1000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 12 MovieClip "bullet1" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno.hitbox)) {
this._x = (Math.random() * 1000) + 1000;
_root.cirno.gotoAndPlay("hit");
_root.health = _root.health - 10;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
}
if (this._x <= 0) {
this._x = (Math.random() * 1000) + 1000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 12 MovieClip "bullet4" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno.hitbox)) {
this._x = (Math.random() * 1000) + 1000;
_root.cirno.gotoAndPlay("hit");
_root.health = _root.health - 10;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
}
if (this._x <= 0) {
this._x = (Math.random() * 1000) + 1000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 12 MovieClip "bullet5" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno.hitbox)) {
this._x = (Math.random() * 1000) + 1000;
_root.cirno.gotoAndPlay("hit");
_root.health = _root.health - 10;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
}
if (this._x <= 0) {
this._x = (Math.random() * 1000) + 1000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 12 MovieClip "bullet6" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno.hitbox)) {
this._x = (Math.random() * 1000) + 1000;
_root.cirno.gotoAndPlay("hit");
_root.health = _root.health - 10;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
}
if (this._x <= 0) {
this._x = (Math.random() * 1000) + 1000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 12 MovieClip "bullet7" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno.hitbox)) {
this._x = (Math.random() * 1000) + 1000;
_root.cirno.gotoAndPlay("hit");
_root.health = _root.health - 10;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
}
if (this._x <= 0) {
this._x = (Math.random() * 1000) + 1000;
this._y = Math.random() * 400;
}
}
Instance of Symbol 49 MovieClip "health" in Frame 2
onClipEvent (enterFrame) {
this._width = _root.health * 10.8;
}
onClipEvent (enterFrame) {
if (this._width == 0) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 37 MovieClip "heal" in Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.cirno.hitbox)) {
this._x = (Math.random() * 4000) + 40000;
_root.health = _root.health + 20;
this._y = Math.random() * 400;
} else {
this._x = this._x - 20;
}
if (this._x <= 0) {
this._x = (Math.random() * 4000) + 40000;
this._y = Math.random() * 400;
}
}
Frame 3
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
stop();
Symbol 10 Button
on (release) {
gotoAndStop (2);
}
Symbol 27 MovieClip Frame 1
if (Key.isDown(39)) {
} else if (Key.isDown(37)) {
} else {
this._rotation = 0;
}
Symbol 27 MovieClip Frame 2
if (Key.isDown(39)) {
} else if (Key.isDown(37)) {
} else {
this._rotation = 0;
}
Symbol 27 MovieClip Frame 3
if (Key.isDown(39)) {
} else if (Key.isDown(37)) {
} else {
this._rotation = 0;
}
Symbol 27 MovieClip Frame 4
if (Key.isDown(39)) {
} else if (Key.isDown(37)) {
} else {
this._rotation = 0;
}
Symbol 27 MovieClip Frame 5
if (Key.isDown(39)) {
} else if (Key.isDown(37)) {
} else {
this._rotation = 0;
}
Symbol 27 MovieClip Frame 6
if (Key.isDown(39)) {
} else if (Key.isDown(37)) {
} else {
this._rotation = 0;
}
Symbol 27 MovieClip Frame 7
if (Key.isDown(39)) {
} else if (Key.isDown(37)) {
} else {
this._rotation = 0;
}
Symbol 27 MovieClip Frame 8
if (Key.isDown(39)) {
} else if (Key.isDown(37)) {
} else {
this._rotation = 0;
}
this.gotoAndPlay(1);
Symbol 27 MovieClip Frame 24
gotoAndPlay (1);
Symbol 27 MovieClip Frame 40
gotoAndPlay (1);
Symbol 45 MovieClip Frame 1
snowflakes = 75;
do {
duplicateMovieClip (snow, "snow" + k, k);
k++;
} while (k != snowflakes);
Instance of Symbol 44 MovieClip "snow" in Symbol 45 MovieClip Frame 1
onClipEvent (load) {
width = 550;
height = 400;
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._alpha = 20 + (Math.random() * 50);
this._x = (-width) + (Math.random() * (3 * width));
this._y = -10 + (Math.random() * height);
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
xmovement = (_root.cirno._x * 2) + 500;
this._x = this._x - (Math.cos(rad) + ((xmovement - (width / 2)) / 50));
this._y = this._y + i;
if (this._x > (width + 50)) {
this._x = -45;
this._y = (Math.random() * height) * 2;
}
if (this._x < -50) {
this._x = width + 45;
this._y = (Math.random() * height) * 2;
}
if (this._y >= height) {
this._y = -50;
this._x = (-width) + (Math.random() * (3 * width));
}
}
Symbol 55 Button
on (release) {
_root.gotoAndStop(2);
points = 0;
health = 50;
}