• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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] Make a long Script

  • 5
    Posts
    1
    Years
    • Seen Aug 21, 2024
    Hey i wanted to make a Pokemón Game in the middle age.
    So you cant buy Pokéballs. So you need to craft them by your own and let "Kurt" craft them for you.
    I got a Plug-In that you can craft items in a Event but the Event Scrips are to small for the different Items.
    Anyone knows how i can make it bigger or or how I connect several events together.

    I tried this but didnt work, each time he only took the last script.
    Spoiler:
     
    Well at the moment your code is repeatedly redefining this hash.
    One thing you can do, since this is really really long, is by defining it in a constant in the script editor, and just using that constant in the event.

    Another thing you can do is by adding new entries to the hash one by one
    conversion_hash[:APRICORNRED] = :LEVELBALL

    I'm not sure if a hash definition can cross over the boundary between script commands (I know they are automatically merged together before running the, though, so it could work).
     
    Back
    Top