• 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] Sinnoh Underground Sparkles/Mining Spot Generation

  • 1
    Posts
    6
    Years
    • Seen Sep 7, 2018
    Hi! I'm attempting to implement random generation of the mining minigame dig spots like in the Sinnoh Underground, but I'm not completely sure how I should go about it. I don't necessarily need to have the ability to touch on the ground and see sparkles appear, but I want the dig spots to be randomly placed on what I deem as "wall" tiles.

    I know I would need to break it down into:
    - Establish which tiles are walls (probably an array)
    - Pick an x amount of those tiles to make mining spots
    - actually make them mining spots
    - add the sparkle

    I have coding experience, but not a whole lot in this language. If someone has already done something like this, feel free to let me know, but otherwise, any help would be greatly appreciated.
     
    Back
    Top