• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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] Using an Item for Field Move Flash?

32
Posts
5
Years
    • Seen May 6, 2024
    Just wondering how in 17.2 I can use a item to trigger the effects of Flash. I know plenty of scripts have been made for other HMs, but I can't seem to figure out the coding for Flash. Whenever I use the item in a darkened cave it just tells me that I can't use the item there.
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Just wondering how in 17.2 I can use a item to trigger the effects of Flash. I know plenty of scripts have been made for other HMs, but I can't seem to figure out the coding for Flash. Whenever I use the item in a darkened cave it just tells me that I can't use the item there.

    Inside your metadata.txt you will find this:
    Code:
    [050]
    # Rock Cave
    BattleBack=CaveDark
    Bicycle=true
    MapPosition=0,16,10
    [COLOR="Red"]DarkMap=true[/COLOR]

    Map 50 will trigger DarkMap to true. So you need to put the same thing to your custom map.
     
    32
    Posts
    5
    Years
    • Seen May 6, 2024
    Inside your metadata.txt you will find this:
    Code:
    [050]
    # Rock Cave
    BattleBack=CaveDark
    Bicycle=true
    MapPosition=0,16,10
    [COLOR="Red"]DarkMap=true[/COLOR]

    Map 50 will trigger DarkMap to true. So you need to put the same thing to your custom map.

    My custom map is already on the DarkMap=true setting and is displayed as such in game. I just think I have done something wrong when it comes to assigning flashs functions to an item.
     
    Back
    Top