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 post
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).

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...