mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 23:06:18 +00:00
Adding in checkpoint save functionality
This commit is contained in:
parent
d76c700de0
commit
aeff9a856c
1 changed files with 3 additions and 1 deletions
|
|
@ -153,7 +153,9 @@ def real_load
|
||||||
$game_map.update
|
$game_map.update
|
||||||
# Switch to map screen
|
# Switch to map screen
|
||||||
$scene = Scene_Map.new
|
$scene = Scene_Map.new
|
||||||
|
if !$game_switches[198] # if this was a "checkpoint" save
|
||||||
$game_temp.common_event_id = 42
|
$game_temp.common_event_id = 42
|
||||||
|
end
|
||||||
# Set wallpaper if necessary
|
# Set wallpaper if necessary
|
||||||
if $game_oneshot.wallpaper
|
if $game_oneshot.wallpaper
|
||||||
Wallpaper.set $game_oneshot.wallpaper, $game_oneshot.wallpaper_color
|
Wallpaper.set $game_oneshot.wallpaper, $game_oneshot.wallpaper_color
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue