# ▼▲▼ No1P24. リザルトポップ ▼▲▼ # # update 2005/ 4/15 # #============================================================================== # カスタマイズポイント #============================================================================== module XRXS_ResultPop # # 表示タイミング (48〜1) # EXP = 32 GOLD = 16 end #============================================================================== # --- リザルトポップ --- #============================================================================== module XRXS_ResultPop def update super # まだリザルトが表示されていない場合 unless @xrxs_resultpop_done # バトラーが nil またはエネミーでない場合 if @battler == nil or not @battler.is_a?(Game_Enemy) @xrxs_resultpop_done = true return end # 既にコラプスが開始されている場合 if @_collapse_duration > 0 if @_collapse_duration == EXP # 経験値のポップ if @battler.exp != 0 # EXP獲得時の文字列を作成 result = "EXP " + @battler.exp.to_s # ダメージ機能を利用して表示 damage(result, false) end elsif @_collapse_duration == GOLD # 金額のポップ if @battler.gold != 0 # ゴールド獲得時の文字列を作成 result = @battler.gold.to_s + " " + $data_system.words.gold # ダメージ機能を利用して表示 damage(result, false) end # 表示済み @xrxs_resultpop_done = true end end end end end class RPG::Sprite < Sprite include XRXS_ResultPop end