mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Removed redundant "\r" from various messages, removed usages of BitmapWrapper, fixed Lure Ball error in battles started in the Debug menu, improved Terrain Tag editor, fixed some Compiler errors, enabled vsync, fixed event graphics frozen to the screen when using $game_player.moveto directly.
This commit is contained in:
@@ -243,6 +243,7 @@ class Game_Event < Game_Character
|
||||
|
||||
def should_update?(recalc = false)
|
||||
return @to_update if !recalc
|
||||
return true if @updated_last_frame
|
||||
return true if @trigger && (@trigger == 3 || @trigger == 4)
|
||||
return true if @move_route_forcing || @moveto_happened
|
||||
return true if @event.name[/update/i]
|
||||
@@ -256,7 +257,9 @@ class Game_Event < Game_Character
|
||||
|
||||
def update
|
||||
@to_update = should_update?(true)
|
||||
@updated_last_frame = false
|
||||
return if !@to_update
|
||||
@updated_last_frame = true
|
||||
@moveto_happened = false
|
||||
last_moving = moving?
|
||||
super
|
||||
|
||||
Reference in New Issue
Block a user