Hiya~
Okay...Now I have this problem...I added a wait command in this script, but it doesn't seem to work. What could be wrong eh?
thank you~
cya!
Okay...Now I have this problem...I added a wait command in this script, but it doesn't seem to work. What could be wrong eh?
Code:
class Scene_ItemGain
def initialize(type,id,numb,gold=0)
Audio.me_play("Audio/ME/011-Item02", 100, 100)
@type=type
@id=id
@numb=numb
@gold=gold
@window=Window_ItemGain.new(@type,@id,@numb,@gold)
@window.update
@wait_count = 0
end
def main
loop do
Graphics.update
Input.update
update
if $scene != self
break
end
end
Graphics.freeze
@window.dispose
end
def update
if @wait_count > 0
@wait_count += 1
return
end
@window.update
update_c
end
def update_c
@wait_count = 100
$game_system.se_play($data_system.decision_se)
$scene=Scene_Map.new
end
end
thank you~
cya!