Another try at fixing waterfall bug

This commit is contained in:
JappaWakka 2022-10-02 12:50:34 +02:00
parent bbaeeaaa95
commit 470ccdff4f
5 changed files with 4 additions and 0 deletions

View File

@ -213,11 +213,13 @@
End While
s = "version=2" & Environment.NewLine &
"@player.preventmovement" & Environment.NewLine &
"@player.stopmovement" & Environment.NewLine &
"@player.move(2)" & Environment.NewLine &
"@player.setmovement(0,-1,0)" & Environment.NewLine &
"@player.move(" & Steps & ")" & Environment.NewLine &
"@player.resetmovement" & Environment.NewLine &
"@player.allowmovement" & Environment.NewLine &
":end"
CType(Core.CurrentScreen, OverworldScreen).ActionScript.StartScript(s, 2)
@ -261,6 +263,7 @@
End If
End While
s = "version=2" & Environment.NewLine &
"@player.preventmovement" & Environment.NewLine &
"@player.stopmovement" & Environment.NewLine &
"@pokemon.cry(" & pNumber & ")" & Environment.NewLine &
"@sound.play(select)" & Environment.NewLine &
@ -269,6 +272,7 @@
"@player.move(" & Steps & ")" & Environment.NewLine &
"@player.resetmovement" & Environment.NewLine &
"@player.move(2)" & Environment.NewLine &
"@player.allowmovement" & Environment.NewLine &
":end"
PlayerStatistics.Track("Waterfall used", 1)