More or less standardised separator comments in the code

This commit is contained in:
Maruno17
2024-06-27 21:21:26 +01:00
parent 225549bfce
commit 509a414f37
198 changed files with 1907 additions and 1263 deletions

View File

@@ -140,7 +140,7 @@ def pbSpindaSpots(pkmn, bitmap)
end
#===============================================================================
# Regular form differences
# Regular form differences.
#===============================================================================
MultipleForms.register(:UNOWN, {
@@ -803,7 +803,7 @@ MultipleForms.register(:OGERPON, {
})
#===============================================================================
# Regional forms
# Regional forms.
# This code is for determining the form of a Pokémon in an egg created at the
# Day Care, where that Pokémon's species has regional forms. The regional form
# chosen depends on the region in which the egg was produced (not where it
@@ -845,12 +845,12 @@ MultipleForms.copy(
)
#===============================================================================
# Regional forms
# Regional forms.
# These species don't have visually different regional forms, but they need to
# evolve into different forms depending on the location where they evolve.
#===============================================================================
# Alolan forms
# Alolan forms.
MultipleForms.register(:PIKACHU, {
"getForm" => proc { |pkmn|
next if pkmn.form_simple >= 2
@@ -864,7 +864,7 @@ MultipleForms.register(:PIKACHU, {
MultipleForms.copy(:PIKACHU, :EXEGGCUTE, :CUBONE)
# Galarian forms
# Galarian forms.
MultipleForms.register(:KOFFING, {
"getForm" => proc { |pkmn|
next if pkmn.form_simple >= 2
@@ -878,7 +878,7 @@ MultipleForms.register(:KOFFING, {
MultipleForms.copy(:KOFFING, :MIMEJR)
# Hisuian forms
# Hisuian forms.
MultipleForms.register(:QUILAVA, {
"getForm" => proc { |pkmn|
next if pkmn.form_simple >= 2

View File

@@ -420,8 +420,9 @@ end
#===============================================================================
#
#===============================================================================
# Record current heart gauges of Pokémon in party, to see if they drop to zero
# during battle and need to say they're ready to be purified afterwards
# during battle and need to say they're ready to be purified afterwards.
EventHandlers.add(:on_start_battle, :record_party_heart_gauges,
proc {
$game_temp.party_heart_gauges_before_battle = []

View File

@@ -264,7 +264,7 @@ class PokemonStorage
end
#===============================================================================
# Regional Storage scripts
# Regional Storage scripts.
#===============================================================================
class RegionalStorage
def initialize
@@ -382,7 +382,7 @@ def pbLockWallpaper(index)
end
#===============================================================================
# Look through Pokémon in storage
# Look through Pokémon in storage.
#===============================================================================
# Yields every Pokémon/egg in storage in turn.
def pbEachPokemon