#=========================================================#==============================================================
#module HMM
#Note: Create a [u]BattleStart! image[/u] and save it to your Graphics/Pictures
#==============================================================
#Ativate the animated image
READY = true
#Temp
RDFADE = 40
R_TRANSITION = "Eau"
end
$hmmscript = {} if $hmmscript == nil
$hmmscript["Battle_Start!"] = true
#===============================================================================
# Scene_Battle
#===============================================================================
class Scene_Battle
alias hmm17_main main
def main
Graphics.transition(30, "Graphics/Transitions/" + HMM::R_TRANSITION)
Graphics.freeze
if HMM::READY == true
@ready = Sprite.new
@ready.bitmap = RPG::Cache.picture("BattleStart!")
@ready.visible = false
@ready.y = -200
@ready.zoom_y = 3
@ready.z = 999
@fade = HMM::RDFADE
@ready_on = true
end
hmm17_main
if HMM::READY == true
if @ready != nil
@ready.dispose
end
end
end
alias hmm17_update update
def update
if HMM::READY == true
if @ready_on == true
for i in 0..80
if @ready != nil and @ready.zoom_y > 1
@ready.y += 10
@ready.zoom_y -= 0.1
@ready.visible = true
elsif @ready != nil and @ready.zoom_y <= 1 and @ready.opacity > 250
@ready.y = 0
@ready.zoom_y = 1
@fade -= 1
end
Graphics.update
end
@ready_on = false
end
if @fade <= 0 and @ready != nil
@fade = 0
end
if @fade <= 0 and @ready != nil
@ready.opacity -= 7
@ready.zoom_y += 0.2
@ready.y -= 50
end
if @ready != nil and @ready.opacity <= 0
@ready.dispose
@ready = nil
end
end
hmm17_update
end
end
1. Who wrote this?
2. If it wasn't you, then did you get permission to post it?
3. What does it do?
4. How does it work?
I can figure out 3 & 4 for myself, by looking at the script. But most people aren't scripters, therefore wouldn't be able to do that.
You can't post completed scripts here.
Not to be a minimod or anything, but.. Read the rules first?
http://rmrk.net/index.php/topic,19760.0.html
Instead, post it here for RMXP :
http://rmrk.net/index.php/board,111.0.html
To Pacman :
Mmkay, brah.
I was going to move it, Ice, once I confirmed that he was allowed to post it and gave us some information.