shithub: pokered

ref: bbc257476f9aac8d04d75a8036d412caa8f7d515
dir: /engine/overworld/daycare_exp.asm/

View raw version
IncrementDayCareMonExp:
	ld a, [wDayCareInUse]
	and a
	ret z
	ld hl, wDayCareMonExp + 2
	inc [hl]
	ret nz
	dec hl
	inc [hl]
	ret nz
	dec hl
	inc [hl]
	ld a, [hl]
	cp $50
	ret c
	ld a, $50
	ld [hl], a
	ret