You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
gegerlan edited this page Jun 4, 2011
·
1 revision
Detail
Filename
Author
Version
Core Update
Last Patch Update
Active contributor
Game_Switches - set -> map event refresh
gegerlan
1.0
-
-
YES
Version history
Summary
As a new map is loaded in the game, every event in the map that has a switch requirement to trigger is captured and passed to $game_switches. When $game_switches modifies a switch if forces a refresh of the events that are dependent on the switch just changed.
Rationale
When switches are modified, it's not always the case that the events dependent on these are refreshed. To solve this issue, a simple hook is added for Game_Switches, and used by Game_Map as a new map is loaded.