- 22
- Posts
- 11
- Years
- Seen Nov 24, 2023
![[PokeCommunity.com] Simple Bubble animation like Pkmn RSE [PokeCommunity.com] Simple Bubble animation like Pkmn RSE](https://i.imgur.com/ph802n6.gif)
First add in Settings
After the line
Code:
PLANT_SPARKLE_ANIMATION_ID = 7
Add:
Code:
BUBBLES_ANIMATION_ID = 8# or animation ID you'd like to use
in PField_Field
After the line
Code:
if PBTerrain.isJustGrass?(pbGetTerrainTag(event,true)) # Won't show if under bridge
$scene.spriteset.addUserAnimation(GRASS_ANIMATION_ID,event.x,event.y,true,1)
Add:
Code:
elsif pbGetTerrainTag(event,true) == PBTerrain::UnderwaterGrass
if event == $game_player
$scene.spriteset.addUserAnimation(BUBBLES_ANIMATION_ID,event.x,event.y,true,2)
end
And this into the Graphics/Animations folder:
Spoiler:
![[PokeCommunity.com] Simple Bubble animation like Pkmn RSE [PokeCommunity.com] Simple Bubble animation like Pkmn RSE](https://i.imgur.com/8EKZQSr.png)
Create an animation that uses 3 frames for each picture, totaling 24
Example:
![[PokeCommunity.com] Simple Bubble animation like Pkmn RSE [PokeCommunity.com] Simple Bubble animation like Pkmn RSE](https://i.imgur.com/V78Jwpl.png)
and that's it
Note:
the animation works only on the player's character
Last edited: