|
|
|
|
@ -10,52 +10,6 @@ if (global.saxmode && (!global.lobbyLocked))
|
|
|
|
|
chStepSetSprite()
|
|
|
|
|
exit
|
|
|
|
|
}
|
|
|
|
|
if (global.playerhealth <= 0 && global.sax && oCharacter.sprite_index != sCoreXSAX)
|
|
|
|
|
global.playerhealth = 1
|
|
|
|
|
if (global.saxmode && global.sax && global.playerhealth == 1 && (!global.spectator) && global.lobbyLocked)
|
|
|
|
|
{
|
|
|
|
|
if (!global.mosaic)
|
|
|
|
|
{
|
|
|
|
|
global.mosaic = 1
|
|
|
|
|
mosaicTime = 0
|
|
|
|
|
}
|
|
|
|
|
if global.mosaic
|
|
|
|
|
{
|
|
|
|
|
invincible = 1
|
|
|
|
|
if (mosaicTime == 0)
|
|
|
|
|
{
|
|
|
|
|
sfx_play(sndXMorph1)
|
|
|
|
|
Mute_Loops()
|
|
|
|
|
image_speed = 0
|
|
|
|
|
global.playerFreeze = 1
|
|
|
|
|
}
|
|
|
|
|
if (mosaicTime < 40)
|
|
|
|
|
{
|
|
|
|
|
sizeX += 0.18
|
|
|
|
|
sizeY += 0.12
|
|
|
|
|
}
|
|
|
|
|
if (mosaicTime == 40)
|
|
|
|
|
sprite_index = sCoreXSAX
|
|
|
|
|
if (mosaicTime >= 40 && mosaicTime < 80)
|
|
|
|
|
{
|
|
|
|
|
sizeX -= 0.18
|
|
|
|
|
sizeY -= 0.12
|
|
|
|
|
}
|
|
|
|
|
if (mosaicTime == 80)
|
|
|
|
|
{
|
|
|
|
|
global.mosaic = 0
|
|
|
|
|
global.spectator = 1
|
|
|
|
|
global.spectatorIndex = -1
|
|
|
|
|
global.reformTimer = 1200
|
|
|
|
|
invincible = 240
|
|
|
|
|
mosaicTime = 0
|
|
|
|
|
}
|
|
|
|
|
mosaicTime++
|
|
|
|
|
}
|
|
|
|
|
xVel = 0
|
|
|
|
|
yVel = 0
|
|
|
|
|
exit
|
|
|
|
|
}
|
|
|
|
|
if global.spectator
|
|
|
|
|
{
|
|
|
|
|
if global.reform
|
|
|
|
|
@ -137,31 +91,12 @@ if global.spectator
|
|
|
|
|
with (oMBTrail)
|
|
|
|
|
instance_destroy()
|
|
|
|
|
}
|
|
|
|
|
if (!global.sax)
|
|
|
|
|
{
|
|
|
|
|
sprite_index = sMonitoad
|
|
|
|
|
image_speed = 0.25
|
|
|
|
|
maxSpectatorLeftSpeed = -4
|
|
|
|
|
maxSpectatorRightSpeed = 4
|
|
|
|
|
maxSpectatorUpSpeed = -4
|
|
|
|
|
maxSpectatorDownSpeed = 4
|
|
|
|
|
}
|
|
|
|
|
if global.sax
|
|
|
|
|
{
|
|
|
|
|
sprite_index = sCoreXSAX
|
|
|
|
|
image_speed = 0.16
|
|
|
|
|
maxSpectatorLeftSpeed = -2.5
|
|
|
|
|
maxSpectatorRightSpeed = 2.5
|
|
|
|
|
maxSpectatorUpSpeed = -2.5
|
|
|
|
|
maxSpectatorDownSpeed = 2.5
|
|
|
|
|
if (invincible > 0)
|
|
|
|
|
{
|
|
|
|
|
maxSpectatorLeftSpeed = -4
|
|
|
|
|
maxSpectatorRightSpeed = 4
|
|
|
|
|
maxSpectatorUpSpeed = -4
|
|
|
|
|
maxSpectatorDownSpeed = 4
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (kLeft > 0)
|
|
|
|
|
xVel -= 0.1
|
|
|
|
|
if (kRight > 0)
|
|
|
|
|
@ -280,8 +215,6 @@ if global.spectator
|
|
|
|
|
}
|
|
|
|
|
absorbTime++
|
|
|
|
|
}
|
|
|
|
|
if (!global.sax)
|
|
|
|
|
{
|
|
|
|
|
if (kJump && kJumpPushedSteps == 0 && spectatorSwapTimer == 0)
|
|
|
|
|
{
|
|
|
|
|
if instance_exists(oClient)
|
|
|
|
|
@ -358,20 +291,6 @@ if global.spectator
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if global.sax
|
|
|
|
|
global.spectatorIndex = -1
|
|
|
|
|
if global.sax
|
|
|
|
|
{
|
|
|
|
|
if global.spectator
|
|
|
|
|
{
|
|
|
|
|
if (kJump && kJumpPushedSteps == 0 && global.reformTimer == 0 && (!global.reform))
|
|
|
|
|
{
|
|
|
|
|
global.reform = 1
|
|
|
|
|
reformTime = 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (spectatorSwapTimer > 0)
|
|
|
|
|
spectatorSwapTimer--
|
|
|
|
|
exit
|
|
|
|
|
|