Resource icon

Resource Changed move type display script 0.1

Charmingloopy

Made and Lost Dev
Member
Joined
Aug 10, 2021
Posts
7
Charmingloopy submitted a new resource:

Changed move type display - Move UI qol

Ruby:
Expand Collapse Copy
# updates move type ui based on abilities that change it.
class Battle::Move
  def type_ui_modifiers(battler)
    
    if @realMove.display_type(battler.pokemon) == :NORMAL and battler.ability == :PIXILATE
      return :FAIRY
    end
  if @realMove.display_type(battler.pokemon) == :NORMAL and battler.ability == :AERILATE
      return :FLYING
    end
  if @realMove.display_type(battler.pokemon) == :NORMAL and battler.ability == :REFRIGERATE
      return :ICE
    end
  if...

Read more about this resource...
 
Back
Top