Jump to content

Overriding item effects?


Celyna

Recommended Posts

Hi,

I wanted to try my hand at writing mods, and the first thought that came to mind was editing Soul Dew to its original function from before Generation VII (increasing SpA/SpD by 50% for Latias/Latios). Can anyone point me to the scripts that I'd need to edit for this? 

Link to comment
Share on other sites

Script PokeBattle_Move, remove the "#" before the lines 2225, 2239, 2280-2285, 2420-2425, 2476, 2490, 2539-2544, 2661-2666

 

Same script, add "#" before the lines 1301-1305

 

Lastly, replace lines 2252 and 2253 with

        gl2=(gl2*1.0*dewBoost*avBoost*evioBoost*dssBoost*fgBoost*stagemul[gl3]/stagediv[gl3]).floor
        gl1=(gl1*1.0*dewBoost*specsBoost*dstBoost*lbBoost*fbBoost*minusBoost*plusBoost*solarBoost*batteryBoost*stagemul[gl4]/stagediv[gl4]).floor

and lines 2503 and 2504 with

        gl2=(gl2*1.0*dewBoost*avBoost*evioBoost*dssBoost*fgBoost*stagemul[gl3]/stagediv[gl3]).floor
        gl1=(gl1*1.0*dewBoost*specsBoost*dstBoost*lbBoost*fbBoost*minusBoost*plusBoost*solarBoost*batteryBoost*stagemul[gl4]/stagediv[gl4]).floor


This should restore Soul Dew's effects (didn't test it, additional edits might be needed).

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...