From 7acd1079edab4cb0bfb9503aa5e87be8841c6313 Mon Sep 17 00:00:00 2001 From: redsquidz <117706036+redsquidz@users.noreply.github.com> Date: Sun, 9 Apr 2023 19:00:59 -0700 Subject: [PATCH] Updated Adding Time Based Encounters (markdown) --- Adding-Time-Based-Encounters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adding-Time-Based-Encounters.md b/Adding-Time-Based-Encounters.md index 47184ca..da075bf 100644 --- a/Adding-Time-Based-Encounters.md +++ b/Adding-Time-Based-Encounters.md @@ -34,7 +34,7 @@ Firstly, we'll need a way to keep track of what time period it is. We can make a Paste that into a file like _src/script.c_. -**RtcCalcLocalTime()** calculates and stores the real time in **gLocalTime** while the remaining conditionals set the variable to a number depending on whether the time is between 6am - 8:59am, 9am - 17:59am, 18am - 20:59am, and the last time period (21:00am - 5:59am) which is night (You can edit the time periods as you wish). We are going to use this variable later. +**RtcCalcLocalTime()** calculates and stores the real time in **gLocalTime** while the remaining conditionals set the variable to a number depending on whether the time is between 6am - 8:59am, 9am - 17:59pm (5:59pm), 18:00pm - 20:59pm (6:00pm - 8:59pm), and the last time period 21:00pm - 5:59am (9:00pm - 5:59am) which is night (You can edit the time periods as you wish). We are going to use this variable later. ### Prepare your encounter groups. This can be done by going to PoryMap then clicking "Wild Pokemon" in the second highest bar, and then clicking the "+" button. Say, you're working with route 101, you could have your encounter groups as _gRoute101_Morning_, _gRoute101_Afternoon_, _gRoute101_Evening_, _gRoute101_Night_. Now add all the mons you want and then we can move on to the fun part :).