diff --git a/src/battle/ai.c b/src/battle/ai.c index 61d6957..208cfa9 100644 --- a/src/battle/ai.c +++ b/src/battle/ai.c @@ -986,7 +986,7 @@ void checkSuspicionLevel(void) if (battle.numEnemies > 0 && battle.stats[STAT_TIME] % 5 == 0) { battle.suspicionLevel++; - battle.suspicionCoolOff = FPS * 5; + battle.suspicionCoolOff = FPS * 30; } if (battle.suspicionLevel >= MAX_SUSPICION_LEVEL) @@ -999,6 +999,8 @@ void checkSuspicionLevel(void) destroyScript(); + activateJumpgate(0); + activateTrespasserSpawner(); } } diff --git a/src/battle/ai.h b/src/battle/ai.h index 9342aa4..21c4cab 100644 --- a/src/battle/ai.h +++ b/src/battle/ai.h @@ -42,6 +42,7 @@ extern Entity *spawnMine(int type); extern void addMessageBox(char *title, char *body, int type); extern void destroyScript(void); extern void activateTrespasserSpawner(void); +extern void activateJumpgate(int activate); extern Battle battle; extern Colors colors;