Removed redundant "\r" from various messages, removed usages of BitmapWrapper, fixed Lure Ball error in battles started in the Debug menu, improved Terrain Tag editor, fixed some Compiler errors, enabled vsync, fixed event graphics frozen to the screen when using $game_player.moveto directly.

This commit is contained in:
Maruno17
2023-05-04 21:28:00 +01:00
parent 5f20121e59
commit 48fb8dae73
44 changed files with 362 additions and 398 deletions

View File

@@ -202,7 +202,7 @@ class Battle
# Opposing trainers and partner trainers's messages about sending out Pokémon
trainers.each_with_index do |t, i|
next if side == 0 && i == 0 # The player's message is shown last
msg += "\r\n" if msg.length > 0
msg += "\n" if msg.length > 0
sent = sendOuts[side][i]
case sent.length
when 1
@@ -218,7 +218,7 @@ class Battle
end
# The player's message about sending out Pokémon
if side == 0
msg += "\r\n" if msg.length > 0
msg += "\n" if msg.length > 0
sent = sendOuts[side][0]
case sent.length
when 1

View File

@@ -173,7 +173,7 @@ class Battle
newLevel = growth_rate.level_from_exp(expFinal)
if newLevel < curLevel
debugInfo = "Levels: #{curLevel}->#{newLevel} | Exp: #{pkmn.exp}->#{expFinal} | gain: #{expGained}"
raise _INTL("{1}'s new level is less than its current level, which shouldn't happen.", pkmn.name) + "\r\n[#{debugInfo}]"
raise _INTL("{1}'s new level is less than its current level, which shouldn't happen.", pkmn.name) + "\n[#{debugInfo}]"
end
# Give Exp
if pkmn.shadowPokemon?