Refactored berry plant code, added missing berry plant PBS data and charsets, fixed berry sparkles sometimes showing on the wrong map

This commit is contained in:
Maruno17
2021-10-03 20:19:28 +01:00
parent af23f1ecc4
commit c7858de42a
6 changed files with 457 additions and 492 deletions

View File

@@ -51,7 +51,7 @@ class Spriteset_Map
end
def addUserAnimation(animID,x,y,tinting=false,height=3)
sprite=AnimationSprite.new(animID,$game_map,x,y,@@viewport1,tinting,height)
sprite=AnimationSprite.new(animID,self.map,x,y,@@viewport1,tinting,height)
addUserSprite(sprite)
return sprite
end