在事件中用"条件分歧"指令, 判断1号变量的值, 1号变量的值等同在上一场战斗中获得的金钱数
module BattleManager
class << self; alias 20210509_gain_gold gain_gold; end
def self.gain_gold
20210509_gain_gold
$game_variables[1] = $game_troop.gold_total
end
end
也许能直接判断$game_troop.gold_total, 你有空可以试试