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

@@ -13,7 +13,7 @@ class Game_Temp
end
#===============================================================================
# Using the Poke Radar
# Using the Poke Radar.
#===============================================================================
def pbCanUsePokeRadar?
# Can't use Radar if not in tall grass
@@ -156,8 +156,9 @@ def pbPokeRadarGetEncounter(rarity = 0)
end
#===============================================================================
# Event handlers
# Event handlers.
#===============================================================================
EventHandlers.add(:on_wild_species_chosen, :poke_radar_chain,
proc { |encounter|
if GameData::EncounterType.get($game_temp.encounter_type).type != :land ||
@@ -256,8 +257,9 @@ EventHandlers.add(:on_enter_map, :cancel_poke_radar,
)
#===============================================================================
# Item handlers
# Item handlers.
#===============================================================================
ItemHandlers::UseInField.add(:POKERADAR, proc { |item|
next pbUsePokeRadar
})