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 PYROARhttps://eeveeexpo.com/threads/5817/post-84361I Keep Getting These Error:
[Pokemon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: RuntimeError
Message: Field '-1' is not a positive integer or 0.
File PBS/pokemon_base_Gen_9_Pack.txt, section MEOWSCARADA, key Moves
-1,DOUBLETEAM,-1,TRICK,0,FLOWERTRICK,1,LEAFAGE,1,TAILWHIP,1,SCRATCH,7,BITE,10,HONECLAWS,13,MAGICALLEAF,15,QUICKATTACK,20,SEEDBOMB,24,UTURN,29,WORRYSEED,33,SLASH,38,NIGHTSLASH,42,ENERGYBALL,47,PLAYROUG ...
Backtrace:
[v21.1 Hotfixes] Compiler bug fixes.rb:16:in `cast_csv_value'
Compiler:724:in 'block (2 levels) in get_csv_record'
Compiler:710:in 'each'
Compiler:710:in 'block in get_csv_record'
Compiler:708:in 'loop'
Compiler:708:in `get_csv_record'
Compiler_CompilePBS:49:in `block (4 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:31:in `each_key
Compiler_CompilePBS:31:in 'block (3 levels) in compile_PBS_file_generic'
Compiler:143:in 'block in pbEachFileSection'
This exception was logged in
C:\Users\USERNAME\AppData\Roaming\Pokemon Essentials v21.1\errorlog.txt.
Hold Ctrl when closing this message to copy it to the clipboard.
And
Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in`<main>'
-e:in `eval'
Pokemon Essentials v21.1
[Pokemon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: RuntimeError
Message: Unknown exception when compiling.
This exception was logged in
C:\Users\USERNAME\AppData\Roaming\Pokemon Essentials v21.1\errorlog.txt.
Hold Ctrl when closing this message to copy it to the clipboard.
is there Anyway to Fix This...?