mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixes land surfing
This commit is contained in:
@@ -784,7 +784,7 @@ def pbEndSurf(_xOffset, _yOffset)
|
||||
return false if !$PokemonGlobal.surfing
|
||||
x = $game_player.x
|
||||
y = $game_player.y
|
||||
if $game_map.terrain_tag(x, y).can_surf && !$game_player.pbFacingTerrainTag.can_surf
|
||||
if $game_map.terrain_tag(x, y).can_surf && !$game_player.pbFacingTerrainTag.can_surf || !$game_map.terrain_tag(x, y).can_surf
|
||||
$PokemonTemp.surfJump = [x, y]
|
||||
if pbJumpToward(1, false, true)
|
||||
$game_map.autoplayAsCue
|
||||
|
||||
Reference in New Issue
Block a user