• The Eevee Expo Game Jam #10 has concluded, congratulations to all participants! Now it's time for the judges to play through the games, and you can play along to vote who deserves the community choice spotlight.
    You can check out the submitted games here!
    Play through the games and provide some feedback to the devs while you're at it!
  • Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
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