Fixed some minor bugs from previous commits

This commit is contained in:
Maruno17
2021-04-14 22:56:12 +01:00
parent 9f70b29795
commit 4bc744e3fb
7 changed files with 10 additions and 5 deletions

View File

@@ -149,10 +149,10 @@ class Game_Event < Game_Character
end
end
def check_event_trigger_touch(x, y)
def check_event_trigger_touch(check_x, check_y)
return if $game_system.map_interpreter.running?
return if @trigger != 2 # Event touch
return if !at_coordinate?($game_player.x, $game_player.y)
return if !at_coordinate?(check_x, check_y)
return if jumping? || over_trigger?
start
end