The original gab window script says this
These script calls can only be used from a map. The Gab Window will not appear in battle or anywhere else.
So I added a gab window to every scene.
Required: Gab Window
Show a gab window by calling
Instructions for what the gabs are can be found in the gab window script.
You can choose where to position the gab window by super'ing the `create_gab_window` method in your own scene classes and setting the x and y values.
With the Gab Manager is it very easy to add extra gabs everywhere.
Of course, you need to fine-tune the window and gab and overall looks, but you probably would be doing that anyways.
This piece of code accomplishes the above:
class Scene_Shop < Scene_MenuBase def create_gab_window super @gab_window.x = 150 @gab_window.y = -10 end alias :scene_gabs_do_buy :do_buy def do_buy(number) text = sprintf("Purchased %d %s for %d %s!", number, @item.name, buying_price*number, Vocab::currency_unit) SceneManager.show_gab(text, 0) scene_gabs_do_buy(number) end alias :scene_gabs_do_sell :do_sell def do_sell(number) text = sprintf("Sold %d %s for %d %s!", number, @item.name, selling_price*number, Vocab::currency_unit) SceneManager.show_gab(text, 0) scene_gabs_do_sell(number) end end
Edited by Tsukihime, 16 February 2013 - 09:22 AM.