Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-------------------------------------------------------------------------------
- # page 10 of 12
- # Shopoholic v 2.0
- # code by cmpsr2000
- # available exclusively @ rpgrevolution.com/forums
- # Released June 25, 2008
- #
- #-------------------------------------------------------------------------------
- #-------------------------------------------------------------------------------
- # ** Window_Shop_Gold
- #-------------------------------------------------------------------------------
- # This window displays the amount of gold and available credit from banks.
- #-------------------------------------------------------------------------------
- class Window_Shop_Gold < Window_Base
- #--------------------------------------------------------------------------
- # * Object Initialization
- # x : window X coordinate
- # y : window Y coordinate
- #--------------------------------------------------------------------------
- def initialize(x, y)
- super(x, y, 160, WLH + 32)
- refresh
- end
- #--------------------------------------------------------------------------
- # * Refresh
- #--------------------------------------------------------------------------
- def refresh
- self.contents.clear
- if $game_shopping.shopsAcceptDebit
- draw_currency_value($game_party.netLiquidity, 4, 0, 120)
- else
- draw_currency_value($game_party.gold, 4, 0, 120)
- end
- end
- end
RAW Paste Data