mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Stopped various filenames being translatable when they don't need to be
This commit is contained in:
@@ -472,7 +472,7 @@ class Battle::Scene::TargetMenu < Battle::Scene::MenuBase
|
|||||||
# NOTE: @mode is for which buttons are shown as selected.
|
# NOTE: @mode is for which buttons are shown as selected.
|
||||||
# 0=select 1 button (@index), 1=select all buttons with text
|
# 0=select 1 button (@index), 1=select all buttons with text
|
||||||
# Create bitmaps
|
# Create bitmaps
|
||||||
@buttonBitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Battle/cursor_target"))
|
@buttonBitmap = AnimatedBitmap.new("Graphics/Pictures/Battle/cursor_target")
|
||||||
# Create target buttons
|
# Create target buttons
|
||||||
@buttons = Array.new(maxIndex + 1) do |i|
|
@buttons = Array.new(maxIndex + 1) do |i|
|
||||||
numButtons = @sideSizes[i % 2]
|
numButtons = @sideSizes[i % 2]
|
||||||
|
|||||||
@@ -76,9 +76,9 @@ class Battle::Scene::PokemonDataBox < SpriteWrapper
|
|||||||
|
|
||||||
def initializeOtherGraphics(viewport)
|
def initializeOtherGraphics(viewport)
|
||||||
# Create other bitmaps
|
# Create other bitmaps
|
||||||
@numbersBitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Battle/icon_numbers"))
|
@numbersBitmap = AnimatedBitmap.new("Graphics/Pictures/Battle/icon_numbers")
|
||||||
@hpBarBitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Battle/overlay_hp"))
|
@hpBarBitmap = AnimatedBitmap.new("Graphics/Pictures/Battle/overlay_hp")
|
||||||
@expBarBitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Battle/overlay_exp"))
|
@expBarBitmap = AnimatedBitmap.new("Graphics/Pictures/Battle/overlay_exp")
|
||||||
# Create sprite to draw HP numbers on
|
# Create sprite to draw HP numbers on
|
||||||
@hpNumbers = BitmapSprite.new(124, 16, viewport)
|
@hpNumbers = BitmapSprite.new(124, 16, viewport)
|
||||||
# pbSetSmallFont(@hpNumbers.bitmap)
|
# pbSetSmallFont(@hpNumbers.bitmap)
|
||||||
@@ -418,7 +418,7 @@ class Battle::Scene::AbilitySplashBar < SpriteWrapper
|
|||||||
@side = side
|
@side = side
|
||||||
@battler = nil
|
@battler = nil
|
||||||
# Create sprite wrapper that displays background graphic
|
# Create sprite wrapper that displays background graphic
|
||||||
@bgBitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Battle/ability_bar"))
|
@bgBitmap = AnimatedBitmap.new("Graphics/Pictures/Battle/ability_bar")
|
||||||
@bgSprite = SpriteWrapper.new(viewport)
|
@bgSprite = SpriteWrapper.new(viewport)
|
||||||
@bgSprite.bitmap = @bgBitmap.bitmap
|
@bgSprite.bitmap = @bgBitmap.bitmap
|
||||||
@bgSprite.src_rect.y = (side == 0) ? 0 : @bgBitmap.height / 2
|
@bgSprite.src_rect.y = (side == 0) ? 0 : @bgBitmap.height / 2
|
||||||
|
|||||||
@@ -172,8 +172,8 @@ class PokemonBag_Scene
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
@bag.last_viewed_pocket = lastpocket
|
@bag.last_viewed_pocket = lastpocket
|
||||||
@sliderbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Bag/icon_slider"))
|
@sliderbitmap = AnimatedBitmap.new("Graphics/Pictures/Bag/icon_slider")
|
||||||
@pocketbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Bag/icon_pocket"))
|
@pocketbitmap = AnimatedBitmap.new("Graphics/Pictures/Bag/icon_pocket")
|
||||||
@sprites = {}
|
@sprites = {}
|
||||||
@sprites["background"] = IconSprite.new(0, 0, @viewport)
|
@sprites["background"] = IconSprite.new(0, 0, @viewport)
|
||||||
@sprites["overlay"] = BitmapSprite.new(Graphics.width, Graphics.height, @viewport)
|
@sprites["overlay"] = BitmapSprite.new(Graphics.width, Graphics.height, @viewport)
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ class TriadCard
|
|||||||
def self.createBack(type = nil, noback = false)
|
def self.createBack(type = nil, noback = false)
|
||||||
bitmap = BitmapWrapper.new(80, 96)
|
bitmap = BitmapWrapper.new(80, 96)
|
||||||
if !noback
|
if !noback
|
||||||
cardbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/triad_card_opponent"))
|
cardbitmap = AnimatedBitmap.new("Graphics/Pictures/triad_card_opponent")
|
||||||
bitmap.blt(0, 0, cardbitmap.bitmap, Rect.new(0, 0, cardbitmap.width, cardbitmap.height))
|
bitmap.blt(0, 0, cardbitmap.bitmap, Rect.new(0, 0, cardbitmap.width, cardbitmap.height))
|
||||||
cardbitmap.dispose
|
cardbitmap.dispose
|
||||||
end
|
end
|
||||||
@@ -102,13 +102,13 @@ class TriadCard
|
|||||||
return TriadCard.createBack if owner == 0
|
return TriadCard.createBack if owner == 0
|
||||||
bitmap = BitmapWrapper.new(80, 96)
|
bitmap = BitmapWrapper.new(80, 96)
|
||||||
if owner == 2 # Opponent
|
if owner == 2 # Opponent
|
||||||
cardbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/triad_card_opponent"))
|
cardbitmap = AnimatedBitmap.new("Graphics/Pictures/triad_card_opponent")
|
||||||
else # Player
|
else # Player
|
||||||
cardbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/triad_card_player"))
|
cardbitmap = AnimatedBitmap.new("Graphics/Pictures/triad_card_player")
|
||||||
end
|
end
|
||||||
typebitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/types"))
|
typebitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/types"))
|
||||||
iconbitmap = AnimatedBitmap.new(GameData::Species.icon_filename(@species, @form))
|
iconbitmap = AnimatedBitmap.new(GameData::Species.icon_filename(@species, @form))
|
||||||
numbersbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/triad_numbers"))
|
numbersbitmap = AnimatedBitmap.new("Graphics/Pictures/triad_numbers")
|
||||||
# Draw card background
|
# Draw card background
|
||||||
bitmap.blt(0, 0, cardbitmap.bitmap, Rect.new(0, 0, cardbitmap.width, cardbitmap.height))
|
bitmap.blt(0, 0, cardbitmap.bitmap, Rect.new(0, 0, cardbitmap.width, cardbitmap.height))
|
||||||
# Draw type icon
|
# Draw type icon
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class SlotMachineReel < BitmapSprite
|
|||||||
@slipping = 0
|
@slipping = 0
|
||||||
@index = rand(@reel.length)
|
@index = rand(@reel.length)
|
||||||
@images = AnimatedBitmap.new(_INTL("Graphics/Pictures/Slot Machine/images"))
|
@images = AnimatedBitmap.new(_INTL("Graphics/Pictures/Slot Machine/images"))
|
||||||
@shading = AnimatedBitmap.new(_INTL("Graphics/Pictures/Slot Machine/ReelOverlay"))
|
@shading = AnimatedBitmap.new("Graphics/Pictures/Slot Machine/ReelOverlay")
|
||||||
update
|
update
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@ class SlotMachineScore < BitmapSprite
|
|||||||
@viewport = Viewport.new(x, y, 70, 22)
|
@viewport = Viewport.new(x, y, 70, 22)
|
||||||
@viewport.z = 99999
|
@viewport.z = 99999
|
||||||
super(70, 22, @viewport)
|
super(70, 22, @viewport)
|
||||||
@numbers = AnimatedBitmap.new(_INTL("Graphics/Pictures/Slot Machine/numbers"))
|
@numbers = AnimatedBitmap.new("Graphics/Pictures/Slot Machine/numbers")
|
||||||
self.score = score
|
self.score = score
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class MiningGameCounter < BitmapSprite
|
|||||||
@viewport.z = 99999
|
@viewport.z = 99999
|
||||||
super(416, 60, @viewport)
|
super(416, 60, @viewport)
|
||||||
@hits = 0
|
@hits = 0
|
||||||
@image = AnimatedBitmap.new(_INTL("Graphics/Pictures/Mining/cracks"))
|
@image = AnimatedBitmap.new("Graphics/Pictures/Mining/cracks")
|
||||||
update
|
update
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ class MiningGameTile < BitmapSprite
|
|||||||
else
|
else
|
||||||
@layer = 6 # 15%
|
@layer = 6 # 15%
|
||||||
end
|
end
|
||||||
@image = AnimatedBitmap.new(_INTL("Graphics/Pictures/Mining/tiles"))
|
@image = AnimatedBitmap.new("Graphics/Pictures/Mining/tiles")
|
||||||
update
|
update
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -89,9 +89,9 @@ class MiningGameCursor < BitmapSprite
|
|||||||
@mode = mode
|
@mode = mode
|
||||||
@hit = 0 # 0=regular, 1=hit item, 2=hit iron
|
@hit = 0 # 0=regular, 1=hit item, 2=hit iron
|
||||||
@counter = 0
|
@counter = 0
|
||||||
@cursorbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Mining/cursor"))
|
@cursorbitmap = AnimatedBitmap.new("Graphics/Pictures/Mining/cursor")
|
||||||
@toolbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Mining/tools"))
|
@toolbitmap = AnimatedBitmap.new("Graphics/Pictures/Mining/tools")
|
||||||
@hitsbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Mining/hits"))
|
@hitsbitmap = AnimatedBitmap.new("Graphics/Pictures/Mining/hits")
|
||||||
update
|
update
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -232,8 +232,8 @@ class MiningGameScene
|
|||||||
@viewport.z = 99999
|
@viewport.z = 99999
|
||||||
addBackgroundPlane(@sprites, "bg", "Mining/miningbg", @viewport)
|
addBackgroundPlane(@sprites, "bg", "Mining/miningbg", @viewport)
|
||||||
@sprites["itemlayer"] = BitmapSprite.new(Graphics.width, Graphics.height, @viewport)
|
@sprites["itemlayer"] = BitmapSprite.new(Graphics.width, Graphics.height, @viewport)
|
||||||
@itembitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Mining/items"))
|
@itembitmap = AnimatedBitmap.new("Graphics/Pictures/Mining/items")
|
||||||
@ironbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Mining/irons"))
|
@ironbitmap = AnimatedBitmap.new("Graphics/Pictures/Mining/irons")
|
||||||
@items = []
|
@items = []
|
||||||
@itemswon = []
|
@itemswon = []
|
||||||
@iron = []
|
@iron = []
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class TilePuzzleCursor < BitmapSprite
|
|||||||
@arrows = []
|
@arrows = []
|
||||||
@selected = false
|
@selected = false
|
||||||
@holding = false
|
@holding = false
|
||||||
@cursorbitmap = AnimatedBitmap.new(_INTL("Graphics/Pictures/Tile Puzzle/cursor"))
|
@cursorbitmap = AnimatedBitmap.new("Graphics/Pictures/Tile Puzzle/cursor")
|
||||||
update
|
update
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user