mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Fixed type-resisting berries trying to be consumed twice when triggered by a move called by another move, fixed bad old phone data conversion, fixed events of even sizes moving endlessly when approaching the player
This commit is contained in:
@@ -719,14 +719,22 @@ class Game_Character
|
||||
(rand(2) == 0) ? abs_sx += 1 : abs_sy += 1
|
||||
end
|
||||
if abs_sx > abs_sy
|
||||
(sx > 0) ? move_left : move_right
|
||||
if abs_sx >= 1
|
||||
(sx > 0) ? move_left : move_right
|
||||
end
|
||||
if !moving? && sy != 0
|
||||
(sy > 0) ? move_up : move_down
|
||||
if abs_sy >= 1
|
||||
(sy > 0) ? move_up : move_down
|
||||
end
|
||||
end
|
||||
else
|
||||
(sy > 0) ? move_up : move_down
|
||||
if abs_sy >= 1
|
||||
(sy > 0) ? move_up : move_down
|
||||
end
|
||||
if !moving? && sx != 0
|
||||
(sx > 0) ? move_left : move_right
|
||||
if abs_sx >= 1
|
||||
(sx > 0) ? move_left : move_right
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user