• 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.
Adding Galarian Slowking to your game

Adding Galarian Slowking to your game 1.0

Galarian Slowking
Galarian Slowking was announced recently.
This lead to making this thread, for those wanting to add it to their games.
Because the Crown Tundra DLC has not been released yet.
The sprites, moves and ability may change in the future.

Sprites:
199_1.png
199_1s.png
199_1b.png
199_1sb.png
icon199_1.png

Sprites by Voltseon

Move: Eerie Spell

740,EERIESPELL,Eerie Spell,517,80,PSYCHIC,Special,100,10,0,NearOther,0,bef,"The user casts a horrible spell on the opponent. This removes 3 PP from their last used move."
Code:
Expand Collapse Copy
#===============================================================================
# Target's last move used loses 3 PP. (Eerie Spell - Galarian Slowking)
#===============================================================================
class PokeBattle_Move_517 < PokeBattle_Move
  def pbFailsAgainstTarget?(user,target)
    failed = true
    target.eachMove do |m|
      next if m.id!=target.lastRegularMoveUsed || m.pp==0 || m.totalpp<=0
      failed = false; break
    end
    if failed
      @battle.pbDisplay(_INTL("But it failed!"))
      return true
    end
    return false
  end

  def pbEffectAgainstTarget(user,target)
    target.eachMove do |m|
      next if m.id!=target.lastRegularMoveUsed
      reduction = [3,m.pp].min
      target.pbSetPP(m,m.pp-reduction)
      @battle.pbDisplay(_INTL("It reduced the PP of {1}'s {2} by {3}!",
         target.pbThis(true),m.name,reduction))
      break
    end
  end
end
Code by Golisopod User, TheToxic and Thundaga
PBS by TheToxic


Form
Code:
Expand Collapse Copy
#-------------------------------
[SLOWKING,1]
FormName = Galar Form
Type1 = POISON
Type2 = PSYCHIC
Abilities = CURIOUSMEDICINE,OWNTEMPO
Moves = 0,EERIESPELL,1,POWERGEM,1,HIDDENPOWER,1,CURSE,1,YAWN,1,TACKLE,5,GROWL,9,ACID,14,CONFUSION,19,DISABLE,23,HEADBUTT,28,WATERPULSE,32,ZENHEADBUTT,36,NASTYPLOT,41,SWAGGER,45,PSYCHIC,49,TRUMPCARD,54,PSYCHUP,58,HEALPULSE
BattlerPlayerX = 1
BattlerPlayerY = -4
BattlerEnemyX = -1
BattlerEnemyY = 18
#-------------------------------
PBS by Thundaga

Ability: Curious Medicine
266,CURIOUSMEDICINE,Curious Medicine,"Allies stat changes are reset when entering battle."
Code:
Expand Collapse Copy
BattleHandlers::AbilityOnSwitchIn.add(:CURIOUSMEDICINE,
  proc { |ability,battler,battle|
    done= false
    battler.eachAlly do |b|
      next if !b.hasAlteredStatStages?
      b.pbResetStatStages
      done = true
    end
    if done
      battle.pbShowAbilitySplash(battler)
      battle.pbDisplay(_INTL("All allies' stat changes were eliminated!"))
      battle.pbHideAbilitySplash(battler)
    end
  }
)
Code by Golisopod User & Thundaga
PBS by TheToxic


Keep in mind, these are subject to change when the DLC does release in order to fix inaccuracies!!
Credits
Voltseon: Galarian Slowking Sprites & Icon
Thundaga & Golisopod User: Writing the code for the move & ability
TheToxic: The PBS for the move & ability
Author
Voltseon
Downloads
975
Views
2,358
First release
Last update

Ratings

4.00 star(s) 1 ratings

More resources from Voltseon

Back
Top