first commit

This commit is contained in:
2026-06-14 01:40:04 +02:00
commit 5511354783
4787 changed files with 103543 additions and 0 deletions
@@ -0,0 +1,4 @@
on(release){
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnClicked"),"");
}
@@ -0,0 +1,4 @@
on(rollOut){
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnRollOut"),"");
}
@@ -0,0 +1,4 @@
on(rollOver){
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnRollOver"),"");
}
@@ -0,0 +1,2 @@
pulseCount = 5;
play();
@@ -0,0 +1,5 @@
if(--pulseCount > 0)
{
gotoAndStop("_loop");
play();
}
@@ -0,0 +1,54 @@
function Move(x, y)
{
var _loc3_ = _parent;
while(_loc3_ != _root)
{
x -= _loc3_._x;
y -= _loc3_._y;
_loc3_ = _loc3_._parent;
}
_X = x;
_Y = y;
}
function SetVisibility(visibleArg)
{
_visible = visibleArg != 0;
}
function IndicateNewness()
{
newness.gotoAndPlay("_play");
}
function GetPopUpStage()
{
return Pointer.encode(popUpStage);
}
function onUnload()
{
delete Move;
delete SetVisibility;
delete IndicateNewness;
delete GetPopUpStage;
delete onUnload;
}
if(!initialized)
{
primary.gotoAndPlay(category);
bonus.gotoAndPlay(category);
if(isBonus)
{
primary._visible = false;
}
else
{
bonus._visible = false;
}
newness.gotoAndStop(1);
initialized = true;
// Forbidden
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
if(!extern.InGame)
{
IndicateNewness();
}
}
stop();
@@ -0,0 +1,3 @@
onClipEvent(load){
text = "$" + qualifyName(_parent,"Ordinal");
}
@@ -0,0 +1,21 @@
function SetIsBonus(val)
{
isBonus = val;
icon.gotoAndPlay(!isBonus ? "_primary" : "_bonus");
}
function SetOrdinalText(val)
{
marker.textClip.textVar = val;
}
function onUnload()
{
delete SetIsBonus;
delete SetOrdinalText;
delete onUnload;
}
if(!initialized)
{
isBonus = false;
_parent.OnContentLoaded(this);
initialized = true;
}