Another try at fixing waterfall bug
This commit is contained in:
parent
bbaeeaaa95
commit
470ccdff4f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -213,11 +213,13 @@
|
||||||
End While
|
End While
|
||||||
|
|
||||||
s = "version=2" & Environment.NewLine &
|
s = "version=2" & Environment.NewLine &
|
||||||
|
"@player.preventmovement" & Environment.NewLine &
|
||||||
"@player.stopmovement" & Environment.NewLine &
|
"@player.stopmovement" & Environment.NewLine &
|
||||||
"@player.move(2)" & Environment.NewLine &
|
"@player.move(2)" & Environment.NewLine &
|
||||||
"@player.setmovement(0,-1,0)" & Environment.NewLine &
|
"@player.setmovement(0,-1,0)" & Environment.NewLine &
|
||||||
"@player.move(" & Steps & ")" & Environment.NewLine &
|
"@player.move(" & Steps & ")" & Environment.NewLine &
|
||||||
"@player.resetmovement" & Environment.NewLine &
|
"@player.resetmovement" & Environment.NewLine &
|
||||||
|
"@player.allowmovement" & Environment.NewLine &
|
||||||
":end"
|
":end"
|
||||||
|
|
||||||
CType(Core.CurrentScreen, OverworldScreen).ActionScript.StartScript(s, 2)
|
CType(Core.CurrentScreen, OverworldScreen).ActionScript.StartScript(s, 2)
|
||||||
|
@ -261,6 +263,7 @@
|
||||||
End If
|
End If
|
||||||
End While
|
End While
|
||||||
s = "version=2" & Environment.NewLine &
|
s = "version=2" & Environment.NewLine &
|
||||||
|
"@player.preventmovement" & Environment.NewLine &
|
||||||
"@player.stopmovement" & Environment.NewLine &
|
"@player.stopmovement" & Environment.NewLine &
|
||||||
"@pokemon.cry(" & pNumber & ")" & Environment.NewLine &
|
"@pokemon.cry(" & pNumber & ")" & Environment.NewLine &
|
||||||
"@sound.play(select)" & Environment.NewLine &
|
"@sound.play(select)" & Environment.NewLine &
|
||||||
|
@ -269,6 +272,7 @@
|
||||||
"@player.move(" & Steps & ")" & Environment.NewLine &
|
"@player.move(" & Steps & ")" & Environment.NewLine &
|
||||||
"@player.resetmovement" & Environment.NewLine &
|
"@player.resetmovement" & Environment.NewLine &
|
||||||
"@player.move(2)" & Environment.NewLine &
|
"@player.move(2)" & Environment.NewLine &
|
||||||
|
"@player.allowmovement" & Environment.NewLine &
|
||||||
":end"
|
":end"
|
||||||
|
|
||||||
PlayerStatistics.Track("Waterfall used", 1)
|
PlayerStatistics.Track("Waterfall used", 1)
|
||||||
|
|
Loading…
Reference in New Issue