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

@ -5,7 +5,7 @@ _InitializeStartDay:
ClearDailyTimers:
xor a
ld [wLuckyNumberDayTimer], a
ld [wUnusedTwoDayTimer], a
ld [wSweetHoneyTimer], a
ld [wDailyResetTimer], a
ret
@ -203,36 +203,23 @@ CheckPokerusTick::
xor a
ret
SetUnusedTwoDayTimer: ; unreferenced
SetSweetHoneyTimer:
ld a, 2
ld hl, wUnusedTwoDayTimer
ld hl, wSweetHoneyTimer
ld [hl], a
call UpdateTime
ld hl, wUnusedTwoDayTimerStartDate
ld hl, wSweetHoneyStartDate
call CopyDayToHL
ret
CheckUnusedTwoDayTimer:
ld hl, wUnusedTwoDayTimerStartDate
_CheckSweetHoneyTimer:
ld hl, wSweetHoneyStartDate
call CalcDaysSince
call GetDaysSince
ld hl, wUnusedTwoDayTimer
ld hl, wSweetHoneyTimer
call UpdateTimeRemaining
ret
UnusedSetSwarmFlag: ; unreferenced
ld hl, wDailyFlags1
set DAILYFLAGS1_FISH_SWARM_F, [hl]
ret
UnusedCheckSwarmFlag: ; unreferenced
and a
ld hl, wDailyFlags1
bit DAILYFLAGS1_FISH_SWARM_F, [hl]
ret nz
scf
ret
RestartLuckyNumberCountdown:
call .GetDaysUntilNextFriday
ld hl, wLuckyNumberDayTimer