begin
SDK.log('Battle Resurrect', 'sandgolem', 1, '25.05.06')
rescue
end
class Scene_Battle
alias sandgolem_batendres_battle_main main
def main
sandgolem_batendres_battle_main
for i in $game_party.actors
if i.hp <= 0
i.hp = 1
end
end
end
end
SDK.log('Battle Resurrect', 'sandgolem', 1, '25.05.06')
rescue
end
class Scene_Battle
alias sandgolem_batendres_battle_main main
def main
sandgolem_batendres_battle_main
for i in $game_party.actors
if i.hp <= 0
i.hp = 1
end
end
end
end
okay you know games like breath of fire and legend of dragoons how after a battle if you have a character that died they come back with 1 hp well this scripd does that
creds:sandgolem
link: http://www.gamebaker.com/rmxp/mini/battle-resurrect.htm
_____________________________________________________________
sandgolems gold window "Gomes"
#==========================================================================
# ** SG Gold Window "Gomez"
#==========================================================================
# by sandgolem
# Version 1
# January 19th, 2008
#==========================================================================
module SG
GoldGomezAnim = 15
GoldGomezIcons = ['gold']
GoldGomezSkin = false
end
#==========================================================================
#
# To check for updates or find more scripts, visit:
# http://www.gamebaker.com/rmxp/scripts/
# Our RMVX scripts: http://www.gamebaker.com/rmvx/scripts/
#
# Instructions: http://www.gamebaker.com/rmxp/scripts/e/gold-window-gomez.php
# Discussion/Help: http://forums.gamebaker.com/showthread.php?t=176
#
#==========================================================================
if Object.const_defined?('SDK')
SDK.log('SG Gold Window Gomez', 'sandgolem', 1, '19.01.08')
@sg_goldgomez_disabled = true if !SDK.enabled?('SG Gold Window Gomez')
end
if !@sg_goldgomez_disabled
#--------------------------------------------------------------------------
begin
SDK.log_overwrite(:Window_Gold, :refresh)
rescue
end
class Window_Gold < Window_Base
attr_accessor :sg_animating
alias_method :sg_goldgomez_initialize, :initialize
def initialize
@sg_anim = 0
@sg_animcount = SG::GoldGomezAnim - 1
sg_goldgomez_initialize
if SG::GoldGomezSkin
self.windowskin = RPG::Cache.windowskin(SG::GoldGomezSkin)
end
end
def refresh
self.contents.clear
begin
bitmap = RPG::Cache.windowskin(SG::GoldGomezIcons[@sg_anim])
rescue
bitmap = RPG::Cache.icon(SG::GoldGomezIcons[@sg_anim])
end
self.contents.blt(0, 4, bitmap, Rect.new(0, 0, 24, 24), 255)
self.contents.font.color = normal_color
self.contents.draw_text(28, 0, 96, 32, $game_party.gold.to_s, 2)
end
def update
super
return if !@sg_animating
@sg_animcount += 1
if @sg_animcount == SG::GoldGomezAnim
@sg_animcount = 0
@sg_anim += 1
if @sg_anim == SG::GoldGomezIcons.size
@sg_anim = 0
@sg_animating = nil
end
refresh
end
end
end
class Scene_Shop
alias_method :sg_goldgomez_updnumber, :update_number
def update_number
sg = $game_party.gold
sg_goldgomez_updnumber
@gold_window.sg_animating = true if $game_party.gold != sg
end
end
#--------------------------------------------------------------------------
end
# ** SG Gold Window "Gomez"
#==========================================================================
# by sandgolem
# Version 1
# January 19th, 2008
#==========================================================================
module SG
GoldGomezAnim = 15
GoldGomezIcons = ['gold']
GoldGomezSkin = false
end
#==========================================================================
#
# To check for updates or find more scripts, visit:
# http://www.gamebaker.com/rmxp/scripts/
# Our RMVX scripts: http://www.gamebaker.com/rmvx/scripts/
#
# Instructions: http://www.gamebaker.com/rmxp/scripts/e/gold-window-gomez.php
# Discussion/Help: http://forums.gamebaker.com/showthread.php?t=176
#
#==========================================================================
if Object.const_defined?('SDK')
SDK.log('SG Gold Window Gomez', 'sandgolem', 1, '19.01.08')
@sg_goldgomez_disabled = true if !SDK.enabled?('SG Gold Window Gomez')
end
if !@sg_goldgomez_disabled
#--------------------------------------------------------------------------
begin
SDK.log_overwrite(:Window_Gold, :refresh)
rescue
end
class Window_Gold < Window_Base
attr_accessor :sg_animating
alias_method :sg_goldgomez_initialize, :initialize
def initialize
@sg_anim = 0
@sg_animcount = SG::GoldGomezAnim - 1
sg_goldgomez_initialize
if SG::GoldGomezSkin
self.windowskin = RPG::Cache.windowskin(SG::GoldGomezSkin)
end
end
def refresh
self.contents.clear
begin
bitmap = RPG::Cache.windowskin(SG::GoldGomezIcons[@sg_anim])
rescue
bitmap = RPG::Cache.icon(SG::GoldGomezIcons[@sg_anim])
end
self.contents.blt(0, 4, bitmap, Rect.new(0, 0, 24, 24), 255)
self.contents.font.color = normal_color
self.contents.draw_text(28, 0, 96, 32, $game_party.gold.to_s, 2)
end
def update
super
return if !@sg_animating
@sg_animcount += 1
if @sg_animcount == SG::GoldGomezAnim
@sg_animcount = 0
@sg_anim += 1
if @sg_anim == SG::GoldGomezIcons.size
@sg_anim = 0
@sg_animating = nil
end
refresh
end
end
end
class Scene_Shop
alias_method :sg_goldgomez_updnumber, :update_number
def update_number
sg = $game_party.gold
sg_goldgomez_updnumber
@gold_window.sg_animating = true if $game_party.gold != sg
end
end
#--------------------------------------------------------------------------
end
GoldGomezIcons = ['gold']
Changes the gold icon. If you put more images into it, they'll animate when gold changes during the shop scene. Like this: ['gold','gold2','gold3']
Changes the gold icon. If you put more images into it, they'll animate when gold changes during the shop scene. Like this: ['gold','gold2','gold3']
GoldGomezAnim = 8
Animation speed. Higher numbers take longer.
Animation speed. Higher numbers take longer.
GoldGomezSkin = false
Change the false to 'filename' if you'd like a custom windowskin.
Change the false to 'filename' if you'd like a custom windowskin.
this script basically allows a gold image next to the amount of gold you have or something like that i havent used it yet but it looks good and i would surely use it in my games and would say it should be used in games that are rpg like so this was another sandgolem script creds go to him YESSSSS and like i say scripts are only as good as the scripter never said that but i should start because its true
[i will post more scripts and links with sprite sheets i made and other sets made by me as i get them scripts not made by me but yeah]