The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: ESKaras on April 17, 2011, 10:24:14 PM

Title: Need help with a script incompatibility... (XP)
Post by: ESKaras on April 17, 2011, 10:24:14 PM
im interested in using this battle results script
http://rmrk.net/index.php/topic,24168.0.html

however
im also using minkoff's battle system script, and they seem to both be altering the same part of the code in
Scene_Battle

whcih stops their victory pose from playing anymore when I use it... is there anything I can do to fix this?

This is the victory animation code of minkoff... what do you think could be interfering and is there anyway to fix it?:
Code: [Select]
#--------------------------------------------------------------------------
# * Victory Animation
#--------------------------------------------------------------------------
alias mnk_start_phase5 start_phase5
def start_phase5
for actor in $game_party.actors
return if @spriteset.battler(actor).moving
end
# See if an actor remains alive
for actor in $game_party.actors
unless actor.dead?
$game_system.victory = true
end
end
# See if an enemy remains alive
for enemy in $game_troop.enemies.reverse
unless enemy.dead?
$game_system.defeat = true
end
end
# Perform the original call
mnk_start_phase5
end