• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

How to make a non cave map a dark map like the one you have to use flash.

  • 68
    Posts
    6
    Years
    • Seen Sep 19, 2023
    So I'm making a Pokemon game where a blackout occurs and I was wondering if it were possible todo a script or something that makes it like a cave that you have to use flash. If there is any better ideas, that would be good too.
     
    So I'm making a Pokemon game where a blackout occurs and I was wondering if it were possible todo a script or something that makes it like a cave that you have to use flash. If there is any better ideas, that would be good too.

    Just go to the headers tab of that map in Advanced Map. You will see a option "Cave" in the box "Map options". Click the drop down menu and select "Dark, Flash usable".
    Fairly simple.
     
    I'm actually using RPG-Maker XP to make a game. It isn't that simple I'm sad to say.

    I've moved your thread to the Pokémon Essentials forum. I'm assuming you're using that. You certainly wouldn't have been making a ROM hack at any rate :)
     
    So I'm making a Pokemon game where a blackout occurs and I was wondering if it were possible todo a script or something that makes it like a cave that you have to use flash. If there is any better ideas, that would be good too.

    You can make a copy of the map and change its metadata to be a cave with flash, the option is called "DarkMaps" . When the blackout occurs, warp the player to the blackout map.

    I think there's a way to change the metadata of maps in scripts but I'm not sure
     
    You don't have to change the metadata
    in the script section PField_Field at line 457 comes a code called
    Code:
    # Display darkness circle on dark maps
    if you add
    Code:
    || $game_map.map_id==XYZ && $game_switches[ABC]
    behind the
    Code:
    if darkmap
    at line 459 you will be able to darken the map XYZ as long as switch ABC is active

    just put the id number of the map you want to happen the blackout on instead of XYZ and choose an empty switch and call it blackout and take its number in place of ABC


    if you want the blackout to occur while you on this map change the switch with an event and refresh the map.
     
    Back
    Top