mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Made Zacian/Zamazenta's rusted items unlosable, made bad poison icon be shown again in battle
This commit is contained in:
@@ -184,7 +184,9 @@ module GameData
|
||||
:GIRATINA => [:GRISEOUSORB],
|
||||
:GENESECT => [:BURNDRIVE, :CHILLDRIVE, :DOUSEDRIVE, :SHOCKDRIVE],
|
||||
:KYOGRE => [:BLUEORB],
|
||||
:GROUDON => [:REDORB]
|
||||
:GROUDON => [:REDORB],
|
||||
:ZACIAN => [:RUSTEDSWORD],
|
||||
:ZAMAZENTA => [:RUSTEDSHIELD]
|
||||
}
|
||||
return combos[species]&.include?(@id)
|
||||
end
|
||||
|
||||
@@ -251,7 +251,7 @@ class Battle::Scene::PokemonDataBox < SpriteWrapper
|
||||
# Draw status icon
|
||||
if @battler.status != :NONE
|
||||
if @battler.status == :POISON && @battler.statusCount > 0 # Badly poisoned
|
||||
s = GameData::Status.count
|
||||
s = GameData::Status.count - 1
|
||||
else
|
||||
s = GameData::Status.get(@battler.status).icon_position
|
||||
end
|
||||
|
||||
@@ -204,6 +204,7 @@ module Battle::DebugMixin
|
||||
cmdwindow = sprites["cmdwindow"]
|
||||
cmdwindow.x = 0
|
||||
cmdwindow.y = 0
|
||||
cmdwindow.width = Graphics.width / 2
|
||||
cmdwindow.height = Graphics.height - sprites["textbox"].height
|
||||
cmdwindow.viewport = viewport
|
||||
cmdwindow.visible = true
|
||||
|
||||
Reference in New Issue
Block a user