• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Essentials v16.2+] Water Bubble

It all works fine but the water animation passes through the following animation sprite, for example in the posted video the following pokemon isn´t high enough and thats why this "error" doesn´t happen to you.
What could be the solution??? Thanks in advance.
 
It all works fine but the water animation passes through the following animation sprite, for example in the posted video the following pokemon isn´t high enough and thats why this "error" doesn´t happen to you.
What could be the solution??? Thanks in advance.

I didn't undestand your problem. Rec a video to show me.
 
[PokeCommunity.com] [Essentials v16.2+] Water Bubble


What is your Essentials Version? Also, do you have some custom script about overworld effect? I just copied and edited how Surf Base works and put Klein's effect inside the script. This is the code to check about priority:
Spoiler:


But maybe you need to make some editions inside 'createWaterAnim' too.
 
My version is the 16.2, the script is correct and the only overworld effect i have is yours.
What do you mean with ("createWaterAnim" too)?
 
WolfPP I detect an error in this part of your post:

Inside 'def visible=(value)', below '@reflection.visible = value if @reflection' add:

@waterbubble.visible = value if @waterbubblebitmap

The game gives me an error and it points me that line. Then i rechecked that line here in your post, when i saw your Sprite_Character codes here, i realized that "bitmap" part don't belong there. After that i tested again and no error appears. Now its fixed. Please edit the main post for others.

This is the way it should be:

Inside 'def visible=(value)', below '@reflection.visible = value if @reflection' add:

@waterbubble.visible = value if @waterbubble

And thx for sharing your scripts, i not have any more errors to report. See ya. XD

EDIT: If i play through debug, all birthsigns works fine, if i play the "normal" way, (using exe), that error appears. My guess is: Script clashing with each other? I will run more tests to see what's causing this error. When i have results i'll inform you.
 
Last edited:
Added '|| event.transparent' inside 'def update':
Code:
  def update
    return if disposed? || !$scene || !$scene.is_a?(Scene_Map)
    return jump_sprite if event.jumping?
    if pbGetTerrainTag(event)!=PBTerrain::Beach ||
    event.character_name =="" || event.character_name == "nil" ||
    event!=$game_player && pbEventCommentInput(event,0,"NoWater") || event.transparent
      # Just-in-time disposal of sprite
      if @sprite; @sprite.dispose; @sprite = nil; end
      return
    end

Edited the main post.
 
Hi! If anyone wants to use this script in v16.2, I found a way to adapt it:

The first step is the same, put this script below "Sprite_Character" and above "Main":

Spoiler:

Then, inside "Sprite_Character":

Spoiler:


And that's it! You're welcome :)
 
Last edited:
Wolf I have a strange issue with this script. All works great but, when I move my character left or right in the terrain with the "bubbles", it moves diagonally. If I move up or down it works perfectly. This only happens if I go left or right.

The script doesn't crash or anything, is just that my character moves diagonally.
 
I tried it on a new essentials version and everything works correctly, so is something in my essentials but I don't know exactly what.

I'll check it and try to discover what is happening.

Thanks for answering.
 
Back
Top