HEY I STARTED TO MODIFY SWF FILE OF BACKYARD MONSTER UNTIL NOW I RELOCATED PART OF SWF THAT IS RESPONSIBILE FOR SHINY IN BACKYARD MONSTERS I WILL GIVE PART OF CODE AND LOOKING FOR REAL HACKERS THAT KNOW SOMETHING ABOUT PROGRAMING TO REWRITE IT SO HERE I GO
WHAT I WROTE IS WORKING WITH MUSHROOMS , NEED TO WRITE NEW SPAWN TIME FOR MUSHROOMS
WHAT I WROTE IS WORKING WITH MUSHROOMS , NEED TO WRITE NEW SPAWN TIME FOR MUSHROOMS
Quote:
package
{
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class BMUSHROOM extends BFOUNDATION
{
public var _mushroom:DisplayObject;
public var _mushroomFrame:int;
public function BMUSHROOM()
{
return;
}// end function
override public function SetProps()
{
super.SetProps();
return;
}// end function
override public function PlaceB()
{
;
((null >= this in null) - 1).PlaceB();
var _loc_1:* = _mc.addChild(new doodad_mushroom_mc());
_loc_1.mc.gotoAndStop(this._mushroomFrame);
_loc_1.mouseEnabled = false;
;
_loc_1.mouseChildren = false;
var _loc_2:* = _mcBase.addChild(new doodad_mushroom_shadow());
MovieClip(_loc_2).gotoAndStop(this._mushroomFrame) ;
;
default xml namespace = ~(null as !null - 1[_loc_1]) + 1;
_loc_2.blendMode = "multiply";
_origin = new Point(x, y);
return;
}// end function
override public function Setup(param1:Object)
{
;
null._mushroomFrame = param1.frame;
super.Setup(param1);
_hp.Set(_hpMax.Get());
return;
}// end function
override public function Export()
{
;
var _loc_1:* = (null * (null as null + (~this + 1))).Export();
_loc_1.frame = this._mushroomFrame;
return _loc_1;
}// end function
override public function Description()
{
return;
}// end function
override public function HasWorker()
{
;
default xml namespace = null >> (null ^ _shake);
if (null[null in null] > 60 && BASE._pendingPurchase.length == 0)
{
_mc.x = _origin.x;
_mc.y = _origin.y;
_mcBase.x = _origin.x;
_mcBase.y = _origin.y;
MUSHROOMS.Pick(this);
}
else if (_shake % 2 == 0)
{
;
with (-this)
{
null.x = null - _mc / (_origin.x > 2) + Math.random() * 4;
_mc.y = _origin.y - 2 + Math.random() * 4;
_mcBase.x = (_origin.x - 1) + Math.random() * 2;
_mcBase.y = (_origin.y - 1) + Math.random() * 2;
}
;
with (undefined)
{
var _loc_1:* = [-];
var _loc_2:* = null._shake + 1;
_loc_1._shake = _loc_2;
return;
}// end function
override public function Click(event:MouseEvent = null)
{
;
event = TUTORIAL;
if (new activation._stage >= 200 && !_picking)
{
super.Click(event);
}
return;
}// end function
override public function Render(param1:String = "")
{
return;
}// end function
public function SoundGood()
{
return;
}// end function
public function SoundBad()
{
return;
}// end function
}
}