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

@@ -1,18 +1,14 @@
#===============================================================================
# * Hall of Fame - by FL (Credits will be apreciated)
#===============================================================================
#
#-------------------------------------------------------------------------------
# This script is for Pokémon Essentials. It makes a recordable Hall of Fame
# like the Gen 3 games.
#
#===============================================================================
#
#-------------------------------------------------------------------------------
# To this scripts works, put it above main, put a 512x384 picture in
# hallfamebars and a 8x24 background picture in hallfamebg. To call this script,
# use 'pbHallOfFameEntry'. After you recorder the first entry, you can access
# the hall teams using a PC. You can also check the player Hall of Fame last
# number using '$PokemonGlobal.hallOfFameLastNumber'.
#
#===============================================================================
class HallOfFame_Scene
# When true, all pokémon will be in one line.
@@ -446,20 +442,6 @@ class HallOfFameScreen
end
end
#===============================================================================
#
#===============================================================================
MenuHandlers.add(:pc_menu, :hall_of_fame, {
"name" => _INTL("Hall of Fame"),
"order" => 40,
"condition" => proc { next $PokemonGlobal.hallOfFameLastNumber > 0 },
"effect" => proc { |menu|
pbMessage("\\se[PC access]" + _INTL("Accessed the Hall of Fame."))
pbHallOfFamePC
next false
}
})
#===============================================================================
#
#===============================================================================
@@ -492,3 +474,14 @@ def pbHallOfFamePC
screen = HallOfFameScreen.new(scene)
screen.pbStartScreenPC
end
MenuHandlers.add(:pc_menu, :hall_of_fame, {
"name" => _INTL("Hall of Fame"),
"order" => 40,
"condition" => proc { next $PokemonGlobal.hallOfFameLastNumber > 0 },
"effect" => proc { |menu|
pbMessage("\\se[PC access]" + _INTL("Accessed the Hall of Fame."))
pbHallOfFamePC
next false
}
})