Moved Poké Radar encounters into encounters.txt, added Setting/map metadata for reflection rippling, fixed def minimum_level, fixed ice/waterfalls forcing movement even when holding Ctrl in Debug mode, Pokédex no longer shows genders for species without gender differences

This commit is contained in:
Maruno17
2023-06-04 20:40:42 +01:00
parent 3470f9769c
commit 679e9d42dc
19 changed files with 137 additions and 98 deletions

View File

@@ -549,11 +549,13 @@ end
# Player/event movement in the field
#===============================================================================
def pbSlideOnIce
if $game_player.pbTerrainTag.ice && $game_player.can_move_in_direction?($game_player.direction)
$PokemonGlobal.ice_sliding = true
$game_player.straighten
$game_player.walk_anime = false
return
if !$DEBUG || !Input.press?(Input::CTRL)
if $game_player.pbTerrainTag.ice && $game_player.can_move_in_direction?($game_player.direction)
$PokemonGlobal.ice_sliding = true
$game_player.straighten
$game_player.walk_anime = false
return
end
end
$PokemonGlobal.ice_sliding = false
$game_player.walk_anime = true

View File

@@ -900,7 +900,8 @@ end
def pbTraverseWaterfall
if $game_player.direction == 2 # Facing down; descending
terrain = $game_player.pbTerrainTag
if !terrain.waterfall && !terrain.waterfall_crest
if ($DEBUG && Input.press?(Input::CTRL)) ||
(!terrain.waterfall && !terrain.waterfall_crest)
$PokemonGlobal.descending_waterfall = false
$game_player.through = false
return
@@ -910,7 +911,8 @@ def pbTraverseWaterfall
$game_player.through = true
elsif $PokemonGlobal.ascending_waterfall
terrain = $game_player.pbTerrainTag
if !terrain.waterfall && !terrain.waterfall_crest
if ($DEBUG && Input.press?(Input::CTRL)) ||
(!terrain.waterfall && !terrain.waterfall_crest)
$PokemonGlobal.ascending_waterfall = false
$game_player.through = false
return