• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

[Scripting Question] Need help with Sootsack

  • 13
    Posts
    6
    Years
    • Seen Jul 23, 2020
    Hello
    I would to show how many ash is in the sootsack like the coincase does with coins. how exactly should i do that?

    ItemHandlers::UseInField.add(:COINCASE,proc{|item|
    Kernel.pbMessage(_INTL("Münzen: {1}",pbCommaNumber($PokemonGlobal.coins)))
    next 1


    I've tested to replace this with sootsack and edited the PBitem to make sootsacke usesable but when i walk over the gras with teraintag 14 and check i got 0 and it does not increase :/.

    Here the edited entry
    ItemHandlers::UseInField.add(:SOOTSACK,proc{|item|
    Kernel.pbMessage(_INTL("Asche: {1}",pbCommaNumber($PokemonGlobal.sootsack )))
    next 1

    I've changed the tileset could that be the problem? but edited terain tag for the tile to 14
     
    Back
    Top