From 313c79371dc32e0c050641573c493f8c5b897e08 Mon Sep 17 00:00:00 2001 From: Iceman8911 <108531451+Iceman8911@users.noreply.github.com> Date: Tue, 28 Feb 2023 16:44:54 +0100 Subject: [PATCH] Updated Adding Time Based Encounters (markdown) --- Adding-Time-Based-Encounters.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Adding-Time-Based-Encounters.md b/Adding-Time-Based-Encounters.md index 0a5930b..8e3158d 100644 --- a/Adding-Time-Based-Encounters.md +++ b/Adding-Time-Based-Encounters.md @@ -1,6 +1,7 @@ # Adding Time Based Encounters In this tutorial, I'll be focusing on 4 encounter periods i.e Morning, Afternoon, Evening and Night. -You can do literally as much as you wish once you get the basics down. +You can do literally as much as you wish once you get the basics down, besides you can use this for other special encounter conditions such as weather. +Note that this isn't my idea, its based off the work of [Martyk](https://www.pokecommunity.com/showthread.php?p=10450677#post10450677) and [AmbientDinosaur](https://www.pokecommunity.com/showpost.php?p=10315616&postcount=236). *** Firstly, we'll need a way to keep track of what time period it is. We can make a function called **SetTimeBasedEncounters()** and use a variable (you can use any unused variable in _include/constants/vars.h_, I've renamed one of them to **VAR_TIME_BASED_ENCOUNTER**) for that: