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,6 +1,6 @@
#===============================================================================
# "Duel" mini-game
# Based on the Duel minigame by Alael
# "Duel" mini-game.
# Based on the Duel minigame by Alael.
#===============================================================================
class DuelWindow < Window_AdvancedTextPokemon
attr_reader :hp
@@ -375,11 +375,13 @@ class PokemonDuel
end
end
#===============================================================================
# Starts a duel.
# trainer_id - ID or symbol of the opponent's trainer type.
# trainer_name - Name of the opponent
# event - Game_Event object for the character's event
# speeches - Array of 12 speeches
#===============================================================================
def pbDuel(trainer_id, trainer_name, event, speeches)
trainer_id = GameData::TrainerType.get(trainer_id).id
duel = PokemonDuel.new