Module: Battle::Message

Includes:
PFM::Text
Defined in:
docs/5_Battle_02_Visual.rb

Overview

Module holding all the message function used by the battle engine

Constant Summary

Constants included from PFM::Text

PFM::Text::ABILITY, PFM::Text::BELL_Reg, PFM::Text::BERRY, PFM::Text::COLOR, PFM::Text::Dot, PFM::Text::GENDBR_Reg, PFM::Text::GameKeys, PFM::Text::ITEM2, PFM::Text::ITEMPLUR1, PFM::Text::KAPHOTICS_Clean, PFM::Text::LOCATION, PFM::Text::MOVE, PFM::Text::Money, PFM::Text::NBSP_B, PFM::Text::NBSP_R, PFM::Text::NUM2, PFM::Text::NUM3, PFM::Text::NUM7R, PFM::Text::NUMB, PFM::Text::NUMBRNCH_Reg, PFM::Text::NUMXR, PFM::Text::PKNAME, PFM::Text::PKNICK, PFM::Text::S_000, PFM::Text::S_Empty, PFM::Text::TRNAME

Class Method Summary collapse

Methods included from PFM::Text

define_const, detect_dialog, enemy_pokemon?, get_key_name, parse, parse_additional_variables, parse_gendbr, parse_numbrnch, parse_rest_of_thing, parse_string_for_messages, parse_with_2pokemon, parse_with_pokemon, parse_with_pokemons, reset_variables, set_ability_name, set_item_name, set_move_name, set_num1, set_num2, set_num3, set_pkname, set_pknick, set_plural, set_variable, unset_variable

Class Method Details

.player_sending_pokemon_start ⇒ String

Player sending out its Pokemon

Returns:



2013
2014
# File 'docs/5_Battle_02_Visual.rb', line 2013

def player_sending_pokemon_start
end

.player_sending_pokemon_start_multi ⇒ String

When there's a friend trainer and we launch the Pokemon

Returns:



2033
2034
# File 'docs/5_Battle_02_Visual.rb', line 2033

def player_sending_pokemon_start_multi
end

.player_sending_pokemon_start_single ⇒ String

When were' alone and we launch the Pokemon

Returns:



2037
2038
# File 'docs/5_Battle_02_Visual.rb', line 2037

def player_sending_pokemon_start_single
end

.setup(logic)

Setup the message system

Parameters:



2001
2002
# File 'docs/5_Battle_02_Visual.rb', line 2001

def setup(logic)
end

.trainer_issuing_a_challenge ⇒ String

Trainer issuing a challenge

Returns:



2009
2010
# File 'docs/5_Battle_02_Visual.rb', line 2009

def trainer_issuing_a_challenge
end

.trainer_issuing_a_challenge_double_trainer ⇒ String

Trainer issuing a challenge with 2 trainers

Returns:



2021
2022
# File 'docs/5_Battle_02_Visual.rb', line 2021

def trainer_issuing_a_challenge_double_trainer
end

.trainer_issuing_a_challenge_single ⇒ String

Trainer issuing a challenge with one trainer

Returns:



2029
2030
# File 'docs/5_Battle_02_Visual.rb', line 2029

def trainer_issuing_a_challenge_single
end

.trainer_issuing_a_challenge_triple_trainer ⇒ String

Trainer issuing a challenge with 3 trainers

Returns:



2025
2026
# File 'docs/5_Battle_02_Visual.rb', line 2025

def trainer_issuing_a_challenge_triple_trainer
end

.trainer_sending_pokemon_start ⇒ String

Trainer sending out their Pokemon

Returns:



2017
2018
# File 'docs/5_Battle_02_Visual.rb', line 2017

def trainer_sending_pokemon_start
end

.trainer_sending_pokemon_start_class(name, class_name, index) ⇒ String

When the trainer has a class and it sends out its Pokemon

Parameters:

  • name (String) —

    name of the trainer

  • class_name (String) —

    class of the trainer

  • index (String) —

    index of the trainer in the name array

Returns:



2044
2045
# File 'docs/5_Battle_02_Visual.rb', line 2044

def trainer_sending_pokemon_start_class(name, class_name, index)
end

.trainer_sending_pokemon_start_no_class(name, index) ⇒ String

When the trainer has no class and it sends out its Pokemon

Parameters:

  • name (String) —

    name of the trainer

  • index (String) —

    index of the trainer in the name array

Returns:



2050
2051
# File 'docs/5_Battle_02_Visual.rb', line 2050

def trainer_sending_pokemon_start_no_class(name, index)
end

.wild_battle_appearance ⇒ String

A Wild Pokemon appeared

Returns:



2005
2006
# File 'docs/5_Battle_02_Visual.rb', line 2005

def wild_battle_appearance
end