This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
// function top Global asc
int walktimer;
function Walking()
{
if(player.Moving)
{
walktimer=0;
}
else if (walktimer > GetGameSpeed ())
{
Stopped_Moving += 1;
LNotMoving.Text = String.Format("%d", Stopped_Moving);
walktimer = 0;
}
else walktimer++;
}
QuoteWhat do you mean by that?
// room script file
function Cod_Bass_Skate()
{
int ran=Random(3);
if (ran == 0) {
object[3].Graphic=84;
}
else if (ran == 1) {
object[3].Graphic=93;
}
else if (ran == 2) {
object[3].Graphic=83;
}
}
function Cod_Weight()
{
int CodWeight=Random(3);
if (CodWeight == 0)
{
Weight=(Weight +21);
}
else if (CodWeight == 1)
{
Weight=(Weight +23);
}
else if (CodWeight == 2)
{
Weight=(Weight +27);
}
}
function Bass_Weight()
{
int BassWeight=Random(3);
if (BassWeight == 0)
{
Weight=(Weight +7);
}
else if (BassWeight == 1)
{
Weight=(Weight +9);
}
else if (BassWeight == 2)
{
Weight=(Weight +11);
}
}
function Skate_Weight()
{
int SkateWeight=Random(3);
if (SkateWeight == 0)
{
Weight=(Weight +18);
}
else if (SkateWeight == 1)
{
Weight=(Weight +23);
}
else if (SkateWeight == 2)
{
Weight=(Weight +27);
}
}
function room_RepExec()
{
if(PPColliding.CWithC(cFish1, cRod) && Hooks==3 && Depths==3 && gCatch.Visible==false && gSetup.Visible==false && (Baits==1 || Baits==2 || Baits==4))
{
Cod_Bass_Skate(); // Runs Random ints to determine graphic[n]
cRod.LockView(9);
cRod.Animate(2,4, eRepeat, eNoBlock, eBackwards);
cLuke.Say("Look at my rod bending! It must be something big!");
cRod.LockView(11);
cRod.Animate(2,4, eRepeat, eNoBlock, eBackwards);
aREELING.Play();
cRod.LockView(4);
cRod.Animate(4,4, eRepeat, eNoBlock, eBackwards);
cFish1.Move(cFish1.x+190, cFish1.y, eBlock, eWalkableAreas);
Wait(90);
oobjectx.Move(oobjectx.X, oobjectx.Y-90, 1, eBlock, eAnywhere);
oobjectx.Move(oobjectx.X, oobjectx.Y-40, 1, eBlock, eAnywhere);
cRod.LockView(9);
cRod.Animate(2,4, eRepeat, eNoBlock, eBackwards);
aREELING.Stop();
if(object[3].Graphic==84) // Random int selected in Cod_Bass_Skate()
{
cLuke.Say("I've caught a massive Cod!");
Cod_caught=(Cod_caught +1);
Cod_Weight();
cRod.UnlockView();
oobjectx.Transparency=100;
oobjectx.Move(oobjectx.X, oobjectx.Y+130, 9, eBlock, eAnywhere);
oobjectx.Transparency=0;
aREELING.Play();
Wait(90);
aREELING.Stop();
cLuke.Say("I hope I catch more of those.");
Wait(1);
LWeight.Text=String.Format("%d",Weight);
}
else if(object[3].Graphic==93) // Random int selected in Cod_Bass_Skate()
{
cLuke.Say("I've caught a big Bass!");
Bass_Weight();
Bass_caught=(Bass_caught +1);
cRod.UnlockView();
oobjectx.Transparency=100;
oobjectx.Move(oobjectx.X, oobjectx.Y+130, 9, eBlock, eAnywhere);
oobjectx.Transparency=0;
aREELING.Play();
Wait(90);
aREELING.Stop();
cLuke.Say("I hope I catch more of those.");
Wait(1);
LWeight.Text=String.Format("%d",Weight);
}
else if(object[3].Graphic==83) // Random int selected in Cod_Bass_Skate()
{
cLuke.Say("I've caught a massive Thornback!");
Skate_caught=(Skate_caught +1);
Skate_Weight();
cRod.UnlockView();
oobjectx.Transparency=100;
oobjectx.Move(oobjectx.X, oobjectx.Y+130, 9, eBlock, eAnywhere);
oobjectx.Transparency=0;
aREELING.Play();
Wait(90);
aREELING.Stop();
cLuke.Say("I hope I catch more of those.");
Wait(1);
LWeight.Text=String.Format("%d",Weight);
}
}
}
function repeatedly_execute_always() {
LCod.Text=String.Format("%d",Cod_caught);
LBass.Text=String.Format("%d",Bass_caught);
LSkate.Text=String.Format("%d",Skate_caught);
LWeight.Text=String.Format("%d",Weight);
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.278 seconds with 15 queries.