Honey Pot & Grandma

Ported from Pokemon October.
8114fead91
1a6f3e4f03
d00cd6fafd

Alterations have been made in that the treemonset has been diversified a bit further, having Munchlax like in DPP. They're L60, intended to be used in Nihon.

I haven't placed the grandma in the region yet, intending for her to be in Old City.
This commit is contained in:
Llinos Evans 2024-07-21 23:00:43 +01:00
parent 02233c5429
commit bcfafaaf83
21 changed files with 331 additions and 303 deletions

View file

@ -12,7 +12,7 @@ TreeMonEncounter:
call GetTreeMons
jr nc, .no_battle
call GetTreeMon
call ModifyTreeMonRates
jr nc, .no_battle
ld a, BATTLETYPE_TREE
@ -122,6 +122,22 @@ GetTreeMons:
INCLUDE "data/wild/treemons.asm"
ModifyTreeMonRates:
push hl
farcall CheckSavedSweetHoneySpot
pop hl
jr nz, GetTreeMon
push hl
farcall _CheckSweetHoneyTimer
pop hl
ld a, [wSweetHoneyTimer]
cp 2 ; was 1; jump if sweethoney was applied today
jr z, GetTreeMon
ld hl, TreeMonSet_Sweet_Honey
; fallthrough for sweet honey mons
GetTreeMon:
push hl
call GetTreeScore