mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
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:
@@ -46,7 +46,7 @@ class DarknessSprite < Sprite
|
||||
|
||||
def initialize(viewport = nil)
|
||||
super(viewport)
|
||||
@darkness = BitmapWrapper.new(Graphics.width, Graphics.height)
|
||||
@darkness = Bitmap.new(Graphics.width, Graphics.height)
|
||||
@radius = radiusMin
|
||||
self.bitmap = @darkness
|
||||
self.z = 99998
|
||||
|
||||
@@ -56,7 +56,7 @@ def pbFishing(hasEncounter, rodType = 1)
|
||||
if hasEncounter && rand(100) < biteChance
|
||||
$scene.spriteset.addUserAnimation(Settings::EXCLAMATION_ANIMATION_ID, $game_player.x, $game_player.y, true, 3)
|
||||
frames = Graphics.frame_rate - rand(Graphics.frame_rate / 2) # 0.5-1 second
|
||||
if !pbWaitForInput(msgWindow, message + "\r\n" + _INTL("Oh! A bite!"), frames)
|
||||
if !pbWaitForInput(msgWindow, message + "\n" + _INTL("Oh! A bite!"), frames)
|
||||
pbFishingEnd { pbMessageDisplay(msgWindow, _INTL("The Pokémon got away...")) }
|
||||
break
|
||||
end
|
||||
|
||||
@@ -306,7 +306,7 @@ module RandomDungeon
|
||||
@width.times do |x|
|
||||
ret += TEXT_SYMBOLS[value(x, y)] || "\e[30m\e[41m?\e[0m"
|
||||
end
|
||||
ret += "\r\n"
|
||||
ret += "\n"
|
||||
end
|
||||
return ret
|
||||
end
|
||||
@@ -1076,7 +1076,7 @@ EventHandlers.add(:on_game_map_setup, :random_dungeon,
|
||||
#===============================================================================
|
||||
MenuHandlers.add(:debug_menu, :test_random_dungeon, {
|
||||
"name" => _INTL("Test Random Dungeon Generation"),
|
||||
"parent" => :other_menu,
|
||||
"parent" => :main,
|
||||
"description" => _INTL("Generates a random dungeon and echoes it to the console."),
|
||||
"effect" => proc {
|
||||
tileset = :cave # :forest # :cave
|
||||
|
||||
Reference in New Issue
Block a user