Added map metadata flag "HideEncountersInPokedex", fixed Pokédex not showing the areas of some maps that span multiple Town Map points

This commit is contained in:
Maruno17
2022-02-14 23:25:10 +00:00
parent 789185eefb
commit 5f39363e69
3 changed files with 68 additions and 41 deletions

View File

@@ -1,10 +1,16 @@
=begin
# TODO:
Trigger ability (probably not)
Some stuff relating to Shadow Pokémon?
Actual stats? @attack, @defense, etc.
@turnCount
Toggle Hyper Mode for a Shadow Pokémon
Stuff for Pokémon that aren't in battle:
* Set HP to 0
* Set species
* Set Poké Ball
* Set nickname
* Make a Shadow Pokémon, set Heart Gauge (perhaps also for battlers)
=end
@@ -582,8 +588,12 @@ MenuHandlers.add(:battle_pokemon_debug_menu, :set_ability, {
commands.push(_INTL("Set ability for battler")) if battler
commands.push(_INTL("Reset"))
loop do
msg = _INTL("Battler's ability is {1}. Pokémon's ability is {2}.",
battler.abilityName, pkmn.ability.name)
if battler
msg = _INTL("Battler's ability is {1}. Pokémon's ability is {2}.",
battler.abilityName, pkmn.ability.name)
else
msg = _INTL("Pokémon's ability is {1}.", pkmn.ability.name)
end
cmd = pbMessage("\\ts[]" + msg, commands, -1, nil, cmd)
break if cmd < 0
cmd = 2 if cmd >= 1 && !battler # Correct command for Pokémon (no battler)