Removed X-Core

main
DodoBirb 3 years ago
parent 02263d6231
commit 001747f304

@ -184,7 +184,7 @@ else
draw_set_halign(fa_left) draw_set_halign(fa_left)
} }
} }
if ((!global.sax) && global.spectator && global.ingame) if (global.spectator && global.ingame)
{ {
text = "Jump to swap players" text = "Jump to swap players"
draw_set_font(global.fontGUI2) draw_set_font(global.fontGUI2)
@ -197,23 +197,3 @@ if ((!global.sax) && global.spectator && global.ingame)
draw_cool_text((view_xview[0] + 160), (view_yview[0] + 220), text, c_black, c_white, c_white, image_alpha) draw_cool_text((view_xview[0] + 160), (view_yview[0] + 220), text, c_black, c_white, c_white, image_alpha)
draw_set_halign(fa_left) draw_set_halign(fa_left)
} }
if (global.sax && global.spectator && global.ingame)
{
if (global.reformTimer > 0)
{
timerStr = string((global.reformTimer / 60))
text = (("Reform in " + timerStr) + " seconds")
draw_set_font(global.fontGUI2)
draw_set_halign(fa_center)
draw_cool_text((view_xview[0] + 160), (view_yview[0] + 220), text, c_black, c_white, c_white, image_alpha)
draw_set_halign(fa_left)
}
else
{
text = "Jump to reform!"
draw_set_font(global.fontGUI2)
draw_set_halign(fa_center)
draw_cool_text((view_xview[0] + 160), (view_yview[0] + 220), text, c_black, c_white, c_white, image_alpha)
draw_set_halign(fa_left)
}
}

@ -10,52 +10,6 @@ if (global.saxmode && (!global.lobbyLocked))
chStepSetSprite() chStepSetSprite()
exit 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.spectator
{ {
if global.reform if global.reform
@ -137,31 +91,12 @@ if global.spectator
with (oMBTrail) with (oMBTrail)
instance_destroy() instance_destroy()
} }
if (!global.sax)
{
sprite_index = sMonitoad sprite_index = sMonitoad
image_speed = 0.25 image_speed = 0.25
maxSpectatorLeftSpeed = -4 maxSpectatorLeftSpeed = -4
maxSpectatorRightSpeed = 4 maxSpectatorRightSpeed = 4
maxSpectatorUpSpeed = -4 maxSpectatorUpSpeed = -4
maxSpectatorDownSpeed = 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) if (kLeft > 0)
xVel -= 0.1 xVel -= 0.1
if (kRight > 0) if (kRight > 0)
@ -280,8 +215,6 @@ if global.spectator
} }
absorbTime++ absorbTime++
} }
if (!global.sax)
{
if (kJump && kJumpPushedSteps == 0 && spectatorSwapTimer == 0) if (kJump && kJumpPushedSteps == 0 && spectatorSwapTimer == 0)
{ {
if instance_exists(oClient) 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) if (spectatorSwapTimer > 0)
spectatorSwapTimer-- spectatorSwapTimer--
exit exit

Loading…
Cancel
Save