Jump to content
Rpg²S Forum
  • 0

[Risolto] No messaggi fine battaglia


255
 Share

Question

Fatto da solo.

module BattleManager
  #--------------------------------------------------------------------------
  # * Victory Processing
  #--------------------------------------------------------------------------
  def self.process_victory
    #play_battle_end_me
    replay_bgm_and_bgs
    #$game_message.add(sprintf(Vocab::Victory, $game_party.name))
    #display_exp
    #gain_gold
    #gain_drop_items
    #gain_exp
    SceneManager.return
    battle_end(0)
    return true
  end
  #--------------------------------------------------------------------------
  # * Defeat Processing
  #--------------------------------------------------------------------------
  def self.process_defeat
    #$game_message.add(sprintf(Vocab::Defeat, $game_party.name))
    #wait_for_message
    if @can_lose
      revive_battle_members
      replay_bgm_and_bgs
      SceneManager.return
    else
      SceneManager.goto(Scene_Gameover)
    end
    battle_end(2)
    return true
  end
end

Se si vuole comunque ottenere EXP, monete, etc, decommentare le relative linee.

 

Uno script per non avere alcun messaggio a fine battaglia.

Il nemico muore e si torna subito al "field".

Edited by 255

And always remember... that whatever idea you're thinking of right now for your Major/Minor project...
it's TOO BIG. CUT IT DOWN. Like... in HALF. RIGHT NOW.

da un blog

Rumurumu v1.1

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...