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 12:06:45 +08:00
parent 50f4885407
commit da864c9789
5 changed files with 54 additions and 66 deletions
+2 -1
View File
@@ -73,7 +73,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)