Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # // Place this below Global Text Pop
- class Game_Event
- attr_accessor :nopop_event
- alias pop_stop_setup setup unless $@
- def setup( new_page )
- @nopop_event = @event.name.scan(/\[nopop\]/i).size > 0
- pop_stop_setup( new_page )
- end
- end
- class Sprite_Character < Sprite_Base
- def update()
- iex_yggdrasil_text_pop_patch_update()
- unless @ixtp_text_pop.empty?
- if $scene.is_a?( Scene_Map )
- if @character.is_a?( Game_Event )
- $scene.iex_ygg_global_text_pops += @ixtp_text_pop unless @character.nopop_event
- else
- $scene.iex_ygg_global_text_pops += @ixtp_text_pop
- end
- @ixtp_text_pop.clear
- @ixtp_text_pop = []
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment