mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
More or less standardised separator comments in the code
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user