Skip to content

Commit

Permalink
v2.0-gowc
Browse files Browse the repository at this point in the history
fixed no battle music bug from preview versions
  • Loading branch information
EmilyMalkieri committed Aug 12, 2013
1 parent c326b10 commit b476ac5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions GameOver_with_choices/gameover_with_choices.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@
#========================
# CHANGELOG
#========================
# current release: 2.0-gowc pre
# current release: 2.0-gowc
# current release notes:
# # complete rewrite
# # 1.3 functionalities supported:
# # 1.3 functionalities supported: 6/6
# # # Quit Game (y)
# # # To Title (y)
# # # Load Savefile (y)
# # # Retry Battle (y)
# # # MCIS compability (y)
# # # Restore lost items (y)
# # now with more customisation!
# # no battle music plays upon retry
#------------------------
# 2.0 - complete rewrite
# 1.3 - now able to regain items, weapons, armours when retrying battles
Expand All @@ -42,7 +41,9 @@
# Compability check:
#-------------------------------
# class Scene_Gameover:
# # 2 aliases
# # various overwrites
# # a few new methods
# class Window_GameOver:
# # completely new
# class Game_Party:
Expand Down Expand Up @@ -111,6 +112,7 @@ module GameOver_Window
class Scene_Gameover < Scene_Base

alias :start_with_regendo_gameover_window :start
alias :regendo_gowc_goto_title :goto_title
def start
start_with_regendo_gameover_window
create_command_window
Expand All @@ -125,7 +127,6 @@ def update
def pre_terminate
super
close_command_window
fadeout_all
end

def create_command_window
Expand All @@ -145,8 +146,14 @@ def close_command_window
update until @command_window.close?
end

def goto_title
fadeout_all
regendo_gowc_goto_title
end

def command_retry
SceneManager.goto(Scene_Battle)
fadeout_all

troop_id = @regendo_gowc_values[:troop_id]
can_escape = @regendo_gowc_values[:can_escape]
Expand All @@ -171,6 +178,7 @@ def command_retry

def command_load_game
SceneManager.goto(Scene_Load)
fadeout_all
end

def command_shutdown
Expand Down

0 comments on commit b476ac5

Please sign in to comment.