Fixed play time carrying over to new games, fixed Eerie Spell thinking it's a status move, fixed text positionings in Pokédex and naming screen, fixed Channeler typo

This commit is contained in:
Maruno17
2022-08-07 14:21:30 +01:00
parent 757798c8a8
commit 3c748c9d68
11 changed files with 58 additions and 48 deletions

View File

@@ -44,12 +44,16 @@ class Window_Pokedex < Window_DrawableCommand
else
pbCopyBitmap(self.contents, @pokeballSeen.bitmap, rect.x - 6, rect.y + 10)
end
text = sprintf("%03d%s %s", indexNumber, " ", @commands[index][1])
num_text = sprintf("%03d", indexNumber)
name_text = @commands[index][1]
else
text = sprintf("%03d ----------", indexNumber)
num_text = sprintf("%03d", indexNumber)
name_text = "----------"
end
pbDrawShadowText(self.contents, rect.x + 36, rect.y + 6, rect.width, rect.height,
text, self.baseColor, self.shadowColor)
num_text, self.baseColor, self.shadowColor)
pbDrawShadowText(self.contents, rect.x + 84, rect.y + 6, rect.width, rect.height,
name_text, self.baseColor, self.shadowColor)
end
def refresh

View File

@@ -516,9 +516,9 @@ class PokemonEntryScene2
[@helptext, 160, 18, false, Color.new(16, 24, 32), Color.new(168, 184, 184)]
]
chars = @helper.textChars
x = 166
x = 172
chars.each do |ch|
textPositions.push([ch, x, 54, false, Color.new(16, 24, 32), Color.new(168, 184, 184)])
textPositions.push([ch, x, 54, 2, Color.new(16, 24, 32), Color.new(168, 184, 184)])
x += 24
end
pbDrawTextPositions(bgoverlay, textPositions)