mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-08 00:55:28 +13:00
Honey Pot & Grandma
Ported from Pokemon October.8114fead911a6f3e4f03d00cd6fafdAlterations 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:
parent
02233c5429
commit
bcfafaaf83
21 changed files with 331 additions and 303 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue