2022-11-14 14:56:40 +01:00
# ifndef GUARD_CONFIG_OVERWORLD_H
# define GUARD_CONFIG_OVERWORLD_H
// Movement config
# define OW_RUNNING_INDOORS GEN_LATEST // In Gen4+, players are allowed to run indoors.
2023-04-06 00:26:52 +02:00
// Other settings
2023-11-12 15:45:33 +01:00
# define OW_POISON_DAMAGE GEN_4 // In Gen4, Pokémon no longer faint from Poison in the overworld. In Gen5+, they no longer take damage at all.
2023-04-06 00:26:52 +02:00
2023-09-21 16:26:00 +02:00
// PC settings
# define OW_PC_PRESS_B GEN_LATEST // In Gen4, pressing B when holding a Pokémon is equivalent to placing it. In Gen3, it gives the "You're holding a Pokémon!" error.
2022-11-14 14:56:40 +01:00
// Overworld flags
// To use the following features in scripting, replace the 0s with the flag ID you're assigning it to.
// Eg: Replace with FLAG_UNUSED_0x264 so you can use that flag to toggle the feature.
# define OW_FLAG_NO_ENCOUNTER 0 // If this flag is set, wild encounters will be disabled.
# define OW_FLAG_NO_TRAINER_SEE 0 // If this flag is set, trainers will not battle the player unless they're talked to.
2023-03-08 05:51:51 +01:00
# define OW_FLAG_NO_COLLISION 0 // If this flag is set, the player will be able to walk over tiles with collision. Mainly intended for debugging purposes.
2022-11-14 14:56:40 +01:00
# endif // GUARD_CONFIG_OVERWORLD_H