No there's no other code.This is the first thing I did.
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
Mode7 test;
function room_AfterFadeIn()
{
test.SetGroundSprite(3);
}
function room_AfterFadeIn()
{
Mode7.SetGroundSprite(3);
}
function hHotspot1_AnyClick()
{
QuitGame(1);
}
function hHotspot1_MouseMove()
{
mouse.SaveCursorUntilItLeaves();
mouse.Mode=eModeCleave;
}
function on_event(EventType event, int data)
{
int geargraphic = Random(5);
if(event == eEventEnterRoomBeforeFadein)
{
if(geargraphic==0)
{
a.Graphic=13;
}
if(geargraphic==1)
{
a.Graphic=8;
}
if(geargraphic==2)
{
a.Graphic=7;
}
if(geargraphic==3)
{
a.Graphic=9;
}
if(geargraphic==4)
{
a.Graphic=10;
}
if(geargraphic==5)
{
a.Graphic=12;
}
a.X=200;
a.Y=200;
}
}
Overlay *over+c1 = Overlay.CreateGraphical(X, Y, SPRITE_NUMBER, true);
C1+=1;
int c1;
function hHotspot4_AnyClick()
{
if(c1==0)
{
bubbles.SetView(6);
Bubble.Play();
bubbles.Animate(0, 3, eOnce, eNoBlock);
}
if(c1==1)
{
bubbles101.SetView(6);
Bubble.Play();
bubbles101.Animate(0, 3, eOnce, eNoBlock);
}
if(c1==2)
{
bubbles102.SetView(6);
Bubble.Play();
bubbles102.Animate(0, 3, eOnce, eNoBlock);
}
if(c1==3)
{
bubbles103.SetView(6);
Bubble.Play();
bubbles103.Animate(0, 3, eOnce, eNoBlock);
}
if(c1==4)
{
bubbles104.SetView(6);
Bubble.Play();
bubbles104.Animate(0, 3, eOnce, eNoBlock);
}
if(c1==5)
{
bubbles105.SetView(6);
Bubble.Play();
bubbles105.Animate(0, 3, eOnce, eNoBlock);
}
if(c1==6)
{
bubbles106.SetView(6);
Bubble.Play();
bubbles106.Animate(0, 3, eOnce, eNoBlock);
}
if(c1==7)
{
bubbles107.SetView(6);
Bubble.Play();
bubbles107.Animate(0, 3, eOnce, eNoBlock);
}
if(c1==8)
{
bubbles108.SetView(6);
Bubble.Play();
bubbles108.Animate(0, 3, eOnce, eNoBlock);
}
if(c1<9)
{
c1+=1;
}
if(c1==9)
{
c1=0;
}
}
int c2;
function hHotspot5_AnyClick()
{
if(c2==0)
{
bubbles2.SetView(19);
Bubble.Play();
bubbles2.Animate(0, 3, eOnce, eNoBlock);
}
if(c2==1)
{
bubbles201.SetView(19);
Bubble.Play();
bubbles201.Animate(0, 3, eOnce, eNoBlock);
}
if(c2==2)
{
bubbles202.SetView(19);
Bubble.Play();
bubbles202.Animate(0, 3, eOnce, eNoBlock);
}
if(c2==3)
{
bubbles203.SetView(19);
Bubble.Play();
bubbles203.Animate(0, 3, eOnce, eNoBlock);
}
if(c2==4)
{
bubbles204.SetView(19);
Bubble.Play();
bubbles204.Animate(0, 3, eOnce, eNoBlock);
}
if(c2==5)
{
bubbles205.SetView(19);
Bubble.Play();
bubbles205.Animate(0, 3, eOnce, eNoBlock);
}
if(c2==6)
{
bubbles206.SetView(19);
Bubble.Play();
bubbles206.Animate(0, 3, eOnce, eNoBlock);
}
if(c2==7)
{
bubbles207.SetView(19);
Bubble.Play();
bubbles207.Animate(0, 3, eOnce, eNoBlock);
}
if(c2==8)
{
bubbles208.SetView(19);
Bubble.Play();
bubbles208.Animate(0, 3, eOnce, eNoBlock);
}
if(c2<9)
{
c2+=1;
}
if(c2==9)
{
c2=0;
}
}
int c3;
function hHotspot6_AnyClick()
{
if(c3==0)
{
bubbles3.SetView(20);
Bubble.Play();
bubbles3.Animate(0, 3, eOnce, eNoBlock);
}
if(c3==1)
{
bubbles301.SetView(20);
Bubble.Play();
bubbles301.Animate(0, 3, eOnce, eNoBlock);
}
if(c3==2)
{
bubbles302.SetView(20);
Bubble.Play();
bubbles302.Animate(0, 3, eOnce, eNoBlock);
}
if(c3==3)
{
bubbles303.SetView(20);
Bubble.Play();
bubbles303.Animate(0, 3, eOnce, eNoBlock);
}
if(c3==4)
{
bubbles304.SetView(20);
Bubble.Play();
bubbles304.Animate(0, 3, eOnce, eNoBlock);
}
if(c3==5)
{
bubbles305.SetView(20);
Bubble.Play();
bubbles305.Animate(0, 3, eOnce, eNoBlock);
}
if(c3==6)
{
bubbles306.SetView(20);
Bubble.Play();
bubbles306.Animate(0, 3, eOnce, eNoBlock);
}
if(c3==7)
{
bubbles307.SetView(20);
Bubble.Play();
bubbles307.Animate(0, 3, eOnce, eNoBlock);
}
if(c3==8)
{
bubbles308.SetView(20);
Bubble.Play();
bubbles308.Animate(0, 3, eOnce, eNoBlock);
}
if(c3<9)
{
c3+=1;
}
if(c3==9)
{
c3=0;
}
}
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.110 seconds with 19 queries.