• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Generation 9 Resource Pack [v21.1] (Updated with Mega Dimension contents)

Resource Generation 9 Resource Pack [v21.1] (Updated with Mega Dimension contents) 3.3.3

Hey, I noticed Mega Metagross's stats in the PBS are incorrect, they're Mega Salamence's instead
Same, I manually fixed mine.
 
Just a heads up, a lot of the BST of new megas are completely wrong - the Speed was not put before the SpAtk and SpDef. So far, aside from Mega Salemence's stats being used for Mega Metagross, there's also wrong stats for: Mega Metagross, Clefable, Raichu Y, Starmie, Dragonite, Meganium, Feraligatr, Skarmory, Froslass, Emboar, Excadrill, Scolipede, Scrafty, Eelektross, Chandelure, Chesnaught, Delphox, Greninja, Pyroar, Floette, Barbaracle, Dragalge, Hawlucha, Zygarde, Drampa, and Falinks. Manually fixed them myself for my own game already. To fix them yourselves, just move the last stat to after the first three and it's all set, aside from swapping Metagross's stats for the proper one.
 
in [000] Pokemon.rb, Zygarde's MultipleForms entry is a bit incorrect, which causes it to behave weirdly when resetting itself after battle.

this edit was my attempt at correcting it still having Nihil Light if fainted while mega evolved, and not calculating which form to reset to after battle/fainting correctly. (permanent complete forme)


Ruby:
Expand Collapse Copy
# 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
  }
})


Additionally, if you have Deluxe Battle Kit installed, it's pbMegaEvolve method (in [005] Mega Evolution.rb) seems to conflict with the one here.

For my own sanity, I just added this line to DBK's 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


Ruby:
Expand Collapse Copy
    if !defined?(battler.display_mega_moves)
      MultipleForms.call("changePokemonOnMegaEvolve", battler, self)
    end
 
Also noticed Canari Gold Plush effect is leading to the money value becoming a float during calc, it must be .floor or validated as an Int or it crashes the game post-trainer battle.
 
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
 
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
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.
 
Just 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'
 
Just 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'
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 :D
 
Thank you for the pack and I felt something was missing from this and it's the cries of the ZA Megas.


Here ya go.
 
Back
Top