Made Zacian/Zamazenta's rusted items unlosable, made bad poison icon be shown again in battle

This commit is contained in:
Maruno17
2022-03-07 23:16:13 +00:00
parent 5d8dad58c4
commit 7f8fa16a52
3 changed files with 42 additions and 39 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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