mirror of https://github.com/pret/pokeemerald.git
Updated Adding Time Based Encounters with a Variable (markdown)
parent
24ad55134d
commit
9666bcc55f
|
@ -142,4 +142,5 @@ Those two lines make sure that the encounters will be rechecked(and adjusted if
|
|||
|
||||
**PS:**
|
||||
* If you want more or less encounter periods, just alter **SetTimeBasedEncounters()** and your encounter groups in Porymap as required.
|
||||
* If its weather-based encounters you want, you'll want to change the conditionals in **SetTimeBasedEncounters()** (rename that too) to check for the type of weather rather than time(something along `if (gSaveBlock1Ptr->weather == WEATHER_SNOW)`).
|
||||
* If its weather-based encounters you want, you'll want to change the conditionals in **SetTimeBasedEncounters()** (rename that too) to check for the type of weather rather than time(something along `if (gSaveBlock1Ptr->weather == WEATHER_SNOW)`).
|
||||
* If for some reason you want to stop or 'freeze' the encounters to a particular group, instead of using `callnative(SetTimeBasedEncounters)`, just hard set it with `setvar VAR_TIME_BASED_ENCOUNTER, <insert number here>`.
|
Loading…
Reference in New Issue