Added SKIP_CONTINUE_SCREEN Setting, fix message newline visual bug at slow text speeds, removed Bag rearranging

This commit is contained in:
Maruno17
2023-10-14 18:32:18 +01:00
parent 25f85a9a8b
commit 389d43941d
5 changed files with 382 additions and 327 deletions

View File

@@ -529,6 +529,7 @@ class Window_AdvancedTextPokemon < SpriteWindow_Base
delta_t = time_now - @display_last_updated
@display_last_updated = time_now
visiblelines = (self.height - self.borderY) / @lineHeight
@lastchar = -1 if !@lastchar
show_more_characters = false
# Pauses and new lines
if @textchars[@curchar] == "\1" # Waiting
@@ -550,7 +551,7 @@ class Window_AdvancedTextPokemon < SpriteWindow_Base
show_more_characters = true
end
else # New line but the next line can be shown without scrolling to it
@linesdrawn += 1
@linesdrawn += 1 if @lastchar < @curchar
show_more_characters = true
end
elsif @curchar <= @numtextchars # Displaying more text
@@ -562,6 +563,7 @@ class Window_AdvancedTextPokemon < SpriteWindow_Base
@scroll_timer_start = nil
@linesdrawn = 0
end
@lastchar = @curchar
# Keep displaying more text
if show_more_characters
@display_timer += delta_t