• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Resource icon

Resource Supereffective Hail and Sandstorm 1

Simeo

Normal-Type Self Proclamed Expert
Member
Joined
Jul 25, 2018
Posts
48
Simeo submitted a new resource:

Supereffective Hail and Sandstorm - Make those damages like stealth rocks

By a copy and paste you'll be able to check for the pokemon type before applying hail and sandstorm damages.

Hail damages are Ice type.
Sandstorm damages are Ground type.

So, let's go !
In pokebattle_battle, locate this part of the code:

Code:
Expand Collapse Copy
        pbCommonAnimation("Rain",nil,nil)
#        pbDisplay(_INTL("Rain continues to fall."))
      end

Just after this, you have the case
Code:
Expand Collapse Copy
when PBWeather::SANDSTORM
Select the whole code, so, until just before the When...

Read more about this resource...
 
Back
Top