Rewrote the code of force_encounter functions

Added a new flag to force_encounter_with_flags.
This commit is contained in:
NovaRain
2019-08-12 21:12:28 +08:00
parent 36523d89e5
commit 81ba15d451
7 changed files with 62 additions and 62 deletions
+2 -1
View File
@@ -57,7 +57,8 @@
#define LIST_ALL (9)
//Valid flags for force_encounter_with_flags
#define ENCOUNTER_FLAG_NO_CAR (1)
#define ENCOUNTER_FLAG_NO_CAR (1)
#define ENCOUNTER_FLAG_LOCK (2) // block new forced encounter by the next function call until the current specified encounter occurs
//The attack types returned by get_attack_type
#define ATKTYPE_LWEP1 (0)