From 04d9cce5766d1e5b04720adccaf842f9eb8363e1 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Sun, 26 Jun 2022 21:02:33 +0200 Subject: [PATCH] Removed unnecessary stuff from waterfall script --- P3D/Entites/Enviroment/Waterfall.vb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/P3D/Entites/Enviroment/Waterfall.vb b/P3D/Entites/Enviroment/Waterfall.vb index 06f78589f..83300afc6 100644 --- a/P3D/Entites/Enviroment/Waterfall.vb +++ b/P3D/Entites/Enviroment/Waterfall.vb @@ -209,12 +209,10 @@ s = "version=2" & Environment.NewLine & "@player.stopmovement" & Environment.NewLine & - "@overworldpokemon.hide" & Environment.NewLine & "@player.move(2)" & Environment.NewLine & "@player.setmovement(0,-1,0)" & Environment.NewLine & - "@overworldpokemon.hide" & Environment.NewLine & "@player.move(" & Steps & ")" & Environment.NewLine & - "@overworldpokemon.hide" & Environment.NewLine & + "@player.resetmovement" & Environment.NewLine & ":end" CType(Core.CurrentScreen, OverworldScreen).ActionScript.StartScript(s, 2) @@ -257,9 +255,6 @@ foundSteps = False End If End While - - Screen.Camera.PlannedMovement = New Vector3(0, 1, 0) - s = "version=2" & Environment.NewLine & "@player.stopmovement" & Environment.NewLine & "@pokemon.cry(" & pNumber & ")" & Environment.NewLine & @@ -267,10 +262,8 @@ "@text.show(" & pName & " used~Waterfall.)" & Environment.NewLine & "@player.setmovement(0,1,0)" & Environment.NewLine & "@player.move(" & Steps & ")" & Environment.NewLine & - "@overworldpokemon.hide" & Environment.NewLine & "@player.resetmovement" & Environment.NewLine & "@player.move(2)" & Environment.NewLine & - "@overworldpokemon.hide" & Environment.NewLine & ":end" PlayerStatistics.Track("Waterfall used", 1)