Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================================================
- # Add-on: Yanfly Victory Aftermath - Change Quotes Set via Script Call
- # dsiver144
- # How to use:
- # + replace_quotes_set(actor_id, quote_type, quote_str1, quote_str2, ... )
- # - Example:
- # replace_quotes_set(23, :win, "I can talk now and we've just won the battle!", "We won!")
- # replace_quotes_set(23, :level, "I can talk now and I've just leveled up!", "Power's up!", "Now I'm the most powerful cat in the world!")
- # replace_quotes_set(23, :drops, "I can talk now and I've just found something!")
- class Game_Interpreter
- #----------------------------------------------------------------------------
- # * new method: replace_quotes_set
- # by dsiver144
- # Purpose: Replace the old quotes set with new quotes set.
- #----------------------------------------------------------------------------
- def replace_quotes_set(actor_id,type,*quotes)
- case type
- when :win
- $game_actors[actor_id].actor.win_quotes = quotes
- when :level
- $game_actors[actor_id].actor.level_quotes = quotes
- when :drops
- $game_actors[actor_id].actor.drops_quotes = quotes
- end
- end
- end # Game_Interpreter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement