mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Deleted rubyscreen.dll, eradicated semicolons from when... statements, compiling is now before setting up the system, appeased vocal dissenters
This commit is contained in:
@@ -66,11 +66,7 @@ class Sprite_Reflection
|
||||
@sprite.zoom_x = @rsprite.zoom_x
|
||||
@sprite.zoom_y = @rsprite.zoom_y
|
||||
frame = (Graphics.frame_count%40)/10
|
||||
case frame
|
||||
when 1; @sprite.zoom_x *= 0.95
|
||||
when 3; @sprite.zoom_x *= 1.05
|
||||
else; @sprite.zoom_x *= 1.0
|
||||
end
|
||||
@sprite.zoom_x *= [1.0, 0.95, 1.0, 1.05][frame]
|
||||
@sprite.angle = 180.0
|
||||
@sprite.mirror = true
|
||||
@sprite.bitmap = @rsprite.bitmap
|
||||
|
||||
@@ -68,10 +68,10 @@ class Sprite_Shadow < RPG::Sprite
|
||||
sy = (@character.direction - 2) / 2 * @ch
|
||||
if self.angle > 90 or angle < -90
|
||||
case @character.direction
|
||||
when 2; sy = (8- 2) / 2 * @ch
|
||||
when 4; sy = (6- 2) / 2 * @ch
|
||||
when 6; sy = (4- 2) / 2 * @ch
|
||||
when 8; sy = (2- 2) / 2 * @ch
|
||||
when 2 then sy = (8- 2) / 2 * @ch
|
||||
when 4 then sy = (6- 2) / 2 * @ch
|
||||
when 6 then sy = (4- 2) / 2 * @ch
|
||||
when 8 then sy = (2- 2) / 2 * @ch
|
||||
end
|
||||
end
|
||||
self.src_rect.set(sx, sy, @cw, @ch)
|
||||
|
||||
Reference in New Issue
Block a user