Combined Code
frame 1 {
stop();
_root.Power = 1;
_root.Smarts = 1;
_root.Charm = 1;
_root.Luck = 1;
_root.Attack = 1;
_root.Defence = 1;
_root.Armor = 1;
_root.Gay = 0;
_root.Rings = 0;
_root.HP = 100;
_root.Day = 1;
_root.Panties = 0;
_root.Cream = 0;
}
// unknown tag 88 length 78
button 7 {
on (release) {
gotoAndStop(5);
}
}
frame 2 {
stop();
var Power;
var Smarts;
var Charm;
var Luck;
var Attack;
var Defence;
var Armor;
var Gay;
var Rings;
var HP;
var Day;
var Panties;
}
button 44 {
on (release) {
gotoAndStop(6);
}
}
button 49 {
on (release) {
gotoAndStop(3);
}
}
frame 3 {
stop();
BagButton.onRelease = function () {
gotoAndStop(4);
};
var Cream;
var Amy;
var Rouge;
}
button 57 {
on (release) {
prevFrame();
}
}
frame 4 {
stop();
BagBack.onRelease = function () {
gotoAndStop(3);
};
var Panties;
var Flowers;
var Necklaces;
var Toys;
var ChaosEm;
var Parts;
}
frame 5 {
stop();
}
button 83 {
on (release) {
gotoAndStop(6);
}
}
frame 6 {
stop();
}
button 89 {
on (release) {
gotoAndStop(7);
}
}
button 94 {
on (release) {
gotoAndStop(2);
}
}
button 99 {
on (release) {
gotoAndStop(9);
}
}
frame 7 {
stop();
}
button 103 {
on (release) {
gotoAndStop(8);
}
}
button 107 {
on (release) {
gotoAndStop(6);
}
}
frame 8 {
stop();
}
button 116 {
on (release) {
HP = 100;
HP = 100;
Day += 1;
gotoAndStop(7);
}
}
frame 9 {
stop();
}
button 125 {
on (release) {
gotoAndStop(10);
}
}
button 130 {
on (release) {
gotoAndStop(6);
}
}
button 135 {
on (release) {
gotoAndStop(15);
}
}
frame 10 {
stop();
}
button 144 {
on (release) {
gotoAndStop(9);
}
}
button 148 {
on (release) {
gotoAndStop(11);
}
}
frame 11 {
stop();
CreamsDresser.onPress = function () {
if (HP < 80) {
CP.text = 'Not enough HP';
} else {
if (Panties < 1) {
CP.text = 'You stole a pair of panties!';
Panties += 1;
HP -= 80;
} else {
Panties = 1;
if (1) {
CP.text = 'You can only have 1 pair of panties!';
} else {}
}
}
};
CreamsDresser.onRelease = function () {
CP.text = '';
};
Cream.onPress = function () {
gotoAndStop(CreamChatRoom);
};
}
button 158 {
on (release) {
gotoAndStop(10);
}
}
button 161 {
on (release) {
gotoAndStop(12);
}
}
frame 12 {
stop();
CreamTalk.onRelease = function () {
if (HP < 20) {
WarnChat.text = 'Not enough HP';
} else {
if (Cream >= 1000) {
CreamChat.text = 'I want to date Tails!';
Cream += 10;
HP -= 20;
} else {
if (Cream >= 500) {
CreamChat.text = 'I think your cute! *giggles*';
Cream += 10;
HP -= 20;
} else {
if (Cream >= 200) {
CreamChat.text = 'Its nice to see you!';
Cream += 10;
HP -= 20;
} else {
if (Cream >= 60) {
CreamChat.text = 'Hi Tails!';
Cream += 10;
HP -= 20;
} else {
CreamChat.text = 'yeah...Hi....';
Cream += 10;
HP -= 20;
}
}
}
}
}
};
CreamTalk.onRollOver = function () {
WarnChat.text = '-20 HP';
};
CreamTalk.onRollOut = function () {
WarnChat.text = '';
};
CreamBack.onRelease = function () {
gotoAndStop(11);
};
CreamGive.onPress = function () {
if (HP < 30) {
WarningChat.text = 'Not enough HP';
} else {
if (Cream <= 400) {
WarningChat.text = 'I don\'t know you enough...!';
} else {
if (Cream >= 400) {
gotoAndStop(4);
} else {}
}
}
};
CreamGive.onRelease = function () {
WarningChat.text = '';
};
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
Store.onRollOver = function () {
StoreSign.text = 'Store';
};
Store.onRelease = function () {
gotoAndStop(16);
};
}
button 185 {
on (release) {
gotoAndStop(16);
}
}
button 188 {
on (release) {
gotoAndStop(9);
}
}
frame 16 {
stop();
BlackM.onRelease = function () {
if (Panties <= 0) {
BM.text = 'You don\'t have any sellable items!';
} else {
Panties = 1;
if (1) {
BM.text = 'You sold panties for 10 Rings!';
Panties -= 1;
Rings += 10;
} else {
BM.text = '';
}
}
};
}
button 196 {
on (release) {
gotoAndStop(15);
}
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}