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_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_startString

Player sending out its Pokemon

Returns:



1357
1358
# File 'docs/5_Battle_02_Visual.rb', line 1357

def player_sending_pokemon_start
end

.player_sending_pokemon_start_multiString

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

Returns:



1373
1374
# File 'docs/5_Battle_02_Visual.rb', line 1373

def player_sending_pokemon_start_multi
end

.player_sending_pokemon_start_singleString

When were’ alone and we launch the Pokemon

Returns:



1377
1378
# File 'docs/5_Battle_02_Visual.rb', line 1377

def player_sending_pokemon_start_single
end

.setup(logic)

Setup the message system

Parameters:



1345
1346
# File 'docs/5_Battle_02_Visual.rb', line 1345

def setup(logic)
end

.trainer_issuing_a_challengeString

Trainer issuing a challenge

Returns:



1353
1354
# File 'docs/5_Battle_02_Visual.rb', line 1353

def trainer_issuing_a_challenge
end

.trainer_issuing_a_challenge_multiString

Trainer issuing a challenge with 2 trainers

Returns:



1365
1366
# File 'docs/5_Battle_02_Visual.rb', line 1365

def trainer_issuing_a_challenge_multi
end

.trainer_issuing_a_challenge_singleString

Trainer issuing a challenge with one trainer

Returns:



1369
1370
# File 'docs/5_Battle_02_Visual.rb', line 1369

def trainer_issuing_a_challenge_single
end

.trainer_sending_pokemon_startString

Trainer sending out their Pokemon

Returns:



1361
1362
# File 'docs/5_Battle_02_Visual.rb', line 1361

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:



1384
1385
# File 'docs/5_Battle_02_Visual.rb', line 1384

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:



1390
1391
# File 'docs/5_Battle_02_Visual.rb', line 1390

def trainer_sending_pokemon_start_no_class(name, index)
end

.wild_battle_appearanceString

A Wild Pokemon appeared

Returns:



1349
1350
# File 'docs/5_Battle_02_Visual.rb', line 1349

def wild_battle_appearance
end