Migration - more progress

This commit is contained in:
chardub
2025-04-25 22:06:46 -04:00
parent 7de024dafd
commit b412ad7b39
67 changed files with 3243 additions and 108 deletions

View File

@@ -566,7 +566,7 @@ def pbWait(duration)
end
#===============================================================================
# Player/event movement in the field.
# Overrides/event movement in the field.
#===============================================================================
def pbSlideOnIce
if !$DEBUG || !Input.press?(Input::CTRL)

View File

@@ -324,9 +324,9 @@ module BattleCreationHelperMethods
# Save the result of the battle in a Game Variable (1 by default)
# 0 - Undecided or aborted
# 1 - Player won
# 2 - Player lost
# 3 - Player or wild Pokémon ran from battle, or player forfeited the match
# 1 - Overrides won
# 2 - Overrides lost
# 3 - Overrides or wild Pokémon ran from battle, or player forfeited the match
# 4 - Wild Pokémon was caught
# 5 - Draw
def set_outcome(outcome, outcome_variable = 1, trainer_battle = false)

View File

@@ -11,7 +11,7 @@ class PokemonGlobalMetadata
attr_accessor :descending_waterfall
attr_accessor :ascending_waterfall
attr_accessor :fishing
# Player data
# Overrides data
attr_accessor :startTime
attr_accessor :stepcount
attr_accessor :pcItemStorage
@@ -64,7 +64,7 @@ class PokemonGlobalMetadata
@descending_waterfall = false
@ascending_waterfall = false
@fishing = false
# Player data
# Overrides data
@startTime = Time.now
@stepcount = 0
@pcItemStorage = nil