Hide State's PopUp Addon for MOG - DAMAGE POPUP (v4.5)

Argami

Veteran
Veteran
Joined
Jun 22, 2012
Messages
130
Reaction score
10
First Language
Spanish
Primarily Uses
Hide State's Pop Up Addon
for MOG - DAMAGE POPUP
by Argami
Description
Disables the Popup effect of the States you want.

Addon
Code:
#==============================================================================
# ■ [ACE] Hide State's PopUp Addon for MOG - DAMAGE POPUP (v4.5)
#==============================================================================
# * Made by Argami
#==============================================================================
#==============================================================================
# ● DESCRIPTION
#------------------------------------------------------------------------------
# Disables the Popup effect of the States you want.
#------------------------------------------------------------------------------
# ● REQUERIMENTS
#------------------------------------------------------------------------------
# Requires MOG - DAMAGE POPUP (v4.5) Script by Moghunter:
# https://atelierrgss.wordpress.com/rgss3-damage-popup/
#------------------------------------------------------------------------------
# ● INSTALLATION
#------------------------------------------------------------------------------
# Place this script below MOG - DAMAGE POPUP (v4.5) Script but above ▼ Main!
#------------------------------------------------------------------------------
# ● HOW TO USE
#------------------------------------------------------------------------------
# Add the following code in the Databases's Note Box of the State you don't
# want to show the popup effect off:
#
#  <State Popup OFF>
#
#==============================================================================

class Game_Battler < Game_BattlerBase
  include MOG_DAMAGEPOPUP
  attr_accessor :damage , :skip_dmg_popup

  #--------------------------------------------------------------------------
  # ● Execute Popup Add New State
  #--------------------------------------------------------------------------
 def execute_popup_add_new_state(state_id)
      st = $data_states[state_id]
      #Check the State Note Box to find <State Popup OFF>
      state_popup_off = st.note =~ /<State Popup OFF>/ ? st : nil
      #Stop here if there's <State Popup OFF>
      return if state_popup_off != nil
      if self.hp > 0
         unless (SceneManager.scene_is?(Scene_Battle) and !STATES_POPUP_BATTLE) or
                (SceneManager.scene_is?(Scene_Map) and !STATES_POPUP_MAP)
                self.damage.push([st.name.to_s,"States Plus",false,st.icon_index])
         end
      end
  end

  #--------------------------------------------------------------------------
  # ● Execute Popup Remove State
  #--------------------------------------------------------------------------
  def execute_popup_remove_state(state_id)
      if state?(state_id) and self.hp > 0
         st = $data_states[state_id]
         #Check the State Note Box to find <State Popup OFF>
         state_popup_off = st.note =~ /<State Popup OFF>/ ? st : nil
         #Stop here if there's <State Popup OFF>
         return if state_popup_off != nil
         unless (SceneManager.scene_is?(Scene_Battle) and !STATES_POPUP_BATTLE) or
                (SceneManager.scene_is?(Scene_Map) and !STATES_POPUP_MAP)
                self.damage.push([st.name.to_s,"States Minus",false,st.icon_index]) unless BattleManager.escape?
         end
      end
  end 
end

Requeriments
Requires MOG - DAMAGE POPUP (v4.5) Script by Moghunter:
https://atelierrgss.wordpress.com/rgss3-damage-popup/

Installation
Place this script below MOG - DAMAGE POPUP (v4.5) Script but above ▼ Main!

How to Use
Add the following code in the Databases's Note Box of the State you don't want to show the popup effect off:
Code:
<State Popup OFF>

Credits
- Addon by Argami.
- All credits of the original script go to Moghunter.

Terms of use
- You can use this addon in both commercial and non-comercial games (You can mention me in credits if you want, but not necessary).
- Remember checking Moghunter's original script terms of use.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Just found out that mint tea made from chocolate mint tastes a bit like hot cocoa with candy cane stirred in. As I'm allergic to chocolate this makes me very happy.
It's special day for me tomorrow so time to vanish for 24 hours lol.
So Deltarune Chapter 2 is supposed to release today... if it's out already, has anyone played it? And I can't because I have a stinking Mac and not a Windows PC.
I forgot that forums have profile walls that you can post or comment on, guess I found a new platform to specifically rant about game-related deranged thought or problems that I have. Salut mes amis!
I couldn't help myself, so I edited the tiles a bit and made a birdhouse :LZSsmile: I hope I will finish the town today!Screenshot 2021-09-17 134349.png

Forum statistics

Threads
115,137
Messages
1,087,510
Members
149,643
Latest member
Loyalvib
Top