mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed event movement checks ignoring ledges if they're not on the top layer, fixed Sketch not working, fixed a couple of other minor bugs, Rubocop-suggested tweaks
This commit is contained in:
@@ -66,10 +66,10 @@ class Sprite_Shadow < RPG::Sprite
|
||||
sy = (@character.direction - 2) / 2 * @ch
|
||||
if self.angle > 90 || angle < -90
|
||||
case @character.direction
|
||||
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
|
||||
when 2 then sy = @ch * 3
|
||||
when 4 then sy = @ch * 2
|
||||
when 6 then sy = @ch
|
||||
when 8 then sy = 0
|
||||
end
|
||||
end
|
||||
self.src_rect.set(sx, sy, @cw, @ch)
|
||||
|
||||
Reference in New Issue
Block a user