mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
cut/rock smash animations + sprite resize in summary
This commit is contained in:
@@ -122,7 +122,9 @@ class Game_Player < Game_Character
|
||||
# Check the tile in front of the player for events
|
||||
new_x = @x + (@direction == 6 ? 1 : @direction == 4 ? -1 : 0)
|
||||
new_y = @y + (@direction == 2 ? 1 : @direction == 8 ? -1 : 0)
|
||||
|
||||
return nil if !$game_map.valid?(new_x, new_y)
|
||||
|
||||
for event in $game_map.events.values
|
||||
next if !event.at_coordinate?(new_x, new_y)
|
||||
next if event.jumping? || event.over_trigger?
|
||||
|
||||
Reference in New Issue
Block a user