From 23fb09e417840a49edca2111e24c8243f2fe99c9 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Mon, 16 Aug 2021 16:28:55 -0400 Subject: [PATCH] Formatting --- Classic/scripts/LakRabbitGame.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classic/scripts/LakRabbitGame.cs b/Classic/scripts/LakRabbitGame.cs index bdaea37..ab9af30 100755 --- a/Classic/scripts/LakRabbitGame.cs +++ b/Classic/scripts/LakRabbitGame.cs @@ -2081,7 +2081,6 @@ function LakRabbitGame::enterMissionArea(%game, %playerData, %player) cancel(%player.alertThread); } - // borlak -- TAKEN FROM TR2 -- thanks! :D function plzBounceOffGrid(%obj, %bounceForce, %count) { @@ -2154,6 +2153,7 @@ function plzBounceOffGrid(%obj, %bounceForce, %count) schedule(250, 0, plzBounceOffGrid, %obj, %bounceForce, %count + 1); } } + function isOutOfBounds(%position) { %shapePos = %position; @@ -2168,6 +2168,7 @@ function isOutOfBounds(%position) return (%shapex < %boundsWest || %shapex > %boundsEast || %shapey < %boundsNorth || %shapey > %boundsSouth); } + function getHeight(%this) { %z = getWord(%this.getPosition(), 2); @@ -2190,7 +2191,6 @@ function LakRabbitGame::leaveMissionArea(%game, %playerData, %player) // From Arena // ------------------------------------------------------------------ // // Do damage to a player for being outside the mission area - function LakRabbitGame::MissionAreaDamage(%game, %player) { if(%player.getState() !$= "Dead")