Tweaked the Level 101+ equations for some growth rates, moved code that plays the overworld dust animation

This commit is contained in:
Maruno17
2023-04-29 18:10:26 +01:00
parent 4bab130785
commit 5f20121e59
7 changed files with 31 additions and 29 deletions

View File

@@ -461,7 +461,14 @@ class Game_Player < Game_Character
end
end
end
was_jumping = jumping?
super
if was_jumping && !jumping? && !@transparent && (@tile_id > 0 || @character_name != "")
if !$PokemonGlobal.surfing || $game_temp.ending_surf
spriteset = $scene.spriteset(map_id)
spriteset&.addUserAnimation(Settings::DUST_ANIMATION_ID, self.x, self.y, true, 1)
end
end
end
def update_stop