Okay, I have a couple of question related to weather I was hoping I could get some input on.
Firstly, I was wondering if anyone could offer some help into a problem I've having with a thunderstorm event I've been working on. The problem is that for some reason, the player is unable to move for a period of time after the storm starts, seemingly until there is a flash of lightning on the screen, at which that point the player is able to move again.
[Edit: I can't seem to get the linked screenshot showing the thunderstorm event to appear, so I've had to post a written version instead of the event instead. I hope this works as a substitute.]
Name: Weather: Thunderstorm*
Trigger: Parallel
Switch: 0024 Weather: Thunderstorm
· Flash Screen : (255,255,255,255), 10 frames
· Play SE : thunder (90, 100, 100)
·
: Else
· If : Thunder = 2
· Wait : 250 frames
· Flash Screen : (255,255,255,255), 10 frames
· Play SE : thunder (90, 100, 100)
·
: Else
· If : Thunder = 3
· Wait : 300 frames
· Flash Screen : (255,255,255,255), 10 frames
· Play SE : thunder (90, 100, 100)
·
: Else
·
: End
·
: End
·
: End
·
The second question I have is how to make it so that weather effects can influence elemental damage in battle (i.e. rain strengthens lightning & water-based attacks but weakens fire attacks). I've been using Yanfly's Element Core plugin, as I mentioned here, but I'm not sure how to go about implementing such a thing.
Any help on either of these issues would be greatly appreciated.
Firstly, I was wondering if anyone could offer some help into a problem I've having with a thunderstorm event I've been working on. The problem is that for some reason, the player is unable to move for a period of time after the storm starts, seemingly until there is a flash of lightning on the screen, at which that point the player is able to move again.
[Edit: I can't seem to get the linked screenshot showing the thunderstorm event to appear, so I've had to post a written version instead of the event instead. I hope this works as a substitute.]
Name: Weather: Thunderstorm*
Trigger: Parallel
Switch: 0024 Weather: Thunderstorm
- Tint Screen : (-68,-68,-68,0), 1 frame
- Set Weather Effect : Storm, 9, 10 frames
- Play BGS : Rain4 (100, 100, 0)
- Control Variables : #0005 Thunder = Random 1..3
- If : Thunder = 1
· Flash Screen : (255,255,255,255), 10 frames
· Play SE : thunder (90, 100, 100)
·
: Else
· If : Thunder = 2
· Wait : 250 frames
· Flash Screen : (255,255,255,255), 10 frames
· Play SE : thunder (90, 100, 100)
·
: Else
· If : Thunder = 3
· Wait : 300 frames
· Flash Screen : (255,255,255,255), 10 frames
· Play SE : thunder (90, 100, 100)
·
: Else
·
: End
·
: End
·
: End
·
The second question I have is how to make it so that weather effects can influence elemental damage in battle (i.e. rain strengthens lightning & water-based attacks but weakens fire attacks). I've been using Yanfly's Element Core plugin, as I mentioned here, but I'm not sure how to go about implementing such a thing.
Any help on either of these issues would be greatly appreciated.