Same, I manually fixed mine.Hey, I noticed Mega Metagross's stats in the PBS are incorrect, they're Mega Salamence's instead
Same, I manually fixed mine.Hey, I noticed Mega Metagross's stats in the PBS are incorrect, they're Mega Salamence's instead
# Zygarde - Mega Zygarde form.
#-------------------------------------------------------------------------------
MultipleForms.register(:ZYGARDE, {
"changePokemonOnMegaEvolve" => proc { |battler, battle|
if GameData::Move.exists?(:NIHILLIGHT)
if [4, 5].include?(battler.form)
battler.eachMoveWithIndex do |m, i|
next if m.id != :COREENFORCER
pokemon_move = battler.pokemon.moves[i]
pokemon_move.id = :NIHILLIGHT
battler_move = Battle::Move.from_pokemon_move(battle, pokemon_move)
battler.moves[i] = battler_move
if battle.choices[battler.index][1] == i
battle.choices[battler.index][2] = battler_move
battle.pbDisplay(_INTL("{1}'s {2} transformed into {3}!", battler.pbThis,
GameData::Move.get(:COREENFORCER).name,
GameData::Move.get(:NIHILLIGHT).name
))
break
end
end
end
end
},
"getMegaMoves" => proc { |pkmn|
next { :COREENFORCER => :NIHILLIGHT }
},
"changePokemonOnLeavingBattle" => proc { |pkmn, battle, usedInBattle, endBattle|
if GameData::Move.exists?(:COREENFORCER) && (pkmn.fainted? || endBattle)
pkmn.moves.each { |move| move.id = :COREENFORCER if move.id == :NIHILLIGHT }
end
},
"getFormOnLeavingBattle" => proc { |pkmn, battle, usedInBattle, endBattle|
if pkmn.form >= 4 && (pkmn.fainted? || endBattle)
pkmn.form = pkmn.form - 4
elsif pkmn.form >= 2 && (pkmn.fainted? || endBattle)
pkmn.form = pkmn.form - 2
end
next pkmn.form
}
})
pbMegaEvolve method (in [005] Mega Evolution.rb) seems to conflict with the one here. pbMegaEvolve method since it seems that's all this pack adds to the method, but a more proper guardrail for this should most def be implemented. This is just a bit of a band-aid fix I did for testing so it would work at all if !defined?(battler.display_mega_moves)
MultipleForms.call("changePokemonOnMegaEvolve", battler, self)
end
.floor or validated as an Int or it crashes the game post-trainer battle.If you find the Open Source EBDX Renovation Project, they have animated sprites for all of those. You can just implement the sprites and ignore the rest if you want.I do realize that this is still incomplete but I have noticed that the following megas don't have their sprites yet. Any idea on when they might be implemented?
Golurk, Eelektross, Garchomp Z, Golisopod, Dragalge, Raichu X & Y, Lucario Z, Barbarcle, Darkrai, Drampa, Baxcaliber, Meowstic, Chandelure, Heatran, Scolipede, Pyroar, Scovillain, Tatsugiri
this is the Canari Gold plushes calc issue I posted above. You can either fix it's code there if you're savvy or remove the gold plushes from inv while waiting for a patch from the author :DJust got an error code for this after installing the latest versions of the DBK Kit 1.3 and associated plugins. Indicates something with the gen 9 pack but not sure, trying to diagnose this but drawing blanks so I'm posting here and on DBKs page if anyone can help.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]Script error in event 12 (coords 9,4), map 79 (Lila City Gym)
Exception: ArgumentErrorMessage: Invalid argument passed to method.
Expected 11640.0 to be a Integer, but got Float.***
Full script:TrainerBattle.start(:LEADER_Dominic, "Dominic")
Backtrace:Validation:29:in validate'
Player:79:in money='
[Generation 9 Pack] [006] Z-A Battle Function.rb:204:in pbGainMoney'
Battle_StartAndEnd:435:in pbEndOfBattle'Battle_StartAndEnd:346:in pbBattleLoop'
[Generation 9 Pack] [003] Weather and Status.rb:98:in pbStartBattleCore'
Battle_StartAndEnd:271:in pbStartBattle'
Overworld_BattleStarting:521:in block (2 levels) in start_core'Overworld_BattleIntroAnim:55:in pbSceneStandby'Overworld_BattleStarting:521:in block in start_core'
Mega Pyroar, it's Mega PYROAR