RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[SOLVED]YEM Restored Function problem

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 75
RMRK Junior

I'm trying to tint the picture, but then I got this error with the script while testing for tinting

"Script 'Restored Function' line133:ArgumentError occured

wrong number of arguments(2 for 8)"


I don't if there's any info that you may need, but if anyone can help me correct this, would be great =w=b
« Last Edit: July 06, 2011, 11:27:34 PM by kairi_key »

*
Rep:
Level 82
GIAW 14: 1st Place (Easy Mode)2013 Project of the Year2013 Best RPG Maker User (Programming)2013 Most Promising ProjectParticipant - GIAW 11Bronze - GIAW 10
Over-write lines 137 through 153 in 'YEM Restored Functions' with the following code :

Code: [Select]
  #--------------------------------------------------------------------------
  # alias method: rotate
  #--------------------------------------------------------------------------
  alias rotate_game_picture_rf rotate unless $@
  def rotate(*args)
    rotate_game_picture_rf(*args)
    @mirror = $game_switches[YEM::FUNCTION::PICTURE_MIRROR_SWITCH]
  end
 
  #--------------------------------------------------------------------------
  # alias method: rotastart_tone_changete
  #--------------------------------------------------------------------------
  alias start_tone_change_game_picture_rf start_tone_change unless $@
  def start_tone_change(*args)
    start_tone_change_game_picture_rf(*args)
    @mirror = $game_switches[YEM::FUNCTION::PICTURE_MIRROR_SWITCH]
  end

UPDATED 05-29-14


IS YOUR PROJECT OPTIMIZED?
UPDATED 07/04/15 - v2.5

RPG MAKER TOOLBOX
UPDATED 07/04/15 - v1.5

**
Rep: +0/-0Level 75
RMRK Junior
Oh, thank you!

=w=b


It's working okay, now!