mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
More tweaks from the Rubocop overlord
This commit is contained in:
@@ -57,10 +57,10 @@ class Sprite_Reflection
|
||||
y += @height * 16
|
||||
width = @rsprite.src_rect.width
|
||||
height = @rsprite.src_rect.height
|
||||
@sprite.x = x + width / 2
|
||||
@sprite.y = y + height + height / 2
|
||||
@sprite.x = x + (width / 2)
|
||||
@sprite.y = y + height + (height / 2)
|
||||
@sprite.ox = width / 2
|
||||
@sprite.oy = height / 2 - 2 # Hard-coded 2 pixel shift up
|
||||
@sprite.oy = (height / 2) - 2 # Hard-coded 2 pixel shift up
|
||||
@sprite.oy -= @rsprite.character.bob_height * 2
|
||||
@sprite.z = -50 # Still water is -100, map is 0 and above
|
||||
@sprite.z += 1 if @event == $game_player
|
||||
|
||||
Reference in New Issue
Block a user